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.
77 lines
2.7 KiB
77 lines
2.7 KiB
1 week ago
|
/* Automatically generated nanopb header */
|
||
|
/* Generated by nanopb-0.4.8 */
|
||
|
|
||
|
#ifndef PB_BSP_IV_PB_H_INCLUDED
|
||
|
#define PB_BSP_IV_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 _IV_struct_define {
|
||
|
/* 五轮项目 */
|
||
|
int32_t Robot_Move_AutoSpeed;
|
||
|
int32_t Robot_Move_ManualSpeed;
|
||
|
int32_t Robot_CurrentPosition;
|
||
|
int32_t Robot_AngleRoll;
|
||
|
int32_t Robot_Error;
|
||
|
int32_t Robot_DynamometerValue;
|
||
|
int32_t Robot_ForceValue;
|
||
|
int32_t Robot_CurrentState;
|
||
|
int32_t Robot_Current_Left;
|
||
|
int32_t Robot_Current_Right;
|
||
|
} IV_struct_define;
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/* Initializer values for message structs */
|
||
|
#define IV_struct_define_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
||
|
#define IV_struct_define_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
||
|
|
||
|
/* Field tags (for use in manual encoding/decoding) */
|
||
|
#define IV_struct_define_Robot_Move_AutoSpeed_tag 1
|
||
|
#define IV_struct_define_Robot_Move_ManualSpeed_tag 2
|
||
|
#define IV_struct_define_Robot_CurrentPosition_tag 3
|
||
|
#define IV_struct_define_Robot_AngleRoll_tag 4
|
||
|
#define IV_struct_define_Robot_Error_tag 5
|
||
|
#define IV_struct_define_Robot_DynamometerValue_tag 6
|
||
|
#define IV_struct_define_Robot_ForceValue_tag 7
|
||
|
#define IV_struct_define_Robot_CurrentState_tag 8
|
||
|
#define IV_struct_define_Robot_Current_Left_tag 9
|
||
|
#define IV_struct_define_Robot_Current_Right_tag 10
|
||
|
|
||
|
/* Struct field encoding specification for nanopb */
|
||
|
#define IV_struct_define_FIELDLIST(X, a) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_Move_AutoSpeed, 1) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_Move_ManualSpeed, 2) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_CurrentPosition, 3) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_AngleRoll, 4) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_Error, 5) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_DynamometerValue, 6) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_ForceValue, 7) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_CurrentState, 8) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_Current_Left, 9) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_Current_Right, 10)
|
||
|
#define IV_struct_define_CALLBACK NULL
|
||
|
#define IV_struct_define_DEFAULT NULL
|
||
|
|
||
|
extern const pb_msgdesc_t IV_struct_define_msg;
|
||
|
|
||
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||
|
#define IV_struct_define_fields &IV_struct_define_msg
|
||
|
|
||
|
/* Maximum encoded size of messages (where known) */
|
||
|
#define BSP_IV_PB_H_MAX_SIZE IV_struct_define_size
|
||
|
#define IV_struct_define_size 110
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
|
#endif
|