Skyward boardcore
Loading...
Searching...
No Matches
AirBrakesInterpConfig.h
Go to the documentation of this file.
1
/* Copyright (c) 2022 Skyward Experimental Rocketry
2
* Authors: Alberto Nidasio, Emilio Corigliano
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a copy
5
* of this software and associated documentation files (the "Software"), to deal
6
* in the Software without restriction, including without limitation the rights
7
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
* copies of the Software, and to permit persons to whom the Software is
9
* furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
* THE SOFTWARE.
21
*/
22
23
#pragma once
24
25
namespace
Boardcore
26
{
27
28
struct
AirBrakesInterpConfig
29
{
30
// Minimum altitude for the filter to consider
31
float
FILTER_MINIMUM_ALTITUDE
;
32
33
// Maximum altitude for the filter to consider
34
float
FILTER_MAXIMUM_ALTITUDE
;
35
36
// Normalized value [0-1] that represents the minimum filtering action that
37
// the applied filter can do.
38
float
STARTING_FILTER_VALUE
;
39
40
// Altitude after which the output should be the maximum extension
41
float
ABK_CRITICAL_ALTITUDE
;
42
43
// The delta in altitude between consequent trajectory points
44
float
DZ
;
45
46
// The mass correspondent to the first trajectory
47
float
INITIAL_MASS
;
48
49
// The delta in mass between consequent trajectory sets
50
float
DM
;
51
52
// Number of steps to look forward into the reference trajectories
53
uint16_t
N_FORWARD
;
54
};
55
56
}
// namespace Boardcore
Boardcore
This file includes all the types the logdecoder script will decode.
Definition
ActiveObject.h:31
Boardcore::AirBrakesInterpConfig
Definition
AirBrakesInterpConfig.h:29
Boardcore::AirBrakesInterpConfig::FILTER_MINIMUM_ALTITUDE
float FILTER_MINIMUM_ALTITUDE
Definition
AirBrakesInterpConfig.h:31
Boardcore::AirBrakesInterpConfig::FILTER_MAXIMUM_ALTITUDE
float FILTER_MAXIMUM_ALTITUDE
Definition
AirBrakesInterpConfig.h:34
Boardcore::AirBrakesInterpConfig::N_FORWARD
uint16_t N_FORWARD
Definition
AirBrakesInterpConfig.h:53
Boardcore::AirBrakesInterpConfig::DZ
float DZ
Definition
AirBrakesInterpConfig.h:44
Boardcore::AirBrakesInterpConfig::DM
float DM
Definition
AirBrakesInterpConfig.h:50
Boardcore::AirBrakesInterpConfig::STARTING_FILTER_VALUE
float STARTING_FILTER_VALUE
Definition
AirBrakesInterpConfig.h:38
Boardcore::AirBrakesInterpConfig::ABK_CRITICAL_ALTITUDE
float ABK_CRITICAL_ALTITUDE
Definition
AirBrakesInterpConfig.h:41
Boardcore::AirBrakesInterpConfig::INITIAL_MASS
float INITIAL_MASS
Definition
AirBrakesInterpConfig.h:47
src
shared
algorithms
AirBrakes
AirBrakesInterpConfig.h
Generated by
1.10.0