![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
Tuning parameters for navigation, wind an variometer. More...
Go to the source code of this file.
Macros | |
| #define | MINIMUM_MAG_CALIBRATION_SAMPLES 6000 |
| #define | MAG_OFFSET_CHANGE_LIMIT 0.02f |
| #define | MAG_SCALE_CHANGE_LIMIT 0.02f |
| #define | CIRCLE_LIMIT (10 * 100) |
| 10 * 1/100 s delay into / out of circling state | |
| #define | ANGLE_F_BY_FS ( 1.0f / 0.5f / 100.0f) |
| #define | G_LOAD_F_BY_FS ( 1.0f / 0.25f / 100.0f) |
| #define | DEFAULT_VARIO_TC 2.0f |
| #define | DEFAULT_AVG_VARIO_TC 30.0f |
| #define | DEFAULT_WIND_TC 5.0f |
| #define | DEFAULT_WIND_AVG_TC 30.0f |
| #define | NEGLECTABLE_WIND 0.1f |
| #define | P_GAIN 0.03f |
| Attitude controller: proportional gain. | |
| #define | I_GAIN 0.00006f |
| Attitude controller: integral gain. | |
| #define | H_GAIN 38.0f |
| Attitude controller: horizontal gain. | |
| #define | M_H_GAIN 6.0f |
| Attitude controller: horizontal gain magnetic. | |
| #define | CROSS_GAIN 0.05 |
| Attitude controller: cross-product gain. | |
| #define | INDUCTION_ERROR 0.015 |
| Maximum std deviation to update earth induction parameters. | |
| #define | NAV_CORRECTION_LIMIT 5.0f |
| limit for "low AHRS correcting variable" | |
| #define | HIGH_TURN_RATE 8.0*M_PI/180.0f |
| turn rate high limit | |
| #define | LOW_TURN_RATE 1.0*M_PI/180.0f |
| turn rate low limit | |
| #define | SPEED_COMPENSATION_FUSIONER_FEEDBACK 0.998f |
| #define | USE_ACCELERATION_CROSS_GAIN_ALONE_WHEN_CIRCLING 1 |
| if 1: do not use induction to control attitude while circling | |
| #define | DISABLE_CIRCLING_STATE 0 |
| for tests only: never use circling AHRS algorithm | |
| #define | INDUCTION_STD_DEVIATION_LIMIT 0.03 |
| results outperforming this number will be used further on | |
| #define | AIRBORNE_TRIGGER_SPEED 0.5f |
| speed-compensator vario value m/s | |
| #define | MAG_SCALE 10000.0f |
| scale factor for high-precision integer statistics | |
| #define | FAST_SAMPLING_REQUENCY 100.0f |
| #define | FAST_SAMPLING_TIME 0.01f |
| #define | SLOW_SAMPLING_REQUENCY 10.0f |
| #define | SLOW_SAMPLING_TIME 0.1f |
| #define | GRAVITY 9.81f |
Tuning parameters for navigation, wind an variometer.
<Larus Flight Sensor Firmware>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file NAV_tuning_parameters.h.
speed-compensator vario value m/s
Definition at line 63 of file NAV_tuning_parameters.h.
Definition at line 35 of file NAV_tuning_parameters.h.
| #define CIRCLE_LIMIT (10 * 100) |
10 * 1/100 s delay into / out of circling state
Definition at line 32 of file NAV_tuning_parameters.h.
| #define CROSS_GAIN 0.05 |
Attitude controller: cross-product gain.
Definition at line 52 of file NAV_tuning_parameters.h.
| #define DEFAULT_AVG_VARIO_TC 30.0f |
Definition at line 40 of file NAV_tuning_parameters.h.
| #define DEFAULT_VARIO_TC 2.0f |
Definition at line 39 of file NAV_tuning_parameters.h.
| #define DEFAULT_WIND_AVG_TC 30.0f |
Definition at line 42 of file NAV_tuning_parameters.h.
| #define DEFAULT_WIND_TC 5.0f |
Definition at line 41 of file NAV_tuning_parameters.h.
| #define DISABLE_CIRCLING_STATE 0 |
for tests only: never use circling AHRS algorithm
Definition at line 60 of file NAV_tuning_parameters.h.
| #define FAST_SAMPLING_REQUENCY 100.0f |
Definition at line 66 of file NAV_tuning_parameters.h.
Definition at line 67 of file NAV_tuning_parameters.h.
Definition at line 36 of file NAV_tuning_parameters.h.
Definition at line 71 of file NAV_tuning_parameters.h.
| #define H_GAIN 38.0f |
Attitude controller: horizontal gain.
Definition at line 50 of file NAV_tuning_parameters.h.
turn rate high limit
Definition at line 55 of file NAV_tuning_parameters.h.
Attitude controller: integral gain.
Definition at line 49 of file NAV_tuning_parameters.h.
| #define INDUCTION_ERROR 0.015 |
Maximum std deviation to update earth induction parameters.
Definition at line 53 of file NAV_tuning_parameters.h.
| #define INDUCTION_STD_DEVIATION_LIMIT 0.03 |
results outperforming this number will be used further on
Definition at line 61 of file NAV_tuning_parameters.h.
turn rate low limit
Definition at line 56 of file NAV_tuning_parameters.h.
| #define M_H_GAIN 6.0f |
Attitude controller: horizontal gain magnetic.
Definition at line 51 of file NAV_tuning_parameters.h.
Definition at line 29 of file NAV_tuning_parameters.h.
| #define MAG_SCALE 10000.0f |
scale factor for high-precision integer statistics
Definition at line 65 of file NAV_tuning_parameters.h.
Definition at line 30 of file NAV_tuning_parameters.h.
| #define MINIMUM_MAG_CALIBRATION_SAMPLES 6000 |
Definition at line 28 of file NAV_tuning_parameters.h.
| #define NAV_CORRECTION_LIMIT 5.0f |
limit for "low AHRS correcting variable"
Definition at line 54 of file NAV_tuning_parameters.h.
Definition at line 43 of file NAV_tuning_parameters.h.
Attitude controller: proportional gain.
Definition at line 48 of file NAV_tuning_parameters.h.
| #define SLOW_SAMPLING_REQUENCY 10.0f |
Definition at line 68 of file NAV_tuning_parameters.h.
Definition at line 69 of file NAV_tuning_parameters.h.
Definition at line 57 of file NAV_tuning_parameters.h.
| #define USE_ACCELERATION_CROSS_GAIN_ALONE_WHEN_CIRCLING 1 |
if 1: do not use induction to control attitude while circling
Definition at line 59 of file NAV_tuning_parameters.h.