Ask Your Question
0

Creating a ROS msg

asked 2014-04-06 23:54:31 -0500

sonny gravatar image

updated 2016-10-24 08:36:45 -0500

ngrennan gravatar image

Has anyone tried this tutorial of ROS for creating messages in order to communicate with the nodes. I am using ubuntu 12.04 ver and ROS Hydro for this.

The error what i am getting is that i am not able to catkin_make it. It gives some error regarding the make file already installed in ros directory of linux in the folder and i am not able to generate the source file or anything.

Any feedback regarding this is welcomed...

thnks

edit retag flag offensive close merge delete

Comments

1

Please give more details of what you are doing and of the error you get.

Tirjen gravatar image Tirjen  ( 2014-04-07 00:03:54 -0500 )edit

I am getting an error smthing like this, CMake Error at /opt/ros/hydro/share/genmsg/cmake/genmsg-extras.cmake:85 (message): add_message_files() directory not found: /home/traininghes/catkin_ws/src/hrsl/msg Call Stack (most recent call first): hrsl/CMakeLists.txt:48 (add_message_files) -- Configuring incomplete, errors occurred! Invoking "cmake" failed

sonny gravatar image sonny  ( 2014-04-07 02:01:32 -0500 )edit

Please edit also your question posting your CMakeLists.txt.

Tirjen gravatar image Tirjen  ( 2014-04-07 02:24:48 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-06-04 09:43:24 -0500

It looks like the ros setup script has not been previosuly executed:

$ source /opt/ros/XXX/setup.bash

where xxx is the ros distro name, ie: hydro, jade, etc...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-06 23:54:31 -0500

Seen: 505 times

Last updated: Jun 04 '16