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.

53 lines
1.4 KiB

1 month ago
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_ROBOT_RMACM_PB_H_INCLUDED
#define PB_ROBOT_RMACM_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 */
/* Remove Marine Animal Command */
typedef struct _RMACM {
int32_t LightBrightness; /* 灯光亮度 */
int32_t Robot_Speed; /* 机器人速度 */
} RMACM;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define RMACM_init_default {0, 0}
#define RMACM_init_zero {0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define RMACM_LightBrightness_tag 1
#define RMACM_Robot_Speed_tag 2
/* Struct field encoding specification for nanopb */
#define RMACM_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, LightBrightness, 1) \
X(a, STATIC, SINGULAR, INT32, Robot_Speed, 2)
#define RMACM_CALLBACK NULL
#define RMACM_DEFAULT NULL
extern const pb_msgdesc_t RMACM_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define RMACM_fields &RMACM_msg
/* Maximum encoded size of messages (where known) */
#define RMACM_size 22
#define ROBOT_RMACM_PB_H_MAX_SIZE RMACM_size
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif