ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

using zed camera with ros?

asked 2016-07-13 06:55:39 -0500

safaa samy gravatar image

updated 2016-07-13 16:56:35 -0500

ahendrix gravatar image

i am trying to use the zed camera with ros and i used this tutorial "https://www.stereolabs.com/blog/index.php/2015/09/07/use-your-zed-camera-with-ros/" but i have these errors

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "image_transport"
  with any of the following names:

    image_transportConfig.cmake
    image_transport-config.cmake

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


-- Could not find the required component 'image_transport'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "image_transport"
  with any of the following names:

    image_transportConfig.cmake
    image_transport-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/catkin_WS/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/catkin_WS/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

Comments

I remember having some issues with openCV 3 dependencies when I first got the Zed camera working in my setup. I can't remember exactly how I got around them, but the cv_bridge package sticks in my memory. I'll see if I can find how I fixed it.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-01-05 08:29:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-07-13 16:45:18 -0500

NZNobody gravatar image

Hello Safaa,

I am using the ZED with my Jetson TX1 since a while now. When you follow the tutorial, make sure you install the dependencies listed:

  • roscpp
  • rosconsole
  • sensor_msgs
  • opencv2
  • cv_bridge
  • image_transport

If these are ROS packages these can be installed via your systems package manager. EG on ubuntu you can run:

sudo apt-get install ros-DISTRO-roscpp ros-DISTRO-rosconsole ros-DISTRO-sensor-msgs ros-DISTRO-cv-bridge ros-DISTRO-image-transport

Be sure to replace DISTRO with your ROS distribution, eg indigo or kinetic. By the looks of it you are missing:

sudo apt-get install ros-DISTRO-image-transport
edit flag offensive delete link more

Comments

@NZNobody i get the some error i pu it here https://answers.ros.org/question/2788...

abdelkrim gravatar image abdelkrim  ( 2018-01-05 04:59:14 -0500 )edit

Question Tools

Stats

Asked: 2016-07-13 06:55:39 -0500

Seen: 2,226 times

Last updated: Jan 05 '18