osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
387 stars 178 forks source link

How to change buoyancy configuration to make my model float #761

Closed sontung1010 closed 5 months ago

sontung1010 commented 6 months ago

I load my own .stl model into the project and I want to know which files/parameters to adjust to make my model usable. Thank you very much.

Describe the bug It is sinking too much Screenshot from 2023-12-23 13-22-47

Expected behavior I want it to be visible on the surface like this all the time Screenshot from 2023-12-23 13-23-08

System Configuration: Tell us about your system.

caguero commented 5 months ago

I recommend to go through this tutorial from Gazebo to learn about the Surface plugin and how to modify its parameters.

https://gazebosim.org/api/sim/8/surface_vehicles.html

sontung1010 commented 5 months ago

Hello, I got everything worked. But now I am trying to add my function to the repo but I am not sure which is the main root file that everything starts from. Can you please show me that or something like a hierarchy of the program repo? Thank you very much.