Manual

www.nexusrobot.com Robot Kits manual
64
bool dir=DIR_ADVANCE
The direction set the motors run,initialize it
See:
R2WD:: wheelLeftSetSpeedMMPS()
R2WD:: wheelRightSetSpeedMMPS()
unsigned int setMotorAllStop()
Set all Motors stop
This will lie within the range specified at R2WD::setMotorAll()
See: R2WD::setMotorAll()
unsigned int setMotorAllAdvance(unsigned int speedMMPS=0)
Set all motors run advance
This will lie within the range specified at R2WD::setMotorAll()
Parameters:
unsigned int speedMMPS=0
The speed set the motors run,initialize it
See: R2WD::setMotorAll()
unsigned int setMotorAllBackoff(unsigned int speedMMPS=0)
Set all motors run backoff
This will lie within the range specified at R2WD::setMotorAll()
Parameters:
unsigned int speedMMPS=0
The speed set the motors run,initialize it
See: R2WD::setMotorAll()
unsigned int setCarAdvanceBase(unsigned int speedMMPSL=0,unsigned int speedMMPSR=0)
Set car moves advance
This will lie within the range specified at R2WD:: wheelLeftSetSpeedMMPS() and
R2WD::wheelRightSetSpeedMMPS() and R2WD::getCarSpeedMMPS()
Parameters:
unsigned int speedMMPSL=0
The speed set to the left motor
unsigned int speedMMPSR=0
The speed set to the right motor