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

Publishers and Subscribers in ros

asked 2012-01-12 01:30:14 -0600

Penny gravatar image

updated 2014-04-20 14:09:22 -0600

ngrennan gravatar image


I have created a package in my ros_workspace(directory),and I have tried to write a simple publisher into the "Codeblocks" software, in the package directory, but it seems that the software cannot compile the program at all because it cannot find the headers needed. Although, the headers exist, I found them and add the paths to the program, but there are lots of them, I can't everytime add 10 or more paths for a publisher only. Does the fact that I did not create beginner_tutorials package with turtle node and all that first, matters?is something in those files needed?

edit retag flag offensive close merge delete


Could you perhaps post the error(s) you are getting ?
Hansg91 gravatar image Hansg91  ( 2012-01-12 01:51:59 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2012-01-12 02:12:33 -0600

Cav gravatar image

Did you check out this tutorial?

edit flag offensive delete link more

answered 2012-01-12 02:42:48 -0600

baseballmvp27 gravatar image

when you created the package doing roscreate-pkg did you list all of the correct dependencies? If not, you can add more dependencies in the CMakeCache.txt file. This may be a reason why you are unable to compile (it has been the reason for me numerous times).

edit flag offensive delete link more

answered 2012-06-03 20:51:12 -0600

malong gravatar image

you can see the ros tutorials in the web site. to find if lose something

edit flag offensive delete link more

Question Tools


Asked: 2012-01-12 01:30:14 -0600

Seen: 357 times

Last updated: Jun 03 '12