Commit Graph

268 Commits

Author SHA1 Message Date
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
Leonard Hall b8547b4de6 Copter: Fix Auto Takeoff when complete_alt_cm is current altitude 2022-12-30 09:29:58 +09:00
Leonard Hall d8f95208ad Copter: Auto: return bool in wp_start 2022-12-24 16:03:39 +09:00
Gone4Dirt 66a4ba6256 Copter: add yaw weathevaneing mode 2022-12-14 16:08:20 -05:00
Andy Piper bcabaf0e74 Copter: inform GCS that turtle mode is active 2022-11-23 08:26:34 +09:00
Peter Barker 15673f2aa7 Copter: remove SPRAYER_ENABLED define in favor of just HAL_SPRAYER_ENABLED 2022-11-15 08:45:42 +09:00
Iampete1 55e72a9848 Copter: auto yaw re-work 2022-11-01 08:21:50 +09:00
Andy Piper e97bb0c318 Copter: add turtle mode safety features. 2022-10-27 10:37:51 +09:00
Andrew Tridgell 8c4732210c Copter: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Leonard Hall 427c64eff0 Copter: Replace set_throttle_takeoff with init_z_controller 2022-08-29 13:35:32 +09:00
Stephen Dade 58cb4cbfb1 Copter: Make mode flowhold a build option via MODE_FLOWHOLD_ENABLED 2022-08-18 07:46:13 -04:00
Tamas Nepusz 5e7622d593 Copter: reserve mode number 127 and param group 62 for Skybrush 2022-08-09 13:22:07 +10:00
Iampete1 ac94ba33ff ArduCopter: params always use set method 2022-08-03 13:43:48 +01:00
Leonard Hall 7dd196c7ea Guided Mode support MAV_CMD_DO_CHANGE_SPEED 2022-08-02 10:26:58 +10:00
Leonard Hall 55658985cc Copter: Payload Place fix takeoff 2022-07-26 09:53:31 +10:00
RuffaloLavoisier 2172095e3f Copter : correct spelling on comment 2022-07-11 08:51:27 +09:00
Randy Mackay ca0ea39d4f Copter: land and payload place obey alt frame 2022-06-21 09:07:36 +09:00
Randy Mackay 5cde018198 Copter: auto does not require GPS during attitude_time commands 2022-05-31 07:50:16 +09:00
Randy Mackay ecad165f86 Copter: remove Auto mode's rare use of mode() method 2022-05-31 07:50:16 +09:00