-
Notifications
You must be signed in to change notification settings - Fork 277
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 <[email protected]> Signed-off-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
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 <[email protected]>
Merge gz-sim8 ➡️ main
* Added missing visible attributes * Enable HIDE_SYMBOLS_BY_DEFAULT --------- Signed-off-by: Jose Luis Rivero <[email protected]>
… gz-cmake. (gazebosim#2283) See gazebosim/gz-cmake#166 (comment) Signed-off-by: Jose Luis Rivero <[email protected]>
* Regroup tutorials into the 4 recommended categories --------- Signed-off-by: Mabel Zhang <[email protected]> Signed-off-by: Michael Carroll <[email protected]> Co-authored-by: Michael Carroll <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Davide Graziato <[email protected]>
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 <[email protected]>
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 <[email protected]> Signed-off-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Van Malleghem Antoine <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: alexandrosnic <[email protected]> Signed-off-by: Alexandros Nicolaou <[email protected]>
…2594) Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Van Malleghem Antoine <[email protected]>
Signed-off-by: Van Malleghem Antoine <[email protected]>
…sim#2604) Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Van Malleghem Antoine <[email protected]>
Added information on EGL checking --------- Signed-off-by: Martin Pecka <[email protected]>
…CC 1.13.2. (gazebosim#2606) Signed-off-by: Martin Pecka <[email protected]> Co-authored-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Athena Z <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Loading the logging playback plugin before `SceneBroadcaster` prevents playback from being displayed on the GUI. --------- Signed-off-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Arjo Chakravarty <[email protected]>
…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 <[email protected]> * typo fix Signed-off-by: Arjo Chakravarty <[email protected]> * Make atomic Signed-off-by: Arjo Chakravarty <[email protected]> --------- Signed-off-by: Arjo Chakravarty <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
…azebosim#2632) * Update links and fix image * use image tag Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
…gazebosim#2653) Signed-off-by: Ian Chen <[email protected]>
🦟 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.