ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
102 stars 50 forks source link

only update last received packet timestamp of system/location messages if the timestamp inside the packets are updated #79

Closed BluemarkInnovations closed 2 years ago

BluemarkInnovations commented 2 years ago

Check the timestamp of the system and location messages. Only update the last_*_ms value if the newly received packet has a different timestamp.

This should cover situations in which the flight controller keeps sending packets with the same information. Because it crashed? The current arm_status_check function won't detect such cases.