Manual
www.nexusrobot.com Robot Kits manual 
  76
¾  Public functions 
Omni3WD (MotorWheel* wheelBack,MotorWheel* wheelRight,MotorWheel* wheelLeft) 
Construct a new Omni3WD instance.   
in your sketch. This will create a Omni3WD object called Omni3WD. You can then use any of its methods; 
for instance, to control a Omni3WD attached to pins, you could write 
Parameters: 
MotorWheel* wheelBack 
A point named wheelBack as the object of MotorWheel,back wheel 
MotorWheel*wheelLeft 
A point named wheelLeft as the object of MotorWheel,left wheel 
MotorWheel*wheelRight 
A point named wheelRight as the object of MotorWhee,right wheel 
unsigned char switchMotorsLeft() 
    Rotate left to choose the motors 
This will lie within the range specified at Omni3WD::getSwitchMotorsStat() 
See:  Omni3WD::getSwitchMotorsStat()
unsigned char switchMotorsRight() 
    Rotate right to choose the motors 
This will lie within the range specified at Omni3WD::getSwitchMotorsStat() 
See:  Omni3WD::getSwitchMotorsStat()
unsigned char switchMotorsReset() 
  Reset the rotate direction to choose the motor 
This will lie within the range specified at Omni3WD::getSwitchMotorsStat() 
See:  Omni3WD::getSwitchMotorsStat()
unsigned int setMotorAll(unsigned int speedMMPS=0,bool dir=DIR_ADVANCE) 
  Set all the motors’ speed and direction 
This will lie within the range specified at Omni3WD::wheelBackSetSpeedMMPS() and 
Omni3WD::wheelRightSetSpeedMMPS() and Omni3WD::wheelLeftSetSpeedMMPS() 
Parameters:  unsigned int speedMMPS=0 










