www.nexusrobot.com Robot Kits manual
65
See:
R2WD::
wheelLeftSetSpeedMMPS
()
R2WD::
wheelRightSetSpeedMMPS
()
R2WD::getCarSpeedMMPS
()
unsigned int
setCarBackoffBase
(unsigned int speedMMPSL=0,unsigned int speedMMPSR=0)
Set car moves backoff
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
See:
R2WD::
wheelLeftSetSpeedMMPS
()
R2WD::
wheelRightSetSpeedMMPS
()
R2WD::getCarSpeedMMPS
()
unsigned int
setCarRotateAngle
(unsigned int speedMMPS=0,float radian=0)
Set the angle when the car moves rotate
This will lie within the range specified at
R2WD::getWheelspanMM
()
Parameters:
unsigned int speedMMPS=0
The speed set to the motors,initialize it
float radian=0
The radian set to the car moves,initialize it
Return:
timeMS,the time the car moves
See:
R2WD::getWheelspanMM
()
unsigned int
setCarStraightDistance
(unsigned int speedMMPS=0,unsigned long distance=0);
Set the straight distance the car moves
Parameters:
unsigned int speedMMPS=0
The speed set the motors at,initialize it
unsigned long distance=0
The distance set the car moves,initialize it
Содержание Nexus Robot
Страница 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Страница 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Страница 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Страница 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...