Philipp Oettershagen
b3959fab2f
TECS: Do not even calculate integrator state if integrator gain is zero
7 years ago
Philipp Oettershagen
ccfba49971
TECS: Set the integrator output to zero if the gain is zero. Otherwise (e.g. after a climbout) it can happen that the integrator stays at a large constant value and thus distrubs the control loop
7 years ago
Daniel Agar
a80b3ab610
set MODULE define for each library
...
- this is needed for INFO, WARN, ERR messages when used within PX4
7 years ago
Daniel Agar
d6a3110918
visual studio build compatibility
7 years ago
Daniel Agar
e5952fadaf
cmake standalone build
7 years ago
Daniel Agar
ba2b9dfdd9
update matrix lib usage
7 years ago
Roman Bapst
7964820412
tecs.cpp: tecs initialisation fixes ( #411 )
...
- zero thrust integrator on initialisation, we already have a cruise throttle
variable
- if initialising from in_air condition set last throttle setpoint to
cruise throttle (_in_air ? throttle_cruise : 0.0f);
7 years ago
Daniel Agar
35bc2cfcd9
tecs and l1 switch to matrix math library ( #409 )
7 years ago
Paul Riseborough
1ddd94f237
tecs: Remove redundant code
...
The if() statement was there as provision to do something different with the speed demand derivative limits if an abnormal condition was present, however we have no basis for assigning different limits at this point in time.
7 years ago
Daniel Agar
8320c8ba14
TECS initialize throttle integrator at cruise if in air
7 years ago
CarlOlsson
dea0c8bb6a
tecs: fixed some typos
7 years ago
Daniel Agar
22a51c6afd
PX4_ISFINITE -> ISFINITE
7 years ago
Daniel Agar
9e13a2cb21
tecs move initialization
7 years ago
Daniel Agar
31a8e047d7
tecs one line setters and group
7 years ago
Daniel Agar
4f2d571c89
tecs fix code style
7 years ago
Paul Riseborough
79995b2c15
Create total energy control system implementation
...
This is a new, clean and streamlined variant of the mathematical derivation I created a few years ago.
7 years ago