Robot Shaking with Gazebo + ros-control

asked 2022-05-25 18:20:02 -0500

abed gravatar image

updated 2022-05-25 18:20:19 -0500

Hello guys,

I have created a model for the Allegro hand and I am trying to control it in Gazebo simulator using ros-control. The problem is that the hand is randomly shaking before applying the control and this shaking is increasing after applying the control. Here's a brief description of what I have done: I have designed the allgero hand's CAD in onshape then created a urdf for it using onshape-to-robot tool which was converted into an sdf using a tool provided by gazebo. Now I have the robot-description parameter set to the urdf file (where I specified the transmissions for the joints to be controlled which in this case are all of the 16 joints of the hand, using the effort interface), while the sdf is used to spawn the robot in the gazebo environment. Finally I specified to initial pid gains for the jointPosition controllers in a yaml file. I am launching the gazebo world along with the model to be spawned in a single launch file and I am loading the controllers manager and the controllers yaml file in a separate launch file. I tried to add damping and friction to the joints and i tried to tune the pid gains, but while I am able to reach the desired joints positions using the rqt_gui, the shaking is always there and I am not able to get rid of it. Any help would be appreciated and please let me know if you need more info. Thanks!

edit retag flag offensive close merge delete