VINS-Mobile
VINS-Mobile copied to clipboard
VINS for android can't converge when huge rotation occurs
It's me again! :)
I collect a dataset on android phone, and test with VINS. It performs very well at the beginning, but when huge rotation occurs, vision part fail to track feature points, and the result get diverged immediately.
I can't find what's wrong with that, please help me out, thanks!!!
Hi vonzy, can you share your no-ros vins project to me? I do not want to waste time do this part of work if you're kind to share. We can share android migrate progress with each other.
@FangGet Okay, don't you remember me? I have seek for your help when I try to use your project ORB_SLAM_Android. The project is quite impressive, thanks for your help last time. But how can I send the project to you? through e-mail? or IM?
@vonzy , send me with the email, thanks. btw email is fangasfrank a.t gmail dot com
@vonzy :Hi, i'm working on testing VINS-SLAM. My goal is to collect data(sequence of images + IMU datas) to run off-line on VINS system. But i got a problem when i record data from Android device. In fact, i have used Samsung S6 to record data in memory, but i just achieved to get 640x480 images with 15 Hz and 80 Hz in IMU datas. Because of that, it can't work well in VINS system. Do u have an ideal to resolve this issue ? I really appreciate your help.
Hi, @vonzy VO is not magic, it's hard to get a good result when you give it pure rotation especially when you don't have the accurate extrinsic calibration. Also, the image seems blurred seriously, you can try to reduce the exposure time.
@trinamntn08 , I haven't record data from S6. So I can only give you some advice based on your description. You should check:
- Before you get sensor data, you must have registed the listener by call the function: boolean registerListener(SensorListener listener, int sensors, int rate) So have you set the rate to SENSOR_DELAY_FASTEST? If so, have you put the listener into a seperate thread? Make sure the listener runs in a seperate thread. If you can 't still get higher rate data, please check whether your phone support higher rate with Sensor Kinetics. 2.Camera part is more unstable, it might varis from different OEM. First check whether the preview listener runs in a seperate thread, and check the support fps with getSupportedPreviewFpsRange(). If S6 support higher rate, you can try to set the fps with setPreviewFrameRate().
@PeiliangLi, okay, let me try, thanks!!
@vonzy thanks a lot for your help. I will do it.
@vonzy
Hi, I also collect a dataset on android phone, but I covert data to a rosbag and test with VINS-Mono. The result is not good. I don't know how to solve this problem . I think you have experience in this field. Could you please share with me ? In addition, I leave a message on your github, but you may have no time to see it. Can you leave your email for convenience? I have some questions to ask you for advice.
My email is [email protected] .Thank you very much!!!
@JMZZZ Sorry for no reply for your message. I rarely sign in github, you can contact with me at my email: [email protected].
@JMZZZ we have done some test on android... The biggest problem is the unsynchronization. Apple devices do much better than Android in terms of synchronization. I suggest you test the time offset between Camera and IMU firstly.
@vonzy would you be able to share the android VINS -- I am trying to make it work for android as well.
@TouqeerAhmad I have only modified VINS-Mobile to a linux cmake version, there's no VINS for android yet. I am glad my work may help you, if you need linux version, please leave your e-mail address.
@vonzy it would be great if you could share the VINS-Mobile for linux, it would be of great help. Thank in advance, here is my email.
@vonzy i'm working on VINS-mobile as well. Can you share with me your VINS-Mobile in Linux. I'll try to make it work on Android. It would be a great help to me. Thanks a lot, my email : [email protected]
@vonzy i have question on the pipeline how you to test VINS on your data. In fact, if i understand, you recorded your data from Android device, you put all of them into a bag, and test VINS with this bag? because i'm really new in ROS, so i have a difficulty how to generate a bag with a right format as VINS does?
@trinamntn08 I have sent to you, please check your inbox.
@vonzy 你好,我也想做一个android版的VINS,苦于没有ios设备调试,你可以把你的linux版的项目给我一个么,[email protected] 另外获取android的imu和摄像头数据的流程是什么,有文档么? 本来希望能用google的arcore,结果发现支持的手机太少,所以又回来看这个项目了。 曾经在iphone6上跑过 VINS-mobile,不知道是不是设备太差,效果并不好。。。
@PeiliangLi how can i test the time offset between Camera and IMU?Can you give some suggestion?
@qintonguav would you please sent your android project of vins-mono to me? I have worked several days to compile the third-party libraries for android, but encounted a lot of problems. My email is [email protected]. Thank you!
@qintonguav would you please sent your android project of vins-mono to me? I have worked several days to compile the third-party libraries for android, but encounted a lot of problems. My email is [email protected]. Thank you!
@jackyfriend Hi, I have been stuck in solving the compiling problem for a long time. Have you figured it out? Could you please send me your android project of vins-mono? Thank you very much in advance!