-
Notifications
You must be signed in to change notification settings - Fork 269
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
Fix rotating cubes when placed by GUI tool while using the buoyancy plugin #1064
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Arjo Chakravarty <[email protected]>
…ations Signed-off-by: Arjo Chakravarty <[email protected]>
arjo129
added
🏯 fortress
Ignition Fortress
and removed
🏢 edifice
Ignition Edifice
labels
Sep 28, 2021
Signed-off-by: Arjo Chakravarty <[email protected]>
Signed-off-by: Arjo Chakravarty <[email protected]>
arjo129
changed the title
Arjo/fix/buoyancyengine
Fix rotating cubes when placed while using the buoyancy engine plugin
Sep 28, 2021
arjo129
changed the title
Fix rotating cubes when placed while using the buoyancy engine plugin
Fix rotating cubes when placed by GUI tool while using the buoyancy plugin
Sep 28, 2021
Codecov Report
@@ Coverage Diff @@
## main #1064 +/- ##
==========================================
- Coverage 64.08% 64.01% -0.07%
==========================================
Files 255 255
Lines 19917 19919 +2
==========================================
- Hits 12763 12752 -11
- Misses 7154 7167 +13
Continue to review full report at Codecov.
|
chapulina
added
beta
Targeting beta release of upcoming collection
bug
Something isn't working
labels
Sep 28, 2021
Signed-off-by: Louise Poubel <[email protected]>
chapulina
approved these changes
Sep 28, 2021
This was referenced Nov 16, 2021
WilliamLewww
pushed a commit
to WilliamLewww/ign-gazebo
that referenced
this pull request
Dec 7, 2021
…lugin (gazebosim#1064) Signed-off-by: Arjo Chakravarty <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Louise Poubel <[email protected]> Signed-off-by: William Lew <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
beta
Targeting beta release of upcoming collection
bug
Something isn't working
🏯 fortress
Ignition Fortress
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🦟 Bug fix
Fixes #
Summary
Previously @aaronchongth discovered that the following behaviour takes place when adding shapes using the GUI tool while running the simulation
done.mp4
While this makes for great VFX, it is certainly not intended behavior. The root cause was eventually traced to the fact that when the gui tool is used new objects don't have a pose. The buoyancy plugin creates a pose component but does not wait for an update cycle. This PR moves the point at which the pose is read. Thus in the first preupdate cycle, the plugin will do nothing but enable the pose component.
Checklist
codecheck
passed (See contributing)Note
If you test this in the fortress demo world you may find the cubes sink really slowly. This is fine, as the cubes are really light given their volume and the plugin is configured to simulate air.