港科大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
相关推荐
饮啦冰美式9 小时前
ROS2humble版本使用colcon构建包
ros
knighthood200120 小时前
解决:ros进行gazebo仿真,rviz没有显示传感器数据
c++·ubuntu·ros
knighthood20013 天前
ros中仿真编写launch时robot_state_publisher,output参数
c++·ubuntu·ros
Mr.Winter`4 天前
路径规划 | ROS中多个路径规划算法可视化与性能对比分析
人工智能·算法·机器人·自动驾驶·ros·ros2·路径规划
辰风已久8 天前
ROS(快速初步入门)
ros
wait,what?10 天前
【ROS概述】C++运行hello world
机器人·ros
wait,what?10 天前
【ROS概述】解决主机和虚拟机共享剪贴板的问题
ros
kuan_li_lyg11 天前
SolidWorks 导出 URDF 中的惯性矩阵错误问题
开发语言·人工智能·机器人·ros·urdf·solidworks
wait,what?12 天前
【ROS概述】概念及环境搭建
机器人·ros
leaf_leaves_leaf12 天前
【WSL2】Ubuntu20.04从零开搭PX4&Mavros&Gazebo环境并测试
机器人·ros·px4