Iampete1
d69d493ea6
AP_TECS: use float for get_throttle_demand
3 years ago
Andrew Tridgell
61d5910d0a
AP_TECS: mark logger Write() calls as streaming where appropriate
4 years ago
Andrew Tridgell
a789bb372b
AP_TECS: added get_max_sinkrate() API
4 years ago
Samuel Tabor
5865e010b0
AP_TECS: Ensure no throttle output if is_gliding flag is true when flying without airspeed.
4 years ago
TunaLobster
444c413803
AP_TECS: add missing letter in meta data
4 years ago
Samuel Tabor
fb8ec292cd
AP_TECS: Clarify TECS_THR_DAMP and TECS_LAND_TDAMP descriptions.
4 years ago
Peter Barker
d26b2a6f9a
AP_TECS: replace '@User: User' with '@User: Standard'
4 years ago
Tom Pittenger
8ae34a1977
AP_TECS: Don't fetch the land slewrate if it's not needed
...
Co-authored-by: WickedShell <Wicked.Shell.Scripts@gmail.com>
5 years ago
Samuel Tabor
bbe01adc7e
AP_TECS: Use LAND_THR_SLEW if appropriate.
5 years ago
Samuel Tabor
88d4aa34db
AP_TECS: Move the throttle rate limit code to ensure rate limit is respected when exiting takeoff stage.
5 years ago
Samuel Tabor
3228cc3309
AP_TECS: Update descriptions of pitch feed-forward parameters.
5 years ago
Samuel Tabor
d04c6cb02e
TECS: Don't override the speedweight to 0 if synthetic airspeed is in use.
5 years ago
Samuel Tabor
684ee11fc3
AP_TECS: Add flags to indicate gliding flight, and use these with AP_Soaring.
5 years ago
Samuel Tabor
dc8c062fbe
AP_TECS: Correct an error in the SEBdot FF term.
5 years ago
Samuel Tabor
247738518e
AP_TECS: Add a feed-forward term from adjusted demanded airspeed to nav pitch.
5 years ago
Samuel Tabor
a27c99fab9
AP_TECS: Return the adjusted demanded airspeed. The aspd_error mavlink message now shows the rate-limited airspeed.
5 years ago
Rishabh
eeb55f8b16
TECS: Logger documentation TimeUS fix
5 years ago
Peter Barker
2b5f15fe78
AP_TECS: add missing field documentation in TECS and TEC2
5 years ago
Henry Wurzburg
8155f5dcbf
AP_TECS: fix typos in logger message meta-data
5 years ago
Peter Barker
6c56f24e30
AP_TECS: add documentation for TECS and TEC2
5 years ago
Andrew Tridgell
176d3c0b2f
AP_TECS: added reset() method
...
used at end of VTOL takeoff
5 years ago
Peter Hall
0afa144f80
AP_TECS: move to airspeed_estimate with pointer
5 years ago
Andrew Tridgell
a415423975
AP_TECS: removed TECS_LAND_PMIN
...
thanks to TunaLobster for pointing out that it is redundent
5 years ago
Andrew Tridgell
3e72538f07
AP_TECS: added TECS_LAND_PMIN for min pitch in flare
...
this is useful to narrow the range of available pitch after flare
5 years ago
Andrew Tridgell
4f243aca02
AP_TECS: prevent rapid changing of pitch limits on landing approach
...
when on landing approach we estimate time to flare based on two noisy
numbers, the vertical speed and height above ground. With noisy
rangefinders this can change rapidly, which resulted in the pitch
limit changing rapidly, leading to a porpoising movement
this limits the rate of change, and also prevents it coming down once
it has nosed up due to pending flare on approach
6 years ago
Andrew Tridgell
4fd3008b4e
AP_TECS: log pitch limits
6 years ago
Andrew Tridgell
3c8ed3d8e1
AP_TECS: fixed flare pitch limits
...
when limits are out of bounds
6 years ago
Andrew Tridgell
d72ded4a9e
AP_TECS: prevent numerical error with zero max throttle
6 years ago
Andrew Tridgell
587aa33617
AP_TECS: added TECS_OPTIONS
...
used for full-time glider
6 years ago
Andrew Tridgell
df0cc40bba
AP_TECS: allow TECS_PITCH_MAX to be negative
6 years ago
Peter Barker
c0f25a96fb
AP_TECS: move include of logger to .cpp file
6 years ago
Michael du Breuil
ca65b214af
AP_TECS: Include needed AP_Baro.h
6 years ago
Andrew Tridgell
c3545be8a1
AP_TECS: fixed a bug in changes from rate-limited to non-limited airspeed
...
The calculation of the non-limited airspeed rate demand used the last
non-limited airspeed, whereas it should have used the last adjusted
value. This led to a single frame spike in airspeed demand, which fed
through to a sudden change in pitch integrator.
6 years ago
Andrew Tridgell
6898ec5776
AP_TECS: prevent airspeed demand spikes causing large pitch changes
...
a short term spike in the derivative of speed demand could cause the
constraint on the pitch integrator to push the pitch integrator to
very low values, causing a sharp nose down which takes a long time to
recover from
6 years ago
Nathan E
9ae5ada82f
Correct AP_TECS.cpp typos per magicrub comments
...
poper changed to proper
6 years ago
Nathan E
24f3abde99
Update AP_TECS.cpp
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Andrew Tridgell
60ec695f55
AP_TECS: set default pitch max to 15
7 years ago
Andrew Tridgell
f3336fdb60
AP_TECS: removed dependency on soaring controller
7 years ago
Peter Barker
f0daf392a5
AP_TECS: use ins singleton
7 years ago
Peter Barker
ffcb9ce945
AP_TECS: use baro singleton
7 years ago
Andrew Tridgell
b6ecce8329
AP_TECS: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Peter Barker
22f1b5ed6f
TECS: support for units on fields
7 years ago
Andrew Tridgell
5bd92b4b7e
AP_TECS: improved support for VTOL transitions
7 years ago
Lucas De Marchi
61a629d766
AP_TECS: add static create method
7 years ago
JU Han
eebef857f1
AP_TECS: gain scaler K_STE2Thr multiplies by (THRmax - THRmin)
...
Makes both feed forward and feed-back consistent
8 years ago
Andrey Kolobov
5fdebe23cc
AP_TECS: disable bad descent for soaring
8 years ago
akolobov
a3f3097941
AP_TECS: added function to reset integrator
8 years ago
Michael du Breuil
666c63da9f
AP_TECS: Update for AHRS NED changes
8 years ago