uavcan: esc: fix actuator test on uavcan ESCs that consume ArmingStatus (#26255)

* uavcan esc: remove unused includes

* uavcan arming_status: disarm when terminated

To stay consistent with kill.

* uavcan: publish armed during actuator tests to make it possible spinning motors
This commit is contained in:
Matthias Grob
2026-01-13 10:57:54 -09:00
committed by GitHub
parent 46d9b14ba0
commit 473ef5fd06
7 changed files with 13 additions and 10 deletions
+4
View File
@@ -969,6 +969,10 @@ UavcanNode::Run()
}
}
#if defined(CONFIG_UAVCAN_OUTPUTS_CONTROLLER)
_arming_status_controller.setActuatorTestRunning(_mixing_interface_esc.isActuatorTestRunning());
#endif
perf_end(_cycle_perf);
pthread_mutex_unlock(&_node_mutex);