Manual
www.nexusrobot.com Robot Kits manual 
  63
the state want to set 
return : 
Carstate if the stat in the range of the want 
STAT_UNKNOWN otherwise 
unsigned char _switchMotorsStat 
  Save the state of the Motor,prepare for switch motors   
unsigned char setSwitchMotorsStat(unsigned char switchMotorsStat) 
  Set the Motors’ state 
This will lie within the range specified at R2WD::getSwitchMotorsStat() 
Parameters:  unsigned char switchMotorsStat   
The state want to set 
See:  R2WD::getSwitchMotorsStat() 
unsigned int _radiusMM 
  Save the data of the radius 
unsigned int setRadiusMM(unsigned int radiusMM) 
  Set the radius for the car moves 
This will lie within the range specified at R2WD::getRadiusMM() 
Parameters:  unsigned int radiusMM 
The radius want to set 
See:  R2WD::getSwitchMotorsStat() 
R2WD() 
Construct a new R2DW instance.   
unsigned int setMotorAll(unsigned int speedMMPS=0,bool dir=DIR_ADVANCE) 
  Set all motors as the same speed and direction 
This will lie within the range specified at R2WD:: wheelLeftSetSpeedMMPS()and 
R2WD::wheelRightSetSpeedMMPS() 
Parameters: 
unsigned int speedMMPS=0 
The speed set the motors run,initialize it 










