resibots / libdynamixel

C++ interface to the dynamixel actuators
GNU General Public License v2.0
9 stars 15 forks source link

Angle limit error message boundaries unit problem #41

Closed elkhadiy closed 6 years ago

elkhadiy commented 6 years ago
$ ./dynamixel position --id 1 --angle 180
Servo: error while setting position (rad) in servo with ID 1: 
Minimum: 30, Maximum: 330, Given: 10313.2

plz switch the boundaries' unit from degres to gradiant, it's a little confusing even though it says (rad) and (in radians) in --help 30° -> ~0.524 rad 330° -> ~5.76 rad

dogoepp commented 6 years ago

Solved by #42