Example #1
0
void xlMotor::jointMove(int position)
{
    Dxl.jointMode(myID);
    delayMicroseconds(1);
    Dxl.setPosition(myID,position,512);
    delayMicroseconds(1);
}
Example #2
0
void xlMotor::jointMove(int position, int speed)
{
    Dxl.jointMode(myID);
    delayMicroseconds(100);
    Dxl.setPosition(myID,position,speed);
    delayMicroseconds(1);
}
Example #3
0
void xlMotor::resetSettings(void){
	xlMotor::setBaud(3);
	xlMotor::setReturnDelay(250);
    Dxl.jointMode(myID);
	xlMotor::setTempLimit(70);
	xlMotor::setStatusReturn(2);
    
}