update gencode

This commit is contained in:
LyuWeiye
2022-11-03 16:38:02 +08:00
parent 73a076b7c2
commit 6dff9bbcee
100 changed files with 14374 additions and 14023 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.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -999,10 +999,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
rtElementMap, rtSampleTimeMap, rtDimensionArray },
"float",
{ 555471195U,
1912744099U,
1057339365U,
2202586084U },
{ 4209154716U,
1120572374U,
663529447U,
2818280567U },
(NULL), 0,
0
};
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* 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.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -43,45 +43,45 @@ const ConstB_cr929_SIL_T cr929_SIL_ConstB = {
{ 0.0, 0.0, 0.0 }, /* synthesized block */
{ 0.05533534132902769, 0.05533534132902769, 0.05533534132902769,
0.05533534132902769 }, /* '<S1855>/Sqrt' */
0.05533534132902769, /* '<S1855>/Sqrt1' */
0.05533534132902769 }, /* '<S1875>/Sqrt' */
0.05533534132902769, /* '<S1875>/Sqrt1' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1855>/Divide' */
0.0, /* '<S1844>/Unit Conversion' */
0.0, /* '<S1854>/Unit Conversion' */
0.0, /* '<S1863>/sigma_wg ' */
0.0, /* '<S1862>/PreLook-Up Index Search (prob of exceed)' */
22.309711286089236, /* '<S1848>/Unit Conversion' */
1749.9999999999998, /* '<S1882>/Unit Conversion' */
1000.0, /* '<S1872>/Sum' */
1000.0, /* '<S1864>/Sum' */
21.304204980804883, /* '<S1858>/dt1' */
28.405606641073181, /* '<S1857>/dt1' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1875>/Divide' */
0.0, /* '<S1864>/Unit Conversion' */
0.0, /* '<S1874>/Unit Conversion' */
0.0, /* '<S1883>/sigma_wg ' */
0.0, /* '<S1882>/PreLook-Up Index Search (prob of exceed)' */
22.309711286089236, /* '<S1868>/Unit Conversion' */
1749.9999999999998, /* '<S1902>/Unit Conversion' */
1000.0, /* '<S1892>/Sum' */
1000.0, /* '<S1884>/Sum' */
21.304204980804883, /* '<S1878>/dt1' */
28.405606641073181, /* '<S1877>/dt1' */
{ 1.50687, 0.0, 0.268 }, /* '<S337>/Selector' */
{ -0.11937, -0.306, 0.268 }, /* '<S337>/Selector1' */
{ -0.11937, 0.306, 0.268 }, /* '<S337>/Selector2' */
0U, /* '<S1862>/PreLook-Up Index Search (prob of exceed)' */
49U, /* '<S1796>/Width1' */
17U, /* '<S1795>/Width1' */
69U, /* '<S1794>/Width1' */
49U, /* '<S1793>/Width1' */
153U, /* '<S1791>/Width1' */
101U, /* '<S1790>/Width1' */
41U, /* '<S1789>/Width1' */
81U, /* '<S1788>/Width1' */
19U, /* '<S1798>/Width1' */
44U, /* '<S1796>/Width' */
12U, /* '<S1795>/Width' */
64U, /* '<S1794>/Width' */
44U, /* '<S1793>/Width' */
148U, /* '<S1791>/Width' */
96U, /* '<S1790>/Width' */
36U, /* '<S1789>/Width' */
76U, /* '<S1788>/Width' */
14U, /* '<S1798>/Width' */
0U, /* '<S1882>/PreLook-Up Index Search (prob of exceed)' */
49U, /* '<S1816>/Width1' */
17U, /* '<S1815>/Width1' */
69U, /* '<S1814>/Width1' */
49U, /* '<S1813>/Width1' */
153U, /* '<S1811>/Width1' */
101U, /* '<S1810>/Width1' */
41U, /* '<S1809>/Width1' */
81U, /* '<S1808>/Width1' */
19U, /* '<S1818>/Width1' */
44U, /* '<S1816>/Width' */
12U, /* '<S1815>/Width' */
64U, /* '<S1814>/Width' */
44U, /* '<S1813>/Width' */
148U, /* '<S1811>/Width' */
96U, /* '<S1810>/Width' */
36U, /* '<S1809>/Width' */
76U, /* '<S1808>/Width' */
14U, /* '<S1818>/Width' */
1, /* '<S336>/Compare' */
/* Start of '<S13>/For_each_thrust1' */
@@ -102,32 +102,32 @@ const ConstB_cr929_SIL_T cr929_SIL_ConstB = {
/* Block parameters (default storage) */
P_cr929_SIL_T cr929_SIL_P = {
/* Variable: AccelBias
* Referenced by: '<S1564>/Measurement bias'
* Referenced by: '<S1584>/Measurement bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: AccelScaleMatrix
* Referenced by: '<S1564>/Scale factors & Cross-coupling errors'
* Referenced by: '<S1584>/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: '<S1565>/Measurement bias'
* Referenced by: '<S1585>/Measurement bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: GyroGBias
* Referenced by: '<S1565>/g-sensitive bias'
* Referenced by: '<S1585>/g-sensitive bias'
*/
{ 0.0, 0.0, 0.0 },
/* Variable: GyroScaleMatrix
* Referenced by: '<S1565>/Scale factors & Cross-coupling errors '
* Referenced by: '<S1585>/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: '<S1564>/wl_ins'
* Referenced by: '<S1584>/wl_ins'
*/
{ 0.0, 0.0, 0.0 },
@@ -155,49 +155,49 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: deadband_dsp
* Referenced by:
* '<S1683>/Backlash1'
* '<S1683>/Backlash10'
* '<S1683>/Backlash11'
* '<S1683>/Backlash12'
* '<S1683>/Backlash13'
* '<S1683>/Backlash14'
* '<S1683>/Backlash15'
* '<S1683>/Backlash16'
* '<S1683>/Backlash2'
* '<S1683>/Backlash3'
* '<S1683>/Backlash4'
* '<S1683>/Backlash5'
* '<S1683>/Backlash6'
* '<S1683>/Backlash7'
* '<S1683>/Backlash8'
* '<S1683>/Backlash9'
* '<S1703>/Backlash1'
* '<S1703>/Backlash10'
* '<S1703>/Backlash11'
* '<S1703>/Backlash12'
* '<S1703>/Backlash13'
* '<S1703>/Backlash14'
* '<S1703>/Backlash15'
* '<S1703>/Backlash16'
* '<S1703>/Backlash2'
* '<S1703>/Backlash3'
* '<S1703>/Backlash4'
* '<S1703>/Backlash5'
* '<S1703>/Backlash6'
* '<S1703>/Backlash7'
* '<S1703>/Backlash8'
* '<S1703>/Backlash9'
*/
0.0,
/* Variable: home_lat
* Referenced by: '<S676>/Constant3'
* Referenced by: '<S680>/Constant3'
*/
4.39082408E+8,
/* Variable: home_lon
* Referenced by: '<S676>/Constant4'
* Referenced by: '<S680>/Constant4'
*/
1.201508399E+9,
/* Variable: map_rpm_lst
* Referenced by:
* '<S1675>/Constant1'
* '<S1685>/Constant1'
* '<S1700>/Constant1'
* '<S1695>/Constant1'
* '<S1705>/Constant1'
* '<S1720>/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:
* '<S1675>/Constant'
* '<S1685>/Constant'
* '<S1700>/Constant'
* '<S1695>/Constant'
* '<S1705>/Constant'
* '<S1720>/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 },
@@ -208,70 +208,70 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: throttle_k
* Referenced by:
* '<S1686>/Gain3'
* '<S1701>/Gain3'
* '<S1706>/Gain3'
* '<S1721>/Gain3'
*/
1.0,
/* Variable: wind_east
* Referenced by: '<S1835>/wind_East'
* Referenced by: '<S1855>/wind_East'
*/
{ -1.0, -5.0 },
/* Variable: wind_level
* Referenced by:
* '<S1835>/wind_East'
* '<S1835>/wind_North'
* '<S1855>/wind_East'
* '<S1855>/wind_North'
*/
{ 0.0, 600.0 },
/* Variable: wind_north
* Referenced by: '<S1835>/wind_North'
* Referenced by: '<S1855>/wind_North'
*/
{ -3.0, -15.0 },
/* Variable: CLa
* Referenced by: '<S1442>/Constant Single1'
* Referenced by: '<S1450>/Constant Single1'
*/
3.5F,
/* Variable: COMAC_Test_Alt
* Referenced by: '<S1444>/Constant'
* Referenced by: '<S1452>/Constant'
*/
5000.0F,
/* Variable: Clda
* Referenced by: '<S1430>/Constant10'
* Referenced by: '<S1438>/Constant10'
*/
-0.06404F,
/* Variable: Clda_mix_f0
* Referenced by: '<S1431>/Constant1'
* Referenced by: '<S1439>/Constant1'
*/
-0.072872F,
/* Variable: Clp
* Referenced by: '<S1430>/p2pdot'
* Referenced by: '<S1438>/p2pdot'
*/
-0.2657F,
/* Variable: Cmde
* Referenced by: '<S1430>/de2qdot'
* Referenced by: '<S1438>/de2qdot'
*/
-0.7347F,
/* Variable: Cmq
* Referenced by: '<S1430>/q2qdot'
* Referenced by: '<S1438>/q2qdot'
*/
-13.4013F,
/* Variable: Cndr
* Referenced by: '<S1430>/dr2rdot'
* Referenced by: '<S1438>/dr2rdot'
*/
-0.0624F,
/* Variable: Cnr
* Referenced by: '<S1430>/p2pdot1'
* Referenced by: '<S1438>/p2pdot1'
*/
-0.34F,
@@ -296,19 +296,19 @@ P_cr929_SIL_T cr929_SIL_P = {
43.0F,
/* Variable: Ixx
* Referenced by: '<S1430>/Constant6'
* Referenced by: '<S1438>/Constant6'
*/
15.064F,
/* Variable: Iyy
* Referenced by: '<S1430>/Constant3'
* Referenced by: '<S1438>/Constant3'
*/
34.774F,
/* Variable: Izz
* Referenced by:
* '<S1430>/Constant7'
* '<S1430>/Gain2'
* '<S1438>/Constant7'
* '<S1438>/Gain2'
*/
45.869F,
@@ -320,31 +320,31 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: RefArea
* Referenced by:
* '<S445>/Constant Single50'
* '<S1430>/Sc_Iyy'
* '<S1430>/Sc_Iyy2'
* '<S1430>/Sc_Iyy4'
* '<S1442>/Constant Single2'
* '<S1438>/Sc_Iyy'
* '<S1438>/Sc_Iyy2'
* '<S1438>/Sc_Iyy4'
* '<S1450>/Constant Single2'
*/
1.97876F,
/* Variable: RefLen
* Referenced by:
* '<S1430>/Constant4'
* '<S1430>/q2qdot'
* '<S1438>/Constant4'
* '<S1438>/q2qdot'
*/
0.518F,
/* Variable: RefSpan
* Referenced by:
* '<S1430>/Sc_Iyy1'
* '<S1430>/Sc_Iyy3'
* '<S1430>/p2pdot'
* '<S1430>/p2pdot1'
* '<S1438>/Sc_Iyy1'
* '<S1438>/Sc_Iyy3'
* '<S1438>/p2pdot'
* '<S1438>/p2pdot1'
*/
3.82F,
/* Variable: STEER_POWER
* Referenced by: '<S1430>/Gain2'
* Referenced by: '<S1438>/Gain2'
*/
120.0F,
@@ -374,12 +374,12 @@ P_cr929_SIL_T cr929_SIL_P = {
35.0F,
/* Variable: Vc_reset
* Referenced by: '<S629>/Constant5'
* Referenced by: '<S633>/Constant5'
*/
38.0F,
/* Variable: WaveOffSpeed
* Referenced by: '<S654>/Constant2'
* Referenced by: '<S658>/Constant2'
*/
38.0F,
@@ -410,20 +410,20 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dar_pos
* Referenced by:
* '<S1674>/Constant1'
* '<S1694>/Constant1'
* '<S449>/1-D Lookup Table3'
*/
{ -0.523599F, 0.0F, 0.349066287F },
/* Variable: dar_pwm
* Referenced by:
* '<S1674>/Constant'
* '<S1694>/Constant'
* '<S449>/1-D Lookup Table3'
*/
{ 1105.0F, 1510.0F, 1805.0F },
/* Variable: ddf_c
* Referenced by: '<S1162>/Constant6'
* Referenced by: '<S1170>/Constant6'
*/
0.0F,
@@ -439,21 +439,21 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: den_da2dr
* Referenced by:
* '<S1111>/Constant2'
* '<S1134>/Constant2'
* '<S1119>/Constant2'
* '<S1142>/Constant2'
*/
{ 1.0F, -0.993769467F },
/* Variable: der_pos
* Referenced by:
* '<S1676>/Constant1'
* '<S1696>/Constant1'
* '<S449>/1-D Lookup Table4'
*/
{ -0.52356F, 0.0F, 0.436300188F },
/* Variable: der_pwm
* Referenced by:
* '<S1676>/Constant'
* '<S1696>/Constant'
* '<S449>/1-D Lookup Table4'
*/
{ 1130.0F, 1500.0F, 1890.0F },
@@ -465,16 +465,16 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dflap_ratelim
* Referenced by:
* '<S1162>/Constant2'
* '<S1162>/Constant3'
* '<S835>/Constant7'
* '<S836>/Constant7'
* '<S837>/Constant7'
* '<S838>/Constant7'
* '<S1170>/Constant2'
* '<S1170>/Constant3'
* '<S839>/Constant7'
* '<S840>/Constant7'
* '<S841>/Constant7'
* '<S842>/Constant7'
* '<S843>/Constant7'
* '<S844>/Constant7'
* '<S845>/Constant7'
* '<S846>/Constant7'
*/
0.1745F,
@@ -580,13 +580,13 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dht_ratelim
* Referenced by:
* '<S1162>/Constant4'
* '<S832>/Constant6'
* '<S1170>/Constant4'
* '<S836>/Constant6'
*/
0.0175F,
/* Variable: dr0_c
* Referenced by: '<S966>/Constant'
* Referenced by: '<S974>/Constant'
*/
0.0F,
@@ -612,22 +612,22 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsp_ratelim
* Referenced by:
* '<S1162>/Constant'
* '<S1162>/Constant1'
* '<S1170>/Constant'
* '<S1170>/Constant1'
*/
0.0582F,
/* Variable: dspli1_pos
* Referenced by:
* '<S447>/1-D Lookup Table'
* '<S1740>/Constant1'
* '<S1760>/Constant1'
*/
{ -0.8696F, 0.0F, 0.0696F, 0.1217F, 0.1391F, 0.1913F },
/* Variable: dspli1_pwm
* Referenced by:
* '<S447>/1-D Lookup Table'
* '<S1740>/Constant'
* '<S1760>/Constant'
*/
{ 1028.0F, 1495.0F, 1526.0F, 1550.0F, 1554.0F, 1570.0F },
@@ -664,14 +664,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo2_pos
* Referenced by:
* '<S447>/1-D Lookup Table7'
* '<S1736>/Constant1'
* '<S1756>/Constant1'
*/
{ -0.8726F, -0.4887F, 0.0F },
/* Variable: dsplo2_pwm
* Referenced by:
* '<S447>/1-D Lookup Table7'
* '<S1736>/Constant'
* '<S1756>/Constant'
*/
{ 1140.0F, 1363.0F, 1648.0F },
@@ -698,14 +698,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo5_pos
* Referenced by:
* '<S447>/1-D Lookup Table10'
* '<S1735>/Constant1'
* '<S1755>/Constant1'
*/
{ -0.8726F, -0.6981F, 0.0F },
/* Variable: dsplo5_pwm
* Referenced by:
* '<S447>/1-D Lookup Table10'
* '<S1735>/Constant'
* '<S1755>/Constant'
*/
{ 1049.0F, 1180.0F, 1600.0F },
@@ -722,42 +722,42 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspri2_pos
* Referenced by:
* '<S447>/1-D Lookup Table4'
* '<S1727>/Constant1'
* '<S1747>/Constant1'
*/
{ -0.8696F, 0.0F, 0.0696F, 0.1217F, 0.1391F, 0.1913F },
/* Variable: dspri2_pwm
* Referenced by:
* '<S447>/1-D Lookup Table4'
* '<S1727>/Constant'
* '<S1747>/Constant'
*/
{ 1012.0F, 1468.0F, 1490.0F, 1516.0F, 1525.0F, 1540.0F },
/* Variable: dspri3_pos
* Referenced by:
* '<S447>/1-D Lookup Table5'
* '<S1729>/Constant1'
* '<S1749>/Constant1'
*/
{ -0.8696F, 0.0F, 0.0696F, 0.1217F, 0.1391F, 0.1913F },
/* Variable: dspri3_pwm
* Referenced by:
* '<S447>/1-D Lookup Table5'
* '<S1729>/Constant'
* '<S1749>/Constant'
*/
{ 1280.0F, 1684.0F, 1718.0F, 1739.0F, 1750.0F, 1775.0F },
/* Variable: dspro1_pos
* Referenced by:
* '<S447>/1-D Lookup Table12'
* '<S1728>/Constant1'
* '<S1748>/Constant1'
*/
{ -0.8726F, -0.4887F, 0.0F },
/* Variable: dspro1_pwm
* Referenced by:
* '<S447>/1-D Lookup Table12'
* '<S1728>/Constant'
* '<S1748>/Constant'
*/
{ 1193.0F, 1420.0F, 1730.0F },
@@ -774,28 +774,28 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspro3_pos
* Referenced by:
* '<S447>/1-D Lookup Table14'
* '<S1731>/Constant1'
* '<S1751>/Constant1'
*/
{ -0.8726F, -0.5585F, 0.0F },
/* Variable: dspro3_pwm
* Referenced by:
* '<S447>/1-D Lookup Table14'
* '<S1731>/Constant'
* '<S1751>/Constant'
*/
{ 1142.0F, 1328.0F, 1660.0F },
/* Variable: dspro4_pos
* Referenced by:
* '<S447>/1-D Lookup Table15'
* '<S1732>/Constant1'
* '<S1752>/Constant1'
*/
{ -0.8726F, -0.5585F, 0.0F },
/* Variable: dspro4_pwm
* Referenced by:
* '<S447>/1-D Lookup Table15'
* '<S1732>/Constant'
* '<S1752>/Constant'
*/
{ 1070.0F, 1265.0F, 1625.0F },
@@ -811,27 +811,27 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dt_ef_ay
* Referenced by:
* '<S777>/Constant4'
* '<S777>/Constant5'
* '<S804>/Constant4'
* '<S804>/Constant5'
* '<S781>/Constant4'
* '<S781>/Constant5'
* '<S808>/Constant4'
* '<S808>/Constant5'
*/
0.1F,
/* Variable: force_thrl
* Referenced by: '<S1164>/Constant'
* Referenced by: '<S1172>/Constant'
*/
-1.0F,
/* Variable: force_thrr
* Referenced by: '<S1165>/Constant'
* Referenced by: '<S1173>/Constant'
*/
-1.0F,
/* Variable: k_da2dr
* Referenced by:
* '<S1111>/Constant'
* '<S1134>/Constant'
* '<S1119>/Constant'
* '<S1142>/Constant'
*/
0.1F,
@@ -866,12 +866,12 @@ P_cr929_SIL_T cr929_SIL_P = {
1.5F,
/* Variable: ksi_v2tht
* Referenced by: '<S1443>/Constant1'
* Referenced by: '<S1451>/Constant1'
*/
0.8F,
/* Variable: kthr_r
* Referenced by: '<S1162>/gain'
* Referenced by: '<S1170>/gain'
*/
1.0F,
@@ -886,21 +886,21 @@ P_cr929_SIL_T cr929_SIL_P = {
0.15F,
/* Variable: lever_time
* Referenced by: '<S1162>/Constant5'
* Referenced by: '<S1170>/Constant5'
*/
3.0F,
/* Variable: m
* Referenced by:
* '<S445>/Constant Single4'
* '<S1442>/Constant Single'
* '<S1450>/Constant Single'
*/
76.1F,
/* Variable: margin_beta
* Referenced by:
* '<S777>/Constant3'
* '<S804>/Constant3'
* '<S781>/Constant3'
* '<S808>/Constant3'
*/
0.1745F,
@@ -925,7 +925,7 @@ P_cr929_SIL_T cr929_SIL_P = {
60.0F,
/* Variable: max_ay_manual
* Referenced by: '<S1117>/Constant BP'
* Referenced by: '<S1125>/Constant BP'
*/
0.5F,
@@ -937,73 +937,73 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_da
* Referenced by:
* '<S445>/Constant Single1'
* '<S1430>/Constant8'
* '<S629>/gain1'
* '<S833>/gain1'
* '<S638>/gain1'
* '<S1438>/Constant8'
* '<S633>/gain1'
* '<S837>/gain1'
* '<S642>/gain1'
*/
0.5236F,
/* Variable: max_de
* Referenced by:
* '<S445>/Constant Single2'
* '<S1430>/Constant1'
* '<S1438>/Constant1'
*/
0.436300188F,
/* Variable: max_dh
* Referenced by:
* '<S881>/Constant1'
* '<S629>/gain7'
* '<S885>/Constant1'
* '<S633>/gain7'
* '<S1166>/Constant'
* '<S637>/gain7'
* '<S1174>/Constant'
*/
0.0524F,
/* Variable: max_dr
* Referenced by:
* '<S445>/Constant Single5'
* '<S1430>/Constant2'
* '<S629>/gain2'
* '<S833>/gain2'
* '<S638>/gain2'
* '<S1438>/Constant2'
* '<S633>/gain2'
* '<S837>/gain2'
* '<S642>/gain2'
*/
0.6108F,
/* Variable: max_dr_ay
* Referenced by: '<S1430>/1-D Lookup Table5'
* Referenced by: '<S1438>/1-D Lookup Table5'
*/
{ 11.0F, 11.0F, 10.0F, 9.0F, 8.0F, 7.0F, 7.0F },
/* Variable: max_dr_ay_ias
* Referenced by: '<S1430>/1-D Lookup Table5'
* Referenced by: '<S1438>/1-D Lookup Table5'
*/
{ 33.0F, 39.0F, 40.0F, 42.0F, 45.0F, 49.0F, 50.0F },
/* Variable: max_dr_damping
* Referenced by: '<S1106>/Constant'
* Referenced by: '<S1114>/Constant'
*/
0.1309F,
/* Variable: max_dr_lst_f0
* Referenced by: '<S1464>/1-D Lookup Table'
* Referenced by: '<S1472>/1-D Lookup Table'
*/
{ 8.5F, 4.2F, 3.5F, 3.0F },
/* Variable: max_dr_manual
* Referenced by: '<S1106>/Constant1'
* Referenced by: '<S1114>/Constant1'
*/
0.1745F,
/* Variable: max_dr_vlst_f0
* Referenced by: '<S1464>/1-D Lookup Table'
* Referenced by: '<S1472>/1-D Lookup Table'
*/
{ 30.86F, 39.11F, 42.18F, 45.29F },
/* Variable: max_dsp
* Referenced by:
* '<S629>/gain5'
* '<S633>/gain5'
* '<S637>/gain5'
*/
0.2F,
@@ -1030,15 +1030,15 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_phi
* Referenced by:
* '<S445>/Constant Single7'
* '<S639>/gain1'
* '<S643>/gain1'
*/
0.5236F,
/* Variable: max_q
* Referenced by:
* '<S445>/Constant Single11'
* '<S629>/Constant8'
* '<S633>/Constant8'
* '<S637>/Constant8'
*/
0.4F,
@@ -1049,10 +1049,10 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_steer
* Referenced by:
* '<S1430>/Constant'
* '<S629>/gain3'
* '<S833>/gain3'
* '<S638>/gain3'
* '<S1438>/Constant'
* '<S633>/gain3'
* '<S837>/gain3'
* '<S642>/gain3'
*/
0.3F,
@@ -1068,151 +1068,151 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_thr_manual
* Referenced by:
* '<S629>/saturation'
* '<S833>/saturation'
* '<S638>/saturation'
* '<S639>/saturation'
* '<S633>/saturation'
* '<S837>/saturation'
* '<S642>/saturation'
* '<S643>/saturation'
*/
1.0F,
/* Variable: max_thrust
* Referenced by:
* '<S1441>/Constant Single78'
* '<S1457>/Constant Single78'
* '<S1458>/Constant Single78'
* '<S1449>/Constant Single78'
* '<S1465>/Constant Single78'
* '<S1466>/Constant Single78'
*/
200.0F,
/* Variable: max_tht
* Referenced by:
* '<S445>/Constant Single6'
* '<S639>/Constant'
* '<S639>/gain'
* '<S643>/Constant'
* '<S643>/gain'
*/
0.25F,
/* Variable: mg_ay_ef_f0
* Referenced by:
* '<S777>/Constant2'
* '<S804>/Constant2'
* '<S781>/Constant2'
* '<S808>/Constant2'
*/
2.0F,
/* Variable: mg_max_alp_f0
* Referenced by: '<S1460>/Constant Single8'
* Referenced by: '<S1468>/Constant Single8'
*/
9.0F,
/* Variable: mg_max_alp_f3
* Referenced by: '<S1461>/Constant Single8'
* Referenced by: '<S1469>/Constant Single8'
*/
8.0F,
/* Variable: mg_max_as_f0
* Referenced by: '<S1460>/Constant Single6'
* Referenced by: '<S1468>/Constant Single6'
*/
50.0F,
/* Variable: mg_max_as_f3
* Referenced by: '<S1461>/Constant Single6'
* Referenced by: '<S1469>/Constant Single6'
*/
38.0F,
/* Variable: mg_max_ay_f0
* Referenced by: '<S1460>/Constant Single4'
* Referenced by: '<S1468>/Constant Single4'
*/
3.0F,
/* Variable: mg_max_ay_f3
* Referenced by: '<S1461>/Constant Single4'
* Referenced by: '<S1469>/Constant Single4'
*/
4.0F,
/* Variable: mg_max_beta_f0
* Referenced by: '<S1460>/Constant Single3'
* Referenced by: '<S1468>/Constant Single3'
*/
12.0F,
/* Variable: mg_max_beta_f3
* Referenced by: '<S1461>/Constant Single3'
* Referenced by: '<S1469>/Constant Single3'
*/
10.0F,
/* Variable: mg_max_phi_f0
* Referenced by: '<S1460>/Constant Single2'
* Referenced by: '<S1468>/Constant Single2'
*/
45.0F,
/* Variable: mg_max_phi_f3
* Referenced by: '<S1461>/Constant Single2'
* Referenced by: '<S1469>/Constant Single2'
*/
45.0F,
/* Variable: mg_max_tht_f0
* Referenced by: '<S1460>/Constant Single1'
* Referenced by: '<S1468>/Constant Single1'
*/
20.0F,
/* Variable: mg_max_tht_f3
* Referenced by: '<S1461>/Constant Single1'
* Referenced by: '<S1469>/Constant Single1'
*/
20.0F,
/* Variable: mg_min_alp_f0
* Referenced by: '<S1460>/Constant Single7'
* Referenced by: '<S1468>/Constant Single7'
*/
-5.0F,
/* Variable: mg_min_alp_f3
* Referenced by: '<S1461>/Constant Single7'
* Referenced by: '<S1469>/Constant Single7'
*/
-5.0F,
/* Variable: mg_min_as_f0
* Referenced by: '<S1460>/Constant Single5'
* Referenced by: '<S1468>/Constant Single5'
*/
35.0F,
/* Variable: mg_min_as_f3
* Referenced by: '<S1461>/Constant Single5'
* Referenced by: '<S1469>/Constant Single5'
*/
28.0F,
/* Variable: mg_min_tht_f0
* Referenced by: '<S1460>/Constant Single'
* Referenced by: '<S1468>/Constant Single'
*/
-15.0F,
/* Variable: mg_min_tht_f3
* Referenced by: '<S1461>/Constant Single'
* Referenced by: '<S1469>/Constant Single'
*/
-15.0F,
/* Variable: mg_phi_recovery
* Referenced by: '<S633>/Constant1'
* Referenced by: '<S637>/Constant1'
*/
80.0F,
/* Variable: mg_tht_recovery
* Referenced by: '<S633>/Constant'
* Referenced by: '<S637>/Constant'
*/
40.0F,
/* Variable: min_AS_f0
* Referenced by: '<S1449>/Constant1'
* Referenced by: '<S1457>/Constant1'
*/
33.0F,
/* Variable: min_AS_f3
* Referenced by: '<S1449>/Constant'
* Referenced by: '<S1457>/Constant'
*/
28.0F,
/* Variable: min_abs_alt
* Referenced by:
* '<S629>/Constant4'
* '<S633>/Constant10'
* '<S676>/Constant2'
* '<S633>/Constant4'
* '<S637>/Constant10'
* '<S680>/Constant2'
*/
634.0F,
@@ -1229,23 +1229,23 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: min_de
* Referenced by:
* '<S445>/Constant Single3'
* '<S1430>/Constant5'
* '<S1438>/Constant5'
*/
-0.523560226F,
/* Variable: min_dh
* Referenced by:
* '<S881>/Constant3'
* '<S629>/gain8'
* '<S885>/Constant3'
* '<S633>/gain8'
* '<S1166>/Constant1'
* '<S637>/gain8'
* '<S1174>/Constant1'
*/
-0.253054112F,
/* Variable: min_dsp
* Referenced by:
* '<S629>/gain6'
* '<S633>/gain6'
* '<S637>/gain6'
*/
-0.88F,
@@ -1255,7 +1255,7 @@ P_cr929_SIL_T cr929_SIL_P = {
-5.0F,
/* Variable: min_hdot_rc
* Referenced by: '<S676>/Constant'
* Referenced by: '<S680>/Constant'
*/
-9.0F,
@@ -1270,14 +1270,14 @@ P_cr929_SIL_T cr929_SIL_P = {
-0.4F,
/* Variable: msl_inhibit_staprt
* Referenced by: '<S1007>/Constant'
* Referenced by: '<S1015>/Constant'
*/
634.0F,
/* Variable: num_da2dr
* Referenced by:
* '<S1111>/Constant1'
* '<S1134>/Constant1'
* '<S1119>/Constant1'
* '<S1142>/Constant1'
*/
{ 0.0F, 0.00623050937F },
@@ -1293,28 +1293,28 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: recovery_aoa
* Referenced by:
* '<S629>/Constant9'
* '<S633>/Constant9'
* '<S637>/Constant9'
*/
0.2F,
/* Variable: recovery_ias
* Referenced by:
* '<S629>/Constant7'
* '<S633>/Constant7'
* '<S637>/Constant7'
*/
30.0F,
/* Variable: steer_pos
* Referenced by:
* '<S1672>/Constant1'
* '<S1692>/Constant1'
* '<S448>/1-D Lookup Table'
*/
{ -0.35F, 0.0F, 0.35F },
/* Variable: steer_pwm
* Referenced by:
* '<S1672>/Constant'
* '<S1692>/Constant'
* '<S448>/1-D Lookup Table'
*/
{ 1159.0F, 1510.0F, 1856.0F },
@@ -1326,8 +1326,8 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: thr_pos
* Referenced by:
* '<S1662>/Constant1'
* '<S1669>/Constant1'
* '<S1682>/Constant1'
* '<S1689>/Constant1'
* '<S449>/1-D Lookup Table1'
* '<S449>/1-D Lookup Table2'
*/
@@ -1335,20 +1335,20 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: thr_pwm
* Referenced by:
* '<S1662>/Constant'
* '<S1669>/Constant'
* '<S1682>/Constant'
* '<S1689>/Constant'
* '<S449>/1-D Lookup Table1'
* '<S449>/1-D Lookup Table2'
*/
{ 976.0F, 1232.0F, 1940.0F },
/* Variable: tht_trim
* Referenced by: '<S639>/Constant3'
* Referenced by: '<S643>/Constant3'
*/
3.0F,
/* Variable: vert_offset_rc
* Referenced by: '<S676>/Constant1'
* Referenced by: '<S680>/Constant1'
*/
20.0F,
@@ -1378,7 +1378,7 @@ P_cr929_SIL_T cr929_SIL_P = {
0.25F,
/* Variable: w_v2tht
* Referenced by: '<S1443>/Constant'
* Referenced by: '<S1451>/Constant'
*/
0.4F,
@@ -1427,18 +1427,18 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: system_id
* Referenced by:
* '<S3>/Constant'
* '<S1337>/system_id'
* '<S1345>/Chart_proc_mission_clr_all'
* '<S1346>/Chart'
* '<S1347>/Chart'
* '<S1348>/Chart_proc_mission_req'
* '<S1349>/Chart_proc_mission_req_lst'
* '<S1350>/Chart'
* '<S1387>/Chart'
* '<S1388>/Chart_proc_param_req_read'
* '<S1389>/Chart_proc_param_set'
* '<S1417>/system_id'
* '<S1428>/system_id'
* '<S1345>/system_id'
* '<S1353>/Chart_proc_mission_clr_all'
* '<S1354>/Chart'
* '<S1355>/Chart'
* '<S1356>/Chart_proc_mission_req'
* '<S1357>/Chart_proc_mission_req_lst'
* '<S1358>/Chart'
* '<S1395>/Chart'
* '<S1396>/Chart_proc_param_req_read'
* '<S1397>/Chart_proc_param_set'
* '<S1425>/system_id'
* '<S1436>/system_id'
*/
1U,
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -290,22 +290,22 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S337>/Constant'
*/
#define rtCP_nDLookupTable_tableData rtCP_pooled_eaePBIvN9imr /* Expression: [-10 -5 -2 0 2 5 10]
* Referenced by: '<S1594>/n-D Lookup Table'
* Referenced by: '<S1614>/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: '<S1594>/n-D Lookup Table'
* Referenced by: '<S1614>/n-D Lookup Table'
*/
#define rtCP_nDLookupTable1_tableData rtCP_pooled_2ge4y9OaH7Hm /* Expression: [0 2 5 8 10]
* Referenced by: '<S1594>/n-D Lookup Table1'
* Referenced by: '<S1614>/n-D Lookup Table1'
*/
#define rtCP_nDLookupTable1_bp01Data rtCP_pooled_ChIx5sVImrQQ /* Expression: [-0.2 2.06 5.44 8.81 11.09]
* Referenced by: '<S1594>/n-D Lookup Table1'
* Referenced by: '<S1614>/n-D Lookup Table1'
*/
#define rtCP_PreLookUpIndexSearchaltitude_BreakpointsData rtCP_pooled_8RBKE3gHchpO/* Expression: h_vec
* Referenced by: '<S1862>/PreLook-Up Index Search (altitude)'
* Referenced by: '<S1882>/PreLook-Up Index Search (altitude)'
*/
#define rtCP_MediumHighAltitudeIntensity_Table rtCP_pooled_xcOBkYu90x0b/* Expression: sigma_vec'
* Referenced by: '<S1862>/Medium//High Altitude Intensity'
* Referenced by: '<S1882>/Medium//High Altitude Intensity'
*/
#define rtCP_Gain1_Gain_my rtCP_pooled_bDcwUj8yZ6yU /* Expression: [1 1 -1]
* Referenced by: '<S178>/Gain1'
@@ -1274,154 +1274,154 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S9>/Constant'
*/
#define rtCP_uDLookupTable_tableData_a rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S833>/1-D Lookup Table'
* Referenced by: '<S837>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_j rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data_j
* Referenced by: '<S833>/1-D Lookup Table'
* Referenced by: '<S837>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_e rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S629>/1-D Lookup Table'
* Referenced by: '<S633>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_k rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data_k
* Referenced by: '<S629>/1-D Lookup Table'
* Referenced by: '<S633>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_j rtCP_pooled_YWBHDIY0QDCr /* Expression: [min_de, 0, max_de]
* Referenced by: '<S638>/1-D Lookup Table'
* Referenced by: '<S642>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_ku rtCP_pooled_66xenhVBYvvw /* Computed Parameter: rtCP_uDLookupTable_bp01Data_ku
* Referenced by: '<S638>/1-D Lookup Table'
* Referenced by: '<S642>/1-D Lookup Table'
*/
#define rtCP_Constant_Value_hn rtCP_pooled_MltRXuVx0VZX /* Expression: mass_lst
* Referenced by: '<S904>/Constant'
* Referenced by: '<S911>/Constant'
*/
#define rtCP_Constant1_Value_ie rtCP_pooled_w1tGxWxm3FTN /* Expression: cg_lst
* Referenced by: '<S904>/Constant1'
* Referenced by: '<S911>/Constant1'
*/
#define rtCP_uDLookupTable1_tableData rtCP_pooled_gg53aBgANdt5 /* Computed Parameter: rtCP_uDLookupTable1_tableData
* Referenced by: '<S908>/1-D Lookup Table1'
* Referenced by: '<S915>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable1_bp01Data rtCP_pooled_fhHbN8RsPaof /* Computed Parameter: rtCP_uDLookupTable1_bp01Data
* Referenced by: '<S908>/1-D Lookup Table1'
* Referenced by: '<S915>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable_tableData_n rtCP_pooled_zD31PrqyAWpG /* Expression: CAS_kts_lst
* Referenced by: '<S908>/1-D Lookup Table'
* Referenced by: '<S915>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_c rtCP_pooled_2mvHOB6II7bi /* Expression: TAS_mps_lst
* Referenced by: '<S908>/1-D Lookup Table'
* Referenced by: '<S915>/1-D Lookup Table'
*/
#define rtCP_nDLookupTable1_tableData_o rtCP_pooled_QSxUvLG6tsMm /* Expression: alp_body_lst
* Referenced by: '<S911>/n-D Lookup Table1'
* Referenced by: '<S918>/n-D Lookup Table1'
*/
#define rtCP_nDLookupTable1_bp01Data_m rtCP_pooled_xbOFdYjHFgzM /* Expression: alp_sens_lst
* Referenced by: '<S911>/n-D Lookup Table1'
* Referenced by: '<S918>/n-D Lookup Table1'
*/
#define rtCP_nDLookupTable_tableData_e rtCP_pooled_V5XvzDRqyCaf /* Expression: beta_body_lst
* Referenced by: '<S911>/n-D Lookup Table'
* Referenced by: '<S918>/n-D Lookup Table'
*/
#define rtCP_nDLookupTable_bp01Data_m rtCP_pooled_jxqftqX6jU17 /* Expression: beta_sens_lst
* Referenced by: '<S911>/n-D Lookup Table'
* Referenced by: '<S918>/n-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_f rtCP_pooled_azjKpWdkfSvW /* Computed Parameter: rtCP_uDLookupTable_tableData_f
* Referenced by: '<S985>/1-D Lookup Table'
* Referenced by: '<S993>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_FZlVOXiDrkG5 /* Computed Parameter: rtCP_uDLookupTable_bp01Data_g
* Referenced by: '<S985>/1-D Lookup Table'
* Referenced by: '<S993>/1-D Lookup Table'
*/
#define rtCP_Constant2_Value_g rtCP_pooled_B5JqZeXOGK8X /* Expression: da_lst
* Referenced by: '<S1078>/Constant2'
* Referenced by: '<S1086>/Constant2'
*/
#define rtCP_uDLookupTable_tableData_b rtCP_pooled_yvKpZPimIoqY /* Computed Parameter: rtCP_uDLookupTable_tableData_b
* Referenced by: '<S1120>/1-D Lookup Table'
* Referenced by: '<S1128>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_d rtCP_pooled_g5czShRBVC05 /* Computed Parameter: rtCP_uDLookupTable_bp01Data_d
* Referenced by: '<S1120>/1-D Lookup Table'
* Referenced by: '<S1128>/1-D Lookup Table'
*/
#define rtCP_da2dal_deg_tableData rtCP_pooled_tAA3275IHVLi /* Expression: dal_list_unmix
* Referenced by: '<S1179>/da2dal_deg'
* Referenced by: '<S1187>/da2dal_deg'
*/
#define rtCP_da2dal_deg_bp01Data rtCP_pooled_CQ08Gt9qoyqk /* Expression: da_list_unmix
* Referenced by: '<S1179>/da2dal_deg'
* Referenced by: '<S1187>/da2dal_deg'
*/
#define rtCP_da2dar_deg_tableData rtCP_pooled_biBQDoieg5VE /* Expression: dar_list_unmix
* Referenced by: '<S1179>/da2dar_deg'
* Referenced by: '<S1187>/da2dar_deg'
*/
#define rtCP_da2dar_deg_bp01Data rtCP_pooled_CQ08Gt9qoyqk /* Expression: da_list_unmix
* Referenced by: '<S1179>/da2dar_deg'
* Referenced by: '<S1187>/da2dar_deg'
*/
#define rtCP_uDLookupTable_tableData_au rtCP_pooled_yXf7goa7t1IW /* Expression: Cf_lst
* Referenced by: '<S1206>/1-D Lookup Table'
* Referenced by: '<S1214>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_a rtCP_pooled_IkCw6BOWmnZb /* Expression: thr_lst
* Referenced by: '<S1206>/1-D Lookup Table'
* Referenced by: '<S1214>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable2_tableData rtCP_pooled_8WXHatNAaNXU /* Computed Parameter: rtCP_uDLookupTable2_tableData
* Referenced by: '<S1430>/1-D Lookup Table2'
* Referenced by: '<S1438>/1-D Lookup Table2'
*/
#define rtCP_uDLookupTable2_bp01Data rtCP_pooled_3U8YQv20XtcC /* Computed Parameter: rtCP_uDLookupTable2_bp01Data
* Referenced by: '<S1430>/1-D Lookup Table2'
* Referenced by: '<S1438>/1-D Lookup Table2'
*/
#define rtCP_uDLookupTable1_tableData_o rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable1_tableData_o
* Referenced by: '<S1430>/1-D Lookup Table1'
* Referenced by: '<S1438>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable1_bp01Data_j rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable1_bp01Data_j
* Referenced by: '<S1430>/1-D Lookup Table1'
* Referenced by: '<S1438>/1-D Lookup Table1'
*/
#define rtCP_uDLookupTable4_tableData rtCP_pooled_0BwgFckvyiIM /* Computed Parameter: rtCP_uDLookupTable4_tableData
* Referenced by: '<S1430>/1-D Lookup Table4'
* Referenced by: '<S1438>/1-D Lookup Table4'
*/
#define rtCP_uDLookupTable4_bp01Data rtCP_pooled_vpZBO0efDb68 /* Computed Parameter: rtCP_uDLookupTable4_bp01Data
* Referenced by: '<S1430>/1-D Lookup Table4'
* Referenced by: '<S1438>/1-D Lookup Table4'
*/
#define rtCP_uDLookupTable3_tableData rtCP_pooled_1VJA2wyEDXXd /* Computed Parameter: rtCP_uDLookupTable3_tableData
* Referenced by: '<S1430>/1-D Lookup Table3'
* Referenced by: '<S1438>/1-D Lookup Table3'
*/
#define rtCP_uDLookupTable3_bp01Data rtCP_pooled_0WDnDJ93CH0Q /* Computed Parameter: rtCP_uDLookupTable3_bp01Data
* Referenced by: '<S1430>/1-D Lookup Table3'
* Referenced by: '<S1438>/1-D Lookup Table3'
*/
#define rtCP_uDLookupTable_tableData_jc rtCP_pooled_7f26YdDcnWdR /* Expression: max_dr_lst_f3
* Referenced by: '<S1465>/1-D Lookup Table'
* Referenced by: '<S1473>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_i rtCP_pooled_i5KWNLVQkrIk /* Expression: max_dr_vlst_f3
* Referenced by: '<S1465>/1-D Lookup Table'
* Referenced by: '<S1473>/1-D Lookup Table'
*/
#define rtCP_Constant_Value_nsn rtCP_pooled_oVzz3uPfXCwm /* Expression: da_list_f0
* Referenced by: '<S1466>/Constant'
* Referenced by: '<S1474>/Constant'
*/
#define rtCP_Constant1_Value_bf rtCP_pooled_GZUcAsB9ucQN /* Expression: dal_list_f0
* Referenced by: '<S1466>/Constant1'
* Referenced by: '<S1474>/Constant1'
*/
#define rtCP_Constant2_Value_fl rtCP_pooled_7ZXYc0b5hV5h /* Expression: dar_list_f0
* Referenced by: '<S1466>/Constant2'
* Referenced by: '<S1474>/Constant2'
*/
#define rtCP_Constant3_Value_cp rtCP_pooled_sF9aNLEii7Uq /* Expression: dspl8_list_f0
* Referenced by: '<S1466>/Constant3'
* Referenced by: '<S1474>/Constant3'
*/
#define rtCP_Constant4_Value_p rtCP_pooled_duHW53aluW7H /* Expression: dspl7_list_f0
* Referenced by: '<S1466>/Constant4'
* Referenced by: '<S1474>/Constant4'
*/
#define rtCP_Constant5_Value_l rtCP_pooled_duHW53aluW7H /* Expression: dspl6_list_f0
* Referenced by: '<S1466>/Constant5'
* Referenced by: '<S1474>/Constant5'
*/
#define rtCP_Constant6_Value_o rtCP_pooled_5ZNQ6gGEXvQW /* Expression: dspl5_list_f0
* Referenced by: '<S1466>/Constant6'
* Referenced by: '<S1474>/Constant6'
*/
#define rtCP_Constant7_Value_h rtCP_pooled_5ZNQ6gGEXvQW /* Expression: dspl4_list_f0
* Referenced by: '<S1466>/Constant7'
* Referenced by: '<S1474>/Constant7'
*/
#define rtCP_Constant8_Value_m rtCP_pooled_uIwsSWkBeHtv /* Expression: dspr8_list_f0
* Referenced by: '<S1466>/Constant8'
* Referenced by: '<S1474>/Constant8'
*/
#define rtCP_Constant9_Value_k rtCP_pooled_D33zoTcUfgRR /* Expression: dspr7_list_f0
* Referenced by: '<S1466>/Constant9'
* Referenced by: '<S1474>/Constant9'
*/
#define rtCP_Constant10_Value_b rtCP_pooled_D33zoTcUfgRR /* Expression: dspr6_list_f0
* Referenced by: '<S1466>/Constant10'
* Referenced by: '<S1474>/Constant10'
*/
#define rtCP_Constant11_Value_n rtCP_pooled_903nbYNyZzEr /* Expression: dspr5_list_f0
* Referenced by: '<S1466>/Constant11'
* Referenced by: '<S1474>/Constant11'
*/
#define rtCP_Constant12_Value_m rtCP_pooled_903nbYNyZzEr /* Expression: dspr4_list_f0
* Referenced by: '<S1466>/Constant12'
* Referenced by: '<S1474>/Constant12'
*/
#define rtCP_uDLookupTable1_tableData_n rtCP_pooled_jXtC4wbUDhQn /* Expression: max_da_lst
* Referenced by: '<S445>/1-D Lookup Table1'
@@ -1430,76 +1430,76 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S445>/1-D Lookup Table1'
*/
#define rtCP_Constant2_Value_ms rtCP_pooled_i4gI4ezUhRXZ /* Expression: Cl_lst_f0
* Referenced by: '<S1431>/Constant2'
* Referenced by: '<S1439>/Constant2'
*/
#define rtCP_Constant_Value_pl rtCP_pooled_BoLMrn6GlNiW /* Expression: flip(dhl_pwm)
* Referenced by: '<S1670>/Constant'
* Referenced by: '<S1690>/Constant'
*/
#define rtCP_Constant1_Value_ke rtCP_pooled_skHx1odwRAms /* Expression: flip(dhl_pos)
* Referenced by: '<S1670>/Constant1'
* Referenced by: '<S1690>/Constant1'
*/
#define rtCP_Constant_Value_gw rtCP_pooled_txV276I3dGdP /* Expression: flip(dspro5_pwm)
* Referenced by: '<S1733>/Constant'
* Referenced by: '<S1753>/Constant'
*/
#define rtCP_Constant1_Value_ft rtCP_pooled_pS5a96X1DrUq /* Expression: flip(dspro5_pos)
* Referenced by: '<S1733>/Constant1'
* Referenced by: '<S1753>/Constant1'
*/
#define rtCP_Constant_Value_gwr rtCP_pooled_HQnKRrLEmIa6 /* Expression: flip(dspro2_pwm)
* Referenced by: '<S1730>/Constant'
* Referenced by: '<S1750>/Constant'
*/
#define rtCP_Constant1_Value_jxq rtCP_pooled_hKRcN4vnUMjY /* Expression: flip(dspro2_pos)
* Referenced by: '<S1730>/Constant1'
* Referenced by: '<S1750>/Constant1'
*/
#define rtCP_Constant_Value_dpr rtCP_pooled_An1i9rbC0OKf /* Expression: flip(dspri1_pwm)
* Referenced by: '<S1741>/Constant'
* Referenced by: '<S1761>/Constant'
*/
#define rtCP_Constant1_Value_k5 rtCP_pooled_aY91hRNVbkUo /* Expression: flip(dspri1_pos)
* Referenced by: '<S1741>/Constant1'
* Referenced by: '<S1761>/Constant1'
*/
#define rtCP_Constant_Value_ek rtCP_pooled_3oWihawtc2Tm /* Expression: flip(dspli2_pwm)
* Referenced by: '<S1739>/Constant'
* Referenced by: '<S1759>/Constant'
*/
#define rtCP_Constant1_Value_n0 rtCP_pooled_aY91hRNVbkUo /* Expression: flip(dspli2_pos)
* Referenced by: '<S1739>/Constant1'
* Referenced by: '<S1759>/Constant1'
*/
#define rtCP_Constant_Value_hy rtCP_pooled_ZaQrlio3zvdO /* Expression: flip(dspli3_pwm)
* Referenced by: '<S1738>/Constant'
* Referenced by: '<S1758>/Constant'
*/
#define rtCP_Constant1_Value_inw rtCP_pooled_aY91hRNVbkUo /* Expression: flip(dspli3_pos)
* Referenced by: '<S1738>/Constant1'
* Referenced by: '<S1758>/Constant1'
*/
#define rtCP_Constant_Value_gc rtCP_pooled_pMl4rc6T0rXM /* Expression: flip(dsplo1_pwm)
* Referenced by: '<S1737>/Constant'
* Referenced by: '<S1757>/Constant'
*/
#define rtCP_Constant1_Value_e3 rtCP_pooled_hKRcN4vnUMjY /* Expression: flip(dsplo1_pos)
* Referenced by: '<S1737>/Constant1'
* Referenced by: '<S1757>/Constant1'
*/
#define rtCP_Constant_Value_aq rtCP_pooled_L66Wx5dHa4Rp /* Expression: flip(dsplo3_pwm)
* Referenced by: '<S1734>/Constant'
* Referenced by: '<S1754>/Constant'
*/
#define rtCP_Constant1_Value_i5 rtCP_pooled_bbraxpCGcNDH /* Expression: flip(dsplo3_pos)
* Referenced by: '<S1734>/Constant1'
* Referenced by: '<S1754>/Constant1'
*/
#define rtCP_Constant_Value_le0 rtCP_pooled_DUdscMXcFjDo /* Expression: flip(dsplo4_pwm)
* Referenced by: '<S1726>/Constant'
* Referenced by: '<S1746>/Constant'
*/
#define rtCP_Constant1_Value_mt rtCP_pooled_bbraxpCGcNDH /* Expression: flip(dsplo4_pos)
* Referenced by: '<S1726>/Constant1'
* Referenced by: '<S1746>/Constant1'
*/
#define rtCP_Constant_Value_pf rtCP_pooled_PEU31IHRNeu4 /* Expression: flip(dru_pwm)
* Referenced by: '<S1677>/Constant'
* Referenced by: '<S1697>/Constant'
*/
#define rtCP_Constant1_Value_bh rtCP_pooled_yWVMTaHackMS /* Expression: flip(dru_pos)
* Referenced by: '<S1677>/Constant1'
* Referenced by: '<S1697>/Constant1'
*/
#define rtCP_Constant_Value_a2 rtCP_pooled_Q1t8ey8QX6mk /* Expression: flip(dal_pwm)
* Referenced by: '<S1666>/Constant'
* Referenced by: '<S1686>/Constant'
*/
#define rtCP_Constant1_Value_kxr rtCP_pooled_H5asl5rOUZUB /* Expression: flip(dal_pos)
* Referenced by: '<S1666>/Constant1'
* Referenced by: '<S1686>/Constant1'
*/
#define rtCP_MediumHighAltitudeIntensity_maxIndex rtCP_pooled_BWTVQM0GuqkK/* Computed Parameter: rtCP_MediumHighAltitudeIntensity_maxIndex
* Referenced by: '<S1862>/Medium//High Altitude Intensity'
* Referenced by: '<S1882>/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'
@@ -1793,7 +1793,7 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S2>/Constant'
*/
#define rtCP_mav_parser_P1 rtCP_pooled_e6HU8n7YauPz /* Expression: Channel
* Referenced by: '<S1333>/mav_parser'
* Referenced by: '<S1341>/mav_parser'
*/
#define rtCP_ConstantBP_Value_ce rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_ConstantBP_Value_ce
* Referenced by: '<S3>/Constant BP'
@@ -1802,38 +1802,38 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S3>/Constant BP1'
*/
#define rtCP_SFunction_P1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1830>/S-Function'
* Referenced by: '<S1850>/S-Function'
*/
#define rtCP_SFunction_P1_d rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1801>/S-Function'
*/
#define rtCP_SFunction_P1_c rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1804>/S-Function'
*/
#define rtCP_SFunction_P1_g rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1807>/S-Function'
*/
#define rtCP_SFunction_P1_dj rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1810>/S-Function'
*/
#define rtCP_Constant_Value_du rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_Constant_Value_du
* Referenced by: '<S1792>/Constant'
*/
#define rtCP_SFunction_P1_e rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1814>/S-Function'
*/
#define rtCP_SFunction_P1_p rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1817>/S-Function'
*/
#define rtCP_SFunction_P1_m rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1821>/S-Function'
*/
#define rtCP_SFunction_P1_mv rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
#define rtCP_SFunction_P1_c rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1824>/S-Function'
*/
#define rtCP_SFunction_P1_j rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
#define rtCP_SFunction_P1_g rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1827>/S-Function'
*/
#define rtCP_SFunction_P1_dj rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1830>/S-Function'
*/
#define rtCP_Constant_Value_du rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_Constant_Value_du
* Referenced by: '<S1812>/Constant'
*/
#define rtCP_SFunction_P1_e rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1834>/S-Function'
*/
#define rtCP_SFunction_P1_p rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1837>/S-Function'
*/
#define rtCP_SFunction_P1_m rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1841>/S-Function'
*/
#define rtCP_SFunction_P1_mv rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1844>/S-Function'
*/
#define rtCP_SFunction_P1_j rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1847>/S-Function'
*/
#ifdef __cplusplus
extern "C" {
@@ -3152,11 +3152,16 @@ extern void cr929_SIL_sbg_ecom_log_baro_as_data_frame(const uint8_T rtu_data[96]
*rty_baro_as_k);
extern void cr929_SIL_Subsystem1(const C2 *rtu_C2_in, C2 *rty_C2_out, uint8_T
*rty_ack);
extern void cr929_SIL_psi_range_Init(real32_T *rty_out);
extern void cr929_SIL_psi_range_Reset(real32_T *rty_out);
extern void cr929_SIL_psi_range(real32_T rtu_in, real32_T *rty_out);
extern void cr929_SIL_SwitchCaseActionSubsystem2(const C2 *rtu_C2_in, C2
*rty_C2_out, uint8_T *rty_ack);
extern void cr929_SIL_psi_err_Init(real32_T *rty_out);
extern void cr929_SIL_psi_err_Reset(real32_T *rty_out);
extern void cr929_SIL_psi_err(real32_T rtu_in, real32_T *rty_out);
extern void cr929_SIL_psi_range_o_Init(real32_T *rty_out);
extern void cr929_SIL_psi_range_k(real32_T rtu_in, real32_T *rty_out);
extern void cr929_SIL_IfActionSubsystem1(const C2 *rtu_In1, C2 *rty_Out1,
uint8_T *rty_ack);
extern void cr929_SIL_auto_sw(uint16_T rtu_in, uint8_T *rty_out);
@@ -3178,6 +3183,11 @@ extern void cr929_SIL_valid_test(const C2 *rtu_C2_in_Inport_1, const TrajGen
*rtu_sysauto_in_Inport_2, real32_T rtu_sysauto_in_Inport_2_c, const Sensors
*rtu_sysauto_in_Inport_2_ca, real32_T rtu_sysauto_in_Inport_2_i, uint16_T
rtu_command, boolean_T *rty_valid);
extern void cr929_SIL_Chart1_Init(DW_Chart1_cr929_SIL_T *localDW);
extern void cr929_SIL_Chart1_Reset(DW_Chart1_cr929_SIL_T *localDW);
extern void cr929_SIL_Chart1(boolean_T rtu_AT_Engage, real32_T rtu_thr_in,
real32_T rtu_thr_comac_in, real32_T *rty_thr_out, DW_Chart1_cr929_SIL_T
*localDW);
extern void cr929_SIL_H(real32_T rtu_h_c, real32_T rtu_asl, real32_T *rty_dH,
real32_T *rty_hdot_des);
extern void cr929_SIL_IfActionSubsystem1_b(real32_T rtu_y_in, real32_T rtu_f,
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* 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.2361
* Model version : 1.2385
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Nov 1 11:34:14 2022
* C/C++ source code generated on : Thu Nov 3 12:35:09 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)