Commit Graph

148 Commits

Author SHA1 Message Date
Randy Mackay 0bcff6cec0 Copter: support set_posvelaccel_offset in auto
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Iampete1 a4753f32ac Copter: guided: `set_angle` call `init_z_controller` when changing from thrust to climb rate control to avoid flow of control error 2024-09-24 22:50:44 +10:00
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
Andy Piper 738586342c Copter: notify when fence breach has cleared
output fence breach type
when switching mode without a fence action do not go into manual recovery
only recover if there is a fence action
implement auto-takeoff fence options
output user-friendly fence names
auto-enable fences on auto-takeoff
use fence enable_configured()
simplify message printing
2024-07-24 08:24:06 +10:00
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Leonard Hall b45b07d539 Copter: Fix rate input frame and clarify SET_ATTITUDE_TARGET 2024-06-26 11:22:54 +10:00
muramura da3a9c1cc6 Copter: Enable processing 2024-06-11 09:17:59 +10:00
muramura 5107cb495a Copter: Change the sub-mode description 2024-06-11 09:14:31 +10:00
Peter Barker 1c5a026e3e Copter: ModeGuided: add an option_is_enabled method, use it 2024-05-29 13:11:58 +10:00
Peter Barker fcebd0c8c2 Copter: avoid Guided submode change unless can change Loc to Vec-from-origin
ordering problem between changing the submode and setting a valid position
2024-05-22 17:10:12 +09:00
Randy Mackay 6f6bc21e2e Copter: guided mode fix for landing detector internal error 2024-04-23 15:11:24 +09:00
Leonard Hall 609013876e Copter: Guided Angle: Initialize yaw to current yaw. 2024-03-25 10:19:56 +09:00
Peter Barker cb76ce534b ArduCopter: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Peter Barker 7377b3f8f2 ArduCopter: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +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
muramura 8f13826383 Copter: Remove code that will never be executed 2023-08-11 12:46:06 -07:00
arshPratap 5f17e33b39 AP_Arming: Added DDS Method for Arming/Disarming 2023-08-11 13:35:49 +10:00
Stephen Dade b23f5e380c Copter: Allow arming in guided mode from scripting 2023-02-21 22:32:32 +11:00
Leonard Hall 502989d5f3 Copter: Update use of input_vel_accel_z 2022-12-30 20:25:58 +09:00
Gone4Dirt 66a4ba6256 Copter: add yaw weathevaneing mode 2022-12-14 16:08:20 -05:00
Peter Barker c32a11f37a ArduCopter: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Iampete1 e0b6145997 Copter: auto yaw fix issues after testing 2022-11-01 08:21:50 +09:00
Iampete1 55e72a9848 Copter: auto yaw re-work 2022-11-01 08:21:50 +09:00
Leonard Hall 427c64eff0 Copter: Replace set_throttle_takeoff with init_z_controller 2022-08-29 13:35:32 +09:00
Leonard Hall 7dd196c7ea Guided Mode support MAV_CMD_DO_CHANGE_SPEED 2022-08-02 10:26:58 +10:00
Iampete1 1b160205ab ArduCopter: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Randy Mackay f6166906e0 Copter: guided mode takeoff failure leaves submode unchanged 2022-03-24 19:24:25 +09:00
m f0e1b3eb9f Copter: Pause/Continue in AUTO and GUIDED modes with SCurves 2022-03-08 13:12:36 +09:00
Leonard Hall 670af8d469 Copter: Add pause in guided mode 2022-03-08 13:12:36 +09:00
Leonard Hall fb6c3ebb72 Copter: auto and guided takeoff use postion controller 2022-03-07 16:14:23 +09:00
Andy Piper 11a5c8d2a4 Copter: nuke clang warnings 2022-03-03 16:34:14 +11:00
Shiv Tyagi c1dafae84a Copter: separate logging for position and attitude targets in guided mode
We now log position and attitude targets in guided mode separately. Earlier we were using same messages for both which was causing some confusion in field names
2022-01-26 21:36:48 +09:00
Leonard Hall f9a4c86ad6 Copter: Guided add rate logging 2022-01-19 18:03:17 +11:00
Leonard Hall fd8c180f57 Copter: Support MAVLINK_MSG_ID_SET_ATTITUDE_TARGET 2022-01-19 18:03:17 +11:00
Leonard Hall b4ec303d74 Copter: Guided: When yaw is not specified use default yaw behaviour. 2022-01-04 08:52:31 +09:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Josh Henderson 6b871fba55 ArduCopter: inav funcs use _xy() 2021-11-30 10:08:07 +11:00
Josh Henderson 29ebb9be60 Copter: get_bearing & get_horizontal_distance use Vector2f 2021-11-30 10:08:07 +11:00
Peter Barker 32f959f26f ArduCopter: remove unused GUIDED_LOOK_AT_TARGET_MIN_DISTANCE_CM define 2021-11-29 15:09:00 +11:00
Josh Henderson 3642b14a0b ArduCopter: Guided pos_control_run add yaw_rate timeout 2021-10-13 09:46:24 +11:00
Pierre Kancir 73ff525a30 Copter: fix takeoff end report on EXTEND_STATE
regression from https://github.com/ArduPilot/ardupilot/pull/18700.
thanks to @arduouspilot on discuss to notice this, see https://discuss.ardupilot.org/t/extended-sys-state-never-changes-once-guided-takeoff-is-started/76996/3
2021-10-12 16:59:39 -04:00
Randy Mackay d4ff180b29 Copter: guided mode remains in takeoff submode longer 2021-09-28 00:17:25 +09:00
Leonard Hall 5d5ccc8c78 Copter: Update ACRO to use rate parameters and update expo function 2021-09-23 20:03:53 +09:00
Randy Mackay e0dd294806 Copter: guided supports using wpnav to reach position targets 2021-09-13 07:49:16 +09:00
Randy Mackay 396ab6f50e Copter: remove unused set_desired_velocity_with_accel_and_fence_limits 2021-09-13 07:49:16 +09:00
Randy Mackay c7a38b2dff Copter: comment fixup for GUIDED_OPTIONS accessors 2021-09-13 07:49:16 +09:00
Leonard Hall f3dc47ce3d Copter: Add units to the AC_AttitudeControl Library 2021-09-09 08:01:14 +09:00
Andrew Tridgell f7f63b715f Copter: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-07 18:55:00 +09:00
Randy Mackay af9a91c853 Copter: terrain spelling fix 2021-09-06 16:02:25 +09:00
Leonard Hall 5fea74d4d0 Copter: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00