Simplify by making command streams pointer lists like in proto

This commit is contained in:
Marc Di Luzio 2020-07-21 23:52:14 +01:00
parent f78efd1223
commit 8667f55143
6 changed files with 143 additions and 193 deletions

View file

@ -120,14 +120,12 @@ message Command {
// The command type
CommandType command = 1;
oneof data {
// A simple message, must be composed of printable ASCII glyphs (32-126)
// maximum of three characters
bytes broadcast = 2;
// A simple message, must be composed of printable ASCII glyphs (32-126)
// maximum of three characters
bytes broadcast = 2;
// The bearing for the rover to turn to
Bearing turn = 3;
}
// The bearing for the rover to turn to
Bearing turn = 3;
}
// CommandRequest describes a set of commands to be requested for the rover