Robotics StackExchange | Archived questions

how to track unknown space with nav2 & spatio temporal voxel layer

I am trying to get my robot to prefer navigating where its sensor stack has vision.

In my global and local costmap nodes, I set trackunknownspace to True, with unknowncostvalue set to 255

I also set unknowncostvalue to True in my spatiotemporalvoxel_layer node

When I launch rviz, my local costmap has the gray of unknown everywhere but my robot footprint. My global costmap has no such gray.

The two things I was expecting are:

Neither of those things are happening for me.

image description

Are there other params I need to set to get track unknown working in the global costmap?

Asked by johnconn on 2020-10-28 02:08:41 UTC

Comments

Answers