Hello,
I have a question about this time_boot_ms value.
I retrieve the realtime rov location with : recv_match(type=‘GLOBAL_POSITION_INT’) and the time stamp it has is the ‘time_boot_ms’. I am wondering how I can relate this time to the real time accurately?
SYSTEM_TIME is a mavlink message, so you should use master.recv_match(type=‘SYSYEM_TIME’).to_dict()
For the SYSTEM_TIME message, I think the best way is to read the first SYSTEM_TIME and store both the time reported by it and time_boot_ms. With this you can calculate when the Pixhawk booted (let’s call it base_time) and then, to get the real time from a message you can just do base_time + time_boot_ms.