/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83: error:
Could not find a package configuration file provided by “task_msgs”
with any of the following names:
task_msgsConfig.cmake
task_msgs-config.cmake
Add the installation prefix of “task_msgs” to CMAKE_PREFIX_PATH or set “task_msgs_DIR” to a directory containing one of the above files. If “task_msgs” provides a separate development package or SDK, be sure it has been installed. oms/CMakeLists.txt:15 (find_package)
无法找到自定义的ROS包
在该自定义包的工作空间终端下执行
source devel/setup.bash
或者
在.bashrc中添加
source "工作空间目录“/devel/setup.bash