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.
61 lines
1.9 KiB
61 lines
1.9 KiB
2 days 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 Robot_ChgLength;
|
||
|
double Robot_LeftCompensation;
|
||
|
double Robot_RightCompensation;
|
||
|
double Robot_AutoSpeedBase;
|
||
|
double Robot_ManualSpeedBase;
|
||
|
} 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_Robot_ChgLength_tag 1
|
||
|
#define PV_struct_define_Robot_LeftCompensation_tag 2
|
||
|
#define PV_struct_define_Robot_RightCompensation_tag 3
|
||
|
#define PV_struct_define_Robot_AutoSpeedBase_tag 4
|
||
|
#define PV_struct_define_Robot_ManualSpeedBase_tag 5
|
||
|
|
||
|
/* Struct field encoding specification for nanopb */
|
||
|
#define PV_struct_define_FIELDLIST(X, a) \
|
||
|
X(a, STATIC, SINGULAR, INT32, Robot_ChgLength, 1) \
|
||
|
X(a, STATIC, SINGULAR, DOUBLE, Robot_LeftCompensation, 2) \
|
||
|
X(a, STATIC, SINGULAR, DOUBLE, Robot_RightCompensation, 3) \
|
||
|
X(a, STATIC, SINGULAR, DOUBLE, Robot_AutoSpeedBase, 4) \
|
||
|
X(a, STATIC, SINGULAR, DOUBLE, Robot_ManualSpeedBase, 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 47
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
|
#endif
|