ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Controllers are unable to fight gravity in Gazebo simulation

asked 2013-12-16 06:10:16 -0500

miniME05 gravatar image

updated 2013-12-16 06:27:46 -0500

dornhege gravatar image

I am currently trying to simulate a robot in Gazebo using the ROS framework. I used this ( Tutorial to get an existing robot model running with the controller from the ros_control package. Everything works fine, the controller for each joints are up and running. I can use the corresponding ROS topics to send commands to each controller.

There is one slight problem: The controllers are even unable to fight the robots own weight. No mather what combination of PID gains I set for the controller, the robot is always pulled down by its own weight.

I am using a UR5 robot for simulation, the URDF file can be found here (

Here are two screenshots of the simulation, one with gravity enabled:

and one with gravity disabled:

Can anyone help me here?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-16 06:14:22 -0500

fergs gravatar image

It appears all the effort limits in your URDF are set to 10.0, which seems suspect, are you sure that the joint effort limits are correct? Gazebo will end up limiting the max effort output to that effort limit, so it is quite important.

edit flag offensive delete link more


tanks for the hint. I will try to edit these values (later or tomorrow) and see if I can get the robot moving properly. Note: I didn't created that URDF file, so i assumed it should work. But 10 Nm on each joint doesn't sound like that much :) Edit: yea, the value of the effort limit was the problem

miniME05 gravatar image miniME05  ( 2013-12-16 06:30:13 -0500 )edit

Question Tools



Asked: 2013-12-16 06:10:16 -0500

Seen: 2,077 times

Last updated: Dec 16 '13