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.
64 lines
2.1 KiB
64 lines
2.1 KiB
/* Automatically generated nanopb header */
|
|
/* Generated by nanopb-0.4.8 */
|
|
|
|
#ifndef PB_BSP_LAZORDATA_PB_H_INCLUDED
|
|
#define PB_BSP_LAZORDATA_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 */
|
|
/* this message is used for the reply the command */
|
|
typedef struct _LazorData {
|
|
float Feature_X; /* 特征点X */
|
|
float Feature_Y; /* 特征点Y */
|
|
float Feature_Z; /* 特征点Z */
|
|
float Gap; /* 间隙 */
|
|
float WrongEdgeQuantity; /* 错边量 */
|
|
float Area; /* 面积 */
|
|
} LazorData;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define LazorData_init_default {0, 0, 0, 0, 0, 0}
|
|
#define LazorData_init_zero {0, 0, 0, 0, 0, 0}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define LazorData_Feature_X_tag 1
|
|
#define LazorData_Feature_Y_tag 2
|
|
#define LazorData_Feature_Z_tag 3
|
|
#define LazorData_Gap_tag 4
|
|
#define LazorData_WrongEdgeQuantity_tag 5
|
|
#define LazorData_Area_tag 6
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define LazorData_FIELDLIST(X, a) \
|
|
X(a, STATIC, SINGULAR, FLOAT, Feature_X, 1) \
|
|
X(a, STATIC, SINGULAR, FLOAT, Feature_Y, 2) \
|
|
X(a, STATIC, SINGULAR, FLOAT, Feature_Z, 3) \
|
|
X(a, STATIC, SINGULAR, FLOAT, Gap, 4) \
|
|
X(a, STATIC, SINGULAR, FLOAT, WrongEdgeQuantity, 5) \
|
|
X(a, STATIC, SINGULAR, FLOAT, Area, 6)
|
|
#define LazorData_CALLBACK NULL
|
|
#define LazorData_DEFAULT NULL
|
|
|
|
extern const pb_msgdesc_t LazorData_msg;
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
#define LazorData_fields &LazorData_msg
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
#define BSP_LAZORDATA_PB_H_MAX_SIZE LazorData_size
|
|
#define LazorData_size 30
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|
|
|