c_uart_interface_example icon indicating copy to clipboard operation
c_uart_interface_example copied to clipboard

Timestamps reference

Open DanieleMarchisotti opened this issue 2 years ago • 2 comments
trafficstars

In ardupilot_interface.cpp the timestamps of MavLink messages can be obtained with "current_messages.time_stamps". Which is the reference of these timestamps? Are they directly referred to GPS timestamp or they are referred to the internal clock of the autopilot? I refer to outdoor conditions with optimal GPS signal.

DanieleMarchisotti avatar May 05 '23 15:05 DanieleMarchisotti

Can you give some context of the problem you're having? I don't quite understand the technicalities otherwise.

julianoes avatar May 05 '23 21:05 julianoes

I need to the autopilot data labeled with GPS timestamps to have data aligned with another system that has data referred to GPS timestamp. Anyway, I was able to solve the problem by reading the SYSTEM_TIME message.

DanieleMarchisotti avatar May 09 '23 08:05 DanieleMarchisotti