Dashes are indeed not legal in package names.
I suggest you use underscores (_
) instead. Using underscores to separate words in package names is best practice.
See also REP-144: ROS Package Naming.
Edit: actually, I just remembered since ros-infrastructure/catkin_pkg#199 dashes are actually allowed. wiki/Names
has not been updated to reflect this I believe.
catkin_tools
(package providing the catkin
tool) also seems to be enforcing the old rules.
However, having written this, I would strongly recommend to not use dashes (-
) in package names. It goes against 10+ years of convention in ROS, and I doubt every tool has been updated to process them correctly.
In your case, I'd use the name visual_crop_row_navigation
.
You've very skillfully avoided mentioning the name of the package.
I would start with telling us what the name is.
which package is "the package"?
Merely
cd
-ing to the root of your workspace does not build it. That would be with eithercatkin_make
orcatkin build
.Finally, take a look at wiki/Names: Package Resource Names. Names for packages follow almost identical rules.
Hello
You are right. The name of the package is visual-crop-row-navigation
Here what I had inserted into the terminal:
cd ~/catkin_ws catkin build visual-crop-row-navigation