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

Regression in Buoyancy Example, neutral vehicle slowly sinks #1210

Closed
arjo129 opened this issue Nov 16, 2021 · 1 comment · Fixed by #1211 or #1297
Closed

Regression in Buoyancy Example, neutral vehicle slowly sinks #1210

arjo129 opened this issue Nov 16, 2021 · 1 comment · Fixed by #1211 or #1297
Assignees
Labels
bug Something isn't working physics Involves Ignition Physics

Comments

@arjo129
Copy link
Contributor

arjo129 commented Nov 16, 2021

Environment

  • OS Version: Ubuntu 20.04
  • Source or binary build?
    Source 97f2e9c

Description

  • Expected behavior: The center vehicle in the neutral Buoyancy example in the buoyancy.sdf example is supposed to remain stationary.
  • Actual behavior: Instead it is sinking.

sinking_buoyant_object

Steps to reproduce

  1. ign gazebo buoyancy.sdf

More details

It seems like the cause is the way the buoyancy plugin is structured. In #1064 a change was made to prevent newly spawned objects from developing a spin. To do this, we skip one iteration of the update if the pose is not ready. Unfortunately this leads to problems as it gives an initial velocity to objects. Without damping this leads to the slow sinking we see above.

@arjo129 arjo129 added the bug Something isn't working label Nov 16, 2021
@chapulina chapulina linked a pull request Nov 16, 2021 that will close this issue
7 tasks
@chapulina chapulina added the physics Involves Ignition Physics label Nov 16, 2021
@chapulina chapulina changed the title Regression in Buoyancy Example Regression in Buoyancy Example, neutral vehicle slowly sinks Nov 30, 2021
@chapulina
Copy link
Contributor

Let's keep it open until graded buoyancy is fixed too

@chapulina chapulina reopened this Nov 30, 2021
@arjo129 arjo129 linked a pull request Jan 18, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working physics Involves Ignition Physics
Projects
None yet
2 participants