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

Dropping connection

asked 2011-12-05 13:10:53 -0600

Morpheus gravatar image

updated 2014-01-28 17:10:56 -0600

ngrennan gravatar image

I am trying to run joy Tutorials/WritingTeleopNode on Ubuntu 11.4 with ROS electric. I am using a Cordless Rumble Pad 2. Everytime I get an [ERROR] [1323140529.624261794]: Client [/teleop] wants topic /joy to have datatype/md5sum [joy/Joy/e3ef016fcdf22397038b36036c66f7c8], but our version has [sensor_msgs/Joy/5a9ea5f83505693b71e785041e67a8bb]. Dropping connection. The joystick is working up to that point.

Any help would be appreciated, Morpheus

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-05 21:51:48 -0600

Eric Perko gravatar image

That error indicates that some node is publishing a sensor_msgs/Joy message on /joy but your node is expecting a joy/Joy message.

It appears tutorial was not updated for Electric. In Electric, the Joy message was migrated to the sensor_msgs package and saw the addition of a Header field.

The quick fix for your teleop code should be change from joy::Joy to sensor_msgs::Joy, updating the includes and manifest dependencies appropriately.

edit flag offensive delete link more
0

answered 2011-12-06 22:12:56 -0600

Morpheus gravatar image

I am pretty new at this, and I am not sure what all I need to change. I am trying to do the tutorial http://www.ros.org/wiki/joy/Tutorials/WritingTeleopNode. I do appreciate your time and your help.

Morpheus

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-12-05 13:10:53 -0600

Seen: 2,748 times

Last updated: Dec 06 '11