-
Notifications
You must be signed in to change notification settings - Fork 89
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
Velocity and Position command interfaces don't work when Effort command interface exist #343
Comments
This might be a limit of But why would someone need velocity and effort at the same time? What should the physics engine do then? |
They were not claimed by the controller at the same time. Effort interface was just available in the robot itself that triggered the bug. |
@BarisYazici I've been stuck on this for a while, I want my simulated robot joints to have both an effort and velocity command interface since that reflects the real robot. Honestly I couldn't solve it so I made different URDFs and I load either one or the other according to how I want to control the joints. |
Ah I see. This shouldn't be a problem, maybe there is a bug in the logic of the |
Our workaround is also basically the same. Could take a look to perform_command_mode_switch when I find time @christophfroehlich |
When I add the effort command interface to the test_cart_velocity.xacro.urdf example, the velocity example stops working. I modified the example to reproduce the bug https://github.com/BarisYazici/gz_ros2_control/blob/humble/ign_ros2_control_demos/urdf/test_cart_velocity.xacro.urdf.
The text was updated successfully, but these errors were encountered: