aboutsummaryrefslogtreecommitdiff
path: root/elegoo.proto
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-12-26 00:07:21 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-12-26 00:07:21 +0100
commit1fbbc696beaa6f64d6832c83763fbd1dce10906c (patch)
tree2f76891c09194a0dc578ba59b07854c763936383 /elegoo.proto
parentd2495d8dc996205a18e8aa29283520b32add6570 (diff)
rename
Diffstat (limited to 'elegoo.proto')
-rw-r--r--elegoo.proto12
1 files changed, 6 insertions, 6 deletions
diff --git a/elegoo.proto b/elegoo.proto
index 516ecbb..858c79e 100644
--- a/elegoo.proto
+++ b/elegoo.proto
@@ -15,24 +15,24 @@ message Command {
sint32 Look = 2; // deg: -90 right .. +90 left
}
-message UltraSonic {
+message Sonar {
uint32 Distance = 1; // cm
sint32 Direction = 2; // deg
}
-message InfraRed {
+message Sensor {
bool R = 1;
bool C = 2;
bool L = 3;
}
-message RemoteControl {
+message Remote {
uint32 Key = 1;
}
message Event {
uint32 TimeStamp = 1; // milliseconds
- UltraSonic Head = 2;
- InfraRed Sensor = 3;
- RemoteControl Remote = 4;
+ Sonar Head = 2;
+ Sensor Sensor = 3;
+ Remote Remote = 4;
}