Failed to load plugin gazebo_ros_skid_steer_drive.so

asked 2016-10-30 20:27:20 -0600

RSA_kustar gravatar image

updated 2016-10-30 20:28:06 -0600

Hello,

I created a truck model using urdf file and I want to control it using the skid steer plugin,

When I add the plugin, I got the following error in the terminal where I run the gzserver:

Failed to load plugin gazebo_ros_skid_steer_drive.so: gazebo_ros_skid_steer_drive.so: cannot open shared object file: No such file or directory

The plugin I used is as follows:

   <gazebo>
  <plugin name="skid_steer_drive_controller" filename="gazebo_ros_skid_steer_drive.so">
   <updateRate>100.0</updateRate>
   <leftFrontJoint>body_to_front_left_tire</leftFrontJoint>
   <rightFrontJoint>body_to_front_right_tire</rightFrontJoint>
   <leftRearJoint>body_to_rear_left_tire</leftRearJoint>
   <rightRearJoint>body_to_rear_right_tire</rightRearJoint>
   <wheelSeparation>0.4</wheelSeparation>
   <wheelDiameter>0.215</wheelDiameter>
    <robotBaseFrame>base_link</robotBaseFrame>
    <MaxForce>5.0</MaxForce>
    <torque>200</torque>
    <commandTopic>cmd_vel</commandTopic>
    <odometryTopic>odom</odometryTopic>
    <odometryFrame>odom</odometryFrame>
    <broadcastTF>1</broadcastTF>
  </plugin>
</gazebo>

What should I do to make this think work and publish the cmd)vel topic to control the movment of the truck.

edit retag flag offensive close merge delete

Comments

Do you have gazebo_ros_pkgs installed? That is where the shared object file should be located.

JoshMarino gravatar image JoshMarino  ( 2016-10-30 21:45:44 -0600 )edit