-
Notifications
You must be signed in to change notification settings - Fork 270
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
Publish Joint forces #2369
Publish Joint forces #2369
Conversation
Merge: 8 -> main
Signed-off-by: Ian Chen <ichen@openrobotics.org> Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Several systems use const_cast in order to call sdf::Element::GetElement with const ElementPtrs, but the FindElement API can be used instead. Also fix gz-sensors branch in custom sensor example Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Merge gz-sim8 ➡️ main
* Added missing visible attributes * Enable HIDE_SYMBOLS_BY_DEFAULT --------- Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
… gz-cmake. (gazebosim#2283) See gazebosim/gz-cmake#166 (comment) Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
* Regroup tutorials into the 4 recommended categories --------- Signed-off-by: Mabel Zhang <mabel@openrobotics.org> Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai> Co-authored-by: Michael Carroll <mjcarroll@intrinsic.ai>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Merge 8 -> main
Merge gz-sim8 ➡️ main
This implements a suggestion from gazebosim#1926 to delete all `*VelocityCmd` components after each time step. This also updates the logic for the following two systems to handle this change: * MulticopterMotorModel: handle missing component Since JointVelocityCmd components are deleted after each timestep, don't skip updating forces and moments if the component does not exist, and use the SetComponent API to more cleanly handle the component creation logic. A syntax error in the the quadcopter test worlds was fixed as well. * TrajectoryFollower: don't need to remove commands Now that the physics system is removing AngularVelocityCmd components at every timestep, that logic can be removed from the trajectory follower system. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mind to sign the commit ?
Signed-off-by: Davide Graziato <dgraziato10@gmail.com>
889ea36
to
1205d00
Compare
Also, can you please add a test? |
I have just made a PR in gz-physics in order to populate the force fields while using bullet-featherstone. I added some information on how to test the code there (I have reported them here also). |
Signed-off-by: Ian Chen <ichen@openrobotics.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, can you please add a test?
oh just saw that a test was requested.
Signed-off-by: Ian Chen <ichen@openrobotics.org> Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Van Malleghem Antoine <antoine.vanmalleghem@botronics.be> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: alexandrosnic <alexnic31@gmail.com> Signed-off-by: Alexandros Nicolaou <34197007+alexandrosnic@users.noreply.github.com>
…2594) Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Van Malleghem Antoine <antoine.vanmalleghem@botronics.be>
Signed-off-by: Van Malleghem Antoine <antoine.vanmalleghem@botronics.be>
…sim#2604) Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Van Malleghem Antoine <antoine.vanmalleghem@botronics.be>
Added information on EGL checking --------- Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz>
…CC 1.13.2. (gazebosim#2606) Signed-off-by: Martin Pecka <peci1@seznam.cz> Co-authored-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Athena Z <athenaz@google.com> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Ian Chen <ichen@openrobotics.org> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Loading the logging playback plugin before `SceneBroadcaster` prevents playback from being displayed on the GUI. --------- Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Arjo Chakravarty <arjoc@intrinsic.ai>
…im#2619) * Adds a regression test for logplayback gazebosim/gazebo_test_cases#1640 This commit adds a really simple regression check to make sure we actually publish on the right topic. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * typo fix Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Make atomic Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> --------- Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
…azebosim#2632) * Update links and fix image * use image tag Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
…gazebosim#2653) Signed-off-by: Ian Chen <ichen@openrobotics.org>
🦟 Bug fix
Fixes #883
Summary
These changes should allow to obtain information regarding the forces applied to the joints.
Test it
gz sim --physics-engine gz-physics-bullet-featherstone-plugin lift_drag.sdf
simulation.gz topic -t "/model/lift_drag_demo_model/joint/rod_1_joint/cmd_force" -m gz.msgs.Double -p "data: 0.8"
).gz topic -e -t /world/lift_drag/model/lift_drag_demo_model/joint_state
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.