港科大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
相关推荐
hhzz3 天前
利用Terraform格式模板文件创建和部署基本网络资源
阿里云·云原生·ros·terraform·资源编排
github5actions5 天前
ROS开发实战:如何用rviz文件保存和加载你的SLAM可视化配置(附避坑指南)
ros·slam·rviz·机器人开发
REDcker5 天前
DDS 协议详解
机器人·ros·ros2·dds
铁头七娃8 天前
Solidworks 2024 根据机器人装配体,生成urdf文件
机器人·ros·solidworks
三克的油9 天前
ros-day5
ros
元让_vincent12 天前
DailyCoding C++ CMake | CMake 踩坑记:解决 ROS 项目中的“循环引用”与库链接依赖问题
c++·机器人·ros·动态库·静态库·cmake·循环引用
元让_vincent13 天前
DaliyCoding C++ ROS | C++ 避坑指南:ROS 回调函数中的对象生命周期陷阱 (Use-After-Free)
开发语言·c++·机器人·ros·ros2
liuniu081814 天前
参数--parameters
ros
liuniu081814 天前
服务--services
ros
liuniu081815 天前
节点--node
ros