Manual
www.nexusrobot.com Robot Kits manual
80
unsigned int getCarSpeedMMPS() const
Get the car’s speed
return: The car’s speed
unsigned int setCarSpeedMMPS(unsigned int speedMMPS=0,unsigned int ms=1000)
The car’s speed be set
This will lie within the range specified at Omni3WD::getCarSpeedMMPS()
Parameters:
unsigned int speedMMPS=0
The speed for the car moves,initialize it.
unsigned int ms=1000
The time the to moves the car at this speed
See: Omni3WD::getCarSpeedMMPS()
unsigned int setCarSlow2Stop(unsigned int ms=1000)
Set the car stop in 1000 milliseconds
This will lie within the range specified at Omni3WD::setCarSpeedMMPS()
Parameters:
unsigned int ms=1000
The time to stop the car,initialize it
See: Omni3WD::getCarSpeedMMPS()
unsigned int wheelBackSetSpeedMMPS(unsigned int speedMMPS=0,bool dir=DIR_ADVANCE)
Set the speed for the back wheel
This will lie within the range specified at MotorWheel::setSpeedMMPS()
Parameters:
unsigned int speedMMPS=0
The speed for the wheel to run,initialize it
bool dir=DIR_ADVANCE
The direction for the wheel to run
See: MotorWheel::setSpeedMMPS()
unsigned int wheelBackGetSpeedMMPS() const
Get the speed of the back wheel
This will lie within the range specified at MotorWheel::getSpeedMMPS()