Commit Graph

25 Commits

Author SHA1 Message Date
Peter Barker 34b775259f Rover: remove handling of prearm empty-string case
it is clear by inspection that this string can never be empty when the called function returns false.  AP_OAPathPlanner::pre_arm_check is not that complicated!
2024-10-01 08:40:44 +09:00
Peter Barker ef82d8b8cc Rover: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Peter Barker 8bdd0294b8 Rover: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Michael du Breuil 5e44b2ea52 Rover: Support not sending a status text on state change 2023-10-25 09:39:51 -07:00
Jeevan K b670615b3a Rover: Comment typo fix in AP_Arming.cpp 2023-06-14 06:54:14 +10:00
Iampete1 779a5d1167 Rover: Arming: still run mandatory checks if ARMING_CHECK 0 2023-04-15 09:02:48 +10:00
Peter Barker 941bb6a45b Rover: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Henry Wurzburg 02932275ca Rover: move estop pre-arm to AP_Arming and add exception 2023-04-11 09:24:06 +10:00
Henry Wurzburg 09331259bf Rover: allow clearing mission in AUTO when disarmed 2023-03-28 09:43:42 +11:00
Iampete1 65a2ec5b6a Rover: use check_enabked hepler to always check if all bit is set 2023-01-24 11:09:51 +11:00
Peter Barker 082eb83f30 Rover: return true straight away in prearm checks if armed
mirrors equivalent clause in Plane
2022-08-17 17:44:48 +10:00
murata 65cfded501 Rover: Initialize a string array 2022-06-22 17:25:56 +10:00
Shiv Tyagi dbd6cd1a58 Rover: Copter: remove pilot_throttle_checks()
This method is redundant as radio_failsafe_check() takes care of below acceptable value of throttle.
2021-12-15 12:02:51 +09:00
Shiv Tyagi 1b8fc31fcd Rover : add pilot_throttle_checks() to check throttle failsafe
This adds pilot_throttle_checks to check for throttle failsafe and prevents arming if throttle failsafe is triggered
2021-10-30 15:47:53 +09:00
Randy Mackay 109d9f59a5 Rover: add torqeedo to pre-arm checks 2021-08-09 15:13:24 +09:00
Siddharth Purohit 694801254f Rover: do common gps arming checks first before moving on 2021-03-12 16:32:36 +09:00
James O'Shannessy cfb648e1c5 ArduRover: Remove fence_checks in AP_Arming because they are common across all vehicles now 2021-03-05 14:52:46 +11:00
Pierre Kancir c0348b034f Rover: use RC_CALIB_MIN_LIMIT_PWM and RC_CALIB_MAX_LIMIT_PWM 2021-02-10 18:48:06 +11:00
Randy Mackay f6da769de8 Rover: ahrs only checks position in modes that require it 2021-01-26 10:46:49 +11:00
Peter Barker 5001978704 Rover: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Randy Mackay 161d235c8b Rover: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Iampete1 653e5524f6 Rover: arming revert to single &
Using a single & here means that all checks are run even if the first fails. && would run only the first check and return if it fails.
2020-07-29 19:34:43 +09:00
Iampete1 47caf886b1 Rover: add arming check for windvane if sailing enabled 2020-07-29 08:51:28 +09:00
jbteja 300a118852 Rover: astyle, reformatted few files in Rover Dir 2020-05-25 10:45:38 +09:00
Peter Barker d31700c310 Rover: rename directory from APMrover2 2020-04-14 09:50:34 +09:00