Getting acquisition time from Navio

Hello,
I am working on a project for drone attitude estimation, using some algorithms based on inertial values and a sequence of images, synchronized.
For now, I am using navio2 + Rpi3 to get sensors values. What I need also is to get the precise time of acquisition. I am working with Python, what I did now is to add an attribute to the class mpu9250 called ‘time_s’ which takes the value ‘time.time()’ when executing the function ‘read_all()’.
I need to know if there is another way to proceed or, perfectly, a way for getting time read directly from Navio.
Thanks.

This topic was automatically closed after 100 days. New replies are no longer allowed.