Synchronizing the data of 2 subdevices within 1 device.

5 vues (au cours des 30 derniers jours)
Niels
Niels le 16 Juin 2025
Commenté : Niels le 23 Juin 2025
I am currently trying to figure out how to Sync up my IMU data. Within this IMU there is an Accelerometer and Gyroscope that get data with 200Hz and an GNSS that gets data with 10Hz. The ultimate goal is using the script(when its done) for event detection. Within the GNSS data I get is a POSIX time and a 'timestamp[us]' in the IMU data is only the 'timestamp[us]. Does anyone have an idea on how I could manage to sync these two time variables so I can view real time events within matlab eventhough they have different frequencies.

Réponses (1)

Star Strider
Star Strider le 16 Juin 2025
I would copy both original data records to appropriate timetable arrays, and then use the synchronize function. It might be necessary to create POSIX time vlaues for the one that has only microseconds (IMU), so create the complete timestamp, or use only the 'seconds' data from the data (GNSS) with POSIX times.
  10 commentaires
Star Strider
Star Strider le 21 Juin 2025
@Niels -- Having the documentation for your instrumentation with respect to how it calculates and assigns the time data for both the IMU and GNSS records would help solve this.
Please post the relevant sections of the .pdf documentation, or the entire .pdf documentation if it is not voluminous (that is, fits the Answers file size limits).
Niels
Niels le 23 Juin 2025
Yeah that is where my issue started, the documentation that I have says nothing about the calculation or the gathering of the data from the device itself.. I've mailed the company trying to get anything like that tho.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits


Version

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by