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

How to handle references when switching to Position control mode #107

Closed
diegoferigo opened this issue Dec 19, 2019 · 1 comment · Fixed by #158
Closed

How to handle references when switching to Position control mode #107

diegoferigo opened this issue Dec 19, 2019 · 1 comment · Fixed by #158

Comments

@diegoferigo
Copy link
Member

As discussed in #104 (comment), switching the control mode of Gazebo's robots from any control mode to Position might create problems on real robots due to the missing initial reference.

We should discuss how to handle this case.

@diegoferigo
Copy link
Member Author

With the new ScenarI/O bindings, changing the control mode to Position automatically resets any reference that was previously set to the current joint position.

Users should remember that the previous position is discarded. There is a debug message that is displayed during runtime to make it clear.

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