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

bullet-featherstone - add applied constraint force torque to joint transmitted wrench #668

Merged
merged 7 commits into from
Oct 11, 2024

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Jul 12, 2024

🦟 Bug fix

Summary

Updated JointTransmittedWrench function to account for forces and torques applied by constraints, e.g. when velocity commands are sent, bullet uses a motor constraint to move the joint. The force torque feedback in this case is now consistent with what dartsim produces.

Test was originally written by @scpeters and Nils Berg so credit goes to them.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 12, 2024
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
@iche033 iche033 added the Bullet Bullet engine label Jul 22, 2024
@azeey azeey added the beta Targeting beta release of upcoming collection label Jul 29, 2024
@azeey azeey removed the beta Targeting beta release of upcoming collection label Sep 26, 2024
Copy link
Member

@scpeters scpeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just two small changes to the test and I'll be ready to approve

thanks for your patience on my review

test/common_test/joint_features.cc Outdated Show resolved Hide resolved
test/common_test/joint_features.cc Outdated Show resolved Hide resolved
@scpeters scpeters merged commit 2ba401c into gz-physics7 Oct 11, 2024
9 checks passed
@scpeters scpeters deleted the bullet_constraint_force_torque branch October 11, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bullet Bullet engine 🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants