aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo.pb.c
blob: 73a22679200d6d9249655fb2e5484bfe7b0a707e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.6 at Sun Aug 20 17:58:26 2017. */

#include "elegoo.pb.h"

/* @@protoc_insertion_point(includes) */
#if PB_PROTO_HEADER_VERSION != 30
#error Regenerate this file with the current version of nanopb generator.
#endif



const pb_field_t Command_fields[4] = {
    PB_FIELD(  1, INT32   , OPTIONAL, STATIC  , FIRST, Command, LeftSpeed, LeftSpeed, 0),
    PB_FIELD(  2, INT32   , OPTIONAL, STATIC  , OTHER, Command, RightSpeed, LeftSpeed, 0),
    PB_FIELD(  3, INT32   , OPTIONAL, STATIC  , OTHER, Command, TurnHead, RightSpeed, 0),
    PB_LAST_FIELD
};

const pb_field_t Event_fields[5] = {
    PB_FIELD(  1, INT32   , OPTIONAL, STATIC  , FIRST, Event, Distance, Distance, 0),
    PB_FIELD(  2, BOOL    , OPTIONAL, STATIC  , OTHER, Event, SensorA, Distance, 0),
    PB_FIELD(  3, BOOL    , OPTIONAL, STATIC  , OTHER, Event, SensorB, SensorA, 0),
    PB_FIELD(  4, BOOL    , OPTIONAL, STATIC  , OTHER, Event, SensorC, SensorB, 0),
    PB_LAST_FIELD
};


/* @@protoc_insertion_point(eof) */