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

Fix to gravity compensation calculation #91

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

KKSTB
Copy link

@KKSTB KKSTB commented Sep 30, 2022

Fix to gravity compensation calculation, as mentioned in #39
The modification additionally changed variables from ctrl::Vector6D to KDL::Wrench to reduce format translation in displayInBaseLink() and displayInTipLink(). This is because such modification is closer to my working and tested copy. It is possible to convert them back to ctrl::Vector6D, but you should spend time doing tests again.

Ensure correct joint positions before calling Base::displayInTipLink()
- Fix to gravity compensation calculation, where compensateGravity() should be at the same frame as m_ft_sensor_wrench
- Use KDL:Wrench instead of ctrl::Vector6D to reduce format translation
- Use KDL:Wrench instead of ctrl::Vector6D to reduce format translation
- Use KDL:Wrench instead of ctrl::Vector6D to reduce format translation
- Use KDL:Wrench instead of ctrl::Vector6D to reduce format translation
@stefanscherzinger
Copy link
Contributor

@KKSTB Thank you!

That's very helpful. I'll check as soon as possible on a real system.

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

Successfully merging this pull request may close these issues.

2 participants