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.proto11
1 files changed, 6 insertions, 5 deletions
diff --git a/car/elegoo/elegoo.proto b/car/elegoo/elegoo.proto
index bb72aac..f310b62 100644
--- a/car/elegoo/elegoo.proto
+++ b/car/elegoo/elegoo.proto
@@ -3,14 +3,15 @@ syntax = "proto3";
option go_package = "main";
message Command {
- int32 LeftSpeed = 1;
- int32 RightSpeed = 2;
- sint32 TurnHead = 3; // ±90 deg
- bool Center = 4;
+ sint32 SpeedR = 1;
+ sint32 SpeedL = 2;
+ bool Stop = 3;
+ sint32 TurnHead = 4; // ±90 deg
+ bool Center = 5;
}
message Event {
- int32 Distance = 1;
+ uint32 Distance = 1;
bool SensorR = 2;
bool SensorC = 3;
bool SensorL = 4;