ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error using joystick_remapper

asked 2012-10-01 17:16:09 -0500

sgwhack gravatar image

updated 2012-10-01 22:27:06 -0500

Lorenz gravatar image

Hi, I'm trying to use the joystick_remapper, and I'm getting the following error every time I run the code:

[ERROR] [1349147615.365296561]: Client [/joystick2] wants topic /logitech to have datatype/md5sum [joy/Joy/e3ef016fcdf22397038b36036c66f7c8], but our version has [sensor_msgs/Joy/5a9ea5f83505693b71e785041e67a8bb]. Dropping connection.

My launch file looks like this:

<launch>

<node pkg="joy" type="joy_node" name="joystick1" >
  <remap from="joy" to="logitech" />
</node>

<node pkg="joystick_remapper" type="joystick_remapper.py" name="joystick2" >
  <remap from="joy_source" to="logitech" />
  <remap from="joy_des" to="joy" />
  <param name="button_mapping" type="str" value="=" />
  <param name="axis_mapping" type="str" value="=" />
</node>

</launch>

Can someone tell me how to make this work? Thanks!

edit retag flag offensive close merge delete

Comments

Why is the node name in the error message joystick2? That name doesn't appear in the launch file.

Lorenz gravatar image Lorenz  ( 2012-10-01 22:30:59 -0500 )edit

I just named it...What should it be? I've tried other stuff, it doesn't seem to matter...unless its something specific that im missing...

sgwhack gravatar image sgwhack  ( 2012-10-02 17:04:18 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-03 07:12:05 -0500

sgwhack gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-01 17:16:09 -0500

Seen: 240 times

Last updated: Oct 03 '12