stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

building on jetson within 20.04 docker container fails #829

Closed AndreV84 closed 2 years ago

AndreV84 commented 2 years ago

Preliminary Checks

Description

reference https://github.com/stereolabs/zed-ros-wrapper/issues/544

updated cache in /root/.ros/rosdep/sources.cache
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
zed_ros2: Cannot locate rosdep definition for [zed_interfaces]
zed_components: Cannot locate rosdep definition for [zed_interfaces]

used sdk https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/3.7/ZED_SDK_Tegra_L4T32.7_v3.7.2.run used ros wrapper

 RUN  mkdir src &&  git clone https://github.com/stereolabs/zed-ros2-wrapper src/zed-ros2-wrapper &&     apt-get install -y python3-rosdep  &&  rosdep init && rosdep update && rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y &&     apt-get update &&     rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y --skip-keys "rtabmap find_object_2d Pangolin libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv" &&     rm -rf /var/lib/apt/lists/* &&     apt-get clean &&     colcon build --symlink-install --base-paths src/zed-ros2-wrapper --cmake-args=-DCMAKE_BUILD_TYPE=Release

Steps to Reproduce

 RUN  mkdir src &&  git clone https://github.com/stereolabs/zed-ros2-wrapper src/zed-ros2-wrapper &&     apt-get install -y python3-rosdep  &&  rosdep init && rosdep update && rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y &&     apt-get update &&     rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y --skip-keys "rtabmap find_object_2d Pangolin libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv" &&     rm -rf /var/lib/apt/lists/* &&     apt-get clean &&     colcon build --symlink-install --base-paths src/zed-ros2-wrapper --cmake-args=-DCMAKE_BUILD_TYPE=Release

Expected Result

-

Actual Result

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
zed_ros2: Cannot locate rosdep definition for [zed_interfaces]
zed_components: Cannot locate rosdep definition for [zed_interfaces]
The command '/bin/sh -c mkdir src &&  git clone https://github.com/stereolabs/zed-ros2-wrapper src/zed-ros2-wrapper &&     apt-get install -y python3-rosdep  &&  rosdep init && rosdep update && rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y &&     apt-get update &&     rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y --skip-keys "rtabmap find_object_2d Pangolin libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv" &&     rm -rf /var/lib/apt/lists/* &&     apt-get clean &&     colcon build --symlink-install --base-paths src/zed-ros2-wrapper --cmake-args=-DCMAKE_BUILD_TYPE=Release' returned a non-zero code: 1

ZED Camera model

ZED

Environment

jetson docker 20.04 ubuntu

Anything else?

No response

Myzhar commented 2 years ago

Hi @AndreV84 this is the ROS1 repository. Your problem is related to ROS2, please open the issues in the correct repository: https://github.com/stereolabs/zed-ros2-wrapper/issues I hope you can understand.

AndreV84 commented 2 years ago

gotcha, created a new issue https://github.com/stereolabs/zed-ros2-wrapper/issues/90 the previous gonna close