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.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/car/elegoo.pb.h b/car/elegoo.pb.h
index d353a56..29865ad 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 Sun Aug 20 22:42:38 2017. */
+/* Generated by nanopb-0.3.6 at Mon Aug 21 21:08:59 2017. */
#ifndef PB_ELEGOO_PB_H_INCLUDED
#define PB_ELEGOO_PB_H_INCLUDED
@@ -22,18 +22,20 @@ typedef struct _Command {
int32_t RightSpeed;
bool has_TurnHead;
int32_t TurnHead;
+ bool has_Center;
+ bool Center;
/* @@protoc_insertion_point(struct:Command) */
} Command;
typedef struct _Event {
bool has_Distance;
int32_t Distance;
- bool has_SensorA;
- bool SensorA;
- bool has_SensorB;
- bool SensorB;
+ bool has_SensorR;
+ bool SensorR;
bool has_SensorC;
bool SensorC;
+ bool has_SensorL;
+ bool SensorL;
bool has_KeyPress;
uint32_t KeyPress;
/* @@protoc_insertion_point(struct:Event) */
@@ -42,27 +44,28 @@ typedef struct _Event {
/* Default values for struct fields */
/* Initializer values for message structs */
-#define Command_init_default {false, 0, false, 0, false, 0}
+#define Command_init_default {false, 0, false, 0, false, 0, false, 0}
#define Event_init_default {false, 0, false, 0, false, 0, false, 0, false, 0}
-#define Command_init_zero {false, 0, false, 0, false, 0}
+#define Command_init_zero {false, 0, false, 0, false, 0, false, 0}
#define Event_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0}
/* Field tags (for use in manual encoding/decoding) */
#define Command_LeftSpeed_tag 1
#define Command_RightSpeed_tag 2
#define Command_TurnHead_tag 3
+#define Command_Center_tag 4
#define Event_Distance_tag 1
-#define Event_SensorA_tag 2
-#define Event_SensorB_tag 3
-#define Event_SensorC_tag 4
+#define Event_SensorR_tag 2
+#define Event_SensorC_tag 3
+#define Event_SensorL_tag 4
#define Event_KeyPress_tag 5
/* Struct field encoding specification for nanopb */
-extern const pb_field_t Command_fields[4];
+extern const pb_field_t Command_fields[5];
extern const pb_field_t Event_fields[6];
/* Maximum encoded size of messages (where known) */
-#define Command_size 33
+#define Command_size 30
#define Event_size 23
/* Message IDs (where set with "msgid" option) */