mavlink: store last heartbeat time in telemetry_status topic

This commit is contained in:
Anton Babushkin
2014-06-16 17:32:58 +02:00
parent 9772aa5814
commit 91f0b9eee4
2 changed files with 19 additions and 0 deletions
@@ -57,6 +57,7 @@ enum TELEMETRY_STATUS_RADIO_TYPE {
struct telemetry_status_s {
uint64_t timestamp;
uint64_t heartbeat_time; /**< Time of last received heartbeat from remote system */
enum TELEMETRY_STATUS_RADIO_TYPE type; /**< type of the radio hardware */
uint8_t rssi; /**< local signal strength */
uint8_t remote_rssi; /**< remote signal strength */