Publish telemetry status on telemetry update and on heartbeat update events to avoid inducing heartbeat update latencies resulting in spurious telemetry link dropped detections. Makes overall state handling simpler

This commit is contained in:
Lorenz Meier
2014-08-17 10:58:28 +02:00
parent 5a5e1a976e
commit c3522f8592
3 changed files with 11 additions and 22 deletions
+2
View File
@@ -217,6 +217,8 @@ Mavlink::Mavlink() :
errx(1, "instance ID is out of range");
break;
}
_rstatus.type = TELEMETRY_STATUS_RADIO_TYPE_GENERIC;
}
Mavlink::~Mavlink()