zed-ros2-wrapper icon indicating copy to clipboard operation
zed-ros2-wrapper copied to clipboard

Failed to build using JetPack 6.0.0

Open JulioPlaced opened this issue 2 months ago • 5 comments

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • [X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

Hello, zed_components fails to build on a Jetson AGX Orin with Jetpack 6.0.0. A bunch of errors appear, most of them related to sl.

Steps to Reproduce

colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release

Expected Result

ROS wrapper built.

Actual Result

Compilation errors ( i can attach the full log if useful).

Some of the errors related to sl:

  • zed_components/src/zed_camera/include/zed_camera_component.hpp:302:76: error: ‘QUALITY’ is not a member of ‘sl::POSITIONAL_TRACKING_MODE’ 302 | POSITIONAL_TRACKING_MODE mPosTrkMode = sl::POSITIONAL_TRACKING_MODE::QUALITY;

  • zed_components/src/zed_camera/src/zed_camera_component.cpp:1331:49: error: ‘QUALITY’ is not a member of ‘sl::POSITIONAL_TRACKING_MODE’ 1331 | mPosTrkMode = sl::POSITIONAL_TRACKING_MODE::QUALITY;

  • zed_components/src/zed_camera/src/zed_camera_component.cpp:4585:8: error: ‘struct sl::BodyTrackingParameters’ has no member named ‘image_sync’ 4585 | bt_p.image_sync = true;

ZED Camera model

ZED Mini

Environment

OS: Linux
CPU: ARM
GPU: Nvidia Jetson AGX Orin
ZED SDK version: 4.1
ROS Humble

Anything else?

No response

JulioPlaced avatar Apr 18 '24 11:04 JulioPlaced

ZED SDK v4.1 is not yet supported. A new version of the wrapper will be released in the next few days

Myzhar avatar Apr 18 '24 11:04 Myzhar

any updates on the 4.1 compatibility release?

giovanidiniz avatar Apr 21 '24 00:04 giovanidiniz

We are currently testing it. The release is expected to happen soon.

Myzhar avatar Apr 22 '24 08:04 Myzhar

@JulioPlaced, got the wrapper to work with zed2i and ZedSDK 4.0 for Jetpack 5.0 without AI modules. Stereo depth and odometry work fine. My system is Jetson Orin NX with Jetpack 6.0 and ubuntu 22. So I think you should be able to do the same

Yyote avatar Apr 29 '24 14:04 Yyote

any updates on the 4.1 compatibility release?

Released on Friday, April 26th.

Myzhar avatar Apr 29 '24 14:04 Myzhar