You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It seems like there is an issue parsing models with position actuators in the latest version of this repo, because I am getting errors about velocity/motor actuators even though I do not have them.
To Reproduce
I had a working model on an older branch of this repo, with actuators formatted as such:
[ros2_control_node-1] [ERROR] [1767018915.233158717] [MujocoSystemInterface]:
Position command interface for the joint :
shoulder_pan_joint is not supported with velocity or motor actuator without defining the PIDs
However, these actuators are position actuators, not velocity or motor?
Expected behavior
Actuators should be treated as position actuators and this error should not be there. I suspect there is a bug in this getActuatorType function that was recently added, which is looking for the existence of specific bias parameters?
Environment (please complete the following information):
Describe the bug
It seems like there is an issue parsing models with position actuators in the latest version of this repo, because I am getting errors about velocity/motor actuators even though I do not have them.
To Reproduce
I had a working model on an older branch of this repo, with actuators formatted as such:
After upgrading, I get this error:
However, these actuators are position actuators, not velocity or motor?
You can get this by:
ros2 launch so_arm100_description controllers_bringup.launch.py hardware_type:=mujocoIf you just want to see the model, it's here: https://github.com/JafarAbdi/ros2_so_arm100/blob/e62f90672ec17a255ab4f9854eefe1fb41df54bf/so_arm100_description/mjcf/so_arm100.xml#L142-L174
Expected behavior
Actuators should be treated as position actuators and this error should not be there. I suspect there is a bug in this
getActuatorTypefunction that was recently added, which is looking for the existence of specific bias parameters?Environment (please complete the following information):