Manual
www.nexusrobot.com Robot Kits manual
61
void debugger(bool wheelLeftDebug=true,bool wheelRightDebug=true) const;
Debug the all wheel’s speed
Car _state enum
Used to configure the behavior of a car.
Note that not all car can be configured in every state.
Variables:
STAT_UNKNOWN
The state of the car unknown
STAT_STOP
The car’s state is stop
STAT_ADVANCE
The car’s state is moves advance
STAT_BACKOFF
The car’s state is get backoff
STAT_ROTATELEFT
The car’s state is moves rotateleft
STAT_ROTATERIGHT
The car’s state is moves rotateright
STAT_UPPERLEFT
The car’s state is moves upperleft
STAT_LOWERLEFT
The car’s state is moves lowerleft
STAT_LOWERRIGHT
The car’s state is moves lowerright
STAT_UPPERRIGHT
The car’s state is moves uppperright
unsigned char getCarStat() const
Get the car current state
return : The car’s state