stereolabs / zed-ros2-wrapper

ROS 2 wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros2/
Apache License 2.0
134 stars 139 forks source link

Filtered Depth Not published in ROS topic #208

Closed knightwzh closed 2 months ago

knightwzh commented 2 months ago

Preliminary Checks

Description

I'm using Nvidia Orin, ROS noetic and ZED SDK v4.0.8 with a ZED2 camera. What I try to do is use the predicted depth for downstreaming application, and I try to filter the depth by adjusting parameters "depth_confidence" and "depth_texture_conf" in common.yaml. However, when I use rviz, I find the depth map published by topic "/depth/depth_registered" is the unfiltered depth map. I also try the ZED_Depth_Viewer and adjust the two parameters mentioned above by GUI, and it works as I expected. I am confused that whether the topic "/depth/depth_registered" could publish the filtered depth map.

Steps to Reproduce

  1. Adjust the paramter "depth_confidence" and "depth_texture_conf" in common.yaml in ws/zed_ros_wrapper/zed_wrapper/params
  2. launch the camera by "roslaunch zed_wrapper zed2.launch"
  3. use rviz to monitor the depth map published by topic "/depth/depth_registered"

Expected Result

I want to publish the filtered depth map in ROS topic.

Actual Result

image

ZED Camera model

ZED2

Environment

OS: Ubuntu 20.04
CPU: ARM
GPU: Nvidia Jetson Orin
ZED_SDK_version: 4.0.8
ROS: Noetic

Anything else?

No response

Myzhar commented 2 months ago

Hi @knightwzh this is the ROS 2 Wrapper and you speak of Noetic, so ROS 1.

knightwzh commented 2 months ago

Sorry for the mistake, I have moved this issue to zed_ros_warpper.