ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Obstacles in sensor deadzone

asked 2020-06-17 18:44:20 -0600

Chris91 gravatar image

So the last step for in my setup is navigation. I got everything working so far. The last question remaining for me is: Is it currently possible to specify a dead zone for my sensor when using pointcloud data. The only thread i could find, is from 2015. The problem is that obstacles are cleared when the camera is losing them if they are entering the deadzone. So the global planner is adjusting the route and drives into the obstacle infront of it.

I'm using a kinect v1 camera which has a dead zone of something around 0,6m. I want to avoid using laserscan because i want to have 3D data for my voxel layer. I know that the laserscan msg has a range_min value. Is there something similar for processing pointcloud data ? Or is it possible to hack the code of costmap2d to realise such behavior ?

Thank you :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-18 09:58:42 -0600

There is a minimum obstacle range parameter in Spatio-Temporal Voxel Layer ( called min_z. This is however not currently supported in the standard Voxel Layer.

From my experience, I'm not exactly sure why it's not already supported so I filed a ticket in ROS2 navigation stack to implement I think that's a worthy addition and wouldn't take someone too long to implement (hint hint, nudge nudge).

edit flag offensive delete link more


Interesting i will take a look @ it. I will give you feedback :)

Chris91 gravatar image Chris91  ( 2020-06-19 05:57:51 -0600 )edit

It's working like a charm. Great work you did there. I have one question you might be able to easly answer. The voxel_decay value, does it influence clearings inside the min_z area ?

Chris91 gravatar image Chris91  ( 2020-06-21 12:08:57 -0600 )edit the capability for Voxel Layer to deal with min Z will also be available soon, certainly by Galactic.

stevemacenski gravatar image stevemacenski  ( 2021-01-07 13:57:52 -0600 )edit

Question Tools

1 follower


Asked: 2020-06-17 18:44:20 -0600

Seen: 310 times

Last updated: Jun 18 '20