
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
Содержание Nexus Robot
Страница 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Страница 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Страница 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Страница 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...