Debian Codegraph @

test_suite/unit_tests/Autopilot/testPidControllerData.hxx

raw
1 #pragma once
2
3 #include <vector>
4
5 struct PidControllerInput
6 {
7 double vspeed_fps;
8 double reference;
9 };
10
11 struct PidControllerOutput
12 {
13 double output;
14 };
15
16 // Define sequence of input values. These are the values actually used with
17 // Harrier-GR3 when startup_current=true, but we use the same inputs for
18 // startup_current=false also.
19 //
20 extern std::vector<PidControllerInput> pidControllerInputs;
21
22 // Expected output when startup_current is false (the default old behaviour).
23 //
24 // Note the large transient at the start which messes up the initial behaviour.
25 //
26 extern std::vector<PidControllerOutput> pidControllerOutputs0;
27
28 // Expected output when startup_current is true (the new improved behaviour).
29 //
30 extern std::vector<PidControllerOutput> pidControllerOutputs1;