Commit Graph

287 Commits

Author SHA1 Message Date
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
Peter Barker e6ccaeb2c9 Copter: rename RTLAltType enumeration entries
removes redundant namespacing as this is enum class
2024-09-06 08:45:18 +10:00
Iampete1 e97569db8c copter: flowhold: move to constant dt filter and provide dt in runtime cutoff frequency update 2024-08-20 09:09:41 +10:00
Iampete1 c0d2c15ac8 Copter: autotune: allow access to autotune object and call through for disarm and aux function 2024-08-13 08:57:44 +09:00
Peter Barker 42cf3aed97 Copter: use HAL_PARACHUTE_ENABLED in place of PARACHUTE_ENABLED 2024-08-07 18:09:23 +10:00
Peter Barker 3c1021d208 Tools: add documentation for SIM_ENGINE_FAIL and SIM_ENGINE_MUL 2024-07-30 09:21:26 +09:00
Peter Barker 6881f42cba Copter: add a Mode method to disable crash check
prevents looking for specific modes in the crash checker
2024-07-30 09:21:26 +09:00
Randy Mackay efc7a9071a Copter: SmartRTL mode restores point if interrupted 2024-07-24 17:22:44 +10:00
Peter Barker 5f9abc0406 Copter: add and use private ModeAuto::option_is_enabled method 2024-07-17 17:55:42 +10:00
bnsgeyer a3463235f4 Copter: add comment for make_safe_ground_handling 2024-07-03 08:29:19 -04:00
bnsgeyer 0647444ee3 Copter: make safe spool down for tradheli in autotune mode 2024-07-03 08:29:19 -04:00
bnsgeyer a07b514ee8 Copter: allow tradheli inverted feature for stabilize, althold, loiter and auto modes 2024-07-02 08:39:33 +09:00
Peter Barker 1c5a026e3e Copter: ModeGuided: add an option_is_enabled method, use it 2024-05-29 13:11:58 +10:00
bnsgeyer a1a5647b7f Copter: change input_loiter_xxx to input_vel_xxx in sysid mode 2024-05-14 23:16:52 -04:00
bnsgeyer bbaf557457 Copter: implement suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer 9e4340ba33 Copter: change position controller method for making inputs 2024-05-14 23:16:52 -04:00
bnsgeyer 75d9163571 Copter: fixes for suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer f74ccd569a Copter: Added new input types for SID_AXIS parameter 2024-05-14 23:16:52 -04:00
bnsgeyer 1bf865e4eb Copter: add support for sysid of vel and pos loops 2024-05-14 23:16:52 -04:00
muramura 07a5f61782 Copter: Change from enum to class 2024-05-07 20:27:15 +09:00
Iampete1 5b9848c5e1 Copter: support `DO_RETURN_PATH_START` 2024-04-30 08:03:39 +09:00
Peter Barker b849fbbcca Copter: autoyaw: correct units returned by look_ahead_yaw
there are other methods on the autoyaw object which make it clear that they're working in cd, and others in there that work in degrees.  This method doesn't specify cd yet returns in that unit.

Change the method and state variable to store in degrees (as our naming standards suggest)
2024-04-11 10:24:58 +10:00
Iampete1 eadcf9b09e Copter: add `get_stopping_point` helper and pass stopping point to `jump_to_landing_sequence` 2024-04-02 11:11:59 +11:00
Peter Barker f4bb15d8cd ArduCopter: cope with AP_AVOIDANCE_ENABLED being false 2024-03-11 18:07:18 +11:00
Iampete1 52bffc4b4d Copter: Heli: ensure inverted flight only in supported modes 2024-03-05 10:24:06 +09:00
Peter Barker 7377b3f8f2 ArduCopter: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Randy Mackay 97ab37875e Copter: fix do-change-speed received during takeoff 2023-12-06 08:44:52 +09:00
Randy Mackay f1b404f889 Copter: minor comment fix 2023-12-06 08:44:52 +09:00
Iampete1 60816f4351 Copter: use base class AC_AttitudeControl object 2023-12-05 08:08:09 +09:00
Peter Barker 2be4c0e3f5 Copter: correct defines around using payload place functionality
we need support for the actual payload place flight behaviour as well as the navigation item support
2023-10-31 11:34:03 +11:00
Peter Barker 6b439bb2f3 ArduCopter: allow payload place to be compiled out of code 2023-10-27 14:15:53 +11:00
Peter Barker a820612fc9 Copter: payloadplace: fold methods back into caller
Co-authored-by: Leonard Hall <leonardthall@gmail.com>

these methods don't really add much, and prohibit future refactoring
2023-10-27 14:15:53 +11:00
Peter Barker af949590f8 Copter: remove unimplemented method declaration 2023-10-27 14:15:53 +11:00
Peter Barker e2157d8b9f Copter: remove un-needed PayloadPlace::run_should_run
make this look like the other handling, especially in terms of what we do if we shouldn't be running
2023-10-27 14:15:53 +11:00
Peter Barker 5820a9bc2f Copter: encapsulate PayLoadPlace state and methods into existing struct
... and make it a class
2023-10-27 14:15:53 +11:00
Peter Barker cc799d3d7e Copter: encapsulate auto takeoff into an ojbect
similar to the encapsulation of "user takeoff" into an object
2023-10-18 13:47:11 +11:00
Andrew Tridgell c452325de2 Copter: added AP_ExternalControl support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Shiv Tyagi 1c38be93c5 Copter: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Peter Barker 201e276f00 ArduCopter: avoid use of MINIMIZE_FEATURES define in Copter directory 2023-08-08 10:35:19 +10:00
Tatsuya Yamaguchi 30318b51f9 Copter: remove has_user_takeoff from ModeAuto class 2023-06-17 14:41:39 +10:00
Tatsuya Yamaguchi 10c3a70072 Copter: add has_user_takeoff in ZigZag mode 2023-06-14 13:28:41 +10:00
Peter Barker f33e5e7847 ArduCopter: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00
Randy Mackay 0d43a2bec4 Copter: RTL accepts do-change-speed commands 2023-04-20 21:39:57 +10:00
tzarjakob 97b7e8d1d0 ArduCopter: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
murata 8c1e2546d8 Copter: Add an element of NAV_CONTROLLER_OUTPUT to ZIGZAG mode 2023-03-26 20:02:14 +11:00
Leonard Hall 715bb6e705 Copter: Guided Yaw Fix 2023-03-21 08:23:12 +09:00
Peter Barker ade654b251 Copter: use AP_WINCH_ENABLED in place of WINCH_ENABLED 2023-03-03 20:59:06 +11:00
rishabsingh3003 7a8f8f7907 Copter: Obey loiter_ccw flag for loiter turns 2023-02-15 19:14:43 +11:00
murata 7a7f84adee Copter: Clarify the exclusion determination in the ENUM definition
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2023-02-07 08:20:01 +09:00
Leonard Hall dbe6a1e319 Copter: Payload Place enhancements 2022-12-31 12:29:31 +09:00