unsigned int setCarBackoff(unsigned int speedMMPS) { unsigned int temp=150+speedMMPS; setCarStat(STAT_BACKOFF); return setMotorAll(temp); }
unsigned int setCarAdvance(unsigned int speedMMPS) { unsigned int temp=150-speedMMPS; setCarStat(STAT_ADVANCE); return setMotorAll(temp); }
unsigned int setCarStop() { setCarStat(STAT_STOP); return setMotorAll(150); }
unsigned int Omni4WD::setMotorAllBackoff(unsigned int speedMMPS) { return setMotorAll(speedMMPS,DIR_BACKOFF); }
unsigned int Omni4WD::setMotorAllAdvance(unsigned int speedMMPS) { return setMotorAll(speedMMPS,DIR_ADVANCE); }
unsigned int Omni4WD::setMotorAllStop() { return setMotorAll(0,DIR_ADVANCE); }