1.  Install Order

You need to install the following order

  1. tx2 setup
  2. Jetpack install
  3. ROS install
  4. ROS workspace setup


Check openCV version with



pkg-config --modversion opencv

you should see


2.4.13



because ZED SDK for tx2 is developed based on openCV 2.4



ZED SDK installation 


3.1 SDK Download 

https://www.stereolabs.com/developers/release/2.1/#sdkdownloads_anchor



3.2 SDK installation


sudo chmod +x /[download folder]/ZED_SDK_Linux_JTX2_v2.1.2.run 
cd /[download folder] 
./ZED_SDK_Linux_JTX2_v2.1.2.run


ROS Wrapper install


cd catkin_ws/src
git clone https://github.com/stereolabs/zed-ros-wrapper.git


in CMakeLists.txt, delete line 36-39 which is


find_package(OpenCV ${OCV_VERSION} COMPONENTS core highgui imgproc)
checkPackage("OPENCV_CORE" "OpenCV core not found, install it from the tutorial at:\n https://www.stereolabs.com/documentation/overview/getting-started/getting-started.html")
checkPackage("OPENCV_HIGHGUI" "OpenCV highgui not found, install it from the tutorial at:\n https://www.stereolabs.com/documentation/overview/getting-started/getting-started.html")
checkPackage("OPENCV_IMGPROC" "OpenCV imgproc not found, install it from the tutorial at:\n https://www.stereolabs.com/documentation/overview/getting-started/getting-started.html")


and


catkin make zed_wrapper