CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
sdsa_params.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2018 */
4/* */
5/*********************************************************************/
6/* Warsaw 2018 */
7/*********************************************************************/
8/* */
9/* File: sdsa_params.h */
10/* */
11/* Written by: T.Grabowski */
12/* */
13/* Contents - declaration of file with parameters for batch mode */
14/* */
15/*********************************************************************/
16/* */
17/* */
18
19#ifndef _SDSA_PARAMS_H_
20#define _SDSA_PARAMS_H_
21
22#include "iofun.h"
23
40
41class SDSA_PARAMS : public IOFUN
42{
43 public:
44
45 double dH0;
46 double dH1;
47 double dDH;
48 double dV0;
49 double dV1;
50 double dDV;
51 double dDA;
53 int iAero;
54
55 int iLQR;
59 int iSAS_h;
60 int iSAS_a;
61 int iSAS_r;
62 int iAct_h;
63 int iAct_a;
64 int iAct_r;
65
66 char OutFile[256];
67
68 SDSA_PARAMS( void );
69 ~SDSA_PARAMS( void );
70
72 void Clean();
74 int Read( char* ParFile );
76 int Write( char* ParFile );
77};
78
79#endif
80
Simple I/O functions class.
Definition iofun.h:42
Parameters file for SDSA program to run SDSA in batch mode.
Definition sdsa_params.h:42
double dDH
step of hight of flight taken into the analysis
Definition sdsa_params.h:47
int Read(char *ParFile)
reads parameters file
int iSAS_r
SAS in rudder channel - flag (0-1)
Definition sdsa_params.h:61
double dV1
upper bound of airspeed taken into the analysis
Definition sdsa_params.h:49
int iAct_r
Actuator model in rudder channel - flag (0-1)
Definition sdsa_params.h:64
int iPilot_a
pilot in the loop in aileron channel - flag (0-1)
Definition sdsa_params.h:57
int iAct_h
Actuator model in elevator channel - flag (0-1)
Definition sdsa_params.h:62
int iLQR
LQR flag (0-1)
Definition sdsa_params.h:55
void Clean()
cleans local variables
int iAct_a
Actuator model in aileron channel - flag (0-1)
Definition sdsa_params.h:63
int iAero
number of aerodynamic data (1/2)
Definition sdsa_params.h:53
double dDA
aileron deflection [deg] (for roll response characteristics, must be grater than 0)
Definition sdsa_params.h:51
int Write(char *ParFile)
writes parameters file
int iSAS_h
SAS in elevator channel - flag (0-1)
Definition sdsa_params.h:59
char OutFile[256]
pathname of output file
Definition sdsa_params.h:66
int iSAS_a
SAS in aileron channel - flag (0-1)
Definition sdsa_params.h:60
double dH1
upper bound of hight of flight taken into the analysis
Definition sdsa_params.h:46
double dDV
step of airspeed taken into the analysis
Definition sdsa_params.h:50
int iPilot_h
pilot in the loop in elevator channel - flag (0-1)
Definition sdsa_params.h:56
int iPilot_r
pilot in the loop in rudder channel - flag (0-1)
Definition sdsa_params.h:58
int iSpeedType
airspeed type (0-TAS, 1-CAS)
Definition sdsa_params.h:52
double dV0
lower bound of airspeed taken into the analysis
Definition sdsa_params.h:48
double dH0
lower bound of hight of flight taken into the analysis
Definition sdsa_params.h:45
This file contains some smart I/O functions.