1 | /* |
2 | * Academic License - for use in teaching, academic research, and meeting |
3 | * course requirements at degree granting institutions only. Not for |
4 | * government, commercial, or other organizational use. |
5 | * |
6 | * File: integ_Accel_and_Gyro_data.c |
7 | * |
8 | * Code generated for Simulink model 'integ_Accel_and_Gyro'. |
9 | * |
10 | * Model version : 1.7 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C/C++ source code generated on : Tue Dec 05 16:13:16 2017 |
13 | * |
14 | * Target selection: ert.tlc |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #include "integ_Accel_and_Gyro.h" |
21 | #include "integ_Accel_and_Gyro_private.h" |
22 | |
23 | /* Block parameters (auto storage) */ |
24 | P_integ_Accel_and_Gyro_T integ_Accel_and_Gyro_P = { |
25 | -1.0, /* Expression: -1 |
26 | * Referenced by: '<Root>/FXOS8700 6-Axes Sensor' |
27 | */ |
28 | -1.0, /* Expression: -1 |
29 | * Referenced by: '<S18>/I2C Master Read' |
30 | */ |
31 | 0.0F, /* Computed Parameter: Z_est_Y0 |
32 | * Referenced by: '<S6>/Z_est' |
33 | */ |
34 | 0.0F, /* Computed Parameter: X_est_Y0 |
35 | * Referenced by: '<S6>/X_est' |
36 | */ |
37 | 0.0F, /* Computed Parameter: X_prd_Y0 |
38 | * Referenced by: '<S6>/X_prd' |
39 | */ |
40 | 0.0F, /* Computed Parameter: P_prd_Y0 |
41 | * Referenced by: '<S6>/P_prd' |
42 | */ |
43 | |
44 | /* Computed Parameter: Constant3_Value |
45 | * Referenced by: '<S8>/Constant3' |
46 | */ |
47 | { 1.0F, 0.0F, 0.0F, 0.0F, 0.5F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, |
48 | 0.0F, 0.5F, 1.0F }, |
49 | |
50 | /* Computed Parameter: Hcst_Value |
51 | * Referenced by: '<S8>/Hcst' |
52 | */ |
53 | { 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F }, |
54 | |
55 | /* Computed Parameter: Hcst_t_Value |
56 | * Referenced by: '<S8>/Hcst_t' |
57 | */ |
58 | { 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F }, |
59 | |
60 | /* Computed Parameter: Constant2_Value |
61 | * Referenced by: '<S8>/Constant2' |
62 | */ |
63 | { 0.01F, 0.0F, 0.0F, 0.01F }, |
64 | |
65 | /* Computed Parameter: Constant4_Value |
66 | * Referenced by: '<S8>/Constant4' |
67 | */ |
68 | { 1.0F, 0.5F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 0.0F, |
69 | 0.0F, 0.0F, 1.0F }, |
70 | |
71 | /* Computed Parameter: Constant5_Value |
72 | * Referenced by: '<S8>/Constant5' |
73 | */ |
74 | { 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.005F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, |
75 | 0.0F, 0.0F, 0.0F, 0.005F }, |
76 | |
77 | /* Computed Parameter: UnitDelay2_InitialCondition |
78 | * Referenced by: '<S4>/Unit Delay2' |
79 | */ |
80 | { 0.006F, 0.01F, 0.006F, 0.01F }, |
81 | |
82 | /* Computed Parameter: UnitDelay3_InitialCondition |
83 | * Referenced by: '<S4>/Unit Delay3' |
84 | */ |
85 | { 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.005F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, |
86 | 0.0F, 0.0F, 0.0F, 0.005F }, |
87 | 36.53F, /* Computed Parameter: Constant_Value |
88 | * Referenced by: '<S2>/Constant' |
89 | */ |
90 | 1, /* Computed Parameter: Iterator_IterationLimit |
91 | * Referenced by: '<S6>/Iterator' |
92 | */ |
93 | 0, /* Computed Parameter: datar_Y0 |
94 | * Referenced by: '<S18>/datar' |
95 | */ |
96 | 16384, /* Computed Parameter: Gain_Gain |
97 | * Referenced by: '<S2>/Gain' |
98 | */ |
99 | 32000, /* Computed Parameter: Gain2_Gain |
100 | * Referenced by: '<S2>/Gain2' |
101 | */ |
102 | 24672 /* Computed Parameter: Gain1_Gain |
103 | * Referenced by: '<S2>/Gain1' |
104 | */ |
105 | }; |
106 | |
107 | /* |
108 | * File trailer for generated code. |
109 | * |
110 | * [EOF] |
111 | */ |
112 | |