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

Backport #3039 - Apply Force/Torque for nested models #3053

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Jul 29, 2021

backport of #3039

To test, launch gazebo with nested_multilink_shape.world world:

  1. expand Models in the left panel, and expand the nested_outer::nested::inner item
  2. Right click on one of the nested links, e.g. nested_box_link and select Apply Force/Torque
  3. Proceed to apply force / torque through the dialog

Without the changes in this backport, the GUI dialog does not pop up.

* Fixed ApplyWrenchDialog to properly handle nested models.

* Fix improper link being selected when opening applywrenchdialog

* Fixed styling issues

* Test nested models in ApplyWrenchDialog + update test world

* Separate nested_multilink world to avoid breaking ModelListWidget test

* Fix incorrect comment

* More styling fixes

* Fix link name parsing to support sdformat<11
@iche033 iche033 requested a review from j-rivero July 29, 2021 16:36
@j-rivero
Copy link
Contributor

j-rivero commented Aug 1, 2021

works well for me

@iche033 iche033 merged commit 8ce1215 into gazebo9 Aug 6, 2021
@iche033 iche033 deleted the backport_3039 branch August 6, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants