Commit Graph

68 Commits

Author SHA1 Message Date
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
Leonard Hall
6d5bc17c8e Copter: Add TKOFF_TH_MAX 2023-03-21 19:51:03 +09:00
Leonard Hall
24ade82d24 Copter: Fix takeoff with alt drift and wp_navalt_min set 2023-01-02 17:17:13 +09:00
Leonard Hall
b8547b4de6 Copter: Fix Auto Takeoff when complete_alt_cm is current altitude 2022-12-30 09:29:58 +09:00
Iampete1
55e72a9848 Copter: auto yaw re-work 2022-11-01 08:21:50 +09:00
Leonard Hall
4b20a2d5f1 Copter: Add control over throttle ramp time during take-off 2022-08-31 19:19:04 -04:00
Leonard Hall
427c64eff0 Copter: Replace set_throttle_takeoff with init_z_controller 2022-08-29 13:35:32 +09:00
Randy Mackay
658298ed1d Copter: auto takeoff may trigger terrain failsafe 2022-08-19 19:51:26 -04:00
Randy Mackay
553ad877f6 Copter: fix takeoff to terrain alt 2022-03-11 18:12:27 +09:00
Randy Mackay
759e2b1b55 Copter: rename auto_take_off_xx to auto_takeoff_xx 2022-03-11 18:12:27 +09:00
Leonard Hall
cf5565f17c Copter: tighten auto_takeoff_complete checks 2022-03-07 16:14:23 +09:00
Leonard Hall
fb6c3ebb72 Copter: auto and guided takeoff use postion controller 2022-03-07 16:14:23 +09:00
Josh Henderson
3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Randy Mackay
59d1af2716 Copter: guided takeoff supports autoyaw
allows both pilot controlled and externally controlled yaw control
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
Tatsuya Yamaguchi
6d7ef8f436 Copter: ignore pilot yaw during takeoff with option 2021-09-09 07:54:59 +09:00
bnsgeyer
ca007ee6f6 Copter: Allow Tradheli to spoolup in guided or auto mode 2021-08-23 12:26:00 +09:00
Andrew Tridgell
d89388c4cc Copter: use cleaned up APIs 2021-06-24 20:28:45 +10:00
Leonard Hall
3b0a870504 Copter: Rename set_yaw_target_to_current_heading 2021-05-26 16:03:05 +09:00
Leonard Hall
e294991b08 Copter: Fix before squash 2021-05-24 20:13:37 +10:00
Leonard Hall
caeaf7c047 Copter: Fix take off altitude 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
a780759221 Copter: minor format fixes 2021-05-12 17:16:00 +10:00
chobits
7b60ace18b Copter: fix takeoff drift if vehicle is not in origin 2021-05-03 20:10:39 -04:00
Leonard Hall
726074be91 Copter: Support Thrust Vector based navigation 2021-04-27 17:13:55 +09:00
James O'Shannessy
2a9affe517 ArduCopter: Remove unused fence floor enable function 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
Dr.-Ing. Amilcar do Carmo Lucas
92122e5133 Copter: automatically enable and disable floor fence on automated takeoff and landing 2021-03-05 14:52:46 +11:00
Patrick José Pereira
ffe356d597 ArduCopter: Simplify boolean expression
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-09 11:04:18 +09:00
Randy Mackay
ed7580e83c Copter: takeoff relaxes wpnav and pos control during spool up 2020-11-06 08:24:03 +09:00
Peter Barker
d87986ecdd Copter: move set_throttle_takeoff implementation into Mode
No callers except the mode objects, so move it.
2020-08-05 08:23:03 +09:00
Randy Mackay
90883624bc Copter: fix use of wp-navmin-alt 2020-03-11 10:39:18 +09:00
Bogdan Grigoruta
5183703243 Copter: move Mode::auto_takeoff_run to takeoff.cpp 2019-11-18 09:14:08 +09:00
Randy Mackay
5276e67cec Copter: minor format fix for takeoff.cpp 2019-11-11 17:19:28 +09:00
Peter Barker
676d75c391 Copter: correct namespacing of Copter modes
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.

This was done mechanically for the most part.

I've had to remove the convenience reference for ap as part of this.
2019-06-11 09:18:22 +09:00
Peter Barker
3c436b30f0 Copter: have takeoff.start() handle clearing i terms and setting land-complete 2019-05-15 18:24:26 +10:00
Pierre Kancir
caf925eda5 Copter: factorize arm or land check 2019-04-16 10:17:47 +09:00
Peter Barker
46a6f45e4a Copter: adjust for desired spool state and spool state renames 2019-04-14 12:18:03 +09:00
bnsgeyer
d949c80d54 Copter: tradheli replaces rotor_runup_complete with spool state 2019-04-08 09:42:21 +09:00
bnsgeyer
3869507839 Copter: Tradheli- removes suppression of hover_trim_roll on auto takeoff 2019-03-29 13:13:55 +11:00
Peter Barker
281dbfcef8 Copter: support send_extended_sys_state 2019-03-12 09:16:13 +09:00
Randy Mackay
717fb4d823 Copter: integrate AC_WPNav::get_speed rename to get_default_speed 2019-01-31 19:34:32 +09:00
Peter Barker
22f7f29045 Copter: move all of waypoint-takeoff into Mode namespace 2018-07-27 13:08:27 +10:00
Peter Barker
ff17c78c67 Copter: create Copter::Mode::_TakeOff subobject from takeoff_state 2018-06-26 09:11:21 +09:00
Peter Barker
7883582c65 Copter: move takeoff state into Mode class 2018-06-26 09:11:21 +09:00
Peter Barker
597e876953 Copter: clean up do_user_takeoff 2018-06-26 09:11:21 +09:00
Peter Barker
cff1969a29 Copter: make do_user_takeoff a member of Mode 2018-06-26 09:11:21 +09:00
Peter Barker
cb26ff64b3 Copter: current_mode_has_user_takeoff -> Mode::has_user_takeoff 2018-06-26 09:11:21 +09:00
Leonard Hall
9544b1763b Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +09:00
Peter Barker
b8c432b1a1 Copter: add option to disable GUIDED flight mode
Saves about 6kB of flash
2018-02-27 07:43:13 +09:00