aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo.pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'car/elegoo.pb.h')
-rw-r--r--car/elegoo.pb.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/car/elegoo.pb.h b/car/elegoo.pb.h
index 661bbbc..0f4c4e1 100644
--- a/car/elegoo.pb.h
+++ b/car/elegoo.pb.h
@@ -1,5 +1,5 @@
/* Automatically generated nanopb header */
-/* Generated by nanopb-0.3.6 at Sat Aug 26 10:18:35 2017. */
+/* Generated by nanopb-0.3.6 at Sat Aug 26 18:04:10 2017. */
#ifndef PB_ELEGOO_PB_H_INCLUDED
#define PB_ELEGOO_PB_H_INCLUDED
@@ -22,10 +22,8 @@ typedef struct _Command {
int32_t SpeedL;
bool has_Stop;
bool Stop;
- bool has_Center;
- bool Center;
bool has_Direction;
- int32_t Direction;
+ uint32_t Direction;
bool has_StopAfter;
uint32_t StopAfter;
/* @@protoc_insertion_point(struct:Command) */
@@ -52,18 +50,17 @@ typedef struct _Events {
/* Default values for struct fields */
/* Initializer values for message structs */
-#define Command_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
+#define Command_init_default {false, 0, false, 0, false, 0, false, 0, false, 0}
#define Events_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
-#define Command_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
+#define Command_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0}
#define Events_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
/* Field tags (for use in manual encoding/decoding) */
#define Command_SpeedR_tag 1
#define Command_SpeedL_tag 2
#define Command_Stop_tag 3
-#define Command_Center_tag 4
-#define Command_Direction_tag 5
-#define Command_StopAfter_tag 6
+#define Command_Direction_tag 4
+#define Command_StopAfter_tag 5
#define Events_Distance_tag 1
#define Events_Direction_tag 2
#define Events_SensorR_tag 3
@@ -73,11 +70,11 @@ typedef struct _Events {
#define Events_Time_tag 7
/* Struct field encoding specification for nanopb */
-extern const pb_field_t Command_fields[7];
+extern const pb_field_t Command_fields[6];
extern const pb_field_t Events_fields[8];
/* Maximum encoded size of messages (where known) */
-#define Command_size 28
+#define Command_size 26
#define Events_size 30
/* Message IDs (where set with "msgid" option) */