栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > C/C++/C#

JetsonNX 配置ROS下启动zed相机编译出错

C/C++/C# 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

JetsonNX 配置ROS下启动zed相机编译出错

前提肯定是成功安装了ros对应的版本,并且安装了zed相机对应的SDK,并且tools可以成功运行

1.新建ros工作空间

mkdir -p zed_ws/src
catkin_make

2.下载zed_ros_wrapper

cd ~/zed_ws/src
git clone https://github.com/stereolabs/zed-ros-wrapper.git
cd ../
rosdep install --from-paths src --ignore-src -r -y
catkin_make -DCMAKE_BUILD_TYPE=Release
source ./devel/setup.bash

catkin_make ,编译过程中出现的错误(缺失zed_interfaces包)

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "zed_interfaces"
  with any of the following names:

    zed_interfacesConfig.cmake
    zed_interfaces-config.cmake

  Add the installation prefix of "zed_interfaces" to CMAKE_PREFIX_PATH or set
  "zed_interfaces_DIR" to a directory containing one of the above files.  If
  "zed_interfaces" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  zed-ros-wrapper/zed_nodelets/CMakeLists.txt:41 (find_package)


-- Configuring incomplete, errors occurred!

解决方法:在zed_ws/src文件夹下载zed_interfaces包,再重新编译即可


    git clone https://github.com/stereolabs/zed-ros-interfaces
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/665550.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号