港科大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
相关推荐
orcasdli4 天前
ROS1+VINS-fusion+RTAB-Map 程序部署记录
ros·slam·vio
撩妹小狗6 天前
ROS文件解读(package .xml--CMakeLists.txt)
xml·机器人·自动驾驶·ros
何伯特21 天前
ROS与Conda的兼容性问题深度解析与解决方案
conda·ros
hhzz24 天前
利用Terraform格式模板文件创建和部署基本网络资源
阿里云·云原生·ros·terraform·资源编排
github5actions25 天前
ROS开发实战:如何用rviz文件保存和加载你的SLAM可视化配置(附避坑指南)
ros·slam·rviz·机器人开发
REDcker25 天前
DDS 协议详解
机器人·ros·ros2·dds
铁头七娃1 个月前
Solidworks 2024 根据机器人装配体,生成urdf文件
机器人·ros·solidworks
三克的油1 个月前
ros-day5
ros
元让_vincent1 个月前
DailyCoding C++ CMake | CMake 踩坑记:解决 ROS 项目中的“循环引用”与库链接依赖问题
c++·机器人·ros·动态库·静态库·cmake·循环引用
元让_vincent1 个月前
DaliyCoding C++ ROS | C++ 避坑指南:ROS 回调函数中的对象生命周期陷阱 (Use-After-Free)
开发语言·c++·机器人·ros·ros2