售出,L27/28,大板。
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.
 
 
 

88 lines
3.7 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 RobotSpeed; /* 0-20m/min */
int32_t RunMode; /* 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; */
int32_t LaneChangeDistance; /* 0-100cm */
double HorizontalDistanceMeters; /* 水平方向 作业长度0-200m0-200m */
double VerticalDistanceMeters; /* 竖直方向 作业宽度度0-200m */
int32_t PressSet; /* 下压到某个值之后,停止运动 */
int32_t LeftCompensation; /* 0.01° */
int32_t RightCompensation; /* 0.01° */
double Vertical_Calibration;
int32_t RobotRestartAccepted; /* 是否接收到IV restart flag */
int64_t TimeStamp; /* */
int32_t DmkSpeed; /* RPM */
int32_t ToolRotationDirection; /* 1正向 2反向 */
double Horizontal_Calibration;
} 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, 0, 0, 0, 0, 0, 0, 0, 0}
#define PV_struct_define_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define PV_struct_define_RobotSpeed_tag 1
#define PV_struct_define_RunMode_tag 2
#define PV_struct_define_LaneChangeDistance_tag 3
#define PV_struct_define_HorizontalDistanceMeters_tag 4
#define PV_struct_define_VerticalDistanceMeters_tag 5
#define PV_struct_define_PressSet_tag 6
#define PV_struct_define_LeftCompensation_tag 7
#define PV_struct_define_RightCompensation_tag 8
#define PV_struct_define_Vertical_Calibration_tag 9
#define PV_struct_define_RobotRestartAccepted_tag 10
#define PV_struct_define_TimeStamp_tag 11
#define PV_struct_define_DmkSpeed_tag 12
#define PV_struct_define_ToolRotationDirection_tag 13
#define PV_struct_define_Horizontal_Calibration_tag 14
/* Struct field encoding specification for nanopb */
#define PV_struct_define_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, RobotSpeed, 1) \
X(a, STATIC, SINGULAR, INT32, RunMode, 2) \
X(a, STATIC, SINGULAR, INT32, LaneChangeDistance, 3) \
X(a, STATIC, SINGULAR, DOUBLE, HorizontalDistanceMeters, 4) \
X(a, STATIC, SINGULAR, DOUBLE, VerticalDistanceMeters, 5) \
X(a, STATIC, SINGULAR, INT32, PressSet, 6) \
X(a, STATIC, SINGULAR, INT32, LeftCompensation, 7) \
X(a, STATIC, SINGULAR, INT32, RightCompensation, 8) \
X(a, STATIC, SINGULAR, DOUBLE, Vertical_Calibration, 9) \
X(a, STATIC, SINGULAR, INT32, RobotRestartAccepted, 10) \
X(a, STATIC, SINGULAR, INT64, TimeStamp, 11) \
X(a, STATIC, SINGULAR, INT32, DmkSpeed, 12) \
X(a, STATIC, SINGULAR, INT32, ToolRotationDirection, 13) \
X(a, STATIC, SINGULAR, DOUBLE, Horizontal_Calibration, 14)
#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 146
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif