depthai-ros icon indicating copy to clipboard operation
depthai-ros copied to clipboard

[BUG] WLS filtered image all black

Open flabrosse opened this issue 1 year ago • 4 comments

Ubuntu 22.04, ROS humble, OAK-D S2.

I'm trying example_wls_filter.launch.py from the depthai_filters package. All I get is a black image. Nothing that looks like an error in the output. All the other images are there, but the filtered one is black, but published at nearly 20Hz.

Without filtering the camera is close to useless with rtabmap as there is way too much noise. What am I missing to make the wls filtering work?

flabrosse avatar Jun 28 '24 13:06 flabrosse

I installed everything from sources, to get the latest version of everything and now nothing gets published on the topic /wls_filtered. Any ideas?

flabrosse avatar Jul 15 '24 15:07 flabrosse

Could this be related:

[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'rectify_color_node' of type 'image_proc::RectifyNode' in container 'oak_container': Could not find requested resource in ament index

flabrosse avatar Jul 15 '24 15:07 flabrosse

Hi, @flabrosse thanks for the report and sorry for the delay, could you test if this branch works for you? Also, even though WLS filter "smooths" the depth readings it is also susceptible to distortions so I am not sure if it will be good enough for usage with RTABMap

Serafadam avatar Jul 16 '24 10:07 Serafadam

Same. Nothing published on /wls_filtered.

Noise is definitely an issue. I see many people reporting this, in particular with more noise from the ROS driver. I am still playing with the settings, and also hope that it'll work better outside.

flabrosse avatar Jul 16 '24 11:07 flabrosse