aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo.pb.c
blob: 7aa3b5e8bb989a8675c77eeffaeb33e37400261e (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
30
31
32
33
34
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.6 at Sat Aug 26 18:04:10 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[6] = {
    PB_FIELD(  1, SINT32  , OPTIONAL, STATIC  , FIRST, Command, SpeedR, SpeedR, 0),
    PB_FIELD(  2, SINT32  , OPTIONAL, STATIC  , OTHER, Command, SpeedL, SpeedR, 0),
    PB_FIELD(  3, BOOL    , OPTIONAL, STATIC  , OTHER, Command, Stop, SpeedL, 0),
    PB_FIELD(  4, UINT32  , OPTIONAL, STATIC  , OTHER, Command, Direction, Stop, 0),
    PB_FIELD(  5, UINT32  , OPTIONAL, STATIC  , OTHER, Command, StopAfter, Direction, 0),
    PB_LAST_FIELD
};

const pb_field_t Events_fields[8] = {
    PB_FIELD(  1, UINT32  , OPTIONAL, STATIC  , FIRST, Events, Distance, Distance, 0),
    PB_FIELD(  2, SINT32  , OPTIONAL, STATIC  , OTHER, Events, Direction, Distance, 0),
    PB_FIELD(  3, BOOL    , OPTIONAL, STATIC  , OTHER, Events, SensorR, Direction, 0),
    PB_FIELD(  4, BOOL    , OPTIONAL, STATIC  , OTHER, Events, SensorC, SensorR, 0),
    PB_FIELD(  5, BOOL    , OPTIONAL, STATIC  , OTHER, Events, SensorL, SensorC, 0),
    PB_FIELD(  6, UINT32  , OPTIONAL, STATIC  , OTHER, Events, KeyPress, SensorL, 0),
    PB_FIELD(  7, UINT32  , OPTIONAL, STATIC  , OTHER, Events, Time, KeyPress, 0),
    PB_LAST_FIELD
};


/* @@protoc_insertion_point(eof) */