AR_Motors: fix prearm for omni outputs

This commit is contained in:
Mirko Denecke 2024-01-09 18:47:54 +01:00 committed by Randy Mackay
parent d2400ad39b
commit 6038a4d8c7
1 changed files with 2 additions and 1 deletions

View File

@ -494,7 +494,8 @@ bool AP_MotorsUGV::pre_arm_check(bool report) const
!have_throttle &&
!SRV_Channels::function_assigned(SRV_Channel::k_steering) &&
!SRV_Channels::function_assigned(SRV_Channel::k_scripting1) &&
!has_sail()) {
!has_sail() &&
!is_omni()) {
if (report) {
GCS_SEND_TEXT(MAV_SEVERITY_CRITICAL, "PreArm: no motor, sail or scripting outputs defined");
}