Skip to content
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

Bring effort interfaces back to work in Gazebo #40

Closed
marcoesposito1988 opened this issue Jun 25, 2015 · 2 comments
Closed

Bring effort interfaces back to work in Gazebo #40

marcoesposito1988 opened this issue Jun 25, 2015 · 2 comments

Comments

@marcoesposito1988
Copy link
Collaborator

As can be seen in commit 3376577, removing spring_effort makes the Gazebo simulation work again with effort controllers.

How can we do this in a clean way? Shall we put a yaml parameter to lwr_hw_sim?

@carlosjoserg
Copy link
Collaborator

I will update this next week as well. The idea is to have the same behavior in both lwr_hw_sim and lwr_hw_real, so the plugin will expose both PositionJointInterface and EffortJointInterface, emulating strategy 10 and 30.

For EffortJointInterface is clear, is what exists today that emulates strategy 30.

For PositionJointInterface there are two possible variants based on position commands:

  1. Use a PID within the plugin to compute efforts that are sent to the simulation.
  2. Use the SetPosition().

I prefer 2, even when it is not advised for simulation.

@carlosjoserg
Copy link
Collaborator

I believe this is partially solved by #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants