mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 09:20:35 +08:00
Do not enable hil for high latency mavlink
This commit is contained in:
@@ -859,7 +859,7 @@ Mavlink::set_hil_enabled(bool hil_enabled)
|
||||
int ret = OK;
|
||||
|
||||
/* enable HIL */
|
||||
if (hil_enabled && !_hil_enabled) {
|
||||
if (hil_enabled && !_hil_enabled && (_mode != MAVLINK_MODE_IRIDIUM)) {
|
||||
_hil_enabled = true;
|
||||
configure_stream("HIL_ACTUATOR_CONTROLS", 200.0f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user