gazebo part bouncing when spawned in the world.
Hi, i am new to gazebo, so i have some question for setting values for collision for the mesh file in gazebo. I am trying to spawn a mesh file into gazebo and used model editor to create a model using my mesh file. I am using default values for now, I changed restitution_coefficient value to 0 and also max_vel to 0. When i spawn my model the model starts swinging instead of coming to a stable position. Can someone tell what other value i need to change for it to land and go to a stable position.
SDF file created by model editor:C:\fakepath\model.sdf
The
model.sdf
looks like just simple mesh collision with one link. It's hard to say more without knowing the mesh's shape. Sharing a screenshot of the model may help us understand more.Do you mean the model oscillates on the ground, touching the ground left and right very quickly? So far I experienced that when scaling a box model in x or y direction so large. Adjusting some physics parameter may help improving that.
I was able to adjust the physics parameters to stop the model from oscillating. I used meshlab to find these parameters by following the tutorials in this link - https://classic.gazebosim.org/tutoria.... The body is stable but its slowly drifts on the floor. I am uploading a the video of the part in gazebo to this.link text
I need permission to view the video.
Sorry for the confusion. I have changed the permissions for the link posted below for the video describing the problem of body moving in gazebo simulation. https://drive.google.com/file/d/1D-sT...
From the video, my guess is it's the stability of the collision calculation. Colliding with meshes can be hard to be accurate. There are quite a few parameters to change and see the performance: collision's max contacts, ODE's min depth (if you are using ODE) for example. ODE's solver parameter is also one thing to play with. You can view the contact points to see if they are stable enough.
Will decreasing the number of faces on the mesh file help with this problem