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

JetsonNX 配置ROS下启动zed相机编译出错,第1张

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

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5670817.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存