Steering the UR5 with rqt_joint_trajectory_controller

asked 2021-01-20 03:19:19 -0500

ros_newbie96 gravatar image

updated 2021-01-20 04:07:50 -0500

Hi,

I would like to steer the UR5 with the rqt_joint_trjaectory_controller in Gazebo. But when I move the joints in a way that they collide with the ground, then the whole robot starts shaking. And when I move the slider back, then its still shaking and not controllable anymore. I am using ros-melodic on Ubuntu 18.04. and the melodic-devel version of the universal_robots repository.

edit retag flag offensive close merge delete

Comments

I'm assuming you're using Gazebo here? If so: please mention that.

Most people using a UR5 don't want to "move the joints in a way that they collide with the ground", as that would seriously damage their robot ..

gvdhoorn gravatar image gvdhoorn  ( 2021-01-20 03:59:50 -0500 )edit

Sorry, just updated.

ros_newbie96 gravatar image ros_newbie96  ( 2021-01-20 04:08:04 -0500 )edit

It's likely you're using the Gazebo model with position hardware interfaces. Gazebo doesn't really like that.

Try switching to effort hardware interfaces (and load the corresponding controllers).

Driving your robot into the ground will still not be a nice thing to do, but it should behave a little better.

gvdhoorn gravatar image gvdhoorn  ( 2021-01-21 02:26:10 -0500 )edit

Finally: the title of your question is:

Steering the UR5 with rqt_joint_trajectory_controller

that doesn't seem to cover the subject of your question though, which appears to be about some very specific behaviour of your simulated robot if/when it touches another object while being simulated by Gazebo.

gvdhoorn gravatar image gvdhoorn  ( 2021-01-21 02:27:36 -0500 )edit