Home | Tutorials | Wiki | Issues
Ask Your Question
0

Skid Steer Drive Plugin unable to find joints when it is included in a sdf

asked 2013-11-05 06:12:40 -0500

Martí Morta - IRI gravatar image

Hi,

I am creating a new robot model, to do so I include the mobile platform and the sensors in the robot's sdf.

When I add this robot an SkidSteerDrivePlugin error[1] appears saying it is unable to find the joints.

If instead of the robot's sdf[2] I launch only the platform's sdf[3] then it works.

I tried unsuccessfuly to:

  • move the plugin tag up to the robot's model
  • change the joints to segwayrmp400::thejoint
  • both at same time
  • find the patched plugin mentioned in "question/3311/skidsteerdriveplugin"

In the "question/3311/skidsteerdriveplugin" something similar happens because the plugin has the joint names hard coded. I suppose the problem is there

Should I have to create a world with all the sdf inside without using includes?

Thanks in advance!

[1] The error

Error [SkidSteerDrivePlugin.cc:51] Unable to find the right_front joint in model teo.
Error [SkidSteerDrivePlugin.cc:51] Unable to find the right_rear joint in model teo.
Error [SkidSteerDrivePlugin.cc:51] Unable to find the left_front joint in model teo.
Error [SkidSteerDrivePlugin.cc:51] Unable to find the left_rear joint in model teo.

[2] The robot's SDF

 <model name="teo">
   <include>
     <uri>model://segway_rmp400</uri>
     <name>segway_rmp400</name>
     <pose>0 0 0 0 0 0</pose>
   </include>
   ...

[3] The platform's SDF

<model name="segway_rmp400">
  <link name="chassis">..</link>
  ...
  <plugin name="SkidSteerDrivePlugin" filename="libSkidSteerDrivePlugin.so">
    <right_front>right_front</right_front>
    <right_rear>right_rear</right_rear>
    <left_front>left_front</left_front>
    <left_rear>left_rear</left_rear>
    <max_force>100.0</max_force>
  </plugin>
</model>
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-11-05 06:55:33 -0500

ZdenekM gravatar image

You can try plugin from gazeborospkgs documented here: http://gazebosim.org/wiki/Tutorials/1.9/ROSMotorandSensorPlugins#SkidSteeringDrive. Let me know in case of any problems with this plugin.

edit flag offensive delete link more

Comments

Thanks I didn't find this, I am going to try it asap :)

Martí Morta - IRI gravatar imageMartí Morta - IRI ( 2013-11-05 08:02:48 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2013-11-05 06:12:40 -0500

Seen: 917 times

Last updated: Nov 05 '13