stereolabs / zed-ros-wrapper

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

zed-ros-wrapper v3.4.x Fails to Build with Errors (ZED SDK 4.0) #928

Closed mericgeren closed 8 months ago

mericgeren commented 10 months ago

Preliminary Checks

Description

Hello,

I am trying to install the zed-ros-wrapper package on a Jetson AGX Xavier with JetPack 4.6.4 and CUDA 10.2. While I was following steps here, after the command:

catkin_make -DCMAKE_BUILD_TYPE=Release

I got the following output:

output_log.txt

Thank you in advance for your attention and time,

Kindest regards.

Steps to Reproduce

  1. Install JetPack 4.6.4 with sdk manager.
  2. Install ROS Melodic with Python 2.7
  3. Ensure that you also have python 3.6 as the secondary python install (primary one is 2.7)
  4. Ensure that you have installed Opencv 4.1.1 and install it if you don't have that version.
  5. Ensure that you have opencv-python 3.2.0 for python 2.7
  6. Download ZED_SDK_Tegra_L4T32.7_v4.0.8.zstd.run file to the Jetson.
  7. Enter sudo chmod +x ZED_SDK_Tegra_L4T32.7_v4.0.8.zstd.run command at your Download directory.
  8. Enter sudo ./ZED_SDK_Tegra_L4T32.7_v4.0.8.zstd.run command at your Download directory.
  9. When promted to enter a directory to install zed samples, enter /home/<your username>/zed_samples/samples
  10. When promted to select a python executable, select python (2.7) instead of 3.6
  11. Enter "y" for every other prompt. (I wanted a full installation)
  12. You should see that your installation completed with 1 warning (probably the one about python API installation failed)
  13. After the installation enter cd "/usr/local/zed/" command.
  14. Enter python3 get_python_api.py command to install the python API.
  15. Enter cd ~/catkin_ws/src
  16. Enter git clone -b v3.4.x https://github.com/stereolabs/zed-ros-wrapper.git command to pull the version compatible with ROS Melodic
  17. Enter cd ../ command.
  18. Enter rosdep update command.
  19. Enter rosdep install --from-paths src --ignore-src -r -y command.
  20. Enter catkin_make -DCMAKE_BUILD_TYPE=Release command.
  21. See that it gave a lot of error messages. ...

Expected Result

I was expecting that the package build would be successful.

Actual Result

catkin_make failed with a lot of errors. There is the output I got:

output_log.txt

ZED Camera model

ZED Mini

Environment

OS: L4T32.7.4 (Linux 18.04)
CPU: ARM (aarch64)
GPU: NVIDIA Jetson AGX Xavier
ZED SDK Version: 4.0
Other Info: ROS Melodic

Anything else?

Considerable amount of error messages I got was about sl.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days