mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
commander move telemetry checks to new preflightcheck helper
This commit is contained in:
@@ -121,13 +121,13 @@ private:
|
|||||||
* Update the telemetry status and the corresponding status variables.
|
* Update the telemetry status and the corresponding status variables.
|
||||||
* Perform system checks when new telemetry link connected.
|
* Perform system checks when new telemetry link connected.
|
||||||
*/
|
*/
|
||||||
void poll_telemetry_status(bool checkAirspeed, bool *hotplug_timeout);
|
void poll_telemetry_status();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks the status of all available data links and handles switching between different system telemetry states.
|
* Checks the status of all available data links and handles switching between different system telemetry states.
|
||||||
*/
|
*/
|
||||||
void data_link_checks(int32_t highlatencydatalink_loss_timeout, int32_t highlatencydatalink_regain_timeout,
|
void data_link_checks(int32_t highlatencydatalink_loss_timeout, int32_t highlatencydatalink_regain_timeout,
|
||||||
int32_t datalink_loss_timeout, int32_t datalink_regain_timeout, bool *status_changed);
|
int32_t datalink_loss_timeout, int32_t datalink_regain_timeout, bool *status_changed);
|
||||||
|
|
||||||
// telemetry variables
|
// telemetry variables
|
||||||
struct telemetry_data {
|
struct telemetry_data {
|
||||||
|
|||||||
+244
-161
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user