Andy Piper
877f98e547
Copter: keep manual throttle mix at zero throttle when airmode is on
...
allow landing detection in airmode
increase landing detection timeout in airmode.
3 years ago
Leonard Hall
7369d18abf
Copter: Force Flying check for Heli
3 years ago
Leonard Hall
23711b7b10
Copter: Add support for Force Flying
3 years ago
Josh Henderson
3107c42fca
Copter: INAV rename for neu & cm/cms
3 years ago
Bill Geyer
8ef88fb98e
Copter: add collective stick low flag to catch bad setups for land detector
3 years ago
Bill Geyer
3926b56df0
Copter: change method name to get_below_land_min_coll
3 years ago
Bill Geyer
d0d6457b31
Copter: fix tradheli landing detector bug
3 years ago
Josh Henderson
46ec70f9fc
Copter: use vector.xy().length() instead of norm(x,y)
3 years ago
Leonard Hall
e294991b08
Copter: Fix before squash
4 years ago
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
4 years ago
chobits
28fbc73fb6
Copter: fix build error when landinggear disabled
4 years ago
TunaLobster
1bda79dd72
ArduCopter: loosen motion based landing detection when WoW is present
4 years ago
TunaLobster
444b33b059
ArduCopter: add WoW to Copter landing check
4 years ago
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
4 years ago
Iampete1
447af29ef1
Copter: add yaw imbalance check
4 years ago
bnsgeyer
c75848435e
Copter: fix heli land detector and incoporate reset_I_smoothly
4 years ago
bnsgeyer
42b4fd6e0a
Copter: change heli integrator management and add hover coll learning
4 years ago
Andy Piper
8d2f2443a2
Copter: add air mode aux function
5 years ago
Randy Mackay
64360f263c
Copter: land detector allows larger lean angle request in land mode
5 years ago
Randy Mackay
7565e9d75d
Copter: update_throttle_mix uses filtered accelerations
5 years ago
Randy Mackay
9a32b3bdd9
Copter: rename update_throttle_mix
...
was called update_throttle_thr_mix
also minor formatting fixes
5 years ago
Peter Barker
ce5f23810b
ArduCopter: log disarm method
5 years ago
Peter Hall
61810d69aa
Copter: set_likely_flying in vehicle
5 years ago
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
5 years ago
Leonard Hall
e7f94fc810
Copter: limit ATC_MOT_MIX_MAX in case of a fly away
5 years ago
Leonard Hall
50a098c359
Copter: Standby functions
5 years ago
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
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
Leonard Hall
54a59f581f
Copter: add motor thrust lost check
6 years ago
night-ghost
adcc309f15
Copter: allow AP_Stats to be optional
7 years ago
Peter Barker
996115c0d3
Copter: eliminate MAIN_LOOP_SECONDS macro
7 years ago
Randy Mackay
b47d575f65
Copter: minor spelling fix
...
non-functional change
7 years ago
Peter Barker
7b637334f4
Copter: eliminate mode_has_manual_throttle
7 years ago
Peter Barker
a4859e13c1
Copter: eliminate mode_allows_arming
7 years ago
Peter Barker
527a536b78
Copter: FlightMode - remove function parameters
...
Use current control_mode in place of parameters
Once conversion is complete these functions will disappear
7 years ago
Andrew Tridgell
9d7ed495da
Copter: call set_likely_flying()
8 years ago
Leonard Hall
36b6218e31
Copter: integrate attitude control's set-throttle-mix-manual
8 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
Peter Barker
d2b7749af3
Copter: AP_Stats flighttime
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
06154fc4ab
Copter: use rangefinder to prevent auto-disarm in the air
...
only consider the vehicle to be landed if either no rangefinder or
rangefinder shows an altitude below 2m
9 years ago
Andrew Tridgell
e4564de837
Copter: fixed heli criterion for unsetting land_complete
...
in order to honor H_LAND_COL_MIN we need to check if we have reached
the throttle lower limit
9 years ago
Andrew Tridgell
a67b9372fd
Copter: check that climb rate is low in landing detector
...
this fixes an issue where a vehicle may still be descending rapidly
and trigger the landing detector. See the log for Robs heli.
9 years ago
Leonard Hall
3b7658c502
Copter: land and crash detector use thrust angle error
...
The thrust angle error is the difference between our desired thrust vector
and the actual thrust vector
Also some changes to use definitions in place of constants in the checks
9 years ago
Leonard Hall
e08e112c6d
Copter: land detector sets att vs thr priority in att controllers
9 years ago
Andrew Tridgell
86d8450666
Copter: use loop rate for copter
...
this allows for SCHED_LOOP_RATE below 400 in SITL for copter
9 years ago
Randy Mackay
0732ad3957
Copter: add comments to set_land_complete
9 years ago
Jonathan Challinger
747344a8ba
Copter: add disarm on land detect option to PILOT_THR_BHV
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago