Make the bearings 8 directional

This commit is contained in:
Marc Di Luzio 2020-07-21 22:58:59 +01:00
parent 6c75f07aff
commit 6f30b665c7
2 changed files with 73 additions and 51 deletions

View file

@ -99,13 +99,18 @@ enum CommandType {
broadcast = 4;
}
// Bearing represents a compass direction
enum Bearing {
// BearingUnknown an unknown invalid bearing
BearingUnknown = 0;
North = 1;
East = 2;
South = 3;
West = 4;
NorthEast = 2;
East = 3;
SouthEast = 4;
South = 5;
SouthWest = 6;
West = 7;
NorthWest = 8;
}
// Command is a single command for a rover