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

rosserial_client does not include

asked 2014-01-17 06:15:10 -0600

4LV4R0 gravatar image

updated 2016-10-24 09:10:51 -0600

ngrennan gravatar image

Good afternoon partners.

I've just installed this morning Rasbpian/Groovy on a second raspberry of mine.

When I follow the instructions to get "rosserial" on

everything goes well. BUT :

When I arrive to the step Adding Custom Messages(Generating Message Header File) on

and try to generate the header file invoking

rosrun rosserial_client ~/sketchbook/libraries My_Package

I'm given : [rosrun] Couldn't find executable named below /home/pi/catkin_ws/install/share/rosserial_client

Taking a look into ~/catkin_ws/install/share/rosserial_client/src I have only the "ros_lib" folder and the "rosserial_client" folder, wich includes " and", is missing.

Source :

I don't know if it could be a forgetting updating repo or something. I just wanted to feedback it.


EDIT 1 : I have done the next

cp -r ~/catkin_ws/src/rosserial/rosserial_client/src/rosserial_client/ /catkin_ws/install/share/rosserial_client/src/

Now I can execute rosrun rosserial_client ~/sketchbook/libraries My_Package and to get the header file to my new message types.

I just wanted to share this with the community beacuse it seems that during the compiling of rosserial with catkin_make ... is missing.

I hope this could help you in the futuro

Thanks for reading

EDIT 2: This solution does not work now. Now if I invoque "rosrun rosserial_client ~/sketchbook/libraries My_Package", it seems that it does nothing because it does not create the header. I don´t know what can we do ..Thanks

edit retag flag offensive close merge delete


This looks like a bug in rosserial_client and should probably be reported against their bugtracker.

ahendrix gravatar image ahendrix  ( 2014-02-13 11:46:28 -0600 )edit

Thanks ahendrix for your interest. The problem now is that when I type "rosrun rosserial_client ~/sketchbook/libraries My_Package" it´s like nothing happens ... Where can i report this ?

4LV4R0 gravatar image 4LV4R0  ( 2014-02-13 12:10:52 -0600 )edit

The issue tracker for rosserial is here:

ahendrix gravatar image ahendrix  ( 2014-02-13 12:37:09 -0600 )edit

The same problem that nothing happens in hydro even though I downloaded the newest rosserial_client from the github.

luxifu1989 gravatar image luxifu1989  ( 2014-02-13 20:42:04 -0600 )edit

I have not reported it yet. I´m reporting when I finished a class . Thanks to both of you.

4LV4R0 gravatar image 4LV4R0  ( 2014-02-13 21:08:42 -0600 )edit
4LV4R0 gravatar image 4LV4R0  ( 2014-02-13 23:50:03 -0600 )edit

2 Answers

Sort by » oldest newest most voted

answered 2014-02-14 07:57:50 -0600

fergs gravatar image

updated 2014-02-14 08:08:13 -0600

In groovy/hydro, things were updated so that A) each client has it's own script (for instance rosserial_adruino is different from rosserial_embedded_linux, this allows us to set things like endianness and whether the platform supports Float64) B) all messages are generated at once for every package on your path. Therefore, you need to run:

rosrun rosserial_arduino <sketckbook_output_folder>

This will generate messages for ALL installed packages. The Arduino IDE tutorial has been updated, but not the one you reference (I'll update it right now).

edit flag offensive delete link more


Thank you for reply. All works well now.

luxifu1989 gravatar image luxifu1989  ( 2014-02-16 18:27:57 -0600 )edit

I´ve tried 5 minutes ago. It perfectly worked for us. Thanks you so much

4LV4R0 gravatar image 4LV4R0  ( 2014-02-16 22:39:16 -0600 )edit

I still can't find it in Fuerte!

Anas Alhashimi gravatar image Anas Alhashimi  ( 2015-11-20 11:07:12 -0600 )edit

answered 2014-02-13 19:38:56 -0600

luxifu1989 gravatar image

I tried today, it worked under electric.

edit flag offensive delete link more


Does the header file of a custom message depend on the ROS version to work with a simple arduino code ? I mean we want to send into a publisher four proximity sensor values so, if the .h can be done with other version, could be possible to do it with other ROS distro?

4LV4R0 gravatar image 4LV4R0  ( 2014-02-13 20:43:23 -0600 )edit

Question Tools



Asked: 2014-01-17 06:15:10 -0600

Seen: 3,432 times

Last updated: Feb 14 '14