Fixed unknown lines for octomap 2D grid projection. (https://github.com/introlab/rtabmap_ros/issues/684)

This commit is contained in:
matlabbe
2021-11-30 20:34:51 -05:00
parent 67710ef94c
commit baae713471
3 changed files with 30 additions and 7 deletions

View File

@@ -74,6 +74,8 @@ public:
void expandNode();
bool createChild(unsigned int i);
void updateOccupancyTypeChildren();
private:
int nodeRefId_;
int type_; // -1=undefined, 0=empty, 100=obstacle, 1=ground