www.nexusrobot.com Robot Kits manual
83
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 backoff
STAT_ROTATELEFT
The car’s state is moves rotate left
STAT_ROTATERIGHT
The car’s state is moves rotate right
STAT_RIGHT
The car’s state is turn right
STAT_LEFT
The car’s state is turn left
unsigned char
getCarStat()
const
Get the state of the car
return :
The car’s state
Motor _state enum
Used to configure the behavior of a motor.
Note that not all motors can be configured in every state.
Variables:
MOTORS_BRL
The switchmotorstat is back-right-left
MOTORS_LBR
The switchmotorstat is left-back-right
MOTORS_RLB
The switchmotorstat is right-left-back
unsigned char
getSwitchMotorsStat()
const
Get the state of the Motor
return :
The motor’s state
Summary of Contents for Nexus Robot
Page 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Page 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Page 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Page 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...