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.
62 lines
2.0 KiB
62 lines
2.0 KiB
|
3 weeks ago
|
/* Automatically generated nanopb header */
|
||
|
|
/* Generated by nanopb-0.4.8 */
|
||
|
|
|
||
|
|
#ifndef PB_BSP_PV_PB_H_INCLUDED
|
||
|
|
#define PB_BSP_PV_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 _PV_struct_define {
|
||
|
|
/* 洗舱项目 */
|
||
|
|
int32_t Left_Compenstaion;
|
||
|
|
int32_t Right_Compenstaion;
|
||
|
|
int32_t Speed_Selection; /* 1-10 */
|
||
|
|
int32_t LaneChangeDistance_Selection; /* 0-5 */
|
||
|
|
int32_t EndPushForceValue; /* 下压到某个值之后,停止运动 */
|
||
|
|
} PV_struct_define;
|
||
|
|
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Initializer values for message structs */
|
||
|
|
#define PV_struct_define_init_default {0, 0, 0, 0, 0}
|
||
|
|
#define PV_struct_define_init_zero {0, 0, 0, 0, 0}
|
||
|
|
|
||
|
|
/* Field tags (for use in manual encoding/decoding) */
|
||
|
|
#define PV_struct_define_Left_Compenstaion_tag 1
|
||
|
|
#define PV_struct_define_Right_Compenstaion_tag 2
|
||
|
|
#define PV_struct_define_Speed_Selection_tag 3
|
||
|
|
#define PV_struct_define_LaneChangeDistance_Selection_tag 4
|
||
|
|
#define PV_struct_define_EndPushForceValue_tag 5
|
||
|
|
|
||
|
|
/* Struct field encoding specification for nanopb */
|
||
|
|
#define PV_struct_define_FIELDLIST(X, a) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Left_Compenstaion, 1) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Right_Compenstaion, 2) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, Speed_Selection, 3) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, LaneChangeDistance_Selection, 4) \
|
||
|
|
X(a, STATIC, SINGULAR, INT32, EndPushForceValue, 5)
|
||
|
|
#define PV_struct_define_CALLBACK NULL
|
||
|
|
#define PV_struct_define_DEFAULT NULL
|
||
|
|
|
||
|
|
extern const pb_msgdesc_t PV_struct_define_msg;
|
||
|
|
|
||
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||
|
|
#define PV_struct_define_fields &PV_struct_define_msg
|
||
|
|
|
||
|
|
/* Maximum encoded size of messages (where known) */
|
||
|
|
#define BSP_PV_PB_H_MAX_SIZE PV_struct_define_size
|
||
|
|
#define PV_struct_define_size 55
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
} /* extern "C" */
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|