港科大APACE复现问题

  • 问题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,然后通过下面的命令源码安装

    bash 复制代码
    cd path to APACE
    git clone https://github.com/stevengj/nlopt.git
    cd nlopt
    mkdir build && cd build
    cmake ..
    make
    sudo make install
相关推荐
加成BUFF1 天前
第七天 ROS《 参数服务器与Launch文件》
运维·ros·参数服务器
加成BUFF2 天前
第六天 ROS 《Action 通信实验》
linux·机器人·ros
加成BUFF2 天前
第5天 ROS 《Service 通信实验指导书》
机器人·ros
提伯斯6463 天前
解决Fast-Drone-250编译相关错误
linux·ros·无人机·fast-drone
rqtz5 天前
【C++】源码编译 Qt5.15.3|Ubuntu22.04 下 ROS 开发环境搭建
开发语言·c++·qt·ros
rqtz5 天前
【机器人】ROS结合Qt开发上位机软件工作空间配置
开发语言·qt·ros
kobesdu5 天前
【ROS2实战笔记-24】ROS2 Launch 实用技巧:条件逻辑与节点动态生成
笔记·ros·slam
小烤箱8 天前
ROS2 学习资源与学习方法
学习·ros·学习方法·ros2
暂未成功人士!8 天前
ROS 核心知识点和常用的命令行详细总结
linux·操作系统·ros
小烤箱9 天前
什么是 ROS2:机器人软件的数据加工工业园区
人工智能·机器人·ros