-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tune the actuator parameters for the mujoco model #5
Comments
https://github.com/ami-iit/element_llm-task-planner/issues/34#issuecomment-1983422432 For reference @traversaro |
I can't find that code unfortunately. |
Regardless of the units conversion, where can I find the gains of the gazebo controllers or the oens used in the robot? |
Sure! Let's use the ergoCub For what regards the real robot, it is a bit more complex. First of all, there are different ways for controlling in position the robot, depending on the output of the position controller, if the output of the position controller is current (that is then sent to a low level current control loop) or PWM (that is directly sent to the motor). The gains for the
So, assuming that k_p units is [PWMUnit]/[deg], probably we need to find a k_tau (and a transmission ratio, depending on how |
A possible starting point could be https://github.com/ami-iit/element_sensorless-torque-control/issues/114 |
Thanks! @isorrentino what is the unit of the ktau in https://github.com/ami-iit/element_sensorless-torque-control/issues/114#issuecomment-1948247808 ? Nm/A, Nm/PWMUnit or something else? Are those Ktau also accounting for the transmission ratio? |
Back in time we started an effort to convert the gains from |
Found it! https://github.com/ami-iit/component_wholebody-teleoperation/issues/57 (again the importance of documenting things) |
Related comment: https://github.com/ami-iit/element_llm-task-planner/issues/71#issuecomment-2111889796 The tuning of the actuator is important for the stability of the simulations. |
This can be moved to https://github.com/ami-iit/mujoco-urdf-loader |
For now all the actuators in the model have common parameters (
kp=100
).It would be better to tune these.
The text was updated successfully, but these errors were encountered: