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

Revision history [back]

click to hide/show revision 1
initial version

So the problem is that when I try to compile the program rosrun publisher publish I get an error

Compiling and running are two different things.

rosrun will try to run your program, but you'll have to have compiled it first, which is typically done with catkin_make.

Make sure you have build your workspace first, and have sourced the correct setup.bash, as explained in the book.