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.

85 lines
3.0 KiB

3 weeks ago
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_BSP_GV_PB_H_INCLUDED
#define PB_BSP_GV_PB_H_INCLUDED
#include "pb.h"
#include "msp_MK32.pb.h"
#include "msp_Motor.pb.h"
#include "msp_DH_CAN_Remote.pb.h"
#include "msp_MPU6050.pb.h"
#include "msp_ZQ_MotorParameters.pb.h"
#include "msp_TL720D.pb.h"
#include "bsp_Error.pb.h"
#include "bsp_LazorData.pb.h"
#include "bsp_DAM.pb.h"
#include "bsp_IO.pb.h"
#include "bsp_DMKE.pb.h"
#include "msp_30GM_UltraSonic.pb.h"
#include "msp_Elevated_Vehicle.pb.h"
#include "msp_Elite_Robot.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _GV_struct_define {
bool has_IO;
IO_Data IO;
bool has_SystemErrorData;
ErrorData SystemErrorData;
bool has_SonicData;
SP_MSP_30GM_Parameters SonicData;
bool has_Vehicle_Cmd;
Elevated_Vehicle_Prarameters Vehicle_Cmd;
bool has_Arm_Angle;
Robot_Joint_Angle Arm_Angle;
} GV_struct_define;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define GV_struct_define_init_default {false, IO_Data_init_default, false, ErrorData_init_default, false, SP_MSP_30GM_Parameters_init_default, false, Elevated_Vehicle_Prarameters_init_default, false, Robot_Joint_Angle_init_default}
#define GV_struct_define_init_zero {false, IO_Data_init_zero, false, ErrorData_init_zero, false, SP_MSP_30GM_Parameters_init_zero, false, Elevated_Vehicle_Prarameters_init_zero, false, Robot_Joint_Angle_init_zero}
/* Field tags (for use in manual encoding/decoding) */
#define GV_struct_define_IO_tag 1
#define GV_struct_define_SystemErrorData_tag 2
#define GV_struct_define_SonicData_tag 3
#define GV_struct_define_Vehicle_Cmd_tag 4
#define GV_struct_define_Arm_Angle_tag 5
/* Struct field encoding specification for nanopb */
#define GV_struct_define_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, IO, 1) \
X(a, STATIC, OPTIONAL, MESSAGE, SystemErrorData, 2) \
X(a, STATIC, OPTIONAL, MESSAGE, SonicData, 3) \
X(a, STATIC, OPTIONAL, MESSAGE, Vehicle_Cmd, 4) \
X(a, STATIC, OPTIONAL, MESSAGE, Arm_Angle, 5)
#define GV_struct_define_CALLBACK NULL
#define GV_struct_define_DEFAULT NULL
#define GV_struct_define_IO_MSGTYPE IO_Data
#define GV_struct_define_SystemErrorData_MSGTYPE ErrorData
#define GV_struct_define_SonicData_MSGTYPE SP_MSP_30GM_Parameters
#define GV_struct_define_Vehicle_Cmd_MSGTYPE Elevated_Vehicle_Prarameters
#define GV_struct_define_Arm_Angle_MSGTYPE Robot_Joint_Angle
extern const pb_msgdesc_t GV_struct_define_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define GV_struct_define_fields &GV_struct_define_msg
/* Maximum encoded size of messages (where known) */
#define BSP_GV_PB_H_MAX_SIZE GV_struct_define_size
#define GV_struct_define_size 492
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif