Andrew Tridgell
abba6395ad
AP_TECS: fixed spelling error
10 years ago
Andrew Tridgell
1552278fa3
AP_TECS: use aparm.stall_prevention
10 years ago
Andrew Tridgell
bf591b0008
AP_TECS: take load factor into account in min airspeed
...
this will push up minimum airspeed when turning
10 years ago
Andrew Tridgell
2b48434e60
AP_TECS: fixed throttle demand on underspeed
...
thanks to Philipp Oettershagen for finding this bug!
10 years ago
priseborough
d6508acfa5
AP_TECS : Prevent throttle undershoot after climb
...
If the plane was unable to achieve the climb and got significantly below the internal TECS demanded climb profile, the the PD term would be a large value at the top of climb, and would take some time to reduce due to the rate limiter. This meant that the integrator state could be pushed to a very low value and effectively cause the throttle to sit on the lower limit for longer than desired after levelling out.
10 years ago
Andrew Tridgell
b495905da5
AP_TECS: fixed some warnings
10 years ago
Andrew Tridgell
a6ca11facf
AP_TECS: allow zero throttle in flare for landing
11 years ago
Andrew Tridgell
6c1eed0a20
AP_TECS: bring in flare sink rate more slowly
...
this should reduce pitch overshoot in the flare
11 years ago
Andrew Tridgell
7547cd45f5
AP_TECS: bring the flare height rate demand in slowly
...
bring it in over 0.5s to give less of a bounce
11 years ago
Andrew Tridgell
500e20b08d
AP_TECS: make TECS aware of LAND_PITCH_CD
...
this makes the flare a bit smoother
11 years ago
Andrew Tridgell
68dd61c7c7
AP_TECS: added TECS_LAND_TCONST
...
this allows control of the time constant for landing in TECS. A lower
time constant gives tighter altitude control on landing approach
11 years ago
Andrew Tridgell
2297c6bcd2
AP_TECS: added TECS_LAND_SINK parameter
...
this controls the sink rate for the final stage of landing
11 years ago
Andrew Tridgell
7c4d31c481
AP_TECS: added TECS_PITCH_MAX and TECS_PITCH_MIN
...
this allows the TECS controlled pitch limits to be smaller than the
FBWA limits. It is common for a human pilot to want a bit more
discretion over pitch than you want the automatic controller to use
11 years ago
Andrew Tridgell
e24febec1b
AP_TECS: avoid a valgrind bug
11 years ago
Michael Day
312a2fc8dc
AP_TECS: Parameter TECS_LAND_SPDWGT allows custom landing speed weight.
11 years ago
Andrew Tridgell
a55c4e2296
AP_TECS: set target airspeed, not min/max airspeed, on landing
...
this seems to prevent ballooning of the altitude when we are in the
landing approach, and gives a much smoother landing
11 years ago
Michael Day
bd7e1b82e1
AP_TECS: Auto landing now takes throttle_nudge into account.
11 years ago
Michael Day
861690dea2
AP_TECS: New params LAND_ARSPD and LAND_THR auto-slowing landings.
...
Also controlling pitch by ignoring height error during landing.
This serves to keep the nose up.
11 years ago
Paul Riseborough
88b0364fcd
AP_TECS : Add protection for airspeed runaway due to pitch errors
11 years ago
Andrew Tridgell
9b8311580b
AP_TECS: update for AHRS API change
11 years ago
Paul Riseborough
9bbddb2f66
AP_TECS : Use NavEKF height and height rate data if available
11 years ago
Paul Riseborough
bc311542ab
AP_TECS : Fixed bug preventing accel launch detection when not using AS sensor
11 years ago
Paul Riseborough
585d61b960
AP_TECS : Reduce tendency to overspeed during climbout
...
The old code relies on the action of the integrator to raise the nose above the minimum pitch angle which depending on the model and the tuning can be too slow to correct. Biasing the pitch angle to climbout minimum will reduce the taken before an overspeed condition is corrected.
11 years ago
Andrew Tridgell
b096881f81
AP_TECS: added time to TECS messages
11 years ago
Andrew Tridgell
28a4b6ad9f
AP_TECS: update for AHRS API change
11 years ago
Andrew Tridgell
84336bc74e
AP_TECS: added initial flight_stage handling
11 years ago
Andrew Tridgell
3c967a9c71
AP_TECS: use a ahrs reference
...
saves a pointer access
12 years ago
Paul Riseborough
34f0af25cc
AP_TECS : Improvements and bug fixes to feed-forward throttle demand
...
This fixes a bug in the feed-forward throttle that prevented the bank to throttle compensation from working properly during descents.
It also adds bank to throttle compensation to the non-airspeed sensor throttle algorithm.
12 years ago
Andrew Tridgell
620d067ee1
AP_TECS: use ahrs EAS2TAS for true airspeed
12 years ago
Andrew Tridgell
fb0e48a25d
AP_TECS: adapt for new airspeed variable names
12 years ago
Paul Riseborough
66d60953df
TECS: added height update_pitch call
12 years ago
Paul Riseborough
2c5db9a165
TECS: added support for throttle nudging
12 years ago
Paul Riseborough
9c431b4a04
TECS: use altitude supplied by mainline code
...
this allows for use of ALT_OFFSET and ALT_MIX
12 years ago
Paul Riseborough
a694b781c7
AP_TECS: Add non airspeed sensor pitch to throttle mode lost during integration
12 years ago
Andrew Tridgell
87f6cc715d
AP_TECS: fixed parameter doc formatting
12 years ago
Paul Riseborough
8082122053
TECS-WIP : Fixed bug in initialisation of DT value
12 years ago
Andrew Tridgell
904e6b5b8f
AP_TECS: for _DT to at most 0.1
12 years ago
Andrew Tridgell
68232a10f9
AP_TECS: updates to use new aircraft parameter structure
12 years ago
Paul Riseborough
5b0129e02b
AP_TECS: first implemention of TECS altitude control library
12 years ago