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

The joints rotate faster than their limits in Gazebo

asked 2019-05-30 05:55:52 -0500

Xiaowei gravatar image

updated 2019-05-30 07:01:43 -0500

Hi there. I write a model, consisting of several links and joints. The joints are revolute and I set the limit of one joint as:

<limit effort="1000.0" lower="-1.57" upper="1.57" velocity="0.5"/>

The "lower" and "upper" work well in Gazebo, however, the angular velocity sometimes is larger than 0.5 rad/s. To explain this, I set the rate as 20 Hz, than in each step the change of angle should be less than or equal to 0.5/20=0.025 rad/s. But sometimes it is larger than 0.5/20 in one step.

I appreciate your help. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-05-30 09:02:49 -0500

Xiaowei gravatar image

I find that if I set the effort="1.0", then the angular velocity is always less than or equal to the limit, which is velocity.

edit flag offensive delete link more

Question Tools



Asked: 2019-05-30 05:55:52 -0500

Seen: 226 times

Last updated: May 30 '19