-
问题1:Could not find a package configuration file provided by "tf2_sensor_msgs"
-
解决:
sudo apt-get install ros-noetic-tf2-sensor-msgs -
问题2:CMake Error at APACE/trajectory/CMakeLists.txt:10 (find_package):
By not providing "FindNLopt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "NLopt", but
CMake did not find one.
Could not find a package configuration file provided by "NLopt" with any of
the following names:
NLoptConfig.cmake
nlopt-config.cmake
Add the installation prefix of "NLopt" to CMAKE_PREFIX_PATH or set
"NLopt_DIR" to a directory containing one of the above files. If "NLopt"
provides a separate development package or SDK, be sure it has been
installed.
-
解决:Ubuntu20版本通过apt安装会出现错误,先卸载nlopt,
sudo apt remove ros-noetic-nlopt,然后通过下面的命令源码安装bashcd path to APACE git clone https://github.com/stevengj/nlopt.git cd nlopt mkdir build && cd build cmake .. make sudo make install
港科大APACE复现问题
@MGod吾2024-06-27 18:01
相关推荐
程序员龙一20 小时前
百度Apollo Cyber RT底层原理解析再遇当年1 天前
ubuntu22.04安装中文输入法且与ros2与clion不冲突明月满西楼2 天前
在Ubuntu 20.04实现ROS1 Noetic 与 ROS2 Foxy 多版本共存及切换Robot侠3 天前
ROS1从入门到精通 20:性能优化与最佳实践Robot侠3 天前
ROS1从入门到精通 15: 机器人视觉 - 图像处理与计算机视觉Robot侠4 天前
ROS1从入门到精通 10:URDF机器人建模(从零构建机器人模型)Robot侠4 天前
ROS1从入门到精通 12:导航与路径规划(让机器人自主导航)Robot侠4 天前
ROS1从入门到精通 9: TF坐标变换(机器人的空间认知)Robot侠4 天前
ROS1从入门到精通 8:Launch文件编写(多节点协同管理)Robot侠4 天前
ROS1从入门到精通 11:Gazebo仿真(打造虚拟机器人世界)