ZJU-FAST-Lab/Car-like-Robotic-swarm

Out of map point when computing hPolys.

Chortine opened this issue · 1 comments

Hi Team,

I found out that when computing the hPolys for fine optimization, the case that point is out of map is allowed, and sometimes cause the final global path out of the map.

Shouldn't here be map_ptr_->getVoxelState2d(tmp) != 0 to filter out the out of map points?

if(map_ptr_->getVoxelState2d(tmp) == 1)

Yes you are right, it would be better if there is a filter to filter the out of map points