-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Set PID gains from command line #46
Comments
It would be even nicer if we could set this in dynamixel_control_hw:
serial_interface: /dev/ttyUSB0
baudrate: 57600
# ...
servos:
first:
id: 1
gains:
pos:
p: 30
i: 10
d: 0
vel:
p: 40 |
You're right, it would be nice to add these fields in the command line utility, as well as (most of) the others. I'm thinking on possible angles to add all these fields at once. If you have ideas, it's welcome. However, I'm not sure about about integrating it in Nonetheless, I'm open to discussion and I agree that the current way to configure the servos is not really satisfying. Maybe we could do a configuration tool using ROS ? It could also understand YAML configuration, should you want it. Besides, have you already tried Dynamixel Workbench? |
I'm not too sure about adding all the fields to the command line utility. I would say it may clutter the subcommands help message too much, and I think just the ones that will be used frequently should be added (maybe min/max voltage limits, homing offset, and other limiting fields).
IIRC, the PID gains are stored in the RAM so it gets reset every time. I'm not sure what the rationale behind this is, but I believe being able to set the gains to appropriate values every time
Last time I checked, they didn't have a |
Adding fieldsThe fields you use regularly depends on your usage of the actuators. I personally use the mode switch rather regularly, but almost never the other fields. Therefore, any choice of which parameters to support would be arbitrary. Anyway, I'm a bit busy with other things right now. It would need to wait for some time. Setting PID parametersI had forgotten that the PID parameters are set in the RAM. You're right. Dynamixel WorkbenchIt seems to still lack this interface. I just saw it yesterday and thought that their dynamixel configuration soft seemed cool so I was curious to know if you had tried. Doesn't solve your issue, sorry. |
It would be nice to be able to set the PID parameters from the command line utilities i.e.
dynamixel
andp2-dynamixel
. Example usage:Currently, we can get/set the gains using:
but it'd be nice to have a command for that.
Dynamixel Pro addresses:
MX-106 (and probably MX Series Protocol 2):
The text was updated successfully, but these errors were encountered: