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.
57 lines
1.7 KiB
57 lines
1.7 KiB
/* Automatically generated nanopb header */
|
|
/* Generated by nanopb-0.4.8 */
|
|
|
|
#ifndef PB_ROBOT_DATA_PB_H_INCLUDED
|
|
#define PB_ROBOT_DATA_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 _DataTrans {
|
|
int32_t RF_Angle_Roll; /* 横滚角 */
|
|
int32_t RF_Angle_Pitch; /* 俯仰角 */
|
|
int32_t RF_Angle_Yaw; /* 航向角 */
|
|
int32_t RF_Depth; /* 海洋深度 */
|
|
} DataTrans;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define DataTrans_init_default {0, 0, 0, 0}
|
|
#define DataTrans_init_zero {0, 0, 0, 0}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define DataTrans_RF_Angle_Roll_tag 1
|
|
#define DataTrans_RF_Angle_Pitch_tag 2
|
|
#define DataTrans_RF_Angle_Yaw_tag 3
|
|
#define DataTrans_RF_Depth_tag 4
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define DataTrans_FIELDLIST(X, a) \
|
|
X(a, STATIC, SINGULAR, INT32, RF_Angle_Roll, 1) \
|
|
X(a, STATIC, SINGULAR, INT32, RF_Angle_Pitch, 2) \
|
|
X(a, STATIC, SINGULAR, INT32, RF_Angle_Yaw, 3) \
|
|
X(a, STATIC, SINGULAR, INT32, RF_Depth, 4)
|
|
#define DataTrans_CALLBACK NULL
|
|
#define DataTrans_DEFAULT NULL
|
|
|
|
extern const pb_msgdesc_t DataTrans_msg;
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
#define DataTrans_fields &DataTrans_msg
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
#define DataTrans_size 44
|
|
#define ROBOT_DATA_PB_H_MAX_SIZE DataTrans_size
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|
|
|