Closed niteeshsood closed 8 years ago
Hi @niteeshsood!
It is normal that the odometry drifts a little. However, I think there's something to it: In my opinion, the _mindisparity param has a high value. Do the cloud points make sense? I mean, do you get the same distance from the camera to that flag than from the camera origin to the cloud in Rviz?
If not, try lowering the _mindisparity to 1-5 pixels, and the disparity range to the lowest value you can and see what you get. It seems that the flag has a repeating texture and the matcher may fail. Do you have a non-repeated textured object? A journal cover, for instance.
Hi @miquelmassot thanks for your reply.
I managed to stop the drifting by restarting and recalibrating the camera. But what you say makes sense. I will try with a non-repeating texture and see what results I get and follow up on this.
ok @niteeshsood! I'll close the issue then. Feel free to open it again if needed.
I'm running the following configuration.
Two logitech c270 cameras separated by ~14cm. After camera calibration we get an epipolar error of 0.70 pixels approximately. I'm getting a reasonable point cloud and am including photos of the configuration.
I am checking the pose using a node which is making a log file. Here's the code for it.
Without any movement of the camera, the logger shows that the x coordinate increases with time. The odometer does not get lost either.