Closed sacchinbhg closed 1 year ago
@goldbattle I tried software synchronisation that ROS Gives and even with that I get 50ms time delay. Is that the reason why this seems to not be working?
From the looks of it, you have having very large disparity. If the camera is stationary, then the disparity should be very small (not the 50-70 pixels your screenshot shows). Likely camera intrinsic are messed up, or there is something wrong with the tracking.
On Mon, Mar 6, 2023 at 7:45 AM Sacchin Sundar @.***> wrote:
@goldbattle https://github.com/goldbattle I tried software synchronisation that ROS Gives and even with that I get 50ms time delay. Is that the reason why this seems to not be working?
— Reply to this email directly, view it on GitHub https://github.com/rpng/open_vins/issues/313#issuecomment-1456067748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ6TYXIYBOIE4OI6LQB3VDW2XL63ANCNFSM6AAAAAAVQVS2C4 . You are receiving this because you were mentioned.Message ID: @.***>
From the looks of it, you have having very large disparity. If the camera is stationary, then the disparity should be very small (not the 50-70 pixels your screenshot shows). Likely camera intrinsic are messed up, or there is something wrong with the tracking. … On Mon, Mar 6, 2023 at 7:45 AM Sacchin Sundar @.> wrote: @goldbattle https://github.com/goldbattle I tried software synchronisation that ROS Gives and even with that I get 50ms time delay. Is that the reason why this seems to not be working? — Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ6TYXIYBOIE4OI6LQB3VDW2XL63ANCNFSM6AAAAAAVQVS2C4 . You are receiving this because you were mentioned.Message ID: @.>
This was due to the dataset not being stationary. After making it stationary this is the disparity I get
I dont think it is because of the high disparity that it never initialises. Should I make the rosbag in such a way that it initially is stationary and after some seconds starts moving? As of now I have a 10 min stationary camera + IMU dataset
PS: Thank you for such a prompt reply, really helps out when you are trying out stuff in a time crunch!
I encountered the same problem when using self-made Realsense T265 data. Wondering why it won't init successfully.
Enable a more verbosity and see what it is reporting. When initializing without dynamic initialization it relies on detecting a "jump" / "jerk" after it is picked up. This requires a threshold, which likely you need to tune to your specific IMU.
Take a look at the following if you are interested:
I have added some more clear messages here: https://github.com/rpng/open_vins/pull/318/commits/0145057f37dd54209906ff6ff985c971ac1bf516 Let me know if this provides insight / clarifies your problem.
Thank you so much, facing a bit of a hardware trouble right now. I will fix it and get back to you within the weekend.
Thank you for the prompt responses once again!!
Hi, so after a lot of tinkering along while using verbosity:-all I was finally able to initialise my setup. But now I get this error:
Does this mean I should run the Kallibr calibration again?
Do you have the bag that caused this? It seems maybe the messages are coming in out of order.
On Sun, Mar 19, 2023 at 8:08 AM Sacchin Sundar @.***> wrote:
Hi, so after a lot of tinkering along while using verbosity:-all I was finally able to initialise my setup. But now I get this error:
[image: image] https://user-images.githubusercontent.com/61612220/226174088-45a15ca7-deb6-4313-8bfb-06c01c5e6a20.png
Does this mean I should run the Kallibr calibration again?
— Reply to this email directly, view it on GitHub https://github.com/rpng/open_vins/issues/313#issuecomment-1475232464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ6TYVI33ZDXTYWDIYXOLLW43ZMDANCNFSM6AAAAAAVQVS2C4 . You are receiving this because you were mentioned.Message ID: @.***>
Do you have the bag that caused this? It seems maybe the messages are coming in out of order. … On Sun, Mar 19, 2023 at 8:08 AM Sacchin Sundar @.> wrote: Hi, so after a lot of tinkering along while using verbosity:-all I was finally able to initialise my setup. But now I get this error: [image: image] https://user-images.githubusercontent.com/61612220/226174088-45a15ca7-deb6-4313-8bfb-06c01c5e6a20.png Does this mean I should run the Kallibr calibration again? — Reply to this email directly, view it on GitHub <#313 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ6TYVI33ZDXTYWDIYXOLLW43ZMDANCNFSM6AAAAAAVQVS2C4 . You are receiving this because you were mentioned.Message ID: @.>
I do this is the bag.
Is this because of synchronisation issues maybe?
Thank you for all the help @goldbattle I was able to finally fix the issue after doing software synchronisation. For anyone using a Camera + Extrenal IMU, I suggest either do hardware or software synchronisation properly and then follow the Kalibr/Allan camchain calibration, OpenVINS etc. Otherwise you will keep facing many different issues.
When I run openVINS with a custom dataset using OAK-D Lite camera with a external BNO055 IMU I am never able to initialise and hence it never gives odometry values.
Here is what I keep receiving:
These are my yaml files:
IMU yaml file
cam-IMU chain yaml file
Is the problem the rate at which the camera images are coming? Or is it something to do with synchronisation?
EDIT: I think the problem is in how behind my data is. It shows that I am constantly behind by 50ms. Is there a way to reduce that? Should I be doing synchronisation?