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

Issue making header file for custom message

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

4LV4R0 gravatar image

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

Good evening partners

First of all I want to apologise beacuse this is a similar question to this one I solved time ago: http://answers.ros.org/question/11903...

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 make_library.py 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 make_library.py ~/sketchbook/libraries My_Msgs_Package" and create the header file but now when I type the call from above it seems that make_library.py 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
1

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

fergs gravatar image

In groovy/hydro, things were updated so that A) each client has it's own make_libraries.py 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 make_libraries.py <sketckbook_output_folder>
edit flag offensive delete link more

Comments

Thanks you so much for answering. It works fine.

4LV4R0 gravatar image 4LV4R0  ( 2014-02-16 22:47:45 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 670 times

Last updated: Feb 14 '14