问题:
执行指令:
roslaunch cartographer_ros cartographer_demo_rplidar.launch
报错:
RLException: [cartographer_demo_rplidar.launch] is neither a launch file in package [cartographer_ros] nor is [cartographer_ros] a launch file name
The traceback for the exception was written to the log file
解决:
首先试图回到catkin_ws文件夹目录下终端重新编译工作变量:
catkin_make
报错:
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "ecto" with any of
the following names:
ectoConfig.cmake
ecto-config.cmake
Add the installation prefix of "ecto" to CMAKE_PREFIX_PATH or set
"ecto_DIR" to a directory containing one of the above files. If "ecto"
provides a separate development package or SDK, be sure it has been
installed.
看报错是缺少ecto,试图下载sudo apt-get install ros-melodic-e