-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zed camera+nvblox won't work on Jetson Orin #28
Comments
You can match Zed topics to the topic description listed here. |
@swapnesh-wani-nvidia |
on orin it was not possible to visualize on foxy nvblox node from foxy zed topics at all, |
@AndreV84 We were having the same issue for integrating with a ZED mini camera. The main issue was that this lib doesn't support the Zed's BGRA8 image encoding, only RGB8. We have create a PR to overcome this issue: #32.
The mesh in RVIZ doesn't look good yet, we are still investigating to why. If you get a chance to check it out, please let us know your results. |
@hemalshahNV |
Because zed_wrapper publishes color images encoded in BGRA8, nvblox cannot consume them. So you need to encode the color image to RGB8. The zed-ros2-examples repository contains the zed_rgb_convert package. This package converts images encoded in BGRA8 to BGR8. Change BGR8 to RGB8 and then build the package. And depth images published by zed may have black pixels to distinguish boudaries from overlapping objects. Note depth settings document. I think that nvblox tend to be difficult for localizing voxels when it use black pixels from depth image. If you set the depth option following bellow in common.yaml of the zed sdk, it can naturally fill in those black pixels. option 1. ------------------------------------ depth: option 2. ------------------------------------ depth: I've tested these settings on Xavier NX, Jetpack 4.6.2 and ZED2. |
@podomong so the nvblox is intact in your design, in order to get zed working with nvbolx on Jetson - I just clone the https://github.com/stereolabs/zed-ros2-examples/ repository, then change " BGR8 to RGB8 ", then build the package? right? how do I have to run the example build? concurrently with nvblox? OR you suggest to edit the BGR8 to RGB8 in nvblox code? @nakai-omer could you extend how to use your suggested submodule to verity on Jetson with zed camera, please? soes it have to be running concurrently with nvblox in order to do conversion? |
if to run the convert like that it will simply crash not starting the node at all
|
@AndreV84 It is this repo, just with an added library, you will need to checkout the PR, and build it from source (notice there is a submodule so you will need to run |
@nakai-omer thank you for your reply |
Has anyone managed to get this working? |
Hi
Have anyone had success running the nvblox with zed on Jetson orin?
which topics from zed need to be subscribed to? what exactly are the color topics?
Thanks
AV
The text was updated successfully, but these errors were encountered: