-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
It would be nice to be able to set the PID parameters from the command line utilities i.e. dynamixel and p2-dynamixel. Example usage:
$ p2-dynamixel set-gain-pos-p --id 1 80
$ p2-dynamixel set-gain-vel-i --id 2 20
$ p2-dynamixel st-gain-pos-i --id 3 30
Error: ProH54200S500 does not support setting the Position I gain
Currently, we can get/set the gains using:
# Read position P gain for ProH54200S500
$ p2-dynamixel read --id 1 2 3 -a 594 -s 2 --timeout 0.3
# Write
$ p2-dynamixel write --id 1 2 3 -a 594 -s 2 -v 80 --timeout 0.3
but it'd be nice to have a command for that.
Dynamixel Pro addresses:
| Name | Address |
|---|---|
| Pos P | 594 |
| Vel P | 588 |
| Vel I | 586 |
MX-106 (and probably MX Series Protocol 2):
| Name | Address |
|---|---|
| Pos P | 84 |
| Pos I | 82 |
| Pos D | 80 |
| Vel P | 78 |
| Vel I | 76 |