aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo/elegoo.proto
blob: 2915a11adee6be1bd3c2cc559e99d4d33749bcd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";

option go_package = "main";

message Command {
	int32 LeftSpeed = 1;
	int32 RightSpeed = 2;
	int32 TurnHead = 3;
}

message Event {
	int32 Distance = 1;
	bool SensorA = 2;
	bool SensorB = 3;
	bool SensorC = 4;
	uint32 KeyPress = 5;
}