/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */

#ifndef PB_BSP_CV_PB_H_INCLUDED
#define PB_BSP_CV_PB_H_INCLUDED
#include "pb.h"
#include "msp_SavedMotorParameters.pb.h"
#include "bsp_PV.pb.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

/* Struct definitions */
typedef struct _CV_struct_define { /* 摆臂项目 */
    /* 洗舱项目 */
    bool has_PV;
    PV_struct_define PV; /* 用户配置数据 */
    int32_t RobotMoveSpeedBase;
    int32_t SwingMoveSpeedBase;
    int32_t TiltMoveSpeedBase;
    int32_t TiltMoveTargetSpeed;
    int32_t SwingMoveTargetSpeed;
    int32_t TurnLeftRightSpeed;
} CV_struct_define;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define CV_struct_define_init_default            {false, PV_struct_define_init_default, 0, 0, 0, 0, 0, 0}
#define CV_struct_define_init_zero               {false, PV_struct_define_init_zero, 0, 0, 0, 0, 0, 0}

/* Field tags (for use in manual encoding/decoding) */
#define CV_struct_define_PV_tag                  1
#define CV_struct_define_RobotMoveSpeedBase_tag  2
#define CV_struct_define_SwingMoveSpeedBase_tag  3
#define CV_struct_define_TiltMoveSpeedBase_tag   4
#define CV_struct_define_TiltMoveTargetSpeed_tag 5
#define CV_struct_define_SwingMoveTargetSpeed_tag 6
#define CV_struct_define_TurnLeftRightSpeed_tag  7

/* Struct field encoding specification for nanopb */
#define CV_struct_define_FIELDLIST(X, a) \
X(a, STATIC,   OPTIONAL, MESSAGE,  PV,                1) \
X(a, STATIC,   SINGULAR, INT32,    RobotMoveSpeedBase,   2) \
X(a, STATIC,   SINGULAR, INT32,    SwingMoveSpeedBase,   3) \
X(a, STATIC,   SINGULAR, INT32,    TiltMoveSpeedBase,   4) \
X(a, STATIC,   SINGULAR, INT32,    TiltMoveTargetSpeed,   5) \
X(a, STATIC,   SINGULAR, INT32,    SwingMoveTargetSpeed,   6) \
X(a, STATIC,   SINGULAR, INT32,    TurnLeftRightSpeed,   7)
#define CV_struct_define_CALLBACK NULL
#define CV_struct_define_DEFAULT NULL
#define CV_struct_define_PV_MSGTYPE PV_struct_define

extern const pb_msgdesc_t CV_struct_define_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define CV_struct_define_fields &CV_struct_define_msg

/* Maximum encoded size of messages (where known) */
#define BSP_CV_PB_H_MAX_SIZE                     CV_struct_define_size
#define CV_struct_define_size                    79

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
