update gencode

This commit is contained in:
LyuWeiye
2021-11-20 16:42:38 +08:00
parent 0e8e34953d
commit 6a8ae847da
10 changed files with 12829 additions and 12612 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -244,13 +244,13 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 95, TARGET_STRING("dfro_pwm"), 1, 6, 0 },
{ 96, TARGET_STRING("dhl_pos"), 1, 7, 0 },
{ 96, TARGET_STRING("dhl_pos"), 1, 9, 0 },
{ 97, TARGET_STRING("dhl_pwm"), 1, 7, 0 },
{ 97, TARGET_STRING("dhl_pwm"), 1, 9, 0 },
{ 98, TARGET_STRING("dhr_pos"), 1, 7, 0 },
{ 98, TARGET_STRING("dhr_pos"), 1, 9, 0 },
{ 99, TARGET_STRING("dhr_pwm"), 1, 7, 0 },
{ 99, TARGET_STRING("dhr_pwm"), 1, 9, 0 },
{ 100, TARGET_STRING("dht_ratelim"), 1, 2, 0 },
@@ -494,9 +494,9 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 220, TARGET_STRING("w_y"), 1, 2, 0 },
{ 221, TARGET_STRING("washout_r_den"), 1, 7, 0 },
{ 221, TARGET_STRING("washout_r_den"), 1, 9, 0 },
{ 222, TARGET_STRING("washout_r_num"), 1, 7, 0 },
{ 222, TARGET_STRING("washout_r_num"), 1, 9, 0 },
{ 223, TARGET_STRING("yaw_damping"), 1, 2, 0 },
@@ -504,7 +504,7 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 225, TARGET_STRING("transrate"), 2, 2, 0 },
{ 226, TARGET_STRING("actuator_trim"), 3, 9, 0 },
{ 226, TARGET_STRING("actuator_trim"), 3, 10, 0 },
{ 227, TARGET_STRING("system_id"), 3, 2, 0 },
@@ -576,9 +576,9 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 261, TARGET_STRING("X0"), 0, 0, 0 },
{ 262, TARGET_STRING("engine_att_rad"), 0, 10, 0 },
{ 262, TARGET_STRING("engine_att_rad"), 0, 11, 0 },
{ 263, TARGET_STRING("engine_pos_m"), 0, 10, 0 },
{ 263, TARGET_STRING("engine_pos_m"), 0, 11, 0 },
{ 264, TARGET_STRING("hground"), 0, 2, 0 },
@@ -917,7 +917,9 @@ static const rtwCAPI_DimensionMap rtDimensionMap[] = {
{ rtwCAPI_VECTOR, 18, 2, 0 },
{ rtwCAPI_MATRIX_COL_MAJOR, 20, 2, 0 }
{ rtwCAPI_VECTOR, 20, 2, 0 },
{ rtwCAPI_MATRIX_COL_MAJOR, 22, 2, 0 }
};
/* Dimension Array- use dimArrayIndex to access elements of this array */
@@ -937,13 +939,15 @@ static const uint_T rtDimensionArray[] = {
1, /* 12 */
5, /* 13 */
1, /* 14 */
4, /* 15 */
7, /* 15 */
1, /* 16 */
20, /* 17 */
1, /* 18 */
24, /* 19 */
2, /* 20 */
3 /* 21 */
4, /* 19 */
1, /* 20 */
24, /* 21 */
2, /* 22 */
3 /* 23 */
};
/* Fixed Point Map */
@@ -984,10 +988,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
rtElementMap, rtSampleTimeMap, rtDimensionArray },
"float",
{ 1067496108U,
585731160U,
3268759601U,
3983241045U },
{ 2650393249U,
3554093199U,
4148524068U,
1473839767U },
(NULL), 0,
0
};
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -42,67 +42,67 @@ const ConstB_cr929_SIL_T cr929_SIL_ConstB = {
{ 0.0, 0.0, 0.0 }, /* synthesized block */
{ 0.05533534132902769, 0.05533534132902769, 0.05533534132902769,
0.05533534132902769 }, /* '<S1711>/Sqrt' */
0.05533534132902769, /* '<S1711>/Sqrt1' */
0.05533534132902769 }, /* '<S1715>/Sqrt' */
0.05533534132902769, /* '<S1715>/Sqrt1' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1711>/Divide' */
0.0, /* '<S1700>/Unit Conversion' */
0.0, /* '<S1710>/Unit Conversion' */
0.0, /* '<S1719>/sigma_wg ' */
0.0, /* '<S1718>/PreLook-Up Index Search (prob of exceed)' */
22.309711286089236, /* '<S1704>/Unit Conversion' */
1749.9999999999998, /* '<S1738>/Unit Conversion' */
1000.0, /* '<S1728>/Sum' */
1000.0, /* '<S1720>/Sum' */
21.304204980804883, /* '<S1714>/dt1' */
28.405606641073181, /* '<S1713>/dt1' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1715>/Divide' */
0.0, /* '<S1704>/Unit Conversion' */
0.0, /* '<S1714>/Unit Conversion' */
0.0, /* '<S1723>/sigma_wg ' */
0.0, /* '<S1722>/PreLook-Up Index Search (prob of exceed)' */
22.309711286089236, /* '<S1708>/Unit Conversion' */
1749.9999999999998, /* '<S1742>/Unit Conversion' */
1000.0, /* '<S1732>/Sum' */
1000.0, /* '<S1724>/Sum' */
21.304204980804883, /* '<S1718>/dt1' */
28.405606641073181, /* '<S1717>/dt1' */
{ 1.50687, 0.0, 0.268 }, /* '<S333>/Selector' */
{ -0.11937, -0.306, 0.268 }, /* '<S333>/Selector1' */
{ -0.11937, 0.306, 0.268 }, /* '<S333>/Selector2' */
0U, /* '<S1718>/PreLook-Up Index Search (prob of exceed)' */
118U, /* '<S1617>/Width1' */
177U, /* '<S1616>/Width1' */
202U, /* '<S1615>/Width1' */
89U, /* '<S1614>/Width1' */
60U, /* '<S1602>/Width1' */
30U, /* '<S1603>/Width1' */
45U, /* '<S1604>/Width1' */
73U, /* '<S1608>/Width1' */
65U, /* '<S1607>/Width1' */
231U, /* '<S1612>/Width1' */
113U, /* '<S1611>/Width1' */
0U, /* '<S1722>/PreLook-Up Index Search (prob of exceed)' */
118U, /* '<S1621>/Width1' */
177U, /* '<S1620>/Width1' */
202U, /* '<S1619>/Width1' */
89U, /* '<S1618>/Width1' */
60U, /* '<S1606>/Width1' */
30U, /* '<S1607>/Width1' */
45U, /* '<S1608>/Width1' */
73U, /* '<S1612>/Width1' */
65U, /* '<S1611>/Width1' */
231U, /* '<S1616>/Width1' */
113U, /* '<S1615>/Width1' */
73U, /* '<S1614>/Width1' */
153U, /* '<S1613>/Width1' */
19U, /* '<S1624>/Width1' */
60U, /* '<S1603>/Width1' */
30U, /* '<S1604>/Width1' */
35U, /* '<S1602>/Width1' */
45U, /* '<S1605>/Width1' */
73U, /* '<S1610>/Width1' */
153U, /* '<S1609>/Width1' */
19U, /* '<S1620>/Width1' */
60U, /* '<S1599>/Width1' */
30U, /* '<S1600>/Width1' */
35U, /* '<S1598>/Width1' */
45U, /* '<S1601>/Width1' */
73U, /* '<S1606>/Width1' */
65U, /* '<S1605>/Width1' */
113U, /* '<S1617>/Width' */
172U, /* '<S1616>/Width' */
197U, /* '<S1615>/Width' */
84U, /* '<S1614>/Width' */
55U, /* '<S1602>/Width' */
25U, /* '<S1603>/Width' */
40U, /* '<S1604>/Width' */
68U, /* '<S1608>/Width' */
60U, /* '<S1607>/Width' */
226U, /* '<S1612>/Width' */
108U, /* '<S1611>/Width' */
65U, /* '<S1609>/Width1' */
113U, /* '<S1621>/Width' */
172U, /* '<S1620>/Width' */
197U, /* '<S1619>/Width' */
84U, /* '<S1618>/Width' */
55U, /* '<S1606>/Width' */
25U, /* '<S1607>/Width' */
40U, /* '<S1608>/Width' */
68U, /* '<S1612>/Width' */
60U, /* '<S1611>/Width' */
226U, /* '<S1616>/Width' */
108U, /* '<S1615>/Width' */
68U, /* '<S1614>/Width' */
148U, /* '<S1613>/Width' */
14U, /* '<S1624>/Width' */
55U, /* '<S1603>/Width' */
25U, /* '<S1604>/Width' */
30U, /* '<S1602>/Width' */
40U, /* '<S1605>/Width' */
68U, /* '<S1610>/Width' */
148U, /* '<S1609>/Width' */
14U, /* '<S1620>/Width' */
55U, /* '<S1599>/Width' */
25U, /* '<S1600>/Width' */
30U, /* '<S1598>/Width' */
40U, /* '<S1601>/Width' */
68U, /* '<S1606>/Width' */
60U, /* '<S1605>/Width' */
60U, /* '<S1609>/Width' */
1, /* '<S332>/Compare' */
/* Start of '<S13>/For_each_thrust1' */
@@ -123,32 +123,32 @@ const ConstB_cr929_SIL_T cr929_SIL_ConstB = {
/* Block parameters (default storage) */
P_cr929_SIL_T cr929_SIL_P = {
/* Variable: AccelBias
* Referenced by: '<S1365>/Measurement bias'
* Referenced by: '<S1369>/Measurement bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: AccelScaleMatrix
* Referenced by: '<S1365>/Scale factors & Cross-coupling errors'
* Referenced by: '<S1369>/Scale factors & Cross-coupling errors'
*/
{ 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 },
/* Variable: GyroBias
* Referenced by: '<S1366>/Measurement bias'
* Referenced by: '<S1370>/Measurement bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: GyroGBias
* Referenced by: '<S1366>/g-sensitive bias'
* Referenced by: '<S1370>/g-sensitive bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: GyroScaleMatrix
* Referenced by: '<S1366>/Scale factors & Cross-coupling errors '
* Referenced by: '<S1370>/Scale factors & Cross-coupling errors '
*/
{ 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 },
/* Variable: IMUloc
* Referenced by: '<S1365>/wl_ins'
* Referenced by: '<S1369>/wl_ins'
*/
{ 0.0, 0.0, 0.0 },
@@ -176,39 +176,39 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: deadband_dsp
* Referenced by:
* '<S1481>/Backlash1'
* '<S1481>/Backlash10'
* '<S1481>/Backlash11'
* '<S1481>/Backlash12'
* '<S1481>/Backlash13'
* '<S1481>/Backlash14'
* '<S1481>/Backlash15'
* '<S1481>/Backlash16'
* '<S1481>/Backlash2'
* '<S1481>/Backlash3'
* '<S1481>/Backlash4'
* '<S1481>/Backlash5'
* '<S1481>/Backlash6'
* '<S1481>/Backlash7'
* '<S1481>/Backlash8'
* '<S1481>/Backlash9'
* '<S1485>/Backlash1'
* '<S1485>/Backlash10'
* '<S1485>/Backlash11'
* '<S1485>/Backlash12'
* '<S1485>/Backlash13'
* '<S1485>/Backlash14'
* '<S1485>/Backlash15'
* '<S1485>/Backlash16'
* '<S1485>/Backlash2'
* '<S1485>/Backlash3'
* '<S1485>/Backlash4'
* '<S1485>/Backlash5'
* '<S1485>/Backlash6'
* '<S1485>/Backlash7'
* '<S1485>/Backlash8'
* '<S1485>/Backlash9'
*/
0.0,
/* Variable: map_rpm_lst
* Referenced by:
* '<S1473>/Constant1'
* '<S1483>/Constant1'
* '<S1507>/Constant1'
* '<S1477>/Constant1'
* '<S1487>/Constant1'
* '<S1511>/Constant1'
*/
{ 0.0, 20000.0, 26500.0, 33000.0, 39500.0, 44500.0, 49000.0, 52500.0, 54000.0,
56000.0, 57500.0, 62000.0 },
/* Variable: map_thr_lst
* Referenced by:
* '<S1473>/Constant'
* '<S1483>/Constant'
* '<S1507>/Constant'
* '<S1477>/Constant'
* '<S1487>/Constant'
* '<S1511>/Constant'
*/
{ -0.25, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 },
@@ -219,100 +219,100 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: throttle_k
* Referenced by:
* '<S1484>/Gain3'
* '<S1508>/Gain3'
* '<S1488>/Gain3'
* '<S1512>/Gain3'
*/
1.0,
/* Variable: wind_east
* Referenced by: '<S1691>/wind_East'
* Referenced by: '<S1695>/wind_East'
*/
{ -1.0, -5.0 },
/* Variable: wind_level
* Referenced by:
* '<S1691>/wind_East'
* '<S1691>/wind_North'
* '<S1695>/wind_East'
* '<S1695>/wind_North'
*/
{ 0.0, 600.0 },
/* Variable: wind_north
* Referenced by: '<S1691>/wind_North'
* Referenced by: '<S1695>/wind_North'
*/
{ 3.0, 15.0 },
/* Variable: AccelBias_error
* Referenced by: '<S1388>/Constant'
* Referenced by: '<S1392>/Constant'
*/
{ 0.001F, 0.001F, 0.001F },
/* Variable: AccelDrift_error
* Referenced by: '<S1391>/Constant2'
* Referenced by: '<S1395>/Constant2'
*/
{ 0.0001F, 0.0001F, 0.0001F },
/* Variable: AccelNoisePower_error
* Referenced by: '<S1398>/Constant'
* Referenced by: '<S1402>/Constant'
*/
{ 0.001F, 0.001F, 0.001F },
/* Variable: CLa
* Referenced by: '<S1264>/Constant Single1'
* Referenced by: '<S1268>/Constant Single1'
*/
3.5F,
/* Variable: COMAC_Test_Alt
* Referenced by: '<S1266>/Constant'
* Referenced by: '<S1270>/Constant'
*/
4000.0F,
/* Variable: Cf_lst
* Referenced by: '<S1040>/1-D Lookup Table'
* Referenced by: '<S1044>/1-D Lookup Table'
*/
{ 0.0F, 0.0015F, 0.0030667F, 0.0041667F, 0.0050667F, 0.0059333F, 0.0068667F,
0.0075667F, 0.0084667F, 0.009F, 0.0095333F, 0.010067F },
/* Variable: Cl_lst
* Referenced by: '<S920>/Constant1'
* Referenced by: '<S924>/Constant1'
*/
{ -0.052726F, -0.041769F, -0.030854F, -0.019996F, -0.013563F, -0.0098577F,
-0.0030149F, 0.0F, 0.0030149F, 0.0098577F, 0.013563F, 0.019996F, 0.030854F,
0.041769F, 0.052726F },
/* Variable: Clda
* Referenced by: '<S1263>/Constant10'
* Referenced by: '<S1267>/Constant10'
*/
-0.06404F,
/* Variable: Clda_mix
* Referenced by:
* '<S1263>/Constant9'
* '<S920>/Constant'
* '<S1267>/Constant9'
* '<S924>/Constant'
*/
-0.1007F,
/* Variable: Clp
* Referenced by: '<S1263>/p2pdot'
* Referenced by: '<S1267>/p2pdot'
*/
-0.2657F,
/* Variable: Cmde
* Referenced by: '<S1263>/de2qdot'
* Referenced by: '<S1267>/de2qdot'
*/
-0.7347F,
/* Variable: Cmq
* Referenced by: '<S1263>/q2qdot'
* Referenced by: '<S1267>/q2qdot'
*/
-13.4013F,
/* Variable: Cndr
* Referenced by: '<S1263>/dr2rdot'
* Referenced by: '<S1267>/dr2rdot'
*/
-0.0624F,
/* Variable: Cnr
* Referenced by: '<S1263>/p2pdot1'
* Referenced by: '<S1267>/p2pdot1'
*/
-0.34F,
@@ -337,45 +337,45 @@ P_cr929_SIL_T cr929_SIL_P = {
30.0F,
/* Variable: GyroBias_error
* Referenced by: '<S1388>/Constant1'
* Referenced by: '<S1392>/Constant1'
*/
{ 1.0E-5F, 1.0E-5F, 1.0E-5F },
/* Variable: GyroDrift_error
* Referenced by: '<S1391>/Constant1'
* Referenced by: '<S1395>/Constant1'
*/
{ 1.0E-6F, 1.0E-6F, 1.0E-6F },
/* Variable: GyroNoisePower_error
* Referenced by: '<S1399>/Constant'
* Referenced by: '<S1403>/Constant'
*/
{ 1.0E-5F, 1.0E-5F, 1.0E-5F },
/* Variable: Ixx
* Referenced by: '<S1263>/Constant6'
* Referenced by: '<S1267>/Constant6'
*/
15.064F,
/* Variable: Iyy
* Referenced by: '<S1263>/Constant3'
* Referenced by: '<S1267>/Constant3'
*/
34.774F,
/* Variable: Izz
* Referenced by:
* '<S1263>/Constant7'
* '<S1263>/Gain2'
* '<S1267>/Constant7'
* '<S1267>/Gain2'
*/
45.869F,
/* Variable: K
* Referenced by:
* '<S735>/Constant2'
* '<S755>/Constant2'
* '<S789>/Constant'
* '<S789>/Constant1'
* '<S790>/Constant1'
* '<S790>/Constant2'
* '<S739>/Constant2'
* '<S759>/Constant2'
* '<S793>/Constant'
* '<S793>/Constant1'
* '<S794>/Constant1'
* '<S794>/Constant2'
*/
0.06F,
@@ -387,31 +387,31 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: RefArea
* Referenced by:
* '<S437>/Constant Single50'
* '<S1263>/Sc_Iyy'
* '<S1263>/Sc_Iyy2'
* '<S1263>/Sc_Iyy4'
* '<S1264>/Constant Single2'
* '<S1267>/Sc_Iyy'
* '<S1267>/Sc_Iyy2'
* '<S1267>/Sc_Iyy4'
* '<S1268>/Constant Single2'
*/
1.97876F,
/* Variable: RefLen
* Referenced by:
* '<S1263>/Constant4'
* '<S1263>/q2qdot'
* '<S1267>/Constant4'
* '<S1267>/q2qdot'
*/
0.518F,
/* Variable: RefSpan
* Referenced by:
* '<S1263>/Sc_Iyy1'
* '<S1263>/Sc_Iyy3'
* '<S1263>/p2pdot'
* '<S1263>/p2pdot1'
* '<S1267>/Sc_Iyy1'
* '<S1267>/Sc_Iyy3'
* '<S1267>/p2pdot'
* '<S1267>/p2pdot1'
*/
3.82F,
/* Variable: STEER_POWER
* Referenced by: '<S1263>/Gain2'
* Referenced by: '<S1267>/Gain2'
*/
80.0F,
@@ -441,12 +441,12 @@ P_cr929_SIL_T cr929_SIL_P = {
23.0F,
/* Variable: alpha_body_list
* Referenced by: '<S792>/n-D Lookup Table1'
* Referenced by: '<S796>/n-D Lookup Table1'
*/
{ 0.0F, 2.0F, 5.0F, 8.0F, 10.0F },
/* Variable: alpha_sens_list
* Referenced by: '<S792>/n-D Lookup Table1'
* Referenced by: '<S796>/n-D Lookup Table1'
*/
{ -0.2F, 2.06F, 5.44F, 8.81F, 11.09F },
@@ -456,14 +456,14 @@ P_cr929_SIL_T cr929_SIL_P = {
0.0F,
/* Variable: beta_body_list
* Referenced by: '<S792>/n-D Lookup Table'
* Referenced by: '<S796>/n-D Lookup Table'
*/
{ 0.0F, 2.0F, 5.0F, 10.0F },
{ -10.0F, -5.0F, -2.0F, 0.0F, 2.0F, 5.0F, 10.0F },
/* Variable: beta_sens_list
* Referenced by: '<S792>/n-D Lookup Table'
* Referenced by: '<S796>/n-D Lookup Table'
*/
{ 0.0F, 2.13F, 5.32F, 10.7F },
{ -10.7F, -5.32F, -2.13F, 0.0F, 2.13F, 5.32F, 10.7F },
/* Variable: brake_lock
* Referenced by: '<S441>/Constant'
@@ -476,7 +476,7 @@ P_cr929_SIL_T cr929_SIL_P = {
1100.0F,
/* Variable: cg_lst
* Referenced by: '<S755>/Constant1'
* Referenced by: '<S759>/Constant1'
*/
{ 0.2254F, 0.2237F, 0.2173F, 0.2116F, 0.2062F, 0.201F, 0.1962F, 0.1915F,
0.1872F, 0.1826F, 0.1788F, 0.1739F, 0.1813F, 0.1922F, 0.2029F, 0.2134F,
@@ -484,44 +484,44 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: da_list
* Referenced by:
* '<S735>/1-D Lookup Table'
* '<S1016>/da2dal_deg'
* '<S1016>/da2dar_deg'
* '<S1016>/da2dspl4_deg'
* '<S1016>/da2dspl5_deg'
* '<S1016>/da2dspl6_deg'
* '<S1016>/da2dspl7_deg'
* '<S1016>/da2dspl8_deg'
* '<S1016>/da2dspr4_deg'
* '<S1016>/da2dspr5_deg'
* '<S1016>/da2dspr6_deg'
* '<S1016>/da2dspr7_deg'
* '<S1016>/da2dspr8_deg'
* '<S739>/1-D Lookup Table'
* '<S1020>/da2dal_deg'
* '<S1020>/da2dar_deg'
* '<S1020>/da2dspl4_deg'
* '<S1020>/da2dspl5_deg'
* '<S1020>/da2dspl6_deg'
* '<S1020>/da2dspl7_deg'
* '<S1020>/da2dspl8_deg'
* '<S1020>/da2dspr4_deg'
* '<S1020>/da2dspr5_deg'
* '<S1020>/da2dspr6_deg'
* '<S1020>/da2dspr7_deg'
* '<S1020>/da2dspr8_deg'
*/
{ -30.0F, -24.0F, -18.0F, -15.0F, -12.0F, -6.0F, -3.0F, 0.0F, 3.0F, 6.0F,
12.0F, 15.0F, 18.0F, 24.0F, 30.0F },
/* Variable: da_list_unmix
* Referenced by:
* '<S1015>/da2dal_deg'
* '<S1015>/da2dar_deg'
* '<S1019>/da2dal_deg'
* '<S1019>/da2dar_deg'
*/
{ -30.0F, 0.0F, 30.0F },
/* Variable: da_lst
* Referenced by: '<S920>/Constant2'
* Referenced by: '<S924>/Constant2'
*/
{ 0.5236F, 0.4188F, 0.3141F, 0.2094F, 0.1571F, 0.1309F, 0.0524F, 0.0F,
-0.0524F, -0.1309F, -0.1571F, -0.2094F, -0.3141F, -0.4188F, -0.5236F },
/* Variable: dal_list
* Referenced by: '<S1016>/da2dal_deg'
* Referenced by: '<S1020>/da2dal_deg'
*/
{ 20.0F, 16.8F, 13.6F, 12.0F, 10.4F, 7.2F, 3.8F, 0.0F, -5.7F, -10.8F, -15.6F,
-18.0F, -20.4F, -25.2F, -30.0F },
/* Variable: dal_list_unmix
* Referenced by: '<S1015>/da2dal_deg'
* Referenced by: '<S1019>/da2dal_deg'
*/
{ 20.0F, 0.0F, -30.0F },
@@ -537,33 +537,33 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dar_list
* Referenced by:
* '<S735>/1-D Lookup Table'
* '<S1016>/da2dar_deg'
* '<S739>/1-D Lookup Table'
* '<S1020>/da2dar_deg'
*/
{ -30.0F, -25.2F, -20.4F, -18.0F, -15.6F, -10.8F, -5.7F, 0.0F, 3.8F, 7.2F,
10.4F, 12.0F, 13.6F, 16.8F, 20.0F },
/* Variable: dar_list_unmix
* Referenced by: '<S1015>/da2dar_deg'
* Referenced by: '<S1019>/da2dar_deg'
*/
{ -30.0F, 0.0F, 20.0F },
/* Variable: dar_pos
* Referenced by:
* '<S1472>/Constant1'
* '<S1476>/Constant1'
* '<S441>/1-D Lookup Table3'
*/
{ -0.523599F, 0.0F, 0.349066287F },
/* Variable: dar_pwm
* Referenced by:
* '<S1472>/Constant'
* '<S1476>/Constant'
* '<S441>/1-D Lookup Table3'
*/
{ 1174.0F, 1600.0F, 1900.0F },
/* Variable: ddf_c
* Referenced by: '<S997>/Constant6'
* Referenced by: '<S1001>/Constant6'
*/
0.0F,
@@ -579,21 +579,21 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: den_da2dr
* Referenced by:
* '<S954>/Constant2'
* '<S967>/Constant2'
* '<S958>/Constant2'
* '<S971>/Constant2'
*/
{ 1.0F, -0.993769467F },
/* Variable: der_pos
* Referenced by:
* '<S1474>/Constant1'
* '<S1478>/Constant1'
* '<S441>/1-D Lookup Table4'
*/
{ -0.52356F, 0.0F, 0.436300188F },
/* Variable: der_pwm
* Referenced by:
* '<S1474>/Constant'
* '<S1478>/Constant'
* '<S441>/1-D Lookup Table4'
*/
{ 1154.0F, 1536.0F, 1898.0F },
@@ -605,8 +605,8 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dflap_ratelim
* Referenced by:
* '<S997>/Constant2'
* '<S997>/Constant3'
* '<S1001>/Constant2'
* '<S1001>/Constant3'
*/
0.1745F,
@@ -711,17 +711,17 @@ P_cr929_SIL_T cr929_SIL_P = {
{ 1016.0F, 1660.0F, 1780.0F, 1836.0F },
/* Variable: dht_ratelim
* Referenced by: '<S997>/Constant4'
* Referenced by: '<S1001>/Constant4'
*/
0.0175F,
/* Variable: dr0_c
* Referenced by: '<S951>/Constant'
* Referenced by: '<S955>/Constant'
*/
0.0F,
/* Variable: dr_trim
* Referenced by: '<S997>/Constant7'
* Referenced by: '<S1001>/Constant7'
*/
0.0F,
@@ -733,7 +733,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: drd_pwm
* Referenced by: '<S441>/1-D Lookup Table'
*/
{ 1950.0F, 1498.0F, 1098.0F },
{ 1840.0F, 1498.0F, 1128.0F },
/* Variable: dru_pos
* Referenced by: '<S441>/1-D Lookup Table6'
@@ -743,41 +743,41 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dru_pwm
* Referenced by: '<S441>/1-D Lookup Table6'
*/
{ 1864.0F, 1496.0F, 1188.0F },
{ 1775.0F, 1496.0F, 1228.0F },
/* Variable: dsp_ratelim
* Referenced by:
* '<S997>/Constant'
* '<S997>/Constant1'
* '<S1001>/Constant'
* '<S1001>/Constant1'
*/
0.0582F,
/* Variable: dspl4_list
* Referenced by: '<S1016>/da2dspl4_deg'
* Referenced by: '<S1020>/da2dspl4_deg'
*/
{ 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -3.6F, -5.6F,
-8.1F, -14.4F, -22.5F },
/* Variable: dspl5_list
* Referenced by: '<S1016>/da2dspl5_deg'
* Referenced by: '<S1020>/da2dspl5_deg'
*/
{ 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -3.6F, -5.6F,
-8.1F, -14.4F, -22.5F },
/* Variable: dspl6_list
* Referenced by: '<S1016>/da2dspl6_deg'
* Referenced by: '<S1020>/da2dspl6_deg'
*/
{ 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -4.1F, -6.4F,
-9.2F, -16.3F, -25.5F },
/* Variable: dspl7_list
* Referenced by: '<S1016>/da2dspl7_deg'
* Referenced by: '<S1020>/da2dspl7_deg'
*/
{ 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -4.1F, -6.4F,
-9.2F, -16.3F, -25.5F },
/* Variable: dspl8_list
* Referenced by: '<S1016>/da2dspl8_deg'
* Referenced by: '<S1020>/da2dspl8_deg'
*/
{ 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -4.8F, -7.5F,
-10.8F, -19.2F, -30.0F },
@@ -785,14 +785,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspli1_pos
* Referenced by:
* '<S439>/1-D Lookup Table'
* '<S1550>/Constant1'
* '<S1554>/Constant1'
*/
{ -0.8726F, 0.0F, 0.192F },
/* Variable: dspli1_pwm
* Referenced by:
* '<S439>/1-D Lookup Table'
* '<S1550>/Constant'
* '<S1554>/Constant'
*/
{ 1340.0F, 1748.0F, 1818.0F },
@@ -829,14 +829,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo2_pos
* Referenced by:
* '<S439>/1-D Lookup Table7'
* '<S1546>/Constant1'
* '<S1550>/Constant1'
*/
{ -0.8726F, 0.0F, 0.2112F },
/* Variable: dsplo2_pwm
* Referenced by:
* '<S439>/1-D Lookup Table7'
* '<S1546>/Constant'
* '<S1550>/Constant'
*/
{ 1158.0F, 1642.0F, 1736.0F },
@@ -863,43 +863,43 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo5_pos
* Referenced by:
* '<S439>/1-D Lookup Table10'
* '<S1545>/Constant1'
* '<S1549>/Constant1'
*/
{ -0.8726F, 0.0F, 0.2112F },
/* Variable: dsplo5_pwm
* Referenced by:
* '<S439>/1-D Lookup Table10'
* '<S1545>/Constant'
* '<S1549>/Constant'
*/
{ 1164.0F, 1716.0F, 1832.0F },
/* Variable: dspr4_list
* Referenced by: '<S1016>/da2dspr4_deg'
* Referenced by: '<S1020>/da2dspr4_deg'
*/
{ -22.5F, -14.4F, -8.1F, -5.625F, -3.6F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0F, 0.0F, 0.0F, 0.0F },
/* Variable: dspr5_list
* Referenced by: '<S1016>/da2dspr5_deg'
* Referenced by: '<S1020>/da2dspr5_deg'
*/
{ -22.5F, -14.4F, -8.1F, -5.625F, -3.6F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0F, 0.0F, 0.0F, 0.0F },
/* Variable: dspr6_list
* Referenced by: '<S1016>/da2dspr6_deg'
* Referenced by: '<S1020>/da2dspr6_deg'
*/
{ -25.5F, -16.32F, -9.18F, -6.375F, -4.08F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0F, 0.0F, 0.0F, 0.0F },
/* Variable: dspr7_list
* Referenced by: '<S1016>/da2dspr7_deg'
* Referenced by: '<S1020>/da2dspr7_deg'
*/
{ -25.5F, -16.32F, -9.18F, -6.375F, -4.08F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0F, 0.0F, 0.0F, 0.0F },
/* Variable: dspr8_list
* Referenced by: '<S1016>/da2dspr8_deg'
* Referenced by: '<S1020>/da2dspr8_deg'
*/
{ -30.0F, -19.2F, -10.8F, -7.5F, -4.8F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0F, 0.0F, 0.0F, 0.0F },
@@ -917,42 +917,42 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspri2_pos
* Referenced by:
* '<S439>/1-D Lookup Table4'
* '<S1537>/Constant1'
* '<S1541>/Constant1'
*/
{ -0.8726F, 0.0F, 0.192F },
/* Variable: dspri2_pwm
* Referenced by:
* '<S439>/1-D Lookup Table4'
* '<S1537>/Constant'
* '<S1541>/Constant'
*/
{ 1348.0F, 1797.0F, 1848.0F },
/* Variable: dspri3_pos
* Referenced by:
* '<S439>/1-D Lookup Table5'
* '<S1539>/Constant1'
* '<S1543>/Constant1'
*/
{ -0.8726F, 0.0F, 0.192F },
/* Variable: dspri3_pwm
* Referenced by:
* '<S439>/1-D Lookup Table5'
* '<S1539>/Constant'
* '<S1543>/Constant'
*/
{ 1344.0F, 1755.0F, 1790.0F },
/* Variable: dspro1_pos
* Referenced by:
* '<S439>/1-D Lookup Table12'
* '<S1538>/Constant1'
* '<S1542>/Constant1'
*/
{ -0.8726F, 0.0F, 0.2112F },
/* Variable: dspro1_pwm
* Referenced by:
* '<S439>/1-D Lookup Table12'
* '<S1538>/Constant'
* '<S1542>/Constant'
*/
{ 1180.0F, 1748.0F, 1875.0F },
@@ -969,28 +969,28 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspro3_pos
* Referenced by:
* '<S439>/1-D Lookup Table14'
* '<S1541>/Constant1'
* '<S1545>/Constant1'
*/
{ -0.8726F, 0.0F, 0.2112F },
/* Variable: dspro3_pwm
* Referenced by:
* '<S439>/1-D Lookup Table14'
* '<S1541>/Constant'
* '<S1545>/Constant'
*/
{ 1142.0F, 1646.0F, 1752.0F },
/* Variable: dspro4_pos
* Referenced by:
* '<S439>/1-D Lookup Table15'
* '<S1542>/Constant1'
* '<S1546>/Constant1'
*/
{ -0.8726F, 0.0F, 0.2112F },
/* Variable: dspro4_pwm
* Referenced by:
* '<S439>/1-D Lookup Table15'
* '<S1542>/Constant'
* '<S1546>/Constant'
*/
{ 1122.0F, 1674.0F, 1796.0F },
@@ -1005,24 +1005,24 @@ P_cr929_SIL_T cr929_SIL_P = {
{ 1850.0F, 1270.0F, 1152.0F },
/* Variable: flap_level
* Referenced by: '<S562>/Constant2'
* Referenced by: '<S566>/Constant2'
*/
3.0F,
/* Variable: force_thrl
* Referenced by: '<S1000>/Constant'
* Referenced by: '<S1004>/Constant'
*/
-1.0F,
/* Variable: force_thrr
* Referenced by: '<S1001>/Constant'
* Referenced by: '<S1005>/Constant'
*/
-1.0F,
/* Variable: k_da2dr
* Referenced by:
* '<S954>/Constant'
* '<S967>/Constant'
* '<S958>/Constant'
* '<S971>/Constant'
*/
0.2F,
@@ -1057,12 +1057,12 @@ P_cr929_SIL_T cr929_SIL_P = {
1.5F,
/* Variable: ksi_v2tht
* Referenced by: '<S1265>/Constant1'
* Referenced by: '<S1269>/Constant1'
*/
0.8F,
/* Variable: kthr_r
* Referenced by: '<S997>/gain'
* Referenced by: '<S1001>/gain'
*/
1.0F,
@@ -1077,59 +1077,59 @@ P_cr929_SIL_T cr929_SIL_P = {
0.15F,
/* Variable: lever_time
* Referenced by: '<S997>/Constant5'
* Referenced by: '<S1001>/Constant5'
*/
3.0F,
/* Variable: m
* Referenced by:
* '<S437>/Constant Single4'
* '<S1264>/Constant Single'
* '<S1268>/Constant Single'
*/
76.1F,
/* Variable: margin_ay
* Referenced by: '<S690>/Constant1'
* Referenced by: '<S694>/Constant1'
*/
3.0F,
/* Variable: margin_ay_comac
* Referenced by: '<S566>/Constant5'
* Referenced by: '<S570>/Constant5'
*/
10.0F,
/* Variable: margin_ay_maneuver
* Referenced by: '<S605>/Constant1'
* Referenced by: '<S609>/Constant1'
*/
10.0F,
/* Variable: margin_beta
* Referenced by: '<S690>/Constant'
* Referenced by: '<S694>/Constant'
*/
0.1745F,
/* Variable: margin_beta_comac
* Referenced by: '<S566>/Constant4'
* Referenced by: '<S570>/Constant4'
*/
0.31F,
/* Variable: margin_beta_maneuver
* Referenced by: '<S605>/Constant2'
* Referenced by: '<S609>/Constant2'
*/
0.3141F,
/* Variable: margin_phi_comac
* Referenced by: '<S566>/Constant'
* Referenced by: '<S570>/Constant'
*/
1.0F,
/* Variable: margin_tht_comac
* Referenced by: '<S566>/Constant3'
* Referenced by: '<S570>/Constant3'
*/
0.5F,
/* Variable: mass_lst
* Referenced by: '<S755>/Constant'
* Referenced by: '<S759>/Constant'
*/
{ 52.69F, 53.64F, 54.66F, 55.66F, 56.66F, 57.66F, 58.66F, 59.66F, 60.66F,
61.66F, 62.65F, 63.67F, 64.67F, 65.66F, 66.67F, 67.68F, 68.67F, 69.69F,
@@ -1153,48 +1153,48 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_da
* Referenced by:
* '<S437>/Constant Single1'
* '<S1263>/Constant8'
* '<S558>/gain1'
* '<S712>/gain1'
* '<S565>/gain1'
* '<S1267>/Constant8'
* '<S562>/gain1'
* '<S716>/gain1'
* '<S569>/gain1'
*/
0.5236F,
/* Variable: max_de
* Referenced by:
* '<S437>/Constant Single2'
* '<S1263>/Constant1'
* '<S1267>/Constant1'
*/
0.436300188F,
/* Variable: max_dh
* Referenced by:
* '<S735>/Constant1'
* '<S558>/gain7'
* '<S739>/Constant1'
* '<S562>/gain7'
* '<S1002>/Constant'
* '<S566>/gain7'
* '<S1006>/Constant'
*/
0.0349040143F,
/* Variable: max_dr
* Referenced by:
* '<S437>/Constant Single5'
* '<S1263>/Constant2'
* '<S558>/gain2'
* '<S712>/gain2'
* '<S565>/gain2'
* '<S1267>/Constant2'
* '<S562>/gain2'
* '<S716>/gain2'
* '<S569>/gain2'
*/
0.5236F,
/* Variable: max_dr_damping
* Referenced by: '<S948>/Constant'
* Referenced by: '<S952>/Constant'
*/
0.1309F,
/* Variable: max_dsp
* Referenced by:
* '<S558>/gain5'
* '<S562>/gain5'
* '<S566>/gain5'
*/
0.2F,
@@ -1211,7 +1211,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_phi
* Referenced by:
* '<S437>/Constant Single7'
* '<S566>/gain1'
* '<S570>/gain1'
*/
0.6F,
@@ -1227,10 +1227,10 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_steer
* Referenced by:
* '<S1263>/Constant'
* '<S558>/gain3'
* '<S712>/gain3'
* '<S565>/gain3'
* '<S1267>/Constant'
* '<S562>/gain3'
* '<S716>/gain3'
* '<S569>/gain3'
*/
0.3F,
@@ -1246,10 +1246,10 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_thr_manual
* Referenced by:
* '<S558>/saturation'
* '<S712>/saturation'
* '<S565>/saturation'
* '<S566>/saturation'
* '<S562>/saturation'
* '<S716>/saturation'
* '<S569>/saturation'
* '<S570>/saturation'
*/
1.0F,
@@ -1261,43 +1261,43 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_tht
* Referenced by:
* '<S437>/Constant Single6'
* '<S566>/gain'
* '<S570>/gain'
*/
0.25F,
/* Variable: min_AS
* Referenced by:
* '<S437>/Constant Single55'
* '<S703>/Constant'
* '<S850>/Constant'
* '<S707>/Constant'
* '<S854>/Constant'
*/
25.0F,
/* Variable: min_as_comac
* Referenced by: '<S566>/Constant6'
* Referenced by: '<S570>/Constant6'
*/
23.0F,
/* Variable: min_de
* Referenced by:
* '<S437>/Constant Single3'
* '<S1263>/Constant5'
* '<S1267>/Constant5'
*/
-0.523560226F,
/* Variable: min_dh
* Referenced by:
* '<S735>/Constant3'
* '<S558>/gain8'
* '<S739>/Constant3'
* '<S562>/gain8'
* '<S1002>/Constant1'
* '<S566>/gain8'
* '<S1006>/Constant1'
*/
-0.253054112F,
/* Variable: min_dsp
* Referenced by:
* '<S558>/gain6'
* '<S562>/gain6'
* '<S566>/gain6'
*/
-0.88F,
@@ -1318,8 +1318,8 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: num_da2dr
* Referenced by:
* '<S954>/Constant1'
* '<S967>/Constant1'
* '<S958>/Constant1'
* '<S971>/Constant1'
*/
{ 0.0F, 0.00623050937F },
@@ -1334,20 +1334,20 @@ P_cr929_SIL_T cr929_SIL_P = {
1360.0F,
/* Variable: phic2dr
* Referenced by: '<S948>/gain2'
* Referenced by: '<S952>/gain2'
*/
0.0F,
/* Variable: steer_pos
* Referenced by:
* '<S1470>/Constant1'
* '<S1474>/Constant1'
* '<S440>/1-D Lookup Table'
*/
{ -0.35F, 0.0F, 0.35F },
/* Variable: steer_pwm
* Referenced by:
* '<S1470>/Constant'
* '<S1474>/Constant'
* '<S440>/1-D Lookup Table'
*/
{ 1152.0F, 1500.0F, 1884.0F },
@@ -1358,13 +1358,13 @@ P_cr929_SIL_T cr929_SIL_P = {
0.1F,
/* Variable: thr_lst
* Referenced by: '<S1040>/1-D Lookup Table'
* Referenced by: '<S1044>/1-D Lookup Table'
*/
{ -0.25F, 0.0F, 0.1F, 0.2F, 0.3F, 0.4F, 0.5F, 0.6F, 0.7F, 0.8F, 0.9F, 1.0F },
/* Variable: thr_pos
* Referenced by:
* '<S1462>/Constant1'
* '<S1466>/Constant1'
* '<S441>/1-D Lookup Table1'
* '<S441>/1-D Lookup Table2'
*/
@@ -1372,7 +1372,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: thr_pwm
* Referenced by:
* '<S1462>/Constant'
* '<S1466>/Constant'
* '<S441>/1-D Lookup Table1'
* '<S441>/1-D Lookup Table2'
*/
@@ -1404,7 +1404,7 @@ P_cr929_SIL_T cr929_SIL_P = {
0.25F,
/* Variable: w_v2tht
* Referenced by: '<S1265>/Constant'
* Referenced by: '<S1269>/Constant'
*/
0.4F,
@@ -1453,18 +1453,18 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: system_id
* Referenced by:
* '<S3>/Constant'
* '<S1171>/system_id'
* '<S1179>/Chart_proc_mission_clr_all'
* '<S1180>/Chart'
* '<S1181>/Chart'
* '<S1182>/Chart_proc_mission_req'
* '<S1183>/Chart_proc_mission_req_lst'
* '<S1175>/system_id'
* '<S1183>/Chart_proc_mission_clr_all'
* '<S1184>/Chart'
* '<S1220>/Chart'
* '<S1221>/Chart_proc_param_req_read'
* '<S1222>/Chart_proc_param_set'
* '<S1250>/system_id'
* '<S1261>/system_id'
* '<S1185>/Chart'
* '<S1186>/Chart_proc_mission_req'
* '<S1187>/Chart_proc_mission_req_lst'
* '<S1188>/Chart'
* '<S1224>/Chart'
* '<S1225>/Chart_proc_param_req_read'
* '<S1226>/Chart_proc_param_set'
* '<S1254>/system_id'
* '<S1265>/system_id'
*/
1U,
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -96,6 +96,10 @@ preprocessor word size checks.
/* Skipping ulong_long/long_long check: insufficient preprocessor integer range. */
extern const real_T rtCP_pooled_FEWufo6vVHrj[9];
extern const real_T rtCP_pooled_B5TQ9jFT4w0p[3];
extern const real_T rtCP_pooled_eaePBIvN9imr[7];
extern const real_T rtCP_pooled_ts7x8YNHFyhP[7];
extern const real_T rtCP_pooled_2ge4y9OaH7Hm[5];
extern const real_T rtCP_pooled_ChIx5sVImrQQ[5];
extern const real_T rtCP_pooled_8RBKE3gHchpO[12];
extern const real_T rtCP_pooled_xcOBkYu90x0b[84];
extern const real_T rtCP_pooled_bDcwUj8yZ6yU[3];
@@ -241,7 +245,7 @@ extern const real32_T rtCP_pooled_nYtEm1Kvb8qa[3];
extern const real32_T rtCP_pooled_nUDeceLqqTb8[3];
extern const real32_T rtCP_pooled_7MiAWLCTV36C[3];
extern const real32_T rtCP_pooled_umQAWDgp4Mni[3];
extern const real32_T rtCP_pooled_EW5saFu4wdyF[3];
extern const real32_T rtCP_pooled_7zE6SMg1RRAa[3];
extern const real32_T rtCP_pooled_yWVMTaHackMS[3];
extern const real32_T rtCP_pooled_JS4Ggg2VlHJv[3];
extern const real32_T rtCP_pooled_H5asl5rOUZUB[3];
@@ -272,11 +276,23 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
#define rtCP_Constant_Value_bj rtCP_pooled_B5TQ9jFT4w0p /* Expression: [0 0 0]
* Referenced by: '<S333>/Constant'
*/
#define rtCP_nDLookupTable_tableData rtCP_pooled_eaePBIvN9imr /* Expression: [-10 -5 -2 0 2 5 10]
* Referenced by: '<S1404>/n-D Lookup Table'
*/
#define rtCP_nDLookupTable_bp01Data rtCP_pooled_ts7x8YNHFyhP /* Expression: [-10.7 -5.32 -2.13 0 2.13 5.32 10.7]
* Referenced by: '<S1404>/n-D Lookup Table'
*/
#define rtCP_nDLookupTable1_tableData rtCP_pooled_2ge4y9OaH7Hm /* Expression: [0 2 5 8 10]
* Referenced by: '<S1404>/n-D Lookup Table1'
*/
#define rtCP_nDLookupTable1_bp01Data rtCP_pooled_ChIx5sVImrQQ /* Expression: [-0.2 2.06 5.44 8.81 11.09]
* Referenced by: '<S1404>/n-D Lookup Table1'
*/
#define rtCP_PreLookUpIndexSearchaltitude_BreakpointsData rtCP_pooled_8RBKE3gHchpO/* Expression: h_vec
* Referenced by: '<S1718>/PreLook-Up Index Search (altitude)'
* Referenced by: '<S1722>/PreLook-Up Index Search (altitude)'
*/
#define rtCP_MediumHighAltitudeIntensity_Table rtCP_pooled_xcOBkYu90x0b/* Expression: sigma_vec'
* Referenced by: '<S1718>/Medium//High Altitude Intensity'
* Referenced by: '<S1722>/Medium//High Altitude Intensity'
*/
#define rtCP_Gain1_Gain_my rtCP_pooled_bDcwUj8yZ6yU /* Expression: [1 1 -1]
* Referenced by: '<S176>/Gain1'
@@ -1494,121 +1510,121 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S9>/Constant'
*/
#define rtCP_uDLookupTable_tableData rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S712>/1-D Lookup Table'
* Referenced by: '<S716>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data
* Referenced by: '<S712>/1-D Lookup Table'
* Referenced by: '<S716>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_e rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S558>/1-D Lookup Table'
* Referenced by: '<S562>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_k rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data_k
* Referenced by: '<S558>/1-D Lookup Table'
* Referenced by: '<S562>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_j rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S565>/1-D Lookup Table'
* Referenced by: '<S569>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_ku rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data_ku
* Referenced by: '<S565>/1-D Lookup Table'
* Referenced by: '<S569>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_f rtCP_pooled_azjKpWdkfSvW /* Computed Parameter: rtCP_uDLookupTable_tableData_f
* Referenced by: '<S833>/1-D Lookup Table'
* Referenced by: '<S837>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_m rtCP_pooled_FZlVOXiDrkG5 /* Computed Parameter: rtCP_uDLookupTable_bp01Data_m
* Referenced by: '<S833>/1-D Lookup Table'
* Referenced by: '<S837>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable1_tableData rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable1_tableData
* Referenced by: '<S1263>/1-D Lookup Table1'
* Referenced by: '<S1267>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable1_bp01Data rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable1_bp01Data
* Referenced by: '<S1263>/1-D Lookup Table1'
* Referenced by: '<S1267>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable2_tableData rtCP_pooled_8WXHatNAaNXU /* Computed Parameter: rtCP_uDLookupTable2_tableData
* Referenced by: '<S1263>/1-D Lookup Table2'
* Referenced by: '<S1267>/1-D Lookup Table2'
*/
#define rtCP_uDLookupTable2_bp01Data rtCP_pooled_3U8YQv20XtcC /* Computed Parameter: rtCP_uDLookupTable2_bp01Data
* Referenced by: '<S1263>/1-D Lookup Table2'
* Referenced by: '<S1267>/1-D Lookup Table2'
*/
#define rtCP_uDLookupTable4_tableData rtCP_pooled_0BwgFckvyiIM /* Computed Parameter: rtCP_uDLookupTable4_tableData
* Referenced by: '<S1263>/1-D Lookup Table4'
* Referenced by: '<S1267>/1-D Lookup Table4'
*/
#define rtCP_uDLookupTable4_bp01Data rtCP_pooled_vpZBO0efDb68 /* Computed Parameter: rtCP_uDLookupTable4_bp01Data
* Referenced by: '<S1263>/1-D Lookup Table4'
* Referenced by: '<S1267>/1-D Lookup Table4'
*/
#define rtCP_uDLookupTable3_tableData rtCP_pooled_1VJA2wyEDXXd /* Computed Parameter: rtCP_uDLookupTable3_tableData
* Referenced by: '<S1263>/1-D Lookup Table3'
* Referenced by: '<S1267>/1-D Lookup Table3'
*/
#define rtCP_uDLookupTable3_bp01Data rtCP_pooled_0WDnDJ93CH0Q /* Computed Parameter: rtCP_uDLookupTable3_bp01Data
* Referenced by: '<S1263>/1-D Lookup Table3'
* Referenced by: '<S1267>/1-D Lookup Table3'
*/
#define rtCP_Constant_Value_pl rtCP_pooled_uvP8VOcVxbXK /* Expression: flip(dhl_pwm)
* Referenced by: '<S1468>/Constant'
* Referenced by: '<S1472>/Constant'
*/
#define rtCP_Constant1_Value_ke rtCP_pooled_cQRpYPC1d9LW /* Expression: flip(dhl_pos)
* Referenced by: '<S1468>/Constant1'
* Referenced by: '<S1472>/Constant1'
*/
#define rtCP_Constant_Value_gw rtCP_pooled_qMVeo9lBoH0U /* Expression: flip(dspro5_pwm)
* Referenced by: '<S1543>/Constant'
*/
#define rtCP_Constant1_Value_ft rtCP_pooled_lWipTZTk5imh /* Expression: flip(dspro5_pos)
* Referenced by: '<S1543>/Constant1'
*/
#define rtCP_Constant_Value_gwr rtCP_pooled_vtHPO0T4g5IH /* Expression: flip(dspro2_pwm)
* Referenced by: '<S1540>/Constant'
*/
#define rtCP_Constant1_Value_jx rtCP_pooled_lWipTZTk5imh /* Expression: flip(dspro2_pos)
* Referenced by: '<S1540>/Constant1'
*/
#define rtCP_Constant_Value_dpr rtCP_pooled_xtqUTZeIwvvL /* Expression: flip(dspri1_pwm)
* Referenced by: '<S1551>/Constant'
*/
#define rtCP_Constant1_Value_k5 rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspri1_pos)
* Referenced by: '<S1551>/Constant1'
*/
#define rtCP_Constant_Value_ek rtCP_pooled_dFsdQvRSmgjL /* Expression: flip(dspli2_pwm)
* Referenced by: '<S1549>/Constant'
*/
#define rtCP_Constant1_Value_n0 rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspli2_pos)
* Referenced by: '<S1549>/Constant1'
*/
#define rtCP_Constant_Value_hy rtCP_pooled_nYtEm1Kvb8qa /* Expression: flip(dspli3_pwm)
* Referenced by: '<S1548>/Constant'
*/
#define rtCP_Constant1_Value_in rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspli3_pos)
* Referenced by: '<S1548>/Constant1'
*/
#define rtCP_Constant_Value_gc rtCP_pooled_nUDeceLqqTb8 /* Expression: flip(dsplo1_pwm)
* Referenced by: '<S1547>/Constant'
*/
#define rtCP_Constant1_Value_e3 rtCP_pooled_lWipTZTk5imh /* Expression: flip(dsplo1_pos)
#define rtCP_Constant1_Value_ft rtCP_pooled_lWipTZTk5imh /* Expression: flip(dspro5_pos)
* Referenced by: '<S1547>/Constant1'
*/
#define rtCP_Constant_Value_aq rtCP_pooled_7MiAWLCTV36C /* Expression: flip(dsplo3_pwm)
#define rtCP_Constant_Value_gwr rtCP_pooled_vtHPO0T4g5IH /* Expression: flip(dspro2_pwm)
* Referenced by: '<S1544>/Constant'
*/
#define rtCP_Constant1_Value_i5 rtCP_pooled_lWipTZTk5imh /* Expression: flip(dsplo3_pos)
#define rtCP_Constant1_Value_jx rtCP_pooled_lWipTZTk5imh /* Expression: flip(dspro2_pos)
* Referenced by: '<S1544>/Constant1'
*/
#define rtCP_Constant_Value_dpr rtCP_pooled_xtqUTZeIwvvL /* Expression: flip(dspri1_pwm)
* Referenced by: '<S1555>/Constant'
*/
#define rtCP_Constant1_Value_k5 rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspri1_pos)
* Referenced by: '<S1555>/Constant1'
*/
#define rtCP_Constant_Value_ek rtCP_pooled_dFsdQvRSmgjL /* Expression: flip(dspli2_pwm)
* Referenced by: '<S1553>/Constant'
*/
#define rtCP_Constant1_Value_n0 rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspli2_pos)
* Referenced by: '<S1553>/Constant1'
*/
#define rtCP_Constant_Value_hy rtCP_pooled_nYtEm1Kvb8qa /* Expression: flip(dspli3_pwm)
* Referenced by: '<S1552>/Constant'
*/
#define rtCP_Constant1_Value_in rtCP_pooled_zcCKt7BEliXd /* Expression: flip(dspli3_pos)
* Referenced by: '<S1552>/Constant1'
*/
#define rtCP_Constant_Value_gc rtCP_pooled_nUDeceLqqTb8 /* Expression: flip(dsplo1_pwm)
* Referenced by: '<S1551>/Constant'
*/
#define rtCP_Constant1_Value_e3 rtCP_pooled_lWipTZTk5imh /* Expression: flip(dsplo1_pos)
* Referenced by: '<S1551>/Constant1'
*/
#define rtCP_Constant_Value_aq rtCP_pooled_7MiAWLCTV36C /* Expression: flip(dsplo3_pwm)
* Referenced by: '<S1548>/Constant'
*/
#define rtCP_Constant1_Value_i5 rtCP_pooled_lWipTZTk5imh /* Expression: flip(dsplo3_pos)
* Referenced by: '<S1548>/Constant1'
*/
#define rtCP_Constant_Value_le0 rtCP_pooled_umQAWDgp4Mni /* Expression: flip(dsplo4_pwm)
* Referenced by: '<S1536>/Constant'
* Referenced by: '<S1540>/Constant'
*/
#define rtCP_Constant1_Value_mt rtCP_pooled_lWipTZTk5imh /* Expression: flip(dsplo4_pos)
* Referenced by: '<S1536>/Constant1'
* Referenced by: '<S1540>/Constant1'
*/
#define rtCP_Constant_Value_pf rtCP_pooled_EW5saFu4wdyF /* Expression: flip(dru_pwm)
* Referenced by: '<S1475>/Constant'
#define rtCP_Constant_Value_pf rtCP_pooled_7zE6SMg1RRAa /* Expression: flip(dru_pwm)
* Referenced by: '<S1479>/Constant'
*/
#define rtCP_Constant1_Value_bh rtCP_pooled_yWVMTaHackMS /* Expression: flip(dru_pos)
* Referenced by: '<S1475>/Constant1'
* Referenced by: '<S1479>/Constant1'
*/
#define rtCP_Constant_Value_a2 rtCP_pooled_JS4Ggg2VlHJv /* Expression: flip(dal_pwm)
* Referenced by: '<S1466>/Constant'
* Referenced by: '<S1470>/Constant'
*/
#define rtCP_Constant1_Value_kxr rtCP_pooled_H5asl5rOUZUB /* Expression: flip(dal_pos)
* Referenced by: '<S1466>/Constant1'
* Referenced by: '<S1470>/Constant1'
*/
#define rtCP_MediumHighAltitudeIntensity_maxIndex rtCP_pooled_BWTVQM0GuqkK/* Computed Parameter: rtCP_MediumHighAltitudeIntensity_maxIndex
* Referenced by: '<S1718>/Medium//High Altitude Intensity'
* Referenced by: '<S1722>/Medium//High Altitude Intensity'
*/
#define rtCP_table2D_CL_lat_maxIndex rtCP_pooled_52mPzBGwtz3T /* Computed Parameter: rtCP_table2D_CL_lat_maxIndex
* Referenced by: '<S58>/table2D_CL_lat'
@@ -1983,7 +1999,7 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S2>/Constant'
*/
#define rtCP_mav_parser_P1 rtCP_pooled_e6HU8n7YauPz /* Expression: Channel
* Referenced by: '<S1167>/mav_parser'
* Referenced by: '<S1171>/mav_parser'
*/
#define rtCP_ConstantBP_Value_ce rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_ConstantBP_Value_ce
* Referenced by: '<S3>/Constant BP'
@@ -1992,70 +2008,70 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S3>/Constant BP1'
*/
#define rtCP_SFunction_P1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1644>/S-Function'
* Referenced by: '<S1648>/S-Function'
*/
#define rtCP_SFunction_P1_a rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1647>/S-Function'
* Referenced by: '<S1651>/S-Function'
*/
#define rtCP_SFunction_P1_h rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1632>/S-Function'
* Referenced by: '<S1636>/S-Function'
*/
#define rtCP_SFunction_P1_i rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1623>/S-Function'
* Referenced by: '<S1627>/S-Function'
*/
#define rtCP_SFunction_P1_j rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1629>/S-Function'
* Referenced by: '<S1633>/S-Function'
*/
#define rtCP_SFunction_P1_b rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1626>/S-Function'
* Referenced by: '<S1630>/S-Function'
*/
#define rtCP_SFunction_P1_bz rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1686>/S-Function'
* Referenced by: '<S1690>/S-Function'
*/
#define rtCP_SFunction_P1_n rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1656>/S-Function'
* Referenced by: '<S1660>/S-Function'
*/
#define rtCP_SFunction_P1_an rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1659>/S-Function'
* Referenced by: '<S1663>/S-Function'
*/
#define rtCP_SFunction_P1_f rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1662>/S-Function'
* Referenced by: '<S1666>/S-Function'
*/
#define rtCP_SFunction_P1_al rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1665>/S-Function'
*/
#define rtCP_Constant_Value_fz rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_Constant_Value_fz
* Referenced by: '<S1613>/Constant'
*/
#define rtCP_SFunction_P1_jo rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1669>/S-Function'
*/
#define rtCP_Constant_Value_fz rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_Constant_Value_fz
* Referenced by: '<S1617>/Constant'
*/
#define rtCP_SFunction_P1_jo rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1673>/S-Function'
*/
#define rtCP_SFunction_P1_d rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1650>/S-Function'
* Referenced by: '<S1654>/S-Function'
*/
#define rtCP_SFunction_P1_bs rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1653>/S-Function'
* Referenced by: '<S1657>/S-Function'
*/
#define rtCP_SFunction_P1_as rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1641>/S-Function'
* Referenced by: '<S1645>/S-Function'
*/
#define rtCP_SFunction_P1_g rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1638>/S-Function'
* Referenced by: '<S1642>/S-Function'
*/
#define rtCP_SFunction_P1_a1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1635>/S-Function'
* Referenced by: '<S1639>/S-Function'
*/
#define rtCP_SFunction_P1_m rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1672>/S-Function'
*/
#define rtCP_SFunction_P1_p rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1676>/S-Function'
*/
#define rtCP_SFunction_P1_p rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1680>/S-Function'
*/
#define rtCP_SFunction_P1_i1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1679>/S-Function'
* Referenced by: '<S1683>/S-Function'
*/
#define rtCP_SFunction_P1_d4 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1682>/S-Function'
* Referenced by: '<S1686>/S-Function'
*/
#ifdef __cplusplus
@@ -3379,11 +3395,6 @@ extern void cr929_SIL_auto_sw(uint16_T rtu_in, uint8_T *rty_out);
extern void cr929_SIL_brake_sw(uint16_T rtu_in, boolean_T *rty_out);
extern void cr929_SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T
rtu_channels[18], C2 *rty_C2_out);
extern void cr929_SIL_manual_arm_disarm_Init(DW_manual_arm_disarm_cr929_SIL_T
*localDW);
extern void cr929_SIL_manual_arm_disarm(boolean_T rtu_armed_in, real32_T
rtu_pitch_in, real32_T rtu_roll_in, real32_T rtu_yaw_in, real32_T rtu_thr_in,
boolean_T *rty_armed_out, DW_manual_arm_disarm_cr929_SIL_T *localDW);
extern void cr929_SIL_pos_sel(uint16_T rtu_dfc_in, uint8_T *rty_pos_out);
extern void cr929_SIL_doublet_Init(DW_doublet_cr929_SIL_T *localDW);
extern void cr929_SIL_doublet_Reset(DW_doublet_cr929_SIL_T *localDW);
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1763
* Model version : 1.1783
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 16 15:22:10 2021
* C/C++ source code generated on : Sat Nov 20 09:53:57 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)