mavlink / c_uart_interface_example

Simple MAVLink to UART interface example for *nix systems
264 stars 257 forks source link

Timestamps reference #41

Open DanieleMarchisotti opened 1 year ago

DanieleMarchisotti commented 1 year ago

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.

julianoes commented 1 year ago

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

DanieleMarchisotti commented 1 year ago

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.