jackal / jackal_simulator

Gazebo simulation for Jackal
BSD 3-Clause "New" or "Revised" License
13 stars 45 forks source link

Unrealistic rotation behavior in Gazebo #18

Open jukindle opened 2 years ago

jukindle commented 2 years ago

Please provide the following information:

To Reproduce Provide the steps to reproduce:

  1. Install the simulator by running sudo apt install ros-noetic-jackal-simulator
  2. Launch the simulation running roslaunch jackal_gazebo jackal_world.launch
  3. Command the robot to rotate on spot by running

    rostopic pub -r 50 /jackal_velocity_controller/cmd_vel geometry_msgs/Twist "linear:
      x: 0.0
      y: 0.0
      z: 0.0
    angular:
      x: 0.0
      y: 0.0
      z: 0.2" 

Other notes Video of the bug

According to this issue on the gazebo repository, this error seems to a bug in the friction pyramid implementation in gazebo. Two solutions were proposed: either change the friction model to cone, or increase the ERP to 0.6. Unfortunately, both solutions did not work for me and the only thing which helped is to drastically decrease the friction of the wheels. This results in unrealistic behavior as the robot would slip down slopes.

Do you see any possibility to solve this issue? I would love to use gazebo to test my software before deploying it to the real system, but with such unrealistically simulated skid-steer behavior, I am unable to do so.

peci1 commented 2 years ago

Yeah, it would be nice if somebody found the culprit for this. I definitely don't have time for that now, but feel free to ping me for a review if you find something ;)

peci1 commented 2 years ago

Could you maybe test it with other dynamics engines?

AlexGisi commented 1 month ago

The dart engine seems to be slightly better about this, but it is still a serious problem (Gazebo 11.11.0).