Failed to load plugin gazebo_ros_skid_steer_drive.so
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.
Do you have gazebo_ros_pkgs installed? That is where the shared object file should be located.