Ask Your Question
0

Obstacles in sensor deadzone

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

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
1

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

There is a minimum obstacle range parameter in Spatio-Temporal Voxel Layer (https://github.com/SteveMacenski/spat...) 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 https://github.com/ros-planning/navig.... 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

Comments

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

Chris91 gravatar image Chris91  ( 2020-06-19 05:57:51 -0500 )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 -0500 )edit

https://github.com/ros-planning/navig... 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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 120 times

Last updated: Jun 18 '20