Home | Tutorials | Wiki | Issues
Ask Your Question

Ode "world" VS "quick" method in Gazebo ROS Fuerte

asked 2012-10-24 11:18:32 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all,

I have a really weird situation. I created both a quadrotor model and mobile robot one. My problem is that if I use the method "quick" it does not work with my position quadrotor controller since it follows on ground (while if I set the "world" one it works perfectly). On the contrary, if I set the "world" method when I use the ground robot, it follows on the ground and the simulation crashes. Alternatevely, it crashes when the simulation starts.

My opinion is that there is something strange during the contact ground-robot. Every suggestion is welcome,


P.S. In the following my world file:

    <?xml version="1.0"?> 
    <gazebo version="1.0">
      <world name="default">
          <ambient rgba="0.5 0.5 0.5 1"/>
          <background rgba="0.5 0.5 0.5 1"/>
          <shadows enabled="false"/>

        <physics type="ode">
          <gravity xyz="0 0 -9.8"/>
            <solver type="world" dt="0.001" iters="10" sor="1.3"/>
            <constraints cfm="0.0" erp="0.2" contact_max_correcting_vel="100.0" contact_surface_layer="0.001"/>

        <!-- Ground Plane -->
        <model name="plane1_model" static="true">
          <link name="body">
            <collision name="geom_1">
                <plane normal="0 0 1"/>
                  <ode mu="10.0" mu2="10.0" fdir1="0 0 0" slip1="0" slip2="0"/>
                <bounce restitution_coefficient="0" threshold="1000000.0"/>
                  <ode soft_cfm="0" soft_erp="0.2" kp="1e10" kd="1" max_vel="100.0" min_depth="0.0001"/>

            <visual name="visual_1" cast_shadows="false">
                <plane normal="0 0 1"/>
              <material script="Gazebo/Grey"/>

        <light type="directional" name="my_light" cast_shadows="false">
          <origin pose="0 0 30 0 0 0"/>
          <diffuse rgba=".9 .9 .9 1"/>
          <specular rgba=".1 .1 .1 1"/>
          <attenuation range="20"/>
          <direction xyz="0 0 -1"/>
        <plugin name="joint_trajectory_plugin" filename="libgazebo_ros_joint_trajectory.so"/>
edit retag flag offensive close merge delete


Could you please try your setup with Gazebo 1.3, it has become much more stable.

nkoenig gravatar imagenkoenig ( 2013-01-11 19:34:24 -0500 )edit

I experience the same with a simple box on the ground; Gazebo 1.9 crashes. Cannot figure out why. https://bitbucket.org/osrf/gazebo/issue/351/opende-with-solver-type-world-contacts seems still open

peshala gravatar imagepeshala ( 2014-05-19 23:53:19 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-01-11 19:56:05 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Applying forces to an nonarticulated object without contact should yield the same results in "quick" and "world" solvers, so the difference is puzzling, could be a bug in gazebo or the controller mechanism. Please elaborate on the controller mechanism you are using to simulate lift.

edit flag offensive delete link more

answered 2013-01-16 18:30:28 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I had a similar issue and posted this as an issue on the BitBucket repo: Issue 351.

However, to complicate things, I recently set up on my laptop on it worked for the test case that I mentioned in the issue. I can re-run these tests.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2012-10-24 11:18:32 -0500

Seen: 530 times

Last updated: Jan 16 '13