This adds a boolean GravityEnabled component to the existing gz/sim/components/Gravity.hh header file, which should be used with Link entities instead of the Vector3 gravity component.
cc @AzulRadio
Test it
Checklist
[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] 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.
🎉 New feature
Follow-up to https://github.com/gazebosim/gz-sim/pull/2398, needed for https://github.com/gazebosim/gz-sim/pull/2447
Summary
This adds a boolean
GravityEnabled
component to the existinggz/sim/components/Gravity.hh
header file, which should be used with Link entities instead of theVector3
gravity component.cc @AzulRadio
Test it
Checklist
codecheck
passed (See contributing)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.