Home | Tutorials | Wiki | Issues
Ask Your Question
0

Crazy behaviour from a simple "board-like" model

asked 2016-09-20 19:27:24 -0600

wicked88 gravatar image

Im building a more complex model but i created a simple one to start. It has a very weird behaviour that i documented by video so you can all give your opinions !! VIDEO ---------> VIDEO

In the video it is visible the SDF for the model. I made my world setup using this:

<physics type='ode'>
  <max_step_size>0.015</max_step_size>
  <real_time_update_rate>67</real_time_update_rate>
  <gravity>0 0 -9.8</gravity>
</physics>

But works the same way with or without it. May be its STL related ? Can figure it out.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-20 19:59:54 -0600

It looks like the center of mass is below the ground. You can check it by choosing View -> Center of Mass

edit flag offensive delete link more

Comments

yea your inertia is also probably wrong

Peter Mitrano gravatar imagePeter Mitrano ( 2016-09-21 00:16:01 -0600 )edit

Yes you are right @chapulinha ! How do i change the center of mass ??? Also, any way to correctly compute the inertia of something ?

wicked88 gravatar imagewicked88 ( 2016-09-21 04:56:36 -0600 )edit
1

Take a look at the inertial SDF syntax: http://sdformat.org/spec?ver=1.6&elem=link#link_inertial There are also many examples here: https://bitbucket.org/osrf/gazebo_models This page has good info on moments of interia: https://en.wikipedia.org/wiki/List_of_moments_of_inertia

nkoenig gravatar imagenkoenig ( 2016-09-21 08:47:44 -0600 )edit

Thank you all for your answers ! I've already corrected my center of mass of the models and the building is going fine, no odd stupid behaviours now. Although, i still didnt manage to work on my values for the moments of inertia which are crucial to obtain a truthful simulation

wicked88 gravatar imagewicked88 ( 2016-09-21 09:27:09 -0600 )edit

This tutorial might help you with the inertias: http://gazebosim.org/tutorials?tut=inertia&cat=build_robot

chapulina gravatar imagechapulina ( 2016-09-21 09:42:06 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-09-20 19:27:24 -0600

Seen: 60 times

Last updated: Sep 20 '16