Example #1
0
unsigned int setCarBackoff(unsigned int speedMMPS) 
{
	unsigned int temp=150+speedMMPS;
	setCarStat(STAT_BACKOFF);
	return setMotorAll(temp);
}
Example #2
0
unsigned int setCarAdvance(unsigned int speedMMPS) 
{
	unsigned int temp=150-speedMMPS;
	setCarStat(STAT_ADVANCE);
	return setMotorAll(temp);
}
Example #3
0
unsigned int setCarStop()
{
	setCarStat(STAT_STOP);
	return setMotorAll(150);	
}																												    
Example #4
0
unsigned int Omni4WD::setMotorAllBackoff(unsigned int speedMMPS) {
	return setMotorAll(speedMMPS,DIR_BACKOFF);
}
Example #5
0
unsigned int Omni4WD::setMotorAllAdvance(unsigned int speedMMPS) {
	return setMotorAll(speedMMPS,DIR_ADVANCE);
}
Example #6
0
unsigned int Omni4WD::setMotorAllStop() {
	return setMotorAll(0,DIR_ADVANCE);
}