I would like to share with you how to make the ZED camera working on Drive PX 2, since it is not supported officially.
- Flash the board with DriveInstall 22.214.171.124b. See https://docs.nvidia.com/drive/driveinstall_docs/#developertools/mobile/driveinstall/linux/126.96.36.199b/sdk/install.htm%3FTocPath%3D_____3
- Unfortunately, it is not the last version of the DriveWorks for the Drive PX 2, but is the version with CUDA 9.0 necessary for the ZED SDK. Last DriveWorks integrates CUDA 9.2 (the highest version for now) but any ZED SDK comes with CUDA 9.2.
Install the ZED SDK for Jetson TX 2 and CUDA 9.0. There are several compatible ZED SDK versions. I recommend you the latest one: v2.8.3 for Jetpack 3.3. Here the link https://download.stereolabs.com/zedsdk/2.8/jetson_jp33
Download,configure,compile the zed-ros-wrapper node (https://github.com/stereolabs/zed-ros-wrapper).
Configure the Jetson GPU for running the zed ros node. The ZED SDK does not support the Pascal GPU but the Jetson one! Change the gpu_id parameter of the zed launch file (https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_wrapper/launch/zed_camera.launch) with the correct one for the Jetson GPU. You can check the GPU id using the CUDA samples (deviceQuery sample in /usr/local/cuda/samples/1_Utilities/deviceQuery). For me the GPU id is 1.