Skip to content

Commit

Permalink
AR_Motors: fix prearm for omni outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkix committed Jan 9, 2024
1 parent eb10b81 commit 4a34db8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/AR_Motors/AP_MotorsUGV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 4a34db8

Please sign in to comment.