Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Because you should create your package in your src folder.

More simply, after you create your catkin workspace, (Let's say catkin_ws) go to your src folder

cd /home/$USER/catkin_ws/src

Then create your package

catkin_create_pkg using_markers roscpp visualization_msgs

after that you need to do catkin_make in your catkin_ws.

cd /home/$USER/catkin_ws
catkin_make

Then go to the devel and run the setup.bash

 cd /home/$USER/catkin_ws/devel
 . setup.bash