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.

73 lines
2.6 KiB

2 days ago
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_MSP_TL720D_PB_H_INCLUDED
#define PB_MSP_TL720D_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 _MSP_TL720DParameters {
int32_t RF_Angle_Roll; /* 横滚角 */
int32_t RF_Angle_Pitch; /* 俯仰角 */
int32_t RF_Angle_Yaw; /* 航向角 */
int32_t RF_Acc_X; /* X轴加速度 */
int32_t RF_Acc_Y; /* Y轴加速度 */
int32_t RF_Acc_Z; /* Z轴加速度 */
int32_t RF_Gro_X; /* X轴陀螺 */
int32_t RF_Gro_Y; /* Y轴陀螺 */
int32_t RF_Gro_Z; /* Z轴陀螺 */
} MSP_TL720DParameters;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define MSP_TL720DParameters_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0}
#define MSP_TL720DParameters_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define MSP_TL720DParameters_RF_Angle_Roll_tag 1
#define MSP_TL720DParameters_RF_Angle_Pitch_tag 2
#define MSP_TL720DParameters_RF_Angle_Yaw_tag 3
#define MSP_TL720DParameters_RF_Acc_X_tag 4
#define MSP_TL720DParameters_RF_Acc_Y_tag 5
#define MSP_TL720DParameters_RF_Acc_Z_tag 6
#define MSP_TL720DParameters_RF_Gro_X_tag 7
#define MSP_TL720DParameters_RF_Gro_Y_tag 8
#define MSP_TL720DParameters_RF_Gro_Z_tag 9
/* Struct field encoding specification for nanopb */
#define MSP_TL720DParameters_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_Acc_X, 4) \
X(a, STATIC, SINGULAR, INT32, RF_Acc_Y, 5) \
X(a, STATIC, SINGULAR, INT32, RF_Acc_Z, 6) \
X(a, STATIC, SINGULAR, INT32, RF_Gro_X, 7) \
X(a, STATIC, SINGULAR, INT32, RF_Gro_Y, 8) \
X(a, STATIC, SINGULAR, INT32, RF_Gro_Z, 9)
#define MSP_TL720DParameters_CALLBACK NULL
#define MSP_TL720DParameters_DEFAULT NULL
extern const pb_msgdesc_t MSP_TL720DParameters_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define MSP_TL720DParameters_fields &MSP_TL720DParameters_msg
/* Maximum encoded size of messages (where known) */
#define MSP_TL720DParameters_size 99
#define MSP_TL720D_PB_H_MAX_SIZE MSP_TL720DParameters_size
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif