Manual

www.nexusrobot.com Robot Kits manual
108
void debugger(bool wheelBackDebug=true,bool wheelRightDebug=true,bool wheelLeftDebug=true)
const
Debug the speed of the wheel
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 forward
STAT_BACKOFF
The car’s state is get back off
STAT_RIGHT
The car’s state is turn right
STAT_LEFT
The car’s state is turn left
STAT_ROTATELEFT
The car’s state is moves rotate left
STAT_ROTATERIGHT
The car’s state is moves rotate right
STAT_UPPERLEFT
The car’s state is run upper left
STAT_LOWERLEFT
The car’s state is moves lower left
STAT_LOWERRIGHT
The car’s state is moves lower right
STAT_UPPERRIGHT
The car’s state is moves upper right