HIL: only send attitude actuator group 0

This commit is contained in:
Julian Oes 2013-12-02 23:03:52 +01:00
parent 6048f9beda
commit 808294b01a

View File

@ -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;