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

rosserial_arduino on fuerte

asked 2012-04-29 14:21:10 -0500

Hansg91 gravatar image


I installed fuerte yesterday on my Pandaboard, building everything from the source, and all builds find except for rosserial_arduino. It gives me the following compiling error :

Traceback (most recent call last):
  File "../rosserial_client/src/rosserial_client/", line 583, in <module>
    MakeLibrary(package, path)
  File "../rosserial_client/src/rosserial_client/", line 523, in MakeLibrary
    md5sum = roslib.gentools.compute_md5(roslib.gentools.get_file_dependencies(file))
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib-1.8.4-py2.7.egg/roslib/", line 275, in get_file_dependencies
    return get_dependencies(spec, package, stdout, stderr)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib-1.8.4-py2.7.egg/roslib/", line 318, in get_dependencies
    raise MsgSpecException("Cannot load type %s.  Perhaps the package is missing a dependency."%(str(e)))
roslib.msgs.MsgSpecException: Cannot load type 'geometry_msgs/PoseStamped'.  Perhaps the package is missing a dependency.

Other packages that depend on geometry_msgs seem to compile fine, what is wrong with rosserial_arduino that it will fail to compile ?

edit retag flag offensive close merge delete


Does rosserial_arduino declare a dependency on geometry_msgs in its manifest.xml?

Eric Perko gravatar image Eric Perko  ( 2012-04-29 15:12:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-29 16:25:22 -0500

updated 2012-04-29 16:26:02 -0500

The issue is not a direct dependency on geometry_msgs, but the message generation script (rosserial_client/src/ that creates libraries for messages on the arduino. The script fails on geometry_msgs/PoseStamped.

This issue is described in greater detail in this ticket, and a patch is attached to the ticket.

edit flag offensive delete link more


Thank you very much!

Hansg91 gravatar image Hansg91  ( 2012-04-30 01:28:23 -0500 )edit

@piyushk: With the attached patch, how one should proceed with the fiix? I never have experience using patch, is it the one ".diff", BTW, how to use it?

alfa_80 gravatar image alfa_80  ( 2012-04-30 01:41:27 -0500 )edit

You can read more about apply patches at You need to run "roscd rosserial" and then "patch -p1 < /path/to/patch-file"

piyushk gravatar image piyushk  ( 2012-04-30 03:43:35 -0500 )edit

@piyushk: That's great..Thanks a lot..

alfa_80 gravatar image alfa_80  ( 2012-04-30 04:31:37 -0500 )edit

Question Tools


Asked: 2012-04-29 14:21:10 -0500

Seen: 389 times

Last updated: Apr 29 '12