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

Issue making header file for custom message

asked 2014-02-13 11:24:07 -0500

4LV4R0 gravatar image

updated 2014-02-13 12:14:04 -0500

Good evening partners

First of all I want to apologise beacuse this is a similar question to this one I solved time ago:

I have started the tutorial on a new Raspberry of my students´s group. We followed all steps. We found the same issue that in the question I asked wich it´s mencioned above:

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

To solve it I did the same that time ago:

EDIT 1(from the other post) : I have done the next

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

Then I was able to call " rosrun rosserial_client ~/sketchbook/libraries My_Msgs_Package" and create the header file but now when I type the call from above it seems that does nothing beacuse it does not create the header file for My_Msgs_Package

What´s worng ? Can you help me please?

Thanks you so much

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-02-14 08:10:19 -0500

fergs gravatar image

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>
edit flag offensive delete link more


Thanks you so much for answering. It works fine.

4LV4R0 gravatar image 4LV4R0  ( 2014-02-16 22:47:45 -0500 )edit

I have the same problem. Please tell me whether I m doign right or not. Once I create the new msg folder in my package, should I delete the old ros_lib in the sketchbook and run the above command again? Am I right? Regards

Andromeda gravatar image Andromeda  ( 2014-08-03 17:28:03 -0500 )edit

Question Tools

1 follower


Asked: 2014-02-13 11:24:07 -0500

Seen: 637 times

Last updated: Feb 14 '14