mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
HIL: only send attitude actuator group 0
This commit is contained in:
parent
6048f9beda
commit
808294b01a
@ -507,7 +507,7 @@ l_actuator_outputs(const struct listener *l)
|
||||
act_outputs.output[7]);
|
||||
|
||||
/* only send in HIL mode */
|
||||
if (mavlink_hil_enabled && armed.armed) {
|
||||
if (mavlink_hil_enabled && armed.armed && l->arg == 0) {
|
||||
|
||||
/* translate the current syste state to mavlink state and mode */
|
||||
uint8_t mavlink_state = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user