I am working on a Visual Inertial odometry project using the OpenCV library.
The aim of the project is to use Arduino for inertial measurements and my laptop webcam as a monocular camera sensor. I have already set up a project for receiving camera frames directly from the webcam and now I have set up the PlatformIO project to receive the IMU data from Arduino. Now I want to import the IMU data from the PlatformIO project to my camera project environment to perform the sensor fusion. Is there any tutorial or guide which I can follow to solve such problems? In the end, the final project should collect the data from IMU and Camera at specified time steps. Thank you in advance for your help and suggestions.