Make the bearings 8 directional
This commit is contained in:
parent
6c75f07aff
commit
6f30b665c7
2 changed files with 73 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue