mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
IO does not arm in HIL mode
This commit is contained in:
@@ -500,7 +500,8 @@ PX4IO::io_send()
|
||||
|
||||
// XXX relays
|
||||
|
||||
cmd.arm_ok = _armed.armed;
|
||||
/* armed and not locked down */
|
||||
cmd.arm_ok = (_armed.armed && !_armed.lockdown);
|
||||
|
||||
ret = hx_stream_send(_io_stream, &cmd, sizeof(cmd));
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user