Open dinarkino opened 4 years ago
I'm new to OpenVSLAM. Could you please tell me how to write the config file of stereo camera?
Hi, I am also using the OpenLORIS dataset, could you please teach me how to get the config parameters? Thank you in advance!
Hi!
I have several questions related to using openvslam with stereo fisheye data. I was trying to run it on TUM VI dataset and OpenLORIS dataset. There is a config file in Examples folder for the TUM VI. Using the same file as an example I created a config for the openloris. So, here are the questions:
First of all, it seems like openvslam easily lose its trajectory right after leaving the starting room in tum vi dataset. I think the reason for that is very fast moves inside the corridor. If we reset a map after corridor then it's again working but then again LOST. Is that normal behaviour for slam on this dataset? Also, it seems like the image is very like "fluid", maybe this is typical for the rectified fish-eye image
![2](https://user-images.githubusercontent.com/30932821/88559891-148fc800-d036-11ea-95b2-f947efddee19.jpg)
Secondly, I don't fully understand which parameters should we use and how to obtain them if there are no rectification matrices. Now it seems like there is a possibility to use both rectified images and to rectify them during the run (but if we will delete Stereo Rectification params then we will see an error at the beginning). At the same time, I tried to use OpenCV's function cv2.fisheye.stereoRectify(k1, d1, k2, d2, imageSize, R, tvec, flags=cv2.CALIB_ZERO_DISPARITY) and got camera matrix for the left image (fx, fy, cx, cy) and two R matrixes. Then I run the algorithm and got a very bad image. So, the question is what is the proper way to get these parameters?
From this
this