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

Enabled the possibility of using the contact status #7

Merged
merged 2 commits into from
May 6, 2021

Conversation

cmastalli
Copy link
Member

We need to detect whether a contact is active or not to display CoP, contact force, support polygon, and friction cone. The current solution is to check whether the norm is not zero; however, this solution might lead to issue in many of our robots as contact forces might be noise or estimated.

Now, with this PR, I enable the possibility of using the contact_state field of the whole-body state message. However, it is still possible to use previous method by configuring Use Contact Status to false.

Note that this PR is still not based on the new version of the whole-body state message introduced in loco-3d/whole_body_state_msgs#7. Later, I will create another PR.

@cmastalli cmastalli merged commit 1fb6b98 into loco-3d:master May 6, 2021
@cmastalli cmastalli deleted the topic/contact-state branch May 6, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant