Commit Graph

104 Commits

Author SHA1 Message Date
Pierre Kancir f590ab0676 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-16 20:43:55 +11:00
Randy Mackay 2fb790ae38 Copter: guided mode remains in takeoff submode longer 2021-10-08 13:14:09 +11:00
Randy Mackay c71b64af9d Copter: guided supports using wpnav to reach position targets 2021-10-08 13:14:09 +11:00
Randy Mackay 53e767ee77 Copter: remove unused set_desired_velocity_with_accel_and_fence_limits 2021-10-08 13:14:09 +11:00
Randy Mackay b6312d21a7 Copter: comment fixup for GUIDED_OPTIONS accessors 2021-10-08 13:14:09 +11:00
Andrew Tridgell aad82c1089 Copter: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-10 17:07:04 +10:00
Randy Mackay 82ef14a692 Copter: terrain spelling fix 2021-09-10 17:07:03 +10:00
Leonard Hall 8ce8ef14a8 Copter: Separate landing and terrain following. 2021-09-10 17:07:03 +10:00
Randy Mackay 54c4a9f88a Copter: fix ModeGuided::set_destination_posvel 2021-08-28 12:50:32 +10:00
bnsgeyer 026b026264 Copter: Allow Tradheli to spoolup in guided or auto mode 2021-08-28 12:50:32 +10:00
Leonard Hall 0d71950e41 Copter: support Control: Refactor to use Jerk 2021-08-14 16:41:52 +10:00
Leonard Hall 95601d42db Copter: Guided: Add terrain following initialization. 2021-08-14 16:41:52 +10:00
Josh Henderson e02f0f049a ArduCopter: guided auto_yaw_angle_rate timeout 2021-08-14 16:41:52 +10:00
Leonard Hall 6606ab4996 Copter: Guided and Loiter mode returns Crosstrack error 2021-07-22 16:01:01 +10:00
Andrew Tridgell efed331f8b Copter: replace use of TERRAIN_MARGIN with WPNAV_TER_MARGIN
# Conflicts:
#	ArduCopter/Parameters.cpp
#	ArduCopter/Parameters.h
#	ArduCopter/terrain.cpp
2021-07-22 16:01:01 +10:00
Randy Mackay f3c00024bc Copter: add TERRAIN_MARGIN parameter 2021-07-22 16:01:01 +10:00
Randy Mackay c9d256b45b Copter: add GUID_TIMEOUT for guided mode vel, accel and angle control 2021-07-22 16:01:01 +10:00
Leonard Hall 24f57b1daa Copter: Guided: move to zero velocity after takeoff 2021-07-22 16:01:01 +10:00
Leonard Hall 945af08fd0 Copter: Guided Angle init Z controller on time out 2021-07-22 16:01:01 +10:00
Leonard Hall 9abbc11c30 Copter: additional yaw modes and fixes 2021-07-22 16:01:01 +10:00
Leonard Hall 2df7e9551a Copter: Guided: use default yaw mode for all gps based sub modes. 2021-07-22 16:01:01 +10:00
Leonard Hall 03373c6962 Copter: Guided: make aircraft stop on accel time out 2021-07-22 16:01:01 +10:00
Leonard Hall 7defb6d3e6 Copter: Guided add terrain failsafe 2021-07-22 16:01:01 +10:00
Leonard Hall 9ce91211e2 Copter: Guided: support terrain following 2021-07-22 16:01:01 +10:00
Leonard Hall e6d248f41d Copter: Guided: fix waypoint track reporting 2021-07-22 16:01:01 +10:00
Leonard Hall 1e3c4d06c2 Copter: seperate kinimatic shaping from pid limit setting 2021-07-22 16:01:01 +10:00
Leonard Hall 8a23df951d Copter: Guided: use common initialisation 2021-07-22 16:01:00 +10:00
Leonard Hall e71c8c6446 Copter: Guided prevent takeoff without takeoff command. 2021-07-22 16:01:00 +10:00
Randy Mackay 97f2ecd06e Copter: guided accepts terrain alt position targets 2021-07-22 16:01:00 +10:00
Leonard Hall e91bc234ea Copter: support for acceleration-based AttitudeControl 2021-07-22 16:01:00 +10:00
Andrew Tridgell ae0a69fa85 Copter: update for new double precision position APIs 2021-07-04 08:19:11 +10:00
Andrew Tridgell b43c58f6c3 Copter: use cleaned up APIs 2021-07-04 08:19:11 +10:00
Leonard Hall e294991b08 Copter: Fix before squash 2021-05-24 20:13:37 +10:00
Leonard Hall 4bae8f03a4 Copter: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall 726074be91 Copter: Support Thrust Vector based navigation 2021-04-27 17:13:55 +09:00
Randy Mackay 5fcd2de4fa Copter: attitude target thrust-as-thrust bit moved from DEV_OPTIONS to GUID_OPTIONS 2021-04-20 09:56:38 +10:00
Peter Barker 5df8dd8c50 Copter: move guided submode enumeration into ModeGuided 2021-04-14 16:12:57 +09:00
Leonard Hall a29e2d8920 Copter: fix references to position error 2021-04-03 12:07:59 +09:00
Leonard Hall 328c0655e3 Copter: support for SCurves and position controller changes
wp_start provides next_dest_loc
send next_destination to wp_nav instead of setting fast_waypoint
fixup zigzag for S-curve changes
fixup guided
auto spline fixes
smart rtl rename of next_point to dest_NED
loc_from_cmd accepts default location
auto mode stops before starting land command
auto do_next_wp accepts default location
rename do_next_wp to set_next_wp
also rename get_spline_from_cmd argument
also improve failure to set next waypoint due to missing terrain data
also fixup comment in set_next_wp
also auto stops when moving from straight to spline segments
also auto mode spline fix
also auto mode calls AC_WPNav::set_spline_destination_next

Copter: AutoYaw provides rate from WPNav
2021-04-03 12:07:59 +09:00
Peter Barker d387ad9921 Copter: have allows_arming take a AP_Arming::Method rather than bool from_gcs
This API predates us having the arming methods being passed around.

This makes the calls look like Plane
2021-03-30 09:00:26 +09:00
Josh Henderson f65c4df358 ArduCopter: make Location(Vector3f) require ALTFRAME 2021-03-30 08:56:35 +09:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
chobits b7c937592e Copter: send mission_item_reached in guided 2021-03-09 10:04:24 +09:00
James O'Shannessy d055d7a581 ArduCopter: Cleanup - removes autoenabling of fence with AC_Fence parameter 2021-03-05 14:52:46 +11:00
James O'Shannessy a88f2721a8 ArduCopter: Use auto enable and auto disable from AC_Fence 2021-03-05 14:52:46 +11:00
James O'Shannessy f228adfa75 ArduCopter: Improve auto-enable/disable of fence 2021-03-05 14:52:46 +11:00
Mathias Bos b3b7f2d3d2 Copter: Remove yaw rate wrapping in guided mode. 2021-03-03 08:09:08 +09:00
Rishabh bd37eab3af Copter: Support 3D Simple Avoidance 2021-02-01 14:34:13 +09:00
Tatsuya Yamaguchi eab913646e Copter: fix ignore pilot yaw option for guided 2021-01-07 20:40:34 +09:00
Michael du Breuil f9b4e81702 Copter: Add ignore pilot yaw to guided, auto and RTL options 2020-11-19 07:22:54 +09:00