--- stderr: originbot_msgs
CMake Error at CMakeLists.txt:19 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.
Could not find a package configuration file provided by "ament_cmake" with
any of the following names:
ament_cmakeConfig.cmake
ament_cmake-config.cmake
Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
---
Failed <<< originbot_msgs [1.01s, exited with code 1]
Aborted <<< line_follower_model [1.09s]
Summary: 0 packages finished [5.66s]
1 package failed: originbot_msgs
1 package aborted: line_follower_model
1 package had stderr output: originbot_msgs
8 packages not processed
========================
解决方案:修改工作空间的读写权限
cd <your workspace>
sudo chmod 777 -R .
参考:
https://github.com/ros2/ros2/issues/1236