Manual
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 










