How to determine the value for usleep?

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
1 postPage 1 of 1
1 postPage 1 of 1

How to determine the value for usleep?

Post by petercohen » Sun Mar 24, 2013 3:21 pm

Post by petercohen
Sun Mar 24, 2013 3:21 pm

Hello. I have a program that generates motion data for the dynamixel at deltaT msec interval. When programming the Dynamixel MX motors, how do I determine the appropriate value for the usleep function? If the value is too small, the motor does not have enough time to reach the extreme ends of the specified positions. If the value is too large, the motor takes longer than desired.
Hello. I have a program that generates motion data for the dynamixel at deltaT msec interval. When programming the Dynamixel MX motors, how do I determine the appropriate value for the usleep function? If the value is too small, the motor does not have enough time to reach the extreme ends of the specified positions. If the value is too large, the motor takes longer than desired.
petercohen offline
Savvy Roboteer
Savvy Roboteer
Posts: 58
Joined: Tue Jul 19, 2011 5:19 am

1 postPage 1 of 1
1 postPage 1 of 1
cron