From adac4631543f362b8c7c534eb6ed5db2439b858c Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 22 Aug 2022 13:44:39 +0900 Subject: [PATCH] AR_Motors: remove arming check to allow ackerman and skid-steering --- libraries/AR_Motors/AP_MotorsUGV.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libraries/AR_Motors/AP_MotorsUGV.cpp b/libraries/AR_Motors/AP_MotorsUGV.cpp index 7939b69e81..a74af18176 100644 --- a/libraries/AR_Motors/AP_MotorsUGV.cpp +++ b/libraries/AR_Motors/AP_MotorsUGV.cpp @@ -454,16 +454,6 @@ bool AP_MotorsUGV::output_test_pwm(motor_test_order motor_seq, float pwm) // returns true if checks pass, false if they fail. report should be true to send text messages to GCS bool AP_MotorsUGV::pre_arm_check(bool report) const { - // check if both regular and skid steering functions have been defined - if (SRV_Channels::function_assigned(SRV_Channel::k_throttleLeft) && - SRV_Channels::function_assigned(SRV_Channel::k_throttleRight) && - SRV_Channels::function_assigned(SRV_Channel::k_throttle) && - SRV_Channels::function_assigned(SRV_Channel::k_steering)) { - if (report) { - gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: regular AND skid steering configured"); - } - return false; - } // check if only one of skid-steering output has been configured if (SRV_Channels::function_assigned(SRV_Channel::k_throttleLeft) != SRV_Channels::function_assigned(SRV_Channel::k_throttleRight)) { if (report) {