Manual
www.nexusrobot.com Robot Kits manual
104
The speed for the motor run,initialize it.
See:
Omni4WD::wheelULSetSpeedMMPS()
Omni4WD::wheelLLSetSpeedMMPS()
Omni4WD::wheelLRSetSpeedMMPS()
Omni4WD::wheelURSetSpeedMMPS()
Omni4WD::setCarstat()
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)
Set the speed of the car
This will lie within the range specified at Omni4WD::getCarSpeedMMPS()
Parameters:
unsigned int speedMMPS=0
The speed for the car moves,initialize it.
unsigned int ms=1000
The time used for the to moves the car at this speed
See: Omni4WD::getCarSpeedMMPS()
unsigned int setCarSlow2Stop(unsigned int ms=1000)
Set the car stop in 1000 milliseconds
This will lie within the range specified at Omni4WD::setCarSpeedMMPS()
Parameters:
unsigned int ms=1000
The time used for stop the car,initialize it
See: Omni4WD::getCarSpeedMMPS()
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