Manual

www.nexusrobot.com Robot Kits manual
66
Return: timeMS,the time the car moves
unsigned int setCarArcBase(unsigned int speedMMPS=0,unsigned int radiusMM=WHEELSPAN)
Set the Arc the car moves
The car have arc is on the basis of the two wheel have diffrent speed or direction
This will lie within the range specified at R2WD::setCarBackoffBase() and
R2WD::setCarAdvanceBase()
Parameters:
unsigned int speedMMPS=0
The speed set the motors run at,initialize it
int radiusMM=WHEELSPAN
The radius set the car moves ,initialize it
Return: timeMS,the time the car moves
unsigned int setCarArcTime(unsigned int speedMMPS=0,unsigned int radiusMM=WHEELSPAN,
unsigned long duration=5000,unsigned int uptime=500)
Set the time the car moves as Arc
Parameters:
unsigned int speedMMPS=0
The speed set the car moves
unsigned int radiusMM=WHEELSPAN
The radius the car moves
unsigned long duration=5000
The time the car last
unsigned int uptime=500
The time the car used to stop
Return: The time the car used to moves and stop
unsigned int setCarArcAngle(unsigned int speedMMPS=0,unsigned int radiusMM=WHEELSPAN,
float radian=0,unsigned int uptime=500)
Set the Arc angle the car moves
Parameters:
unsigned int speedMMPS=0
The speed set the car moves
unsigned int radiusMM=WHEELSPAN