introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.81k stars 788 forks source link

obstacles should be free space #394

Closed void-robotics closed 5 years ago

void-robotics commented 5 years ago

Hello,

When going down a hallway, the image input to rtabmap cannot see an open doorway; it looks like a wall, which is the same for a person who doesn't turn his head. Rtabmap makes this area obstacles.

When I get to the doorway, I turn 90 degrees to face the room, and it can see inside the room, but at the doorway it still sees obstacles. This is a similar problem to https://github.com/introlab/rtabmap/issues/393.

Is there a preferred way to replace the obstacles at the doorway with free space?

matlabbe commented 5 years ago

Try adding Grid/RayTracing=true and Grid/3D=false parameters. Obstacles would be cleared if the sensor sees a wall behind them.

void-robotics commented 5 years ago

That helped a lot! In addition to moving back and forth, the robot can now see through doorways or tight angles.

Thanks for all the hard work on this too, as I've been asking a lot of questions. I've tried ORB_SLAM, gmapping, hector, and seen cartographer, but rtabmap is the best overall for robot motion in my opinion. I'm trying to create a product out of rtabmap; so if I ever start to generate revenue, we can consider a partnership later.