www.nexusrobot.com Robot Kits manual
84
¾
Private parameters
MotorWheel
*
_wheelBack
A point named wheelBack as the object of MotorWheel
MotorWheel
* _wheelRight
A point named wheelright as the object of MotorWheel
MotorWheel
* _wheelLeft
A point named wheelLeft as the object of MotorWheel
unsigned char
_carStat
To save the car’s state
unsigned char
setCarStat
(unsigned char stat)
Set the state of the car
Parameters:
unsigned char stat
The state want to set
return :
Carstate if the stat in the range of the want
STAT_UNKNOWN otherwise
unsigned char
_switchMotorsStat
Switch the motors’ state
unsigned char
setSwitchMotorsStat
(unsigned char switchMotorsStat)
Set the Motors’ state
This will lie within the range specified at
Omni3WD::getSwitchMotorsStat
()
Parameters:
unsigned char switchMotorsStat
The state want to set
See:
Omni3WD::getSwitchMotorsStat
()
Omni3WD
()
Construct a new R2DW instance.
void
demoActions
(unsigned int speedMMPS=100,unsigned int duration=5000,
unsigned
int
uptime=500,bool
debug=false)
A demo function for three wheels car to show
Summary of Contents for Nexus Robot
Page 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Page 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Page 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Page 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...