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.

65 lines
2.2 KiB

/* 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 RunMode; /* 1 手动无校准作业 2 手动竖直向左作业 3 手动竖直向右作业 */
int32_t RobotSpeed; /* 0-30m/min */
int32_t LaneChangeDistance; /* 1-100cm */
double Vertical_Calibration; /* 1° */
int32_t IV_IsRestart_Notified; /* 是否接收到IV restart flag */
int64_t TimeStamp; /* */
} PV_struct_define;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define PV_struct_define_init_default {0, 0, 0, 0, 0, 0}
#define PV_struct_define_init_zero {0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define PV_struct_define_RunMode_tag 1
#define PV_struct_define_RobotSpeed_tag 2
#define PV_struct_define_LaneChangeDistance_tag 3
#define PV_struct_define_Vertical_Calibration_tag 4
#define PV_struct_define_IV_IsRestart_Notified_tag 5
#define PV_struct_define_TimeStamp_tag 6
/* Struct field encoding specification for nanopb */
#define PV_struct_define_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, RunMode, 1) \
X(a, STATIC, SINGULAR, INT32, RobotSpeed, 2) \
X(a, STATIC, SINGULAR, INT32, LaneChangeDistance, 3) \
X(a, STATIC, SINGULAR, DOUBLE, Vertical_Calibration, 4) \
X(a, STATIC, SINGULAR, INT32, IV_IsRestart_Notified, 5) \
X(a, STATIC, SINGULAR, INT64, TimeStamp, 6)
#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 64
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif