izhengfan / se2lam

(ICRA 2019) Visual-Odometric On-SE(2) Localization and Mapping
https://github.com/izhengfan/se2lam
MIT License
404 stars 108 forks source link

Can't run robustly in pure rotating scene #5

Closed shlyang closed 5 years ago

shlyang commented 5 years ago

I have tested the program with self-collected data, and encountered several bugs.

  1. In a pure rotating scene and the image is white wall, the framepub collapsed(don't refresh new frames), and it doesn't spawn new frame, with KF.id jumped to 32664 while it's supposed to be about 1000, but the Track thread is still keep running.
  2. I run the se2lam several times using the same rosbag, but the maps it draws differ a lot. Maybe it's because the calculation of rotation isn't very accurate. I wonder how does it calculate the rotation with both the odometry and visual data, what's the mechanism it fuses those two ?
izhengfan commented 5 years ago

Hello, can you provide some part of your data so that I can take a look?

shlyang commented 5 years ago

Sorry, I cannot provide the data, because it belongs to corporate secrets. But I can describe the scene: the camera is mounted on a robot which wanders in a supermarket; there are lots of crossroads and the robot turns 90 degrees first and then goes straight. I know this kind of motion is really challenging for visual SLAM, I tried to use optical flow method for tracking, but it's really difficult to adapt for local mapping(besides, the loop closing seems not work very well, it only draws red lines instead of refreshing published map.) I have recorded the screen for a typical bug, how to send it to you?

izhengfan commented 5 years ago

Well, if you can, pls send to zhengfann@foxmail.com