-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI 302 camera settings to make SVO work? #134
Comments
Let me know if you find any solutions |
Hi @gscortichini , sorry for replying after a very long time. I am still unable to make it work with UI cam even with a 4.5mm lens. Were you able to solve the problem? [ INFO] [1463489249.975034966]: Init: KLT 25.8142px average disparity. After this I have to exit the program because it keeps on giving the same error. I also tried SVO in different scenarios with much more texture and features. Then, klt is able to track more 300 features but if I move the camera by about 5cm, it again looses track of the features. |
in my case, i solved the problem with a better calibration software. First, i used PTAM calibration camera to get the atan model, but i had the same results as you. I see that you have a good framerate and a light camera resolution, so everything should be fine. I`m not an expert on lens, but in my opinion the only alternative reason of your issue could be your lens. |
Did you make any tests with the pose values? How are the final pose values? Is there a huge error? I also calibrated my camera with cameracalibration.py. Can you, if possible, send me a rosbag file of the image stream and the pose values. Then, I can compare it with my own setup. |
Hi @gscortichini , I have even tried running SVO with PointGrey BFLY-PGE but couldn't get any better results when compared with the results that I have got when I tried with the Microsoft LifeCam HD. Could you please share your camera launch file to let me check once again? Did you face any problems with running rviz? After I installed FlyCam, rviz gives segmentation fault. I have tried all the solutions that mentioned on the website for this error but couldn't figure it out. Thank you. |
Hi @ythej , this is my launch file:
I used the "btr-ros-pkg" ROS package (videomode 4 , pixelformat 0 ) to get frames from the camera. It works exactly like FlyCap2. I had problems with rviz as you mentioned before, in my case the reason was the bad buffer size ubuntu used. Then i found this solution, in order to increase the buffer size: sudo sysctl –w net.core.rmem_max=1048576 net.core.rmem_default=1048576 (if you google that command you can find better explanations to that issue...) |
Hi @ank700 , i don |
Hi @gscortichini, Thanks a lot for sharing the launch file. I even tried with Microsoft LifeCam using below launch file but the same thing repeats.
Please suggest if you have any suggestions :) |
hi @ythej
i think you also need to increase the max reprojection error:
you can probably double the grid size
and to make it more robust, it's generally good to use more features:
|
Hi @cfo, Thanks a lot for the reply :) As you told, this is my parameter file: grid_size: 50 And this is my launch file:
This my calibration file: cam_model: Pinhole The results remain as usual. I made sure that camera is pointed downwards. I even tried to check the algorithm with the KITTI dataset but it is giving memory allocation error. Could you please help in anyway? Thank you. |
Hi @ythej , calibrate the camera again with the calibration tool at https://github.com/ethz-asl/ethzasl_ptam . It will give you a camera calibration in a slightly different format. I am sure this should work. |
Hello guys, I was able to run the dataset to confirm if SVO is correctly installed.
Now, I want to use UI 302 camera with SVO. Can someone suggest me what parameters should I change to make it work properly.
I have prepared a calibration file in atan format. Now when I run SVO, i can see only random movements that too only if it is able to track some features otherwise nothing happens. I am using the rviz config file for the dataset.
Any help is much appreciated.
Thanks
The text was updated successfully, but these errors were encountered: