Project

General

Profile

Download (37.6 KB) Statistics
| Branch: | Tag: | Revision:
1
/* C code generated by lustrec
2
   Version number 1.5-701-unstable
3
   Code is C99 compliant
4
   Using (double) floating-point numbers */
5
   
6
#ifndef _FULLROSACE_BLOC
7
#define _FULLROSACE_BLOC
8

    
9
/* Imports standard library */
10
#include "/home/ploc/Local/include/lustrec/arrow.h"
11

    
12

    
13
/* Import dependencies */
14
#include "lustrec_math.h"
15

    
16
/* Types definitions */
17

    
18
/* Global constant (declarations, definitions are in C file) */
19
extern const double Ts_h;
20
extern const double Ts_K1;
21
extern const double Ts_K2;
22
extern const double Ts_f_Va;
23
extern const double Ts_f_az;
24
extern const double Ts_f_q;
25
extern const double Ts_f_Vz;
26
extern const double Ts_f_h;
27
extern const double dt;
28
extern const double dt_de;
29
extern const double dt_dx;
30
extern const double rho0;
31
extern const double g0;
32
extern const double T0_0;
33
extern const double T0_h;
34
extern const double Rs;
35
extern const double mass;
36
extern const double I_y;
37
extern const double S;
38
extern const double cbar;
39
extern const double CD_0;
40
extern const double CD_alpha;
41
extern const double CD_deltae;
42
extern const double CL_alpha;
43
extern const double CL_deltae;
44
extern const double alpha_0;
45
extern const double Cm_0;
46
extern const double Cm_alpha;
47
extern const double Cm_deltae;
48
extern const double Cm_q;
49
extern const double h_eq;
50
extern const double Va_eq;
51
extern const double delta_x_eq;
52
extern const double delta_e_eq;
53
extern const double alpha_eq;
54
extern const double theta_eq;
55
extern const double Kp_h;
56
extern const double Ki_h;
57
extern const double Vz_c;
58
extern const double h_switch;
59
extern const double K1_intVa;
60
extern const double K1_Va;
61
extern const double K1_Vz;
62
extern const double K1_q;
63
extern const double K2_intVz;
64
extern const double K2_Vz;
65
extern const double K2_q;
66
extern const double K2_az;
67
extern const double T_final;
68
extern const double h_c;
69
extern const double Va_c;
70

    
71
/* Structs declarations */
72
struct Discrete_Closed_Loop_Model_74_prelude_Vz_filter_mem;
73
struct Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_mem;
74
struct Discrete_Closed_Loop_Model_74_prelude_Engine_mem;
75
struct Discrete_Closed_Loop_Model_74_prelude_Va_filter_mem;
76
struct Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_mem;
77
struct Discrete_Closed_Loop_Model_74_prelude_h_filter_mem;
78
struct Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_mem;
79
struct Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_mem;
80
struct Discrete_Closed_Loop_Model_74_prelude_az_filter_mem;
81
struct Discrete_Closed_Loop_Model_74_prelude_q_filter_mem;
82
struct Discrete_Closed_Loop_Model_74_prelude_Elevator_mem;
83
struct Vz_filter_Discrete_State_Space_mem;
84
struct Vz_speed_control_Discrete_Time_Integrator_mem;
85
struct Engine_DTIntegrator2_mem;
86
struct Va_filter_Discrete_State_Space_mem;
87
struct Va_speed_control_DT_Integrator_mem;
88
struct h_filter_Discrete_State_Space_mem;
89
struct FlightDynamics_DTIntegrator3_mem;
90
struct AltitudeHold_Memory_mem;
91
struct AltitudeHold_Logic_SpeedCommand_mem;
92
struct az_filter_Discrete_State_Space_mem;
93
struct q_filter_Discrete_State_Space_mem;
94
struct Elevator_DT_Integrator_mem;
95
struct AltitudeHold_AltitudeCaptureHold_mem;
96
struct AltitudeCaptureHold_DT_Integrator1_mem;
97

    
98
/* Nodes declarations */
99
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_filter_reset (struct Discrete_Closed_Loop_Model_74_prelude_Vz_filter_mem *self);
100

    
101
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_filter_init (struct Discrete_Closed_Loop_Model_74_prelude_Vz_filter_mem *self);
102

    
103
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_filter_clear (struct Discrete_Closed_Loop_Model_74_prelude_Vz_filter_mem *self);
104

    
105
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_filter_step (double y1_1Vz,
106
                                                                  
107
                                                                  double (*y1_1Vz_filter),
108
                                                                  struct Discrete_Closed_Loop_Model_74_prelude_Vz_filter_mem *self);
109

    
110
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_reset (
111
struct Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_mem *self);
112

    
113
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_init (
114
struct Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_mem *self);
115

    
116
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_clear (
117
struct Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_mem *self);
118

    
119
extern void Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_step (
120
double y1_1Vz_c, double y1_1Vz_meas, double y1_1q_meas, double y1_1az_meas, 
121
double (*y1_1Vz_speed_control),
122
struct Discrete_Closed_Loop_Model_74_prelude_Vz_speed_control_mem *self);
123

    
124
extern void Discrete_Closed_Loop_Model_74_prelude_Engine_reset (struct Discrete_Closed_Loop_Model_74_prelude_Engine_mem *self);
125

    
126
extern void Discrete_Closed_Loop_Model_74_prelude_Engine_init (struct Discrete_Closed_Loop_Model_74_prelude_Engine_mem *self);
127

    
128
extern void Discrete_Closed_Loop_Model_74_prelude_Engine_clear (struct Discrete_Closed_Loop_Model_74_prelude_Engine_mem *self);
129

    
130
extern void Discrete_Closed_Loop_Model_74_prelude_Engine_step (double y1_1delta_x_c,
131
                                                               
132
                                                               double (*y1_1Engine),
133
                                                               struct Discrete_Closed_Loop_Model_74_prelude_Engine_mem *self);
134

    
135
extern void Discrete_Closed_Loop_Model_74_prelude_Va_filter_reset (struct Discrete_Closed_Loop_Model_74_prelude_Va_filter_mem *self);
136

    
137
extern void Discrete_Closed_Loop_Model_74_prelude_Va_filter_init (struct Discrete_Closed_Loop_Model_74_prelude_Va_filter_mem *self);
138

    
139
extern void Discrete_Closed_Loop_Model_74_prelude_Va_filter_clear (struct Discrete_Closed_Loop_Model_74_prelude_Va_filter_mem *self);
140

    
141
extern void Discrete_Closed_Loop_Model_74_prelude_Va_filter_step (double y1_1Va,
142
                                                                  
143
                                                                  double (*y1_1Va_filter),
144
                                                                  struct Discrete_Closed_Loop_Model_74_prelude_Va_filter_mem *self);
145

    
146
extern void Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_reset (
147
struct Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_mem *self);
148

    
149
extern void Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_init (
150
struct Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_mem *self);
151

    
152
extern void Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_clear (
153
struct Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_mem *self);
154

    
155
extern void Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_step (
156
double y1_1Va_c, double y1_1Va_meas, double y1_1q_meas, double y1_1Vz_meas, 
157
double (*y1_1Va_speed_control),
158
struct Discrete_Closed_Loop_Model_74_prelude_Va_speed_control_mem *self);
159

    
160
extern void Discrete_Closed_Loop_Model_74_prelude_h_filter_reset (struct Discrete_Closed_Loop_Model_74_prelude_h_filter_mem *self);
161

    
162
extern void Discrete_Closed_Loop_Model_74_prelude_h_filter_init (struct Discrete_Closed_Loop_Model_74_prelude_h_filter_mem *self);
163

    
164
extern void Discrete_Closed_Loop_Model_74_prelude_h_filter_clear (struct Discrete_Closed_Loop_Model_74_prelude_h_filter_mem *self);
165

    
166
extern void Discrete_Closed_Loop_Model_74_prelude_h_filter_step (double y1_1h,
167
                                                                 
168
                                                                 double (*y1_1h_filter),
169
                                                                 struct Discrete_Closed_Loop_Model_74_prelude_h_filter_mem *self);
170

    
171
extern void Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_reset (
172
struct Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_mem *self);
173

    
174
extern void Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_init (
175
struct Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_mem *self);
176

    
177
extern void Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_clear (
178
struct Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_mem *self);
179

    
180
extern void Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_step (
181
double y1_1T, double y1_1delta_e, 
182
double (*y1_1FlightDynamics), double (*y2_1FlightDynamics),
183
double (*y3_1FlightDynamics), double (*y4_1FlightDynamics),
184
double (*y5_1FlightDynamics),
185
struct Discrete_Closed_Loop_Model_74_prelude_FlightDynamics_mem *self);
186

    
187
extern void Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_reset (
188
struct Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_mem *self);
189

    
190
extern void Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_init (
191
struct Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_mem *self);
192

    
193
extern void Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_clear (
194
struct Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_mem *self);
195

    
196
extern void Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_step (
197
double y1_1hc, double y1_1hmeas, 
198
double (*y1_1AltitudeHold),
199
struct Discrete_Closed_Loop_Model_74_prelude_AltitudeHold_mem *self);
200

    
201
extern void Discrete_Closed_Loop_Model_74_prelude_az_filter_reset (struct Discrete_Closed_Loop_Model_74_prelude_az_filter_mem *self);
202

    
203
extern void Discrete_Closed_Loop_Model_74_prelude_az_filter_init (struct Discrete_Closed_Loop_Model_74_prelude_az_filter_mem *self);
204

    
205
extern void Discrete_Closed_Loop_Model_74_prelude_az_filter_clear (struct Discrete_Closed_Loop_Model_74_prelude_az_filter_mem *self);
206

    
207
extern void Discrete_Closed_Loop_Model_74_prelude_az_filter_step (double y1_1az,
208
                                                                  
209
                                                                  double (*y1_1az_filter),
210
                                                                  struct Discrete_Closed_Loop_Model_74_prelude_az_filter_mem *self);
211

    
212
extern void Discrete_Closed_Loop_Model_74_prelude_q_filter_reset (struct Discrete_Closed_Loop_Model_74_prelude_q_filter_mem *self);
213

    
214
extern void Discrete_Closed_Loop_Model_74_prelude_q_filter_init (struct Discrete_Closed_Loop_Model_74_prelude_q_filter_mem *self);
215

    
216
extern void Discrete_Closed_Loop_Model_74_prelude_q_filter_clear (struct Discrete_Closed_Loop_Model_74_prelude_q_filter_mem *self);
217

    
218
extern void Discrete_Closed_Loop_Model_74_prelude_q_filter_step (double y1_1q,
219
                                                                 
220
                                                                 double (*y1_1q_filter),
221
                                                                 struct Discrete_Closed_Loop_Model_74_prelude_q_filter_mem *self);
222

    
223
extern void Discrete_Closed_Loop_Model_74_prelude_Elevator_reset (struct Discrete_Closed_Loop_Model_74_prelude_Elevator_mem *self);
224

    
225
extern void Discrete_Closed_Loop_Model_74_prelude_Elevator_init (struct Discrete_Closed_Loop_Model_74_prelude_Elevator_mem *self);
226

    
227
extern void Discrete_Closed_Loop_Model_74_prelude_Elevator_clear (struct Discrete_Closed_Loop_Model_74_prelude_Elevator_mem *self);
228

    
229
extern void Discrete_Closed_Loop_Model_74_prelude_Elevator_step (double y1_1delta_e_c,
230
                                                                 
231
                                                                 double (*y1_1Elevator),
232
                                                                 struct Discrete_Closed_Loop_Model_74_prelude_Elevator_mem *self);
233

    
234
extern void Vz_filter_Discrete_State_Space_reset (struct Vz_filter_Discrete_State_Space_mem *self);
235

    
236
extern void Vz_filter_Discrete_State_Space_init (struct Vz_filter_Discrete_State_Space_mem *self);
237

    
238
extern void Vz_filter_Discrete_State_Space_clear (struct Vz_filter_Discrete_State_Space_mem *self);
239

    
240
extern void Vz_filter_Discrete_State_Space_step (double in1_1, 
241
                                                 double (*out1_1),
242
                                                 struct Vz_filter_Discrete_State_Space_mem *self);
243

    
244
extern void Vz_speed_control_Gain5_step (double in1_1, 
245
                                         double (*out1_1)
246
                                         );
247

    
248
extern void Vz_speed_control_Gain4_step (double in1_1, 
249
                                         double (*out1_1)
250
                                         );
251

    
252
extern void Vz_speed_control_Gain1_step (double in1_1, 
253
                                         double (*out1_1)
254
                                         );
255

    
256
extern void Vz_speed_control_Gain_step (double in1_1, 
257
                                        double (*out1_1)
258
                                        );
259

    
260
extern void Vz_speed_control_Discrete_Time_Integrator_reset (struct Vz_speed_control_Discrete_Time_Integrator_mem *self);
261

    
262
extern void Vz_speed_control_Discrete_Time_Integrator_init (struct Vz_speed_control_Discrete_Time_Integrator_mem *self);
263

    
264
extern void Vz_speed_control_Discrete_Time_Integrator_clear (struct Vz_speed_control_Discrete_Time_Integrator_mem *self);
265

    
266
extern void Vz_speed_control_Discrete_Time_Integrator_step (double in1_1, 
267
                                                            double (*out1_1),
268
                                                            struct Vz_speed_control_Discrete_Time_Integrator_mem *self);
269

    
270
extern void Engine_Gain3_step (double in1_1, 
271
                               double (*out1_1)
272
                               );
273

    
274
extern void Engine_Gain2_step (double in1_1, 
275
                               double (*out1_1)
276
                               );
277

    
278
extern void Engine_Gain1_step (double in1_1, 
279
                               double (*out1_1)
280
                               );
281

    
282
extern void Engine_Gain_step (double in1_1, 
283
                              double (*out1_1)
284
                              );
285

    
286
extern void Engine_DTIntegrator2_reset (struct Engine_DTIntegrator2_mem *self);
287

    
288
extern void Engine_DTIntegrator2_init (struct Engine_DTIntegrator2_mem *self);
289

    
290
extern void Engine_DTIntegrator2_clear (struct Engine_DTIntegrator2_mem *self);
291

    
292
extern void Engine_DTIntegrator2_step (double in1_1, 
293
                                       double (*out1_1),
294
                                       struct Engine_DTIntegrator2_mem *self);
295

    
296
extern void Va_filter_Discrete_State_Space_reset (struct Va_filter_Discrete_State_Space_mem *self);
297

    
298
extern void Va_filter_Discrete_State_Space_init (struct Va_filter_Discrete_State_Space_mem *self);
299

    
300
extern void Va_filter_Discrete_State_Space_clear (struct Va_filter_Discrete_State_Space_mem *self);
301

    
302
extern void Va_filter_Discrete_State_Space_step (double in1_1, 
303
                                                 double (*out1_1),
304
                                                 struct Va_filter_Discrete_State_Space_mem *self);
305

    
306
extern void Va_speed_control_Gain5_step (double in1_1, 
307
                                         double (*out1_1)
308
                                         );
309

    
310
extern void Va_speed_control_Gain4_step (double in1_1, 
311
                                         double (*out1_1)
312
                                         );
313

    
314
extern void Va_speed_control_Gain1_step (double in1_1, 
315
                                         double (*out1_1)
316
                                         );
317

    
318
extern void Va_speed_control_Gain_step (double in1_1, 
319
                                        double (*out1_1)
320
                                        );
321

    
322
extern void Va_speed_control_DT_Integrator_reset (struct Va_speed_control_DT_Integrator_mem *self);
323

    
324
extern void Va_speed_control_DT_Integrator_init (struct Va_speed_control_DT_Integrator_mem *self);
325

    
326
extern void Va_speed_control_DT_Integrator_clear (struct Va_speed_control_DT_Integrator_mem *self);
327

    
328
extern void Va_speed_control_DT_Integrator_step (double in1_1, 
329
                                                 double (*out1_1),
330
                                                 struct Va_speed_control_DT_Integrator_mem *self);
331

    
332
extern void h_filter_Discrete_State_Space_reset (struct h_filter_Discrete_State_Space_mem *self);
333

    
334
extern void h_filter_Discrete_State_Space_init (struct h_filter_Discrete_State_Space_mem *self);
335

    
336
extern void h_filter_Discrete_State_Space_clear (struct h_filter_Discrete_State_Space_mem *self);
337

    
338
extern void h_filter_Discrete_State_Space_step (double in1_1, 
339
                                                double (*out1_1),
340
                                                struct h_filter_Discrete_State_Space_mem *self);
341

    
342
extern void FlightDynamics_Vert_Speed_Vz_step (double in1_1, double in1_2,
343
                                               double in1_3, double in1_4,
344
                                               double in1_5, double in1_6, 
345
                                               double (*out1_1)
346
                                               );
347

    
348
extern void FlightDynamics_Pitch_Rate_q_step (double in1_1, double in1_2,
349
                                              double in1_3, double in1_4,
350
                                              double in1_5, double in1_6, 
351
                                              double (*out1_1)
352
                                              );
353

    
354
extern void FlightDynamics_Norm_Acc_az_step (double in1_1, double in1_2,
355
                                             double in1_3, double in1_4,
356
                                             double in1_5, double in1_6, 
357
                                             double (*out1_1)
358
                                             );
359

    
360
extern void FlightDynamics_Mux1_step (double in1_1, double in1_2,
361
                                      double in1_3, double in1_4,
362
                                      double in1_5, double in2_1, 
363
                                      double (*out1_1), double (*out1_2),
364
                                      double (*out1_3), double (*out1_4),
365
                                      double (*out1_5), double (*out1_6)
366
                                      );
367

    
368
extern void FlightDynamics_Mux_step (double in1_1, double in2_1,
369
                                     double in3_1, double in3_2,
370
                                     double in3_3, double in3_4,
371
                                     double in3_5, 
372
                                     double (*out1_1), double (*out1_2),
373
                                     double (*out1_3), double (*out1_4),
374
                                     double (*out1_5), double (*out1_6),
375
                                     double (*out1_7)
376
                                     );
377

    
378
extern void FlightDynamics_Flight_Dynamics_Model_step (double y1_1x,
379
                                                       double y1_2x,
380
                                                       double y1_3x,
381
                                                       double y1_4x,
382
                                                       double y1_5x,
383
                                                       double y1_6x,
384
                                                       double y1_7x, 
385
                                                       double (*y1_1Flight_Dynamics_Model),
386
                                                       double (*y2_1Flight_Dynamics_Model),
387
                                                       double (*y2_2Flight_Dynamics_Model),
388
                                                       double (*y2_3Flight_Dynamics_Model),
389
                                                       double (*y2_4Flight_Dynamics_Model),
390
                                                       double (*y2_5Flight_Dynamics_Model)
391
                                                       );
392

    
393
extern void FlightDynamics_DTIntegrator3_reset (struct FlightDynamics_DTIntegrator3_mem *self);
394

    
395
extern void FlightDynamics_DTIntegrator3_init (struct FlightDynamics_DTIntegrator3_mem *self);
396

    
397
extern void FlightDynamics_DTIntegrator3_clear (struct FlightDynamics_DTIntegrator3_mem *self);
398

    
399
extern void FlightDynamics_DTIntegrator3_step (double in1_1, double in1_2,
400
                                               double in1_3, double in1_4,
401
                                               double in1_5, 
402
                                               double (*out1_1),
403
                                               double (*out1_2),
404
                                               double (*out1_3),
405
                                               double (*out1_4),
406
                                               double (*out1_5),
407
                                               struct FlightDynamics_DTIntegrator3_mem *self);
408

    
409
extern void FlightDynamics_Altitude_h_step (double in1_1, double in1_2,
410
                                            double in1_3, double in1_4,
411
                                            double in1_5, double in1_6, 
412
                                            double (*out1_1)
413
                                            );
414

    
415
extern void FlightDynamics_Airspeed_Va_step (double in1_1, double in1_2,
416
                                             double in1_3, double in1_4,
417
                                             double in1_5, double in1_6, 
418
                                             double (*out1_1)
419
                                             );
420

    
421
extern void AltitudeHold_Merge_step (double in1_1, 
422
                                     double (*out1_1)
423
                                     );
424

    
425
extern void AltitudeHold_Memory_reset (struct AltitudeHold_Memory_mem *self);
426

    
427
extern void AltitudeHold_Memory_init (struct AltitudeHold_Memory_mem *self);
428

    
429
extern void AltitudeHold_Memory_clear (struct AltitudeHold_Memory_mem *self);
430

    
431
extern void AltitudeHold_Memory_step (double in1_1, 
432
                                      double (*out1_1),
433
                                      struct AltitudeHold_Memory_mem *self);
434

    
435
extern void AltitudeHold_Logic_SpeedCommand_reset (struct AltitudeHold_Logic_SpeedCommand_mem *self);
436

    
437
extern void AltitudeHold_Logic_SpeedCommand_init (struct AltitudeHold_Logic_SpeedCommand_mem *self);
438

    
439
extern void AltitudeHold_Logic_SpeedCommand_clear (struct AltitudeHold_Logic_SpeedCommand_mem *self);
440

    
441
extern void AltitudeHold_Logic_SpeedCommand_step (double y1_1Sum3,
442
                                                  double y1_1hmeas,
443
                                                  double y1_1hc,
444
                                                  double y1_1Memory, 
445
                                                  double (*out1_1),
446
                                                  struct AltitudeHold_Logic_SpeedCommand_mem *self);
447

    
448
extern void az_filter_Discrete_State_Space_reset (struct az_filter_Discrete_State_Space_mem *self);
449

    
450
extern void az_filter_Discrete_State_Space_init (struct az_filter_Discrete_State_Space_mem *self);
451

    
452
extern void az_filter_Discrete_State_Space_clear (struct az_filter_Discrete_State_Space_mem *self);
453

    
454
extern void az_filter_Discrete_State_Space_step (double in1_1, 
455
                                                 double (*out1_1),
456
                                                 struct az_filter_Discrete_State_Space_mem *self);
457

    
458
extern void q_filter_Discrete_State_Space_reset (struct q_filter_Discrete_State_Space_mem *self);
459

    
460
extern void q_filter_Discrete_State_Space_init (struct q_filter_Discrete_State_Space_mem *self);
461

    
462
extern void q_filter_Discrete_State_Space_clear (struct q_filter_Discrete_State_Space_mem *self);
463

    
464
extern void q_filter_Discrete_State_Space_step (double in1_1, 
465
                                                double (*out1_1),
466
                                                struct q_filter_Discrete_State_Space_mem *self);
467

    
468
extern void Elevator_Gain3_step (double in1_1, double in1_2, 
469
                                 double (*out1_1)
470
                                 );
471

    
472
extern void Elevator_Gain2_step (double in1_1, double in1_2, 
473
                                 double (*out1_1), double (*out1_2)
474
                                 );
475

    
476
extern void Elevator_Gain1_step (double in1_1, 
477
                                 double (*out1_1), double (*out1_2)
478
                                 );
479

    
480
extern void Elevator_Gain_step (double in1_1, 
481
                                double (*out1_1)
482
                                );
483

    
484
extern void Elevator_DT_Integrator_reset (struct Elevator_DT_Integrator_mem *self);
485

    
486
extern void Elevator_DT_Integrator_init (struct Elevator_DT_Integrator_mem *self);
487

    
488
extern void Elevator_DT_Integrator_clear (struct Elevator_DT_Integrator_mem *self);
489

    
490
extern void Elevator_DT_Integrator_step (double in1_1, double in1_2, 
491
                                         double (*out1_1), double (*out1_2),
492
                                         struct Elevator_DT_Integrator_mem *self);
493

    
494
extern void Flight_Dynamics_Model_wdot_step (double in1_1, double in1_2,
495
                                             double in1_3, double in1_4,
496
                                             double in1_5, double in1_6,
497
                                             double in1_7, double in1_8,
498
                                             double in1_9, double in1_10, 
499
                                             double (*out1_1)
500
                                             );
501

    
502
extern void Flight_Dynamics_Model_udot_step (double in1_1, double in1_2,
503
                                             double in1_3, double in1_4,
504
                                             double in1_5, double in1_6,
505
                                             double in1_7, double in1_8,
506
                                             double in1_9, double in1_10, 
507
                                             double (*out1_1)
508
                                             );
509

    
510
extern void Flight_Dynamics_Model_thetadot_step (double in1_1, double in1_2,
511
                                                 double in1_3, double in1_4,
512
                                                 double in1_5, double in1_6,
513
                                                 double in1_7, double in1_8,
514
                                                 double in1_9, double in1_10, 
515
                                                 double (*out1_1)
516
                                                 );
517

    
518
extern void Flight_Dynamics_Model_rho_Air_density_step (double in1_1,
519
                                                        double in1_2,
520
                                                        double in1_3,
521
                                                        double in1_4,
522
                                                        double in1_5,
523
                                                        double in1_6,
524
                                                        double in1_7, 
525
                                                        double (*out1_1)
526
                                                        );
527

    
528
extern void Flight_Dynamics_Model_qdot_step (double in1_1, double in1_2,
529
                                             double in1_3, double in1_4,
530
                                             double in1_5, double in1_6,
531
                                             double in1_7, double in1_8,
532
                                             double in1_9, double in1_10, 
533
                                             double (*out1_1)
534
                                             );
535

    
536
extern void Flight_Dynamics_Model_q_Pitch_rate_step (double in1_1,
537
                                                     double in1_2,
538
                                                     double in1_3,
539
                                                     double in1_4,
540
                                                     double in1_5,
541
                                                     double in1_6,
542
                                                     double in1_7, 
543
                                                     double (*out1_1)
544
                                                     );
545

    
546
extern void Flight_Dynamics_Model_hdot_step (double in1_1, double in1_2,
547
                                             double in1_3, double in1_4,
548
                                             double in1_5, double in1_6,
549
                                             double in1_7, double in1_8,
550
                                             double in1_9, double in1_10, 
551
                                             double (*out1_1)
552
                                             );
553

    
554
extern void Flight_Dynamics_Model_V_Airspeed_step (double in1_1,
555
                                                   double in1_2,
556
                                                   double in1_3,
557
                                                   double in1_4,
558
                                                   double in1_5,
559
                                                   double in1_6,
560
                                                   double in1_7, 
561
                                                   double (*out1_1)
562
                                                   );
563

    
564
extern void Flight_Dynamics_Model_Mux3_step (double in1_1, double in1_2,
565
                                             double in1_3, double in1_4,
566
                                             double in1_5, double in1_6,
567
                                             double in1_7, double in2_1,
568
                                             double in2_2, double in2_3, 
569
                                             double (*out1_1),
570
                                             double (*out1_2),
571
                                             double (*out1_3),
572
                                             double (*out1_4),
573
                                             double (*out1_5),
574
                                             double (*out1_6),
575
                                             double (*out1_7),
576
                                             double (*out1_8),
577
                                             double (*out1_9),
578
                                             double (*out1_10)
579
                                             );
580

    
581
extern void Flight_Dynamics_Model_Mux2_step (double in1_1, double in2_1,
582
                                             double in3_1, 
583
                                             double (*out1_1),
584
                                             double (*out1_2),
585
                                             double (*out1_3)
586
                                             );
587

    
588
extern void Flight_Dynamics_Model_Mux1_step (double in1_1, double in2_1, 
589
                                             double (*out1_1),
590
                                             double (*out1_2)
591
                                             );
592

    
593
extern void Flight_Dynamics_Model_Mux_step (double in1_1, double in2_1,
594
                                            double in3_1, double in4_1,
595
                                            double in5_1, 
596
                                            double (*out1_1),
597
                                            double (*out1_2),
598
                                            double (*out1_3),
599
                                            double (*out1_4),
600
                                            double (*out1_5)
601
                                            );
602

    
603
extern void Flight_Dynamics_Model_Elevator_deflection_step (double in1_1,
604
                                                            double in1_2,
605
                                                            double in1_3,
606
                                                            double in1_4,
607
                                                            double in1_5,
608
                                                            double in1_6,
609
                                                            double in1_7, 
610
                                                            double (*out1_1)
611
                                                            );
612

    
613
extern void Flight_Dynamics_Model_Dynamic_pressure_step (double in1_1,
614
                                                         double in1_2, 
615
                                                         double (*out1_1)
616
                                                         );
617

    
618
extern void Flight_Dynamics_Model_Angle_of_attack_step (double in1_1,
619
                                                        double in1_2,
620
                                                        double in1_3,
621
                                                        double in1_4,
622
                                                        double in1_5,
623
                                                        double in1_6,
624
                                                        double in1_7, 
625
                                                        double (*out1_1)
626
                                                        );
627

    
628
extern void Flight_Dynamics_Model_Aero_forces_moment_step (double y1_1alpha,
629
                                                           double y1_1CD,
630
                                                           double y1_1CL,
631
                                                           double y1_1Cm,
632
                                                           double y1_1qbar, 
633
                                                           double (*y1_1Aero_forces_moment),
634
                                                           double (*y2_1Aero_forces_moment),
635
                                                           double (*y3_1Aero_forces_moment)
636
                                                           );
637

    
638
extern void Flight_Dynamics_Model_Aero_Coefficients_step (double y1_1de,
639
                                                          double y1_1alpha,
640
                                                          double y1_1q,
641
                                                          double y1_1V, 
642
                                                          double (*y1_1Aero_Coefficients),
643
                                                          double (*y2_1Aero_Coefficients),
644
                                                          double (*y3_1Aero_Coefficients)
645
                                                          );
646

    
647
extern void AltitudeHold_Descent_command_step (double i_virtual, 
648
                                               double (*y1_1Descent_command)
649
                                               );
650

    
651
extern void AltitudeHold_Climb_command_step (double i_virtual, 
652
                                             double (*y1_1Climb_command)
653
                                             );
654

    
655
extern void AltitudeHold_AltitudeCaptureHold_reset (struct AltitudeHold_AltitudeCaptureHold_mem *self);
656

    
657
extern void AltitudeHold_AltitudeCaptureHold_init (struct AltitudeHold_AltitudeCaptureHold_mem *self);
658

    
659
extern void AltitudeHold_AltitudeCaptureHold_clear (struct AltitudeHold_AltitudeCaptureHold_mem *self);
660

    
661
extern void AltitudeHold_AltitudeCaptureHold_step (double y1_1h_meas,
662
                                                   double y1_1h_c,
663
                                                   double y1_1Vz_c, 
664
                                                   double (*y1_1AltitudeCaptureHold),
665
                                                   struct AltitudeHold_AltitudeCaptureHold_mem *self);
666

    
667
extern void Aero_forces_moment_Trigo_Function1_step (double in1_1, 
668
                                                     double (*out1_1)
669
                                                     );
670

    
671
extern void Aero_forces_moment_Trigo_Function_step (double in1_1, 
672
                                                    double (*out1_1)
673
                                                    );
674

    
675
extern void Aero_forces_moment_Gain7_step (double in1_1, 
676
                                           double (*out1_1)
677
                                           );
678

    
679
extern void Aero_forces_moment_Gain1_step (double in1_1, 
680
                                           double (*out1_1)
681
                                           );
682

    
683
extern void Aero_Coefficients_Math_Function_step (double in1_1, 
684
                                                  double (*out1_1)
685
                                                  );
686

    
687
extern void Aero_Coefficients_Gain7_step (double in1_1, 
688
                                          double (*out1_1)
689
                                          );
690

    
691
extern void Aero_Coefficients_Gain6_step (double in1_1, 
692
                                          double (*out1_1)
693
                                          );
694

    
695
extern void Aero_Coefficients_Gain5_step (double in1_1, 
696
                                          double (*out1_1)
697
                                          );
698

    
699
extern void Aero_Coefficients_Gain4_step (double in1_1, 
700
                                          double (*out1_1)
701
                                          );
702

    
703
extern void Aero_Coefficients_Gain3_step (double in1_1, 
704
                                          double (*out1_1)
705
                                          );
706

    
707
extern void Aero_Coefficients_Gain2_step (double in1_1, 
708
                                          double (*out1_1)
709
                                          );
710

    
711
extern void Aero_Coefficients_Gain1_step (double in1_1, 
712
                                          double (*out1_1)
713
                                          );
714

    
715
extern void Aero_Coefficients_Gain_step (double in1_1, 
716
                                         double (*out1_1)
717
                                         );
718

    
719
extern void AltitudeCaptureHold_Mux_step (double in1_1, double in2_1, 
720
                                          double (*out1_1), double (*out1_2)
721
                                          );
722

    
723
extern void AltitudeCaptureHold_Gain2_step (double in1_1, 
724
                                            double (*out1_1)
725
                                            );
726

    
727
extern void AltitudeCaptureHold_Gain_step (double in1_1, 
728
                                           double (*out1_1)
729
                                           );
730

    
731
extern void AltitudeCaptureHold_DT_Integrator1_reset (struct AltitudeCaptureHold_DT_Integrator1_mem *self);
732

    
733
extern void AltitudeCaptureHold_DT_Integrator1_init (struct AltitudeCaptureHold_DT_Integrator1_mem *self);
734

    
735
extern void AltitudeCaptureHold_DT_Integrator1_clear (struct AltitudeCaptureHold_DT_Integrator1_mem *self);
736

    
737
extern void AltitudeCaptureHold_DT_Integrator1_step (double in1_1,
738
                                                     double y1_1Mux,
739
                                                     double y1_2Mux, 
740
                                                     double (*out1_1),
741
                                                     struct AltitudeCaptureHold_DT_Integrator1_mem *self);
742

    
743
extern void AltitudeCaptureHold_CI_AltHold_step (double in1_1, double in1_2, 
744
                                                 double (*out1_1)
745
                                                 );
746

    
747

    
748
#endif
749

    
(13-13/16)