You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.1 KiB
64 lines
2.1 KiB
|
3 weeks ago
|
/* Automatically generated nanopb header */
|
||
|
|
/* Generated by nanopb-0.4.8 */
|
||
|
|
|
||
|
|
#ifndef PB_MSP_ELITE_ROBOT_PB_H_INCLUDED
|
||
|
|
#define PB_MSP_ELITE_ROBOT_PB_H_INCLUDED
|
||
|
|
#include "pb.h"
|
||
|
|
|
||
|
|
#if PB_PROTO_HEADER_VERSION != 40
|
||
|
|
#error Regenerate this file with the current version of nanopb generator.
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Struct definitions */
|
||
|
|
typedef struct _Robot_Joint_Angle {
|
||
|
|
int32_t Joint_Angle_1; /* 关节位置1 */
|
||
|
|
int32_t Joint_Angle_2; /* 关节位置2 */
|
||
|
|
int32_t Joint_Angle_3; /* 关节位置3 */
|
||
|
|
int32_t Joint_Angle_4; /* 关节位置4 */
|
||
|
|
int32_t Joint_Angle_5; /* 关节位置5 */
|
||
|
|
int32_t Joint_Angle_6; /* 关节位置6 */
|
||
|
|
} Robot_Joint_Angle;
|
||
|
|
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Initializer values for message structs */
|
||
|
|
#define Robot_Joint_Angle_init_default {0, 0, 0, 0, 0, 0}
|
||
|
|
#define Robot_Joint_Angle_init_zero {0, 0, 0, 0, 0, 0}
|
||
|
|
|
||
|
|
/* Field tags (for use in manual encoding/decoding) */
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_1_tag 1
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_2_tag 2
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_3_tag 3
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_4_tag 4
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_5_tag 5
|
||
|
|
#define Robot_Joint_Angle_Joint_Angle_6_tag 6
|
||
|
|
|
||
|
|
/* Struct field encoding specification for nanopb */
|
||
|
|
#define Robot_Joint_Angle_FIELDLIST(X, a) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_1, 1) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_2, 2) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_3, 3) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_4, 4) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_5, 5) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Joint_Angle_6, 6)
|
||
|
|
#define Robot_Joint_Angle_CALLBACK NULL
|
||
|
|
#define Robot_Joint_Angle_DEFAULT NULL
|
||
|
|
|
||
|
|
extern const pb_msgdesc_t Robot_Joint_Angle_msg;
|
||
|
|
|
||
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||
|
|
#define Robot_Joint_Angle_fields &Robot_Joint_Angle_msg
|
||
|
|
|
||
|
|
/* Maximum encoded size of messages (where known) */
|
||
|
|
#define MSP_ELITE_ROBOT_PB_H_MAX_SIZE Robot_Joint_Angle_size
|
||
|
|
#define Robot_Joint_Angle_size 66
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
} /* extern "C" */
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|