Manual

www.nexusrobot.com Robot Kits manual
81
See: MotorWheel::getSpeedMMPS()
unsigned int wheelRightSetSpeedMMPS(unsigned int speedMMPS=0,bool dir=DIR_ADVANCE)
Set the speed for the right 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 wheelRightGetSpeedMMPS() const
Get the speed of the right wheel
This will lie within the range specified at MotorWheel::getSpeedMMPS()
See: MotorWheel::getSpeedMMPS()
unsigned int wheelLeftSetSpeedMMPS(unsigned int speedMMPS=0,bool dir=DIR_ADVANCE);
Set the speed for the left 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 wheelLeftGetSpeedMMPS() const
Get the speed of the left wheel
This will lie within the range specified at MotorWheel::getSpeedMMPS()
See: MotorWheel::getSpeedMMPS()
bool PIDEnable(float kc=KC,float taui=TAUI,float taud=TAUD,unsigned int interval=1000)
Call the PID,make it work for the car
This will lie within the range specified at MotorWheel::PIDEnable()