aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo/elegoo.proto
diff options
context:
space:
mode:
Diffstat (limited to 'car/elegoo/elegoo.proto')
-rw-r--r--car/elegoo/elegoo.proto12
1 files changed, 6 insertions, 6 deletions
diff --git a/car/elegoo/elegoo.proto b/car/elegoo/elegoo.proto
index bdf1b95..f9b13bf 100644
--- a/car/elegoo/elegoo.proto
+++ b/car/elegoo/elegoo.proto
@@ -7,14 +7,14 @@ message Command {
sint32 SpeedL = 2;
bool Stop = 3;
bool Center = 4;
- sint32 TurnHead = 5; // ±90 deg
- sint32 Trim = 6;
+ sint32 Direction = 5; // +90 left; -90 right
}
message Event {
uint32 Distance = 1;
- bool SensorR = 2;
- bool SensorC = 3;
- bool SensorL = 4;
- uint32 KeyPress = 5;
+ sint32 Direction = 2;
+ bool SensorR = 3;
+ bool SensorC = 4;
+ bool SensorL = 5;
+ uint32 KeyPress = 6;
}