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

Strip and add back components #82

Closed
wants to merge 5 commits into from
Closed

Strip and add back components #82

wants to merge 5 commits into from

Conversation

arjo129
Copy link
Member

@arjo129 arjo129 commented Nov 17, 2021

This is a "live blog" of myself trying to strip the vehicle down and add components in to determine the cause of the oscillations in the vehicle. The rationale for doing this is to make sure that we can isolate the systems responsible for Hydrostatic instability. I will start with a rigid body with an off-center mass.

Right now only the buoyancy plugin is enabled.

Requires gazebosim/gz-sim#1211

The vehicle in cd7990a is stable with no oscillation.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@arjo129
Copy link
Member Author

arjo129 commented Nov 17, 2021

Adding the drop weight in 14f8267 leads to oscillations. :(

@chapulina
Copy link
Contributor

Adding the drop weight in 14f8267 leads to oscillations. :(

The weight is centered on the model, so its CoM isn't aligned with base_link's CoM. Its inertia also has some off-diagonal terms. So maybe this is expected?

@chapulina
Copy link
Contributor

The weight is centered on the model, so its CoM isn't aligned with base_link's CoM.

Here's the offset on the CoMs:

com_drop

The model sinks for me on 14f8267 though, it doesn't oscillate

@arjo129
Copy link
Member Author

arjo129 commented Nov 17, 2021

That is correct. Are you using the branch in gazebosim/gz-sim#1211 which "solves" the sinking.

@arjo129
Copy link
Member Author

arjo129 commented Nov 17, 2021

Will need to tweak the center of mass of the main vehicle. Also our visual needs to be offset.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@arjo129
Copy link
Member Author

arjo129 commented Nov 17, 2021

So I moved the center of mass of the main body forward but kept the same center of buoyancy in 0f271f2. The craft is once again stable.

Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org>
@arjo129
Copy link
Member Author

arjo129 commented Nov 25, 2021

Closing this PR in favor of #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants