港科大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
相关推荐
Curious!2 天前
launch 中可执行文件 type
ros
万俟淋曦3 天前
[ROS 系列学习教程] 建模与仿真 - 使用 ros_control 控制差速轮式机器人
人工智能·ai·机器人·ros·ros_control
Mr.Winter`5 天前
ROS2从入门到精通2-2:详解机器人3D可视化工具Rviz2与案例分析
3d·机器人·自动驾驶·ros·ros2
TNT_TT5 天前
十二、Yocto集成ROS2 app程序(package)
嵌入式·ros·yocto·raspberrypi
悸尢6 天前
5.树莓派4b+ubuntu18.04(ros版本melodic)+arduino mega自制两轮差速小车,实现建图导航功能
单片机·嵌入式硬件·ros·arduino·树莓派
悸尢7 天前
2.树莓派4b+ubuntu18.04(ros版本melodic)+arduino mega自制两轮差速小车,实现建图导航功能
单片机·嵌入式硬件·ros·树莓派
悸尢7 天前
3.树莓派4b+ubuntu18.04(ros版本melodic)+arduino mega自制两轮差速小车,实现建图导航功能
ros·树莓派
悸尢7 天前
4.树莓派4b+ubuntu18.04(ros版本melodic)+arduino mega自制两轮差速小车,实现建图导航功能
ros·树莓派
悸尢10 天前
1.树莓派4b+ubuntu18.04(ros版本melodic)+arduino mega自制两轮差速小车,实现建图导航功能
单片机·嵌入式硬件·ros·arduino·树莓派