Commit Graph

140 Commits

Author SHA1 Message Date
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
Randy Mackay 0b4e926215 Copter: fix ModeGuided::set_destination_posvel 2021-08-26 11:25:54 +09:00
bnsgeyer ca007ee6f6 Copter: Allow Tradheli to spoolup in guided or auto mode 2021-08-23 12:26:00 +09:00
Randy Mackay 8d0dd08312 Copter: minor format fix to guided mode 2021-08-13 12:04:36 +09:00
Leonard Hall 666c8214b6 Copter: support Control: Refactor to use Jerk 2021-08-11 17:07:29 +09:00
Leonard Hall 5c7b05f345 Copter: Guided: Add terrain following initialization. 2021-08-05 08:15:52 +09:00
Josh Henderson 6dce2e89c5 ArduCopter: guided auto_yaw_angle_rate timeout 2021-07-31 08:32:45 +09:00
Randy Mackay d39581f996 Copter: replace use of TERRAIN_MARGIN with WPNAV_TER_MARGIN 2021-07-21 16:03:44 +09:00
Leonard Hall 6d6ab89a72 Copter: Guided and Loiter mode returns Crosstrack error 2021-07-21 15:40:41 +09:00