Skip to content
Snippets Groups Projects
Commit ab9d9a30 authored by Compiler bot's avatar Compiler bot
Browse files

ci/Compilation of messages-schemas/f8ef1579b6dabcfa874294c8d71d5a91278da79e

parent 06111471
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
PB_BIND(Point2D, Point2D, AUTO)
PB_BIND(OdomMessage, OdomMessage, AUTO)
PB_BIND(Msg_mccd_order, Msg_mccd_order, AUTO)
......@@ -14,10 +14,10 @@ extern "C" {
#endif
/* Struct definitions */
typedef struct _OdomMessage {
typedef struct _Msg_mccd_order {
float linearSpeed;
float angularSpeed;
} OdomMessage;
} Msg_mccd_order;
typedef struct _Point2D {
float x;
......@@ -27,13 +27,13 @@ typedef struct _Point2D {
/* Initializer values for message structs */
#define Point2D_init_default {0, 0}
#define OdomMessage_init_default {0, 0}
#define Msg_mccd_order_init_default {0, 0}
#define Point2D_init_zero {0, 0}
#define OdomMessage_init_zero {0, 0}
#define Msg_mccd_order_init_zero {0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define OdomMessage_linearSpeed_tag 4
#define OdomMessage_angularSpeed_tag 5
#define Msg_mccd_order_linearSpeed_tag 4
#define Msg_mccd_order_angularSpeed_tag 5
#define Point2D_x_tag 1
#define Point2D_y_tag 2
......@@ -44,22 +44,22 @@ X(a, STATIC, SINGULAR, FLOAT, y, 2)
#define Point2D_CALLBACK NULL
#define Point2D_DEFAULT NULL
#define OdomMessage_FIELDLIST(X, a) \
#define Msg_mccd_order_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, FLOAT, linearSpeed, 4) \
X(a, STATIC, SINGULAR, FLOAT, angularSpeed, 5)
#define OdomMessage_CALLBACK NULL
#define OdomMessage_DEFAULT NULL
#define Msg_mccd_order_CALLBACK NULL
#define Msg_mccd_order_DEFAULT NULL
extern const pb_msgdesc_t Point2D_msg;
extern const pb_msgdesc_t OdomMessage_msg;
extern const pb_msgdesc_t Msg_mccd_order_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define Point2D_fields &Point2D_msg
#define OdomMessage_fields &OdomMessage_msg
#define Msg_mccd_order_fields &Msg_mccd_order_msg
/* Maximum encoded size of messages (where known) */
#define Point2D_size 10
#define OdomMessage_size 10
#define Msg_mccd_order_size 10
#ifdef __cplusplus
} /* extern "C" */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment