当我在catkin_ws目录下用catkin_make 编译的时候出现一下错误:
The specified base path "/home/username/catkin_ws" contains a package but "catkin_make" must be invoked in the root of workspace
我的错误原因是之前在编译某个包的时候,把生成的CMakeLists.txt和package.xml文件放到这catkin_ws目录下了,应该删除这两个文件
,catkin_ws目录下只需要三个文件夹就可以了build, devel, src