Skip to content

Add comment about buoyancy force location to underwater tutorial #1935

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

Merged
merged 1 commit into from
Mar 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tutorials/underwater_vehicles.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ a body can be seen in the following diagram:

# Setting up the buoyancy plugin
The buoyancy plugin in Gazebo uses the collision mesh to calculate the volume
of the vehicle. Additionally, it needs to know the density of the fluid in which
of the vehicle. The calculated volume is used to determine the buoyancy force,
which is then applied at the pose of the collision mesh in the link frame. Note
that this may be a different location from the center of volume.

Additionally, it needs to know the density of the fluid in which
it is moving. By default this is set to 1000kgm^-3. However, in real life this
may vary depending on many factors like depth, salinity of water etc. To add
the buoyancy plugin all one needs to do is add the following under the `<world>`
Expand Down