负压 STM32 程序1.1
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.
 
 
 

72 lines
2.5 KiB

/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_MSP_SLAM_PB_H_INCLUDED
#define PB_MSP_SLAM_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 _SLAM_struct_define {
float SLAM_x;
float SLAM_y;
float SLAM_z;
float SLAM_roll; /* 横滚角 */
float SLAM_pitch; /* 俯仰角 */
float SLAM_yaw; /* 偏航角 */
float SLAM_Vx; /* 线速度 */
float SLAM_Wz; /* 角速度 */
float SLAM_width; /* 轮距 */
} SLAM_struct_define;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define SLAM_struct_define_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0}
#define SLAM_struct_define_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define SLAM_struct_define_SLAM_x_tag 1
#define SLAM_struct_define_SLAM_y_tag 2
#define SLAM_struct_define_SLAM_z_tag 3
#define SLAM_struct_define_SLAM_roll_tag 4
#define SLAM_struct_define_SLAM_pitch_tag 5
#define SLAM_struct_define_SLAM_yaw_tag 6
#define SLAM_struct_define_SLAM_Vx_tag 7
#define SLAM_struct_define_SLAM_Wz_tag 8
#define SLAM_struct_define_SLAM_width_tag 9
/* Struct field encoding specification for nanopb */
#define SLAM_struct_define_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_x, 1) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_y, 2) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_z, 3) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_roll, 4) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_pitch, 5) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_yaw, 6) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_Vx, 7) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_Wz, 8) \
X(a, STATIC, SINGULAR, FLOAT, SLAM_width, 9)
#define SLAM_struct_define_CALLBACK NULL
#define SLAM_struct_define_DEFAULT NULL
extern const pb_msgdesc_t SLAM_struct_define_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define SLAM_struct_define_fields &SLAM_struct_define_msg
/* Maximum encoded size of messages (where known) */
#define MSP_SLAM_PB_H_MAX_SIZE SLAM_struct_define_size
#define SLAM_struct_define_size 45
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif