stereolabs / zed-docker

Docker images for the ZED SDK
https://hub.docker.com/r/stereolabs/zed/
MIT License
52 stars 19 forks source link

docker camera system fails on offline system (calibration) #52

Closed bmegli closed 1 month ago

bmegli commented 10 months ago

Preliminary Checks

Description

Docker camera system fails in offline (no internet) setup.

The reason is ZED SDK downloads camera calibration file over internet (when online) to:

Mapping this path is not documented anywhere (docker docs are in several places), as far as I see.

Steps to Reproduce

  1. Unplug ZED-X system from the internet
  2. Run docker container for ZED-X
  3. System fails

Probably problem is similar for other ZED cameras

Expected Result

Offline system with camera(s) works just the same as online (with internet access).

Actual Result

Offline system doesn't work.

ZED Camera model

ZED-X

Environment

OS: Ubuntu 20.04 (Jetson L4T)
CPU: ARM64
GPU: Nvidia Jetson AGX Orin
ZED SDK: 4.0.8
ROS: Noetic
Docker image: based on `stereolabs/zed:4.0-runtime-l4t-r35.3`

Anything else?

No response


Edit:

bmegli commented 10 months ago

The fix is to map calibration file path to storage on host

bmegli commented 1 month ago

This is now documented in zed-ros2-wrapper docker readme:

bmegli commented 1 month ago

Related issue: