Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrealistic rotation behavior in Gazebo #18

Open
jukindle opened this issue Aug 8, 2022 · 2 comments
Open

Unrealistic rotation behavior in Gazebo #18

jukindle opened this issue Aug 8, 2022 · 2 comments
Assignees
Labels

Comments

@jukindle
Copy link

jukindle commented Aug 8, 2022

Please provide the following information:

  • OS: Ubuntu 20.04
  • ROS Distro: Noetic
  • Built from source or installed: apt-package
  • Package version: jackal_simulator 0.4.0, gazebo version 11.10.2

Expected behaviour
By commanding a constant rotational velocity of 0.2rad/s, we would expect the robot to roughly rotate at 0.2rad/s about z-axis.

Actual behaviour
Even though the robot rotates at the desired velocity, whenever the x-axis is axis-aligned with the diagonals in the x-y-plane, the robot seems to get stuck and the rotational velocity drops.

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
Copy link

peci1 commented Aug 18, 2022

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
Copy link

peci1 commented Aug 18, 2022

Could you maybe test it with other dynamics engines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants