Randy Mackay
553ad877f6
Copter: fix takeoff to terrain alt
3 years ago
Randy Mackay
759e2b1b55
Copter: rename auto_take_off_xx to auto_takeoff_xx
3 years ago
Leonard Hall
cf5565f17c
Copter: tighten auto_takeoff_complete checks
3 years ago
Leonard Hall
fb6c3ebb72
Copter: auto and guided takeoff use postion controller
3 years ago
Josh Henderson
3107c42fca
Copter: INAV rename for neu & cm/cms
3 years ago
Randy Mackay
59d1af2716
Copter: guided takeoff supports autoyaw
...
allows both pilot controlled and externally controlled yaw control
3 years ago
Leonard Hall
5d5ccc8c78
Copter: Update ACRO to use rate parameters and update expo function
3 years ago
Tatsuya Yamaguchi
6d7ef8f436
Copter: ignore pilot yaw during takeoff with option
3 years ago
bnsgeyer
ca007ee6f6
Copter: Allow Tradheli to spoolup in guided or auto mode
4 years ago
Andrew Tridgell
d89388c4cc
Copter: use cleaned up APIs
4 years ago
Leonard Hall
3b0a870504
Copter: Rename set_yaw_target_to_current_heading
4 years ago
Leonard Hall
e294991b08
Copter: Fix before squash
4 years ago
Leonard Hall
caeaf7c047
Copter: Fix take off altitude
4 years ago
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
4 years ago
Leonard Hall
a780759221
Copter: minor format fixes
4 years ago
chobits
7b60ace18b
Copter: fix takeoff drift if vehicle is not in origin
4 years ago
Leonard Hall
726074be91
Copter: Support Thrust Vector based navigation
4 years ago
James O'Shannessy
2a9affe517
ArduCopter: Remove unused fence floor enable function
4 years ago
James O'Shannessy
f228adfa75
ArduCopter: Improve auto-enable/disable of fence
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
92122e5133
Copter: automatically enable and disable floor fence on automated takeoff and landing
4 years ago
Patrick José Pereira
ffe356d597
ArduCopter: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Randy Mackay
ed7580e83c
Copter: takeoff relaxes wpnav and pos control during spool up
4 years ago
Peter Barker
d87986ecdd
Copter: move set_throttle_takeoff implementation into Mode
...
No callers except the mode objects, so move it.
5 years ago
Randy Mackay
90883624bc
Copter: fix use of wp-navmin-alt
5 years ago
Bogdan Grigoruta
5183703243
Copter: move Mode::auto_takeoff_run to takeoff.cpp
5 years ago
Randy Mackay
5276e67cec
Copter: minor format fix for takeoff.cpp
5 years ago
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.
6 years ago
Peter Barker
3c436b30f0
Copter: have takeoff.start() handle clearing i terms and setting land-complete
6 years ago
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
6 years ago
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
6 years ago
bnsgeyer
3869507839
Copter: Tradheli- removes suppression of hover_trim_roll on auto takeoff
6 years ago
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
6 years ago
Randy Mackay
717fb4d823
Copter: integrate AC_WPNav::get_speed rename to get_default_speed
6 years ago
Peter Barker
22f7f29045
Copter: move all of waypoint-takeoff into Mode namespace
7 years ago
Peter Barker
ff17c78c67
Copter: create Copter::Mode::_TakeOff subobject from takeoff_state
7 years ago
Peter Barker
7883582c65
Copter: move takeoff state into Mode class
7 years ago
Peter Barker
597e876953
Copter: clean up do_user_takeoff
7 years ago
Peter Barker
cff1969a29
Copter: make do_user_takeoff a member of Mode
7 years ago
Peter Barker
cb26ff64b3
Copter: current_mode_has_user_takeoff -> Mode::has_user_takeoff
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Peter Barker
b8c432b1a1
Copter: add option to disable GUIDED flight mode
...
Saves about 6kB of flash
7 years ago
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Peter Barker
2db09ba0f7
Copter: FlightMode - convert GUIDED flight mode
7 years ago
ChrisBird
caaeae3d0a
Copter: Separate max ascent and descent speeds
...
Added equivalent parameters to WPNAV_SPEED_UP and WPNAV_SPEED_DN
New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN
Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).
Flight Modes impacted:
ALTHOLD
AUTOTUNE
CIRCLE
LOITER
POSHOLD
SPORT
TAKEOFF
Update a section in GUIDED mode but I don't think it is ever used but update just in case.
It will use the PILOT_SPEED_UP for ascending max velocity. For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.
7 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
89c10a2db9
Copter: rename WP_TKOFF_NAV_ALT to WP_NAVALT_MIN
...
this is in preparation for using the same parameter for landing as
well
9 years ago
Andrew Tridgell
3a8ed06267
Copter: added TKOFF_NAV_ALT parameter
...
this adds TKOFF_NAV_ALT which controls the altitude above takeoff that
navigation can begin. It is meant for unstable vehicles such as helis
to prevent blade strike during initial takeoff.
This also adds a new parameter class ParametersG2 which can hold 64
parameters. This is to avoid running out of parameters in the first
256 block
9 years ago