update gencode

This commit is contained in:
LyuWeiye
2021-07-18 12:16:53 +08:00
parent 8d1832e436
commit 5140730f82
10 changed files with 12790 additions and 12533 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.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -68,257 +68,257 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 7, TARGET_STRING("deadband_de"), 0, 2, 0 },
{ 8, TARGET_STRING("deadband_dht"), 0, 2, 0 },
{ 8, TARGET_STRING("deadband_dr"), 0, 2, 0 },
{ 9, TARGET_STRING("deadband_dr"), 0, 2, 0 },
{ 9, TARGET_STRING("deadband_dsp"), 0, 2, 0 },
{ 10, TARGET_STRING("deadband_dsp"), 0, 2, 0 },
{ 10, TARGET_STRING("map_rpm_lst"), 0, 3, 0 },
{ 11, TARGET_STRING("map_rpm_lst"), 0, 3, 0 },
{ 11, TARGET_STRING("map_thr_lst"), 0, 3, 0 },
{ 12, TARGET_STRING("map_thr_lst"), 0, 3, 0 },
{ 12, TARGET_STRING("mass0"), 0, 2, 0 },
{ 13, TARGET_STRING("mass0"), 0, 2, 0 },
{ 13, TARGET_STRING("throttle_k"), 0, 2, 0 },
{ 14, TARGET_STRING("throttle_k"), 0, 2, 0 },
{ 14, TARGET_STRING("wind_east"), 0, 4, 0 },
{ 15, TARGET_STRING("wind_east"), 0, 0, 0 },
{ 15, TARGET_STRING("wind_level"), 0, 4, 0 },
{ 16, TARGET_STRING("wind_level"), 0, 0, 0 },
{ 16, TARGET_STRING("wind_north"), 0, 4, 0 },
{ 17, TARGET_STRING("wind_north"), 0, 0, 0 },
{ 17, TARGET_STRING("CLa"), 1, 2, 0 },
{ 18, TARGET_STRING("CLa"), 1, 2, 0 },
{ 18, TARGET_STRING("Cl_lst"), 1, 5, 0 },
{ 19, TARGET_STRING("Cl_lst"), 1, 4, 0 },
{ 19, TARGET_STRING("Clda"), 1, 2, 0 },
{ 20, TARGET_STRING("Clda"), 1, 2, 0 },
{ 20, TARGET_STRING("Clda_mix"), 1, 2, 0 },
{ 21, TARGET_STRING("Clda_mix"), 1, 2, 0 },
{ 21, TARGET_STRING("Clp"), 1, 2, 0 },
{ 22, TARGET_STRING("Clp"), 1, 2, 0 },
{ 22, TARGET_STRING("Cmde"), 1, 2, 0 },
{ 23, TARGET_STRING("Cmde"), 1, 2, 0 },
{ 23, TARGET_STRING("Cmq"), 1, 2, 0 },
{ 24, TARGET_STRING("Cmq"), 1, 2, 0 },
{ 24, TARGET_STRING("Cndr"), 1, 2, 0 },
{ 25, TARGET_STRING("Cndr"), 1, 2, 0 },
{ 25, TARGET_STRING("Cnr"), 1, 2, 0 },
{ 26, TARGET_STRING("Cnr"), 1, 2, 0 },
{ 26, TARGET_STRING("CruiseSpeed"), 1, 2, 0 },
{ 27, TARGET_STRING("CruiseSpeed"), 1, 2, 0 },
{ 27, TARGET_STRING("Csb"), 1, 2, 0 },
{ 28, TARGET_STRING("Csb"), 1, 2, 0 },
{ 28, TARGET_STRING("FlareAlt"), 1, 2, 0 },
{ 29, TARGET_STRING("FlareAlt"), 1, 2, 0 },
{ 29, TARGET_STRING("GearDownSpeed"), 1, 2, 0 },
{ 30, TARGET_STRING("GearDownSpeed"), 1, 2, 0 },
{ 30, TARGET_STRING("Ixx"), 1, 2, 0 },
{ 31, TARGET_STRING("Ixx"), 1, 2, 0 },
{ 31, TARGET_STRING("Iyy"), 1, 2, 0 },
{ 32, TARGET_STRING("Iyy"), 1, 2, 0 },
{ 32, TARGET_STRING("Izz"), 1, 2, 0 },
{ 33, TARGET_STRING("Izz"), 1, 2, 0 },
{ 33, TARGET_STRING("LandingSpeed"), 1, 2, 0 },
{ 34, TARGET_STRING("LandingSpeed"), 1, 2, 0 },
{ 34, TARGET_STRING("RefArea"), 1, 2, 0 },
{ 35, TARGET_STRING("RefArea"), 1, 2, 0 },
{ 35, TARGET_STRING("RefLen"), 1, 2, 0 },
{ 36, TARGET_STRING("RefLen"), 1, 2, 0 },
{ 36, TARGET_STRING("RefSpan"), 1, 2, 0 },
{ 37, TARGET_STRING("RefSpan"), 1, 2, 0 },
{ 37, TARGET_STRING("STEER_POWER"), 1, 2, 0 },
{ 38, TARGET_STRING("STEER_POWER"), 1, 2, 0 },
{ 38, TARGET_STRING("TakeOffAlt"), 1, 2, 0 },
{ 39, TARGET_STRING("TakeOffAlt"), 1, 2, 0 },
{ 39, TARGET_STRING("TakeOffThrottle"), 1, 2, 0 },
{ 40, TARGET_STRING("TakeOffThrottle"), 1, 2, 0 },
{ 40, TARGET_STRING("TaxiSpeed"), 1, 2, 0 },
{ 41, TARGET_STRING("TaxiSpeed"), 1, 2, 0 },
{ 41, TARGET_STRING("ThrottleRate"), 1, 2, 0 },
{ 42, TARGET_STRING("ThrottleRate"), 1, 2, 0 },
{ 42, TARGET_STRING("V1"), 1, 2, 0 },
{ 43, TARGET_STRING("V1"), 1, 2, 0 },
{ 43, TARGET_STRING("antistall_lock"), 1, 2, 0 },
{ 44, TARGET_STRING("antistall_lock"), 1, 2, 0 },
{ 44, TARGET_STRING("antistall_release"), 1, 2, 0 },
{ 45, TARGET_STRING("antistall_release"), 1, 2, 0 },
{ 45, TARGET_STRING("auto_gear_updown"), 1, 2, 0 },
{ 46, TARGET_STRING("auto_gear_updown"), 1, 2, 0 },
{ 46, TARGET_STRING("brake_lock"), 1, 2, 0 },
{ 47, TARGET_STRING("brake_lock"), 1, 2, 0 },
{ 47, TARGET_STRING("brake_release"), 1, 2, 0 },
{ 48, TARGET_STRING("brake_release"), 1, 2, 0 },
{ 48, TARGET_STRING("da_list"), 1, 5, 0 },
{ 49, TARGET_STRING("da_list"), 1, 4, 0 },
{ 49, TARGET_STRING("da_list_unmix"), 1, 0, 0 },
{ 50, TARGET_STRING("da_list_unmix"), 1, 0, 0 },
{ 50, TARGET_STRING("da_lst"), 1, 5, 0 },
{ 51, TARGET_STRING("da_lst"), 1, 4, 0 },
{ 51, TARGET_STRING("dal_list"), 1, 5, 0 },
{ 52, TARGET_STRING("dal_list"), 1, 4, 0 },
{ 52, TARGET_STRING("dal_list_unmix"), 1, 0, 0 },
{ 53, TARGET_STRING("dal_list_unmix"), 1, 0, 0 },
{ 53, TARGET_STRING("dal_pos"), 1, 0, 0 },
{ 54, TARGET_STRING("dal_pos"), 1, 0, 0 },
{ 54, TARGET_STRING("dal_pwm"), 1, 0, 0 },
{ 55, TARGET_STRING("dal_pwm"), 1, 0, 0 },
{ 55, TARGET_STRING("dar_list"), 1, 5, 0 },
{ 56, TARGET_STRING("dar_list"), 1, 4, 0 },
{ 56, TARGET_STRING("dar_list_unmix"), 1, 0, 0 },
{ 57, TARGET_STRING("dar_list_unmix"), 1, 0, 0 },
{ 57, TARGET_STRING("dar_pos"), 1, 0, 0 },
{ 58, TARGET_STRING("dar_pos"), 1, 0, 0 },
{ 58, TARGET_STRING("dar_pwm"), 1, 0, 0 },
{ 59, TARGET_STRING("dar_pwm"), 1, 0, 0 },
{ 59, TARGET_STRING("ddf_c"), 1, 2, 0 },
{ 60, TARGET_STRING("ddf_c"), 1, 2, 0 },
{ 60, TARGET_STRING("del_pos"), 1, 0, 0 },
{ 61, TARGET_STRING("del_pos"), 1, 0, 0 },
{ 61, TARGET_STRING("del_pwm"), 1, 0, 0 },
{ 62, TARGET_STRING("del_pwm"), 1, 0, 0 },
{ 62, TARGET_STRING("den_da2dr"), 1, 4, 0 },
{ 63, TARGET_STRING("den_da2dr"), 1, 5, 0 },
{ 63, TARGET_STRING("der_pos"), 1, 0, 0 },
{ 64, TARGET_STRING("der_pos"), 1, 0, 0 },
{ 64, TARGET_STRING("der_pwm"), 1, 0, 0 },
{ 65, TARGET_STRING("der_pwm"), 1, 0, 0 },
{ 65, TARGET_STRING("det_time"), 1, 2, 0 },
{ 66, TARGET_STRING("det_time"), 1, 2, 0 },
{ 66, TARGET_STRING("dflap_ratelim"), 1, 2, 0 },
{ 67, TARGET_STRING("dflap_ratelim"), 1, 2, 0 },
{ 67, TARGET_STRING("dflii_pos"), 1, 6, 0 },
{ 68, TARGET_STRING("dflii_pos"), 1, 6, 0 },
{ 68, TARGET_STRING("dflii_pwm"), 1, 6, 0 },
{ 69, TARGET_STRING("dflii_pwm"), 1, 6, 0 },
{ 69, TARGET_STRING("dflo2_pos"), 1, 6, 0 },
{ 70, TARGET_STRING("dflo2_pos"), 1, 6, 0 },
{ 70, TARGET_STRING("dflo2_pwm"), 1, 6, 0 },
{ 71, TARGET_STRING("dflo2_pwm"), 1, 6, 0 },
{ 71, TARGET_STRING("dflo_pos"), 1, 6, 0 },
{ 72, TARGET_STRING("dflo_pos"), 1, 6, 0 },
{ 72, TARGET_STRING("dflo_pwm"), 1, 6, 0 },
{ 73, TARGET_STRING("dflo_pwm"), 1, 6, 0 },
{ 73, TARGET_STRING("dfrii_pos"), 1, 6, 0 },
{ 74, TARGET_STRING("dfrii_pos"), 1, 6, 0 },
{ 74, TARGET_STRING("dfrii_pwm"), 1, 6, 0 },
{ 75, TARGET_STRING("dfrii_pwm"), 1, 6, 0 },
{ 75, TARGET_STRING("dfrio_pos"), 1, 6, 0 },
{ 76, TARGET_STRING("dfrio_pos"), 1, 6, 0 },
{ 76, TARGET_STRING("dfrio_pwm"), 1, 6, 0 },
{ 77, TARGET_STRING("dfrio_pwm"), 1, 6, 0 },
{ 77, TARGET_STRING("dfro2_pos"), 1, 6, 0 },
{ 78, TARGET_STRING("dfro2_pos"), 1, 6, 0 },
{ 78, TARGET_STRING("dfro2_pwm"), 1, 6, 0 },
{ 79, TARGET_STRING("dfro2_pwm"), 1, 6, 0 },
{ 79, TARGET_STRING("dfro_pos"), 1, 6, 0 },
{ 80, TARGET_STRING("dfro_pos"), 1, 6, 0 },
{ 80, TARGET_STRING("dfro_pwm"), 1, 6, 0 },
{ 81, TARGET_STRING("dfro_pwm"), 1, 6, 0 },
{ 81, TARGET_STRING("dh_pos"), 1, 0, 0 },
{ 82, TARGET_STRING("dh_pos"), 1, 0, 0 },
{ 82, TARGET_STRING("dh_pwm"), 1, 0, 0 },
{ 83, TARGET_STRING("dh_pwm"), 1, 0, 0 },
{ 83, TARGET_STRING("dht_ratelim"), 1, 2, 0 },
{ 84, TARGET_STRING("dht_ratelim"), 1, 2, 0 },
{ 84, TARGET_STRING("dr0_c"), 1, 2, 0 },
{ 85, TARGET_STRING("dr0_c"), 1, 2, 0 },
{ 85, TARGET_STRING("dr_trim"), 1, 2, 0 },
{ 86, TARGET_STRING("dr_trim"), 1, 2, 0 },
{ 86, TARGET_STRING("drd_pos"), 1, 0, 0 },
{ 87, TARGET_STRING("drd_pos"), 1, 0, 0 },
{ 87, TARGET_STRING("drd_pwm"), 1, 0, 0 },
{ 88, TARGET_STRING("drd_pwm"), 1, 0, 0 },
{ 88, TARGET_STRING("dru_pos"), 1, 0, 0 },
{ 89, TARGET_STRING("dru_pos"), 1, 0, 0 },
{ 89, TARGET_STRING("dru_pwm"), 1, 0, 0 },
{ 90, TARGET_STRING("dru_pwm"), 1, 0, 0 },
{ 90, TARGET_STRING("dsp_ratelim"), 1, 2, 0 },
{ 91, TARGET_STRING("dsp_ratelim"), 1, 2, 0 },
{ 91, TARGET_STRING("dspl4_list"), 1, 5, 0 },
{ 92, TARGET_STRING("dspl4_list"), 1, 4, 0 },
{ 92, TARGET_STRING("dspl5_list"), 1, 5, 0 },
{ 93, TARGET_STRING("dspl5_list"), 1, 4, 0 },
{ 93, TARGET_STRING("dspl6_list"), 1, 5, 0 },
{ 94, TARGET_STRING("dspl6_list"), 1, 4, 0 },
{ 94, TARGET_STRING("dspl7_list"), 1, 5, 0 },
{ 95, TARGET_STRING("dspl7_list"), 1, 4, 0 },
{ 95, TARGET_STRING("dspl8_list"), 1, 5, 0 },
{ 96, TARGET_STRING("dspl8_list"), 1, 4, 0 },
{ 96, TARGET_STRING("dspli1_pos"), 1, 0, 0 },
{ 97, TARGET_STRING("dspli1_pos"), 1, 0, 0 },
{ 97, TARGET_STRING("dspli1_pwm"), 1, 0, 0 },
{ 98, TARGET_STRING("dspli1_pwm"), 1, 0, 0 },
{ 98, TARGET_STRING("dspli2_pos"), 1, 0, 0 },
{ 99, TARGET_STRING("dspli2_pos"), 1, 0, 0 },
{ 99, TARGET_STRING("dspli2_pwm"), 1, 0, 0 },
{ 100, TARGET_STRING("dspli2_pwm"), 1, 0, 0 },
{ 100, TARGET_STRING("dspli3_pos"), 1, 0, 0 },
{ 101, TARGET_STRING("dspli3_pos"), 1, 0, 0 },
{ 101, TARGET_STRING("dspli3_pwm"), 1, 0, 0 },
{ 102, TARGET_STRING("dspli3_pwm"), 1, 0, 0 },
{ 102, TARGET_STRING("dsplo1_pos"), 1, 0, 0 },
{ 103, TARGET_STRING("dsplo1_pos"), 1, 0, 0 },
{ 103, TARGET_STRING("dsplo1_pwm"), 1, 0, 0 },
{ 104, TARGET_STRING("dsplo1_pwm"), 1, 0, 0 },
{ 104, TARGET_STRING("dsplo2_pos"), 1, 0, 0 },
{ 105, TARGET_STRING("dsplo2_pos"), 1, 0, 0 },
{ 105, TARGET_STRING("dsplo2_pwm"), 1, 0, 0 },
{ 106, TARGET_STRING("dsplo2_pwm"), 1, 0, 0 },
{ 106, TARGET_STRING("dsplo3_pos"), 1, 0, 0 },
{ 107, TARGET_STRING("dsplo3_pos"), 1, 0, 0 },
{ 107, TARGET_STRING("dsplo3_pwm"), 1, 0, 0 },
{ 108, TARGET_STRING("dsplo3_pwm"), 1, 0, 0 },
{ 108, TARGET_STRING("dsplo4_pos"), 1, 0, 0 },
{ 109, TARGET_STRING("dsplo4_pos"), 1, 0, 0 },
{ 109, TARGET_STRING("dsplo4_pwm"), 1, 0, 0 },
{ 110, TARGET_STRING("dsplo4_pwm"), 1, 0, 0 },
{ 110, TARGET_STRING("dsplo5_pos"), 1, 0, 0 },
{ 111, TARGET_STRING("dsplo5_pos"), 1, 0, 0 },
{ 111, TARGET_STRING("dsplo5_pwm"), 1, 0, 0 },
{ 112, TARGET_STRING("dsplo5_pwm"), 1, 0, 0 },
{ 112, TARGET_STRING("dspr4_list"), 1, 5, 0 },
{ 113, TARGET_STRING("dspr4_list"), 1, 4, 0 },
{ 113, TARGET_STRING("dspr5_list"), 1, 5, 0 },
{ 114, TARGET_STRING("dspr5_list"), 1, 4, 0 },
{ 114, TARGET_STRING("dspr6_list"), 1, 5, 0 },
{ 115, TARGET_STRING("dspr6_list"), 1, 4, 0 },
{ 115, TARGET_STRING("dspr7_list"), 1, 5, 0 },
{ 116, TARGET_STRING("dspr7_list"), 1, 4, 0 },
{ 116, TARGET_STRING("dspr8_list"), 1, 5, 0 },
{ 117, TARGET_STRING("dspr8_list"), 1, 4, 0 },
{ 117, TARGET_STRING("dspri1_pos"), 1, 0, 0 },
{ 118, TARGET_STRING("dspri1_pos"), 1, 0, 0 },
{ 118, TARGET_STRING("dspri1_pwm"), 1, 0, 0 },
{ 119, TARGET_STRING("dspri1_pwm"), 1, 0, 0 },
{ 119, TARGET_STRING("dspri2_pos"), 1, 0, 0 },
{ 120, TARGET_STRING("dspri2_pos"), 1, 0, 0 },
{ 120, TARGET_STRING("dspri2_pwm"), 1, 0, 0 },
{ 121, TARGET_STRING("dspri2_pwm"), 1, 0, 0 },
{ 121, TARGET_STRING("dspri3_pos"), 1, 0, 0 },
{ 122, TARGET_STRING("dspri3_pos"), 1, 0, 0 },
{ 122, TARGET_STRING("dspri3_pwm"), 1, 0, 0 },
{ 123, TARGET_STRING("dspri3_pwm"), 1, 0, 0 },
{ 123, TARGET_STRING("dspro1_pos"), 1, 0, 0 },
{ 124, TARGET_STRING("dspro1_pos"), 1, 0, 0 },
{ 124, TARGET_STRING("dspro1_pwm"), 1, 0, 0 },
{ 125, TARGET_STRING("dspro1_pwm"), 1, 0, 0 },
{ 125, TARGET_STRING("dspro2_pos"), 1, 0, 0 },
{ 126, TARGET_STRING("dspro2_pos"), 1, 0, 0 },
{ 126, TARGET_STRING("dspro2_pwm"), 1, 0, 0 },
{ 127, TARGET_STRING("dspro2_pwm"), 1, 0, 0 },
{ 127, TARGET_STRING("dspro3_pos"), 1, 0, 0 },
{ 128, TARGET_STRING("dspro3_pos"), 1, 0, 0 },
{ 128, TARGET_STRING("dspro3_pwm"), 1, 0, 0 },
{ 129, TARGET_STRING("dspro3_pwm"), 1, 0, 0 },
{ 129, TARGET_STRING("dspro4_pos"), 1, 0, 0 },
{ 130, TARGET_STRING("dspro4_pos"), 1, 0, 0 },
{ 130, TARGET_STRING("dspro4_pwm"), 1, 0, 0 },
{ 131, TARGET_STRING("dspro4_pwm"), 1, 0, 0 },
{ 131, TARGET_STRING("dspro5_pos"), 1, 0, 0 },
{ 132, TARGET_STRING("dspro5_pos"), 1, 0, 0 },
{ 132, TARGET_STRING("dspro5_pwm"), 1, 0, 0 },
{ 133, TARGET_STRING("dspro5_pwm"), 1, 0, 0 },
{ 133, TARGET_STRING("flap_level"), 1, 2, 0 },
{ 134, TARGET_STRING("k_da2dr"), 1, 2, 0 },
@@ -539,132 +539,132 @@ static void* rtDataAddrMap[] = {
&cr929_SIL_P.IMUloc[0], /* 5: Model Parameter */
&cr929_SIL_P.deadband_da, /* 6: Model Parameter */
&cr929_SIL_P.deadband_de, /* 7: Model Parameter */
&cr929_SIL_P.deadband_dht, /* 8: Model Parameter */
&cr929_SIL_P.deadband_dr, /* 9: Model Parameter */
&cr929_SIL_P.deadband_dsp, /* 10: Model Parameter */
&cr929_SIL_P.map_rpm_lst[0], /* 11: Model Parameter */
&cr929_SIL_P.map_thr_lst[0], /* 12: Model Parameter */
&cr929_SIL_P.mass0, /* 13: Model Parameter */
&cr929_SIL_P.throttle_k, /* 14: Model Parameter */
&cr929_SIL_P.wind_east[0], /* 15: Model Parameter */
&cr929_SIL_P.wind_level[0], /* 16: Model Parameter */
&cr929_SIL_P.wind_north[0], /* 17: Model Parameter */
&cr929_SIL_P.CLa, /* 18: Model Parameter */
&cr929_SIL_P.Cl_lst[0], /* 19: Model Parameter */
&cr929_SIL_P.Clda, /* 20: Model Parameter */
&cr929_SIL_P.Clda_mix, /* 21: Model Parameter */
&cr929_SIL_P.Clp, /* 22: Model Parameter */
&cr929_SIL_P.Cmde, /* 23: Model Parameter */
&cr929_SIL_P.Cmq, /* 24: Model Parameter */
&cr929_SIL_P.Cndr, /* 25: Model Parameter */
&cr929_SIL_P.Cnr, /* 26: Model Parameter */
&cr929_SIL_P.CruiseSpeed, /* 27: Model Parameter */
&cr929_SIL_P.Csb, /* 28: Model Parameter */
&cr929_SIL_P.FlareAlt, /* 29: Model Parameter */
&cr929_SIL_P.GearDownSpeed, /* 30: Model Parameter */
&cr929_SIL_P.Ixx, /* 31: Model Parameter */
&cr929_SIL_P.Iyy, /* 32: Model Parameter */
&cr929_SIL_P.Izz, /* 33: Model Parameter */
&cr929_SIL_P.LandingSpeed, /* 34: Model Parameter */
&cr929_SIL_P.RefArea, /* 35: Model Parameter */
&cr929_SIL_P.RefLen, /* 36: Model Parameter */
&cr929_SIL_P.RefSpan, /* 37: Model Parameter */
&cr929_SIL_P.STEER_POWER, /* 38: Model Parameter */
&cr929_SIL_P.TakeOffAlt, /* 39: Model Parameter */
&cr929_SIL_P.TakeOffThrottle, /* 40: Model Parameter */
&cr929_SIL_P.TaxiSpeed, /* 41: Model Parameter */
&cr929_SIL_P.ThrottleRate, /* 42: Model Parameter */
&cr929_SIL_P.V1, /* 43: Model Parameter */
&cr929_SIL_P.antistall_lock, /* 44: Model Parameter */
&cr929_SIL_P.antistall_release, /* 45: Model Parameter */
&cr929_SIL_P.auto_gear_updown, /* 46: Model Parameter */
&cr929_SIL_P.brake_lock, /* 47: Model Parameter */
&cr929_SIL_P.brake_release, /* 48: Model Parameter */
&cr929_SIL_P.da_list[0], /* 49: Model Parameter */
&cr929_SIL_P.da_list_unmix[0], /* 50: Model Parameter */
&cr929_SIL_P.da_lst[0], /* 51: Model Parameter */
&cr929_SIL_P.dal_list[0], /* 52: Model Parameter */
&cr929_SIL_P.dal_list_unmix[0], /* 53: Model Parameter */
&cr929_SIL_P.dal_pos[0], /* 54: Model Parameter */
&cr929_SIL_P.dal_pwm[0], /* 55: Model Parameter */
&cr929_SIL_P.dar_list[0], /* 56: Model Parameter */
&cr929_SIL_P.dar_list_unmix[0], /* 57: Model Parameter */
&cr929_SIL_P.dar_pos[0], /* 58: Model Parameter */
&cr929_SIL_P.dar_pwm[0], /* 59: Model Parameter */
&cr929_SIL_P.ddf_c, /* 60: Model Parameter */
&cr929_SIL_P.del_pos[0], /* 61: Model Parameter */
&cr929_SIL_P.del_pwm[0], /* 62: Model Parameter */
&cr929_SIL_P.den_da2dr[0], /* 63: Model Parameter */
&cr929_SIL_P.der_pos[0], /* 64: Model Parameter */
&cr929_SIL_P.der_pwm[0], /* 65: Model Parameter */
&cr929_SIL_P.det_time, /* 66: Model Parameter */
&cr929_SIL_P.dflap_ratelim, /* 67: Model Parameter */
&cr929_SIL_P.dflii_pos[0], /* 68: Model Parameter */
&cr929_SIL_P.dflii_pwm[0], /* 69: Model Parameter */
&cr929_SIL_P.dflo2_pos[0], /* 70: Model Parameter */
&cr929_SIL_P.dflo2_pwm[0], /* 71: Model Parameter */
&cr929_SIL_P.dflo_pos[0], /* 72: Model Parameter */
&cr929_SIL_P.dflo_pwm[0], /* 73: Model Parameter */
&cr929_SIL_P.dfrii_pos[0], /* 74: Model Parameter */
&cr929_SIL_P.dfrii_pwm[0], /* 75: Model Parameter */
&cr929_SIL_P.dfrio_pos[0], /* 76: Model Parameter */
&cr929_SIL_P.dfrio_pwm[0], /* 77: Model Parameter */
&cr929_SIL_P.dfro2_pos[0], /* 78: Model Parameter */
&cr929_SIL_P.dfro2_pwm[0], /* 79: Model Parameter */
&cr929_SIL_P.dfro_pos[0], /* 80: Model Parameter */
&cr929_SIL_P.dfro_pwm[0], /* 81: Model Parameter */
&cr929_SIL_P.dh_pos[0], /* 82: Model Parameter */
&cr929_SIL_P.dh_pwm[0], /* 83: Model Parameter */
&cr929_SIL_P.dht_ratelim, /* 84: Model Parameter */
&cr929_SIL_P.dr0_c, /* 85: Model Parameter */
&cr929_SIL_P.dr_trim, /* 86: Model Parameter */
&cr929_SIL_P.drd_pos[0], /* 87: Model Parameter */
&cr929_SIL_P.drd_pwm[0], /* 88: Model Parameter */
&cr929_SIL_P.dru_pos[0], /* 89: Model Parameter */
&cr929_SIL_P.dru_pwm[0], /* 90: Model Parameter */
&cr929_SIL_P.dsp_ratelim, /* 91: Model Parameter */
&cr929_SIL_P.dspl4_list[0], /* 92: Model Parameter */
&cr929_SIL_P.dspl5_list[0], /* 93: Model Parameter */
&cr929_SIL_P.dspl6_list[0], /* 94: Model Parameter */
&cr929_SIL_P.dspl7_list[0], /* 95: Model Parameter */
&cr929_SIL_P.dspl8_list[0], /* 96: Model Parameter */
&cr929_SIL_P.dspli1_pos[0], /* 97: Model Parameter */
&cr929_SIL_P.dspli1_pwm[0], /* 98: Model Parameter */
&cr929_SIL_P.dspli2_pos[0], /* 99: Model Parameter */
&cr929_SIL_P.dspli2_pwm[0], /* 100: Model Parameter */
&cr929_SIL_P.dspli3_pos[0], /* 101: Model Parameter */
&cr929_SIL_P.dspli3_pwm[0], /* 102: Model Parameter */
&cr929_SIL_P.dsplo1_pos[0], /* 103: Model Parameter */
&cr929_SIL_P.dsplo1_pwm[0], /* 104: Model Parameter */
&cr929_SIL_P.dsplo2_pos[0], /* 105: Model Parameter */
&cr929_SIL_P.dsplo2_pwm[0], /* 106: Model Parameter */
&cr929_SIL_P.dsplo3_pos[0], /* 107: Model Parameter */
&cr929_SIL_P.dsplo3_pwm[0], /* 108: Model Parameter */
&cr929_SIL_P.dsplo4_pos[0], /* 109: Model Parameter */
&cr929_SIL_P.dsplo4_pwm[0], /* 110: Model Parameter */
&cr929_SIL_P.dsplo5_pos[0], /* 111: Model Parameter */
&cr929_SIL_P.dsplo5_pwm[0], /* 112: Model Parameter */
&cr929_SIL_P.dspr4_list[0], /* 113: Model Parameter */
&cr929_SIL_P.dspr5_list[0], /* 114: Model Parameter */
&cr929_SIL_P.dspr6_list[0], /* 115: Model Parameter */
&cr929_SIL_P.dspr7_list[0], /* 116: Model Parameter */
&cr929_SIL_P.dspr8_list[0], /* 117: Model Parameter */
&cr929_SIL_P.dspri1_pos[0], /* 118: Model Parameter */
&cr929_SIL_P.dspri1_pwm[0], /* 119: Model Parameter */
&cr929_SIL_P.dspri2_pos[0], /* 120: Model Parameter */
&cr929_SIL_P.dspri2_pwm[0], /* 121: Model Parameter */
&cr929_SIL_P.dspri3_pos[0], /* 122: Model Parameter */
&cr929_SIL_P.dspri3_pwm[0], /* 123: Model Parameter */
&cr929_SIL_P.dspro1_pos[0], /* 124: Model Parameter */
&cr929_SIL_P.dspro1_pwm[0], /* 125: Model Parameter */
&cr929_SIL_P.dspro2_pos[0], /* 126: Model Parameter */
&cr929_SIL_P.dspro2_pwm[0], /* 127: Model Parameter */
&cr929_SIL_P.dspro3_pos[0], /* 128: Model Parameter */
&cr929_SIL_P.dspro3_pwm[0], /* 129: Model Parameter */
&cr929_SIL_P.dspro4_pos[0], /* 130: Model Parameter */
&cr929_SIL_P.dspro4_pwm[0], /* 131: Model Parameter */
&cr929_SIL_P.dspro5_pos[0], /* 132: Model Parameter */
&cr929_SIL_P.dspro5_pwm[0], /* 133: Model Parameter */
&cr929_SIL_P.deadband_dr, /* 8: Model Parameter */
&cr929_SIL_P.deadband_dsp, /* 9: Model Parameter */
&cr929_SIL_P.map_rpm_lst[0], /* 10: Model Parameter */
&cr929_SIL_P.map_thr_lst[0], /* 11: Model Parameter */
&cr929_SIL_P.mass0, /* 12: Model Parameter */
&cr929_SIL_P.throttle_k, /* 13: Model Parameter */
&cr929_SIL_P.wind_east[0], /* 14: Model Parameter */
&cr929_SIL_P.wind_level[0], /* 15: Model Parameter */
&cr929_SIL_P.wind_north[0], /* 16: Model Parameter */
&cr929_SIL_P.CLa, /* 17: Model Parameter */
&cr929_SIL_P.Cl_lst[0], /* 18: Model Parameter */
&cr929_SIL_P.Clda, /* 19: Model Parameter */
&cr929_SIL_P.Clda_mix, /* 20: Model Parameter */
&cr929_SIL_P.Clp, /* 21: Model Parameter */
&cr929_SIL_P.Cmde, /* 22: Model Parameter */
&cr929_SIL_P.Cmq, /* 23: Model Parameter */
&cr929_SIL_P.Cndr, /* 24: Model Parameter */
&cr929_SIL_P.Cnr, /* 25: Model Parameter */
&cr929_SIL_P.CruiseSpeed, /* 26: Model Parameter */
&cr929_SIL_P.Csb, /* 27: Model Parameter */
&cr929_SIL_P.FlareAlt, /* 28: Model Parameter */
&cr929_SIL_P.GearDownSpeed, /* 29: Model Parameter */
&cr929_SIL_P.Ixx, /* 30: Model Parameter */
&cr929_SIL_P.Iyy, /* 31: Model Parameter */
&cr929_SIL_P.Izz, /* 32: Model Parameter */
&cr929_SIL_P.LandingSpeed, /* 33: Model Parameter */
&cr929_SIL_P.RefArea, /* 34: Model Parameter */
&cr929_SIL_P.RefLen, /* 35: Model Parameter */
&cr929_SIL_P.RefSpan, /* 36: Model Parameter */
&cr929_SIL_P.STEER_POWER, /* 37: Model Parameter */
&cr929_SIL_P.TakeOffAlt, /* 38: Model Parameter */
&cr929_SIL_P.TakeOffThrottle, /* 39: Model Parameter */
&cr929_SIL_P.TaxiSpeed, /* 40: Model Parameter */
&cr929_SIL_P.ThrottleRate, /* 41: Model Parameter */
&cr929_SIL_P.V1, /* 42: Model Parameter */
&cr929_SIL_P.antistall_lock, /* 43: Model Parameter */
&cr929_SIL_P.antistall_release, /* 44: Model Parameter */
&cr929_SIL_P.auto_gear_updown, /* 45: Model Parameter */
&cr929_SIL_P.brake_lock, /* 46: Model Parameter */
&cr929_SIL_P.brake_release, /* 47: Model Parameter */
&cr929_SIL_P.da_list[0], /* 48: Model Parameter */
&cr929_SIL_P.da_list_unmix[0], /* 49: Model Parameter */
&cr929_SIL_P.da_lst[0], /* 50: Model Parameter */
&cr929_SIL_P.dal_list[0], /* 51: Model Parameter */
&cr929_SIL_P.dal_list_unmix[0], /* 52: Model Parameter */
&cr929_SIL_P.dal_pos[0], /* 53: Model Parameter */
&cr929_SIL_P.dal_pwm[0], /* 54: Model Parameter */
&cr929_SIL_P.dar_list[0], /* 55: Model Parameter */
&cr929_SIL_P.dar_list_unmix[0], /* 56: Model Parameter */
&cr929_SIL_P.dar_pos[0], /* 57: Model Parameter */
&cr929_SIL_P.dar_pwm[0], /* 58: Model Parameter */
&cr929_SIL_P.ddf_c, /* 59: Model Parameter */
&cr929_SIL_P.del_pos[0], /* 60: Model Parameter */
&cr929_SIL_P.del_pwm[0], /* 61: Model Parameter */
&cr929_SIL_P.den_da2dr[0], /* 62: Model Parameter */
&cr929_SIL_P.der_pos[0], /* 63: Model Parameter */
&cr929_SIL_P.der_pwm[0], /* 64: Model Parameter */
&cr929_SIL_P.det_time, /* 65: Model Parameter */
&cr929_SIL_P.dflap_ratelim, /* 66: Model Parameter */
&cr929_SIL_P.dflii_pos[0], /* 67: Model Parameter */
&cr929_SIL_P.dflii_pwm[0], /* 68: Model Parameter */
&cr929_SIL_P.dflo2_pos[0], /* 69: Model Parameter */
&cr929_SIL_P.dflo2_pwm[0], /* 70: Model Parameter */
&cr929_SIL_P.dflo_pos[0], /* 71: Model Parameter */
&cr929_SIL_P.dflo_pwm[0], /* 72: Model Parameter */
&cr929_SIL_P.dfrii_pos[0], /* 73: Model Parameter */
&cr929_SIL_P.dfrii_pwm[0], /* 74: Model Parameter */
&cr929_SIL_P.dfrio_pos[0], /* 75: Model Parameter */
&cr929_SIL_P.dfrio_pwm[0], /* 76: Model Parameter */
&cr929_SIL_P.dfro2_pos[0], /* 77: Model Parameter */
&cr929_SIL_P.dfro2_pwm[0], /* 78: Model Parameter */
&cr929_SIL_P.dfro_pos[0], /* 79: Model Parameter */
&cr929_SIL_P.dfro_pwm[0], /* 80: Model Parameter */
&cr929_SIL_P.dh_pos[0], /* 81: Model Parameter */
&cr929_SIL_P.dh_pwm[0], /* 82: Model Parameter */
&cr929_SIL_P.dht_ratelim, /* 83: Model Parameter */
&cr929_SIL_P.dr0_c, /* 84: Model Parameter */
&cr929_SIL_P.dr_trim, /* 85: Model Parameter */
&cr929_SIL_P.drd_pos[0], /* 86: Model Parameter */
&cr929_SIL_P.drd_pwm[0], /* 87: Model Parameter */
&cr929_SIL_P.dru_pos[0], /* 88: Model Parameter */
&cr929_SIL_P.dru_pwm[0], /* 89: Model Parameter */
&cr929_SIL_P.dsp_ratelim, /* 90: Model Parameter */
&cr929_SIL_P.dspl4_list[0], /* 91: Model Parameter */
&cr929_SIL_P.dspl5_list[0], /* 92: Model Parameter */
&cr929_SIL_P.dspl6_list[0], /* 93: Model Parameter */
&cr929_SIL_P.dspl7_list[0], /* 94: Model Parameter */
&cr929_SIL_P.dspl8_list[0], /* 95: Model Parameter */
&cr929_SIL_P.dspli1_pos[0], /* 96: Model Parameter */
&cr929_SIL_P.dspli1_pwm[0], /* 97: Model Parameter */
&cr929_SIL_P.dspli2_pos[0], /* 98: Model Parameter */
&cr929_SIL_P.dspli2_pwm[0], /* 99: Model Parameter */
&cr929_SIL_P.dspli3_pos[0], /* 100: Model Parameter */
&cr929_SIL_P.dspli3_pwm[0], /* 101: Model Parameter */
&cr929_SIL_P.dsplo1_pos[0], /* 102: Model Parameter */
&cr929_SIL_P.dsplo1_pwm[0], /* 103: Model Parameter */
&cr929_SIL_P.dsplo2_pos[0], /* 104: Model Parameter */
&cr929_SIL_P.dsplo2_pwm[0], /* 105: Model Parameter */
&cr929_SIL_P.dsplo3_pos[0], /* 106: Model Parameter */
&cr929_SIL_P.dsplo3_pwm[0], /* 107: Model Parameter */
&cr929_SIL_P.dsplo4_pos[0], /* 108: Model Parameter */
&cr929_SIL_P.dsplo4_pwm[0], /* 109: Model Parameter */
&cr929_SIL_P.dsplo5_pos[0], /* 110: Model Parameter */
&cr929_SIL_P.dsplo5_pwm[0], /* 111: Model Parameter */
&cr929_SIL_P.dspr4_list[0], /* 112: Model Parameter */
&cr929_SIL_P.dspr5_list[0], /* 113: Model Parameter */
&cr929_SIL_P.dspr6_list[0], /* 114: Model Parameter */
&cr929_SIL_P.dspr7_list[0], /* 115: Model Parameter */
&cr929_SIL_P.dspr8_list[0], /* 116: Model Parameter */
&cr929_SIL_P.dspri1_pos[0], /* 117: Model Parameter */
&cr929_SIL_P.dspri1_pwm[0], /* 118: Model Parameter */
&cr929_SIL_P.dspri2_pos[0], /* 119: Model Parameter */
&cr929_SIL_P.dspri2_pwm[0], /* 120: Model Parameter */
&cr929_SIL_P.dspri3_pos[0], /* 121: Model Parameter */
&cr929_SIL_P.dspri3_pwm[0], /* 122: Model Parameter */
&cr929_SIL_P.dspro1_pos[0], /* 123: Model Parameter */
&cr929_SIL_P.dspro1_pwm[0], /* 124: Model Parameter */
&cr929_SIL_P.dspro2_pos[0], /* 125: Model Parameter */
&cr929_SIL_P.dspro2_pwm[0], /* 126: Model Parameter */
&cr929_SIL_P.dspro3_pos[0], /* 127: Model Parameter */
&cr929_SIL_P.dspro3_pwm[0], /* 128: Model Parameter */
&cr929_SIL_P.dspro4_pos[0], /* 129: Model Parameter */
&cr929_SIL_P.dspro4_pwm[0], /* 130: Model Parameter */
&cr929_SIL_P.dspro5_pos[0], /* 131: Model Parameter */
&cr929_SIL_P.dspro5_pwm[0], /* 132: Model Parameter */
&cr929_SIL_P.flap_level, /* 133: Model Parameter */
&cr929_SIL_P.k_da2dr, /* 134: Model Parameter */
&cr929_SIL_P.k_p, /* 135: Model Parameter */
&cr929_SIL_P.k_phi, /* 136: Model Parameter */
@@ -838,9 +838,9 @@ static const uint_T rtDimensionArray[] = {
1, /* 6 */
12, /* 7 */
1, /* 8 */
15, /* 9 */
2, /* 9 */
1, /* 10 */
2, /* 11 */
15, /* 11 */
1, /* 12 */
5, /* 13 */
1, /* 14 */
@@ -891,10 +891,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
rtElementMap, rtSampleTimeMap, rtDimensionArray },
"float",
{ 4222297303U,
2569946564U,
68797574U,
3074313909U },
{ 944107538U,
1661252842U,
2354471674U,
1994023448U },
(NULL), 0,
0
};
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 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.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -37,64 +37,68 @@ const ConstB_cr929_SIL_T cr929_SIL_ConstB = {
0.99330562000985867, /* '<S315>/Product3' */
0.00669437999014133, /* '<S315>/Sum2' */
0.99330562000985867, /* '<S313>/Sum' */
0.0, /* '<S71>/product' */
0.0, /* '<S71>/saturation' */
0.0, /* '<S129>/Unit Conversion' */
{ 0.0, 0.0, 0.0 }, /* synthesized block */
{ 0.062864934582006843, 0.062864934582006843, 0.062864934582006843,
0.062864934582006843 }, /* '<S1430>/Sqrt' */
0.062864934582006843, /* '<S1430>/Sqrt1' */
0.062864934582006843 }, /* '<S1438>/Sqrt' */
0.062864934582006843, /* '<S1438>/Sqrt1' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1430>/Divide' */
0.0, /* '<S1419>/Unit Conversion' */
0.0, /* '<S1429>/Unit Conversion' */
0.0, /* '<S1438>/sigma_wg ' */
0.0, /* '<S1437>/PreLook-Up Index Search (prob of exceed)' */
11.154855643044618, /* '<S1423>/Unit Conversion' */
1749.9999999999998, /* '<S1457>/Unit Conversion' */
{ 1.0, 1.0, 1.0, 1.0 }, /* '<S1438>/Divide' */
0.0, /* '<S1427>/Unit Conversion' */
0.0, /* '<S1437>/Unit Conversion' */
0.0, /* '<S1446>/sigma_wg ' */
0.0, /* '<S1445>/PreLook-Up Index Search (prob of exceed)' */
22.309711286089236, /* '<S1431>/Unit Conversion' */
1749.9999999999998, /* '<S1465>/Unit Conversion' */
1000.0, /* '<S1455>/Sum' */
1000.0, /* '<S1447>/Sum' */
1000.0, /* '<S1439>/Sum' */
10.652102490402442, /* '<S1433>/dt1' */
14.20280332053659, /* '<S1432>/dt1' */
21.304204980804883, /* '<S1441>/dt1' */
28.405606641073181, /* '<S1440>/dt1' */
{ 2.51145, 0.0, 0.519 }, /* '<S329>/Selector' */
{ -0.19894, -0.51, 0.44577 }, /* '<S329>/Selector1' */
{ -0.19894, 0.51, 0.44577 }, /* '<S329>/Selector2' */
2U, /* '<S1437>/PreLook-Up Index Search (prob of exceed)' */
60U, /* '<S1340>/Width1' */
30U, /* '<S1341>/Width1' */
45U, /* '<S1342>/Width1' */
73U, /* '<S1346>/Width1' */
65U, /* '<S1345>/Width1' */
233U, /* '<S1350>/Width1' */
97U, /* '<S1349>/Width1' */
65U, /* '<S1348>/Width1' */
77U, /* '<S1347>/Width1' */
19U, /* '<S1353>/Width1' */
60U, /* '<S1337>/Width1' */
30U, /* '<S1338>/Width1' */
35U, /* '<S1336>/Width1' */
45U, /* '<S1339>/Width1' */
73U, /* '<S1344>/Width1' */
65U, /* '<S1343>/Width1' */
55U, /* '<S1340>/Width' */
25U, /* '<S1341>/Width' */
40U, /* '<S1342>/Width' */
68U, /* '<S1346>/Width' */
60U, /* '<S1345>/Width' */
228U, /* '<S1350>/Width' */
92U, /* '<S1349>/Width' */
60U, /* '<S1348>/Width' */
72U, /* '<S1347>/Width' */
14U, /* '<S1353>/Width' */
55U, /* '<S1337>/Width' */
25U, /* '<S1338>/Width' */
30U, /* '<S1336>/Width' */
40U, /* '<S1339>/Width' */
68U, /* '<S1344>/Width' */
60U, /* '<S1343>/Width' */
0U, /* '<S1445>/PreLook-Up Index Search (prob of exceed)' */
89U, /* '<S1356>/Width1' */
60U, /* '<S1344>/Width1' */
30U, /* '<S1345>/Width1' */
45U, /* '<S1346>/Width1' */
73U, /* '<S1350>/Width1' */
65U, /* '<S1349>/Width1' */
233U, /* '<S1354>/Width1' */
103U, /* '<S1353>/Width1' */
73U, /* '<S1352>/Width1' */
77U, /* '<S1351>/Width1' */
19U, /* '<S1358>/Width1' */
60U, /* '<S1341>/Width1' */
30U, /* '<S1342>/Width1' */
35U, /* '<S1340>/Width1' */
45U, /* '<S1343>/Width1' */
73U, /* '<S1348>/Width1' */
65U, /* '<S1347>/Width1' */
84U, /* '<S1356>/Width' */
55U, /* '<S1344>/Width' */
25U, /* '<S1345>/Width' */
40U, /* '<S1346>/Width' */
68U, /* '<S1350>/Width' */
60U, /* '<S1349>/Width' */
228U, /* '<S1354>/Width' */
98U, /* '<S1353>/Width' */
68U, /* '<S1352>/Width' */
72U, /* '<S1351>/Width' */
14U, /* '<S1358>/Width' */
55U, /* '<S1341>/Width' */
25U, /* '<S1342>/Width' */
30U, /* '<S1340>/Width' */
40U, /* '<S1343>/Width' */
68U, /* '<S1348>/Width' */
60U, /* '<S1347>/Width' */
1, /* '<S328>/Compare' */
/* Start of '<S12>/For_each_thrust1' */
@@ -154,11 +158,6 @@ P_cr929_SIL_T cr929_SIL_P = {
*/
0.0,
/* Variable: deadband_dht
* Referenced by: '<S6>/Backlash5'
*/
0.0,
/* Variable: deadband_dr
* Referenced by: '<S6>/Backlash2'
*/
@@ -205,7 +204,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: mass0
* Referenced by: '<S1>/Constant1'
*/
252.0,
252.9,
/* Variable: throttle_k
* Referenced by:
@@ -215,21 +214,21 @@ P_cr929_SIL_T cr929_SIL_P = {
1.0,
/* Variable: wind_east
* Referenced by: '<S1410>/wind_East'
* Referenced by: '<S1418>/wind_East'
*/
{ 0.0, 0.0, 0.0 },
{ 0.0, 0.0 },
/* Variable: wind_level
* Referenced by:
* '<S1410>/wind_East'
* '<S1410>/wind_North'
* '<S1418>/wind_East'
* '<S1418>/wind_North'
*/
{ 0.0, 50.0, 100.0 },
{ 0.0, 300.0 },
/* Variable: wind_north
* Referenced by: '<S1410>/wind_North'
* Referenced by: '<S1418>/wind_North'
*/
{ 0.0, 0.0, 0.0 },
{ -3.0, -7.0 },
/* Variable: CLa
* Referenced by: '<S1120>/Constant Single1'
@@ -282,7 +281,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: CruiseSpeed
* Referenced by: '<S433>/Constant Single25'
*/
33.0F,
37.0F,
/* Variable: Csb
* Referenced by: '<S433>/Constant Single9'
@@ -319,7 +318,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: LandingSpeed
* Referenced by: '<S433>/Constant Single41'
*/
27.0F,
28.0F,
/* Variable: RefArea
* Referenced by:
@@ -726,14 +725,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo2_pos
* Referenced by:
* '<S435>/1-D Lookup Table7'
* '<S1305>/Constant1'
* '<S1309>/Constant1'
*/
{ -0.87F, 0.0F, 0.21F },
/* Variable: dsplo2_pwm
* Referenced by:
* '<S435>/1-D Lookup Table7'
* '<S1305>/Constant'
* '<S1309>/Constant'
*/
{ 1206.0F, 1690.0F, 1794.0F },
@@ -760,14 +759,14 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dsplo5_pos
* Referenced by:
* '<S435>/1-D Lookup Table10'
* '<S1304>/Constant1'
* '<S1308>/Constant1'
*/
{ -0.87F, 0.0F, 0.21F },
/* Variable: dsplo5_pwm
* Referenced by:
* '<S435>/1-D Lookup Table10'
* '<S1304>/Constant'
* '<S1308>/Constant'
*/
{ 1230.0F, 1798.0F, 1935.0F },
@@ -804,56 +803,56 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspri1_pos
* Referenced by:
* '<S435>/1-D Lookup Table3'
* '<S1310>/Constant1'
* '<S1314>/Constant1'
*/
{ -0.87F, 0.0F, 0.19F },
/* Variable: dspri1_pwm
* Referenced by:
* '<S435>/1-D Lookup Table3'
* '<S1310>/Constant'
* '<S1314>/Constant'
*/
{ 1276.0F, 1707.0F, 1797.0F },
/* Variable: dspri2_pos
* Referenced by:
* '<S435>/1-D Lookup Table4'
* '<S1296>/Constant1'
* '<S1300>/Constant1'
*/
{ -0.87F, 0.0F, 0.19F },
/* Variable: dspri2_pwm
* Referenced by:
* '<S435>/1-D Lookup Table4'
* '<S1296>/Constant'
* '<S1300>/Constant'
*/
{ 1316.0F, 1733.0F, 1811.0F },
/* Variable: dspri3_pos
* Referenced by:
* '<S435>/1-D Lookup Table5'
* '<S1298>/Constant1'
* '<S1302>/Constant1'
*/
{ -0.87F, 0.0F, 0.19F },
/* Variable: dspri3_pwm
* Referenced by:
* '<S435>/1-D Lookup Table5'
* '<S1298>/Constant'
* '<S1302>/Constant'
*/
{ 1350.0F, 1786.0F, 1867.0F },
/* Variable: dspro1_pos
* Referenced by:
* '<S435>/1-D Lookup Table12'
* '<S1297>/Constant1'
* '<S1301>/Constant1'
*/
{ -0.87F, 0.0F, 0.21F },
/* Variable: dspro1_pwm
* Referenced by:
* '<S435>/1-D Lookup Table12'
* '<S1297>/Constant'
* '<S1301>/Constant'
*/
{ 1240.0F, 1695.0F, 1801.0F },
@@ -870,28 +869,28 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: dspro3_pos
* Referenced by:
* '<S435>/1-D Lookup Table14'
* '<S1300>/Constant1'
* '<S1304>/Constant1'
*/
{ -0.87F, 0.0F, 0.21F },
/* Variable: dspro3_pwm
* Referenced by:
* '<S435>/1-D Lookup Table14'
* '<S1300>/Constant'
* '<S1304>/Constant'
*/
{ 1152.0F, 1655.0F, 1760.0F },
/* Variable: dspro4_pos
* Referenced by:
* '<S435>/1-D Lookup Table15'
* '<S1301>/Constant1'
* '<S1305>/Constant1'
*/
{ -0.87F, 0.0F, 0.21F },
/* Variable: dspro4_pwm
* Referenced by:
* '<S435>/1-D Lookup Table15'
* '<S1301>/Constant'
* '<S1305>/Constant'
*/
{ 1202.0F, 1735.0F, 1862.0F },
@@ -905,6 +904,13 @@ P_cr929_SIL_T cr929_SIL_P = {
*/
{ 1817.0F, 1277.0F, 1135.0F },
/* Variable: flap_level
* Referenced by:
* '<S536>/Constant2'
* '<S540>/Constant2'
*/
3.0F,
/* Variable: k_da2dr
* Referenced by:
* '<S823>/Constant'
@@ -972,7 +978,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: margin_beta
* Referenced by: '<S646>/Constant'
*/
0.2F,
0.1745F,
/* Variable: max_AS
* Referenced by: '<S433>/Constant Single49'
@@ -1021,7 +1027,7 @@ P_cr929_SIL_T cr929_SIL_P = {
* '<S536>/gain2'
* '<S543>/gain2'
*/
0.436300188F,
0.5236F,
/* Variable: max_dr_damping
* Referenced by: '<S817>/Constant'
@@ -1090,7 +1096,7 @@ P_cr929_SIL_T cr929_SIL_P = {
/* Variable: max_thrust
* Referenced by: '<S433>/Constant Single78'
*/
1462.2F,
1193.94F,
/* Variable: max_tht
* Referenced by:
@@ -1307,79 +1313,79 @@ const ConstP_cr929_SIL_T cr929_SIL_ConstP = {
22U,
1U,
{ 5.0F, 0.0F, 0.0F, 0.0F, 26.0F },
{ 5.0F, 0.0F, 0.0F, 0.0F, 50.0F },
{ 439028286, 1201513768 }
{ 439140613, 1201505758 }
}, { 3U,
16U,
1U,
{ 0.0F, 0.0F, 0.0F, 0.0F, 50.0F },
{ 439076539, 1201510488 }
{ 439094426, 1201508987 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 80.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 200.0F },
{ 439198826, 1201499596 }
{ 438914196, 1201524225 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 100.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 300.0F },
{ 439206403, 1201662305 }
{ 438922942, 1201725073 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 200.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 300.0F },
{ 438938442, 1201695034 }
{ 439203252, 1201704984 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 200.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 300.0F },
{ 438929528, 1201536525 }
{ 439196759, 1201526019 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 200.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 300.0F },
{ 439199496, 1201513812 }
{ 438953433, 1201542535 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 180.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 300.0F },
{ 439206660, 1201661251 }
{ 438958552, 1201687826 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 70.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 155.0F },
{ 438926184, 1201696790 }
{ 439320683, 1201663523 }
}, { 3U,
16U,
1U,
{ 0.0F, 50.0F, 400.0F, 0.0F, 50.0F },
{ 0.0F, 50.0F, 500.0F, 0.0F, 100.0F },
{ 438917427, 1201522185 }
{ 439317456, 1201493833 }
}, { 3U,
21U,
1U,
{ 5.0F, 0.0F, 0.0F, 0.0F, 0.0F },
{ 439037348, 1201513077 }
{ 439110716, 1201507824 }
}, { 0U,
0U,
0U,
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -98,6 +98,7 @@ extern const real_T rtCP_pooled_FEWufo6vVHrj[9];
extern const real_T rtCP_pooled_B5TQ9jFT4w0p[3];
extern const real_T rtCP_pooled_8RBKE3gHchpO[12];
extern const real_T rtCP_pooled_xcOBkYu90x0b[84];
extern const real_T rtCP_pooled_bDcwUj8yZ6yU[3];
extern const real_T rtCP_pooled_0HK8ShGcFqol[21];
extern const real_T rtCP_pooled_LckTXuxq6YOP[21];
extern const real_T rtCP_pooled_5VJeeLo44Fc6[9];
@@ -207,9 +208,9 @@ extern const real_T rtCP_pooled_UvwuqQRWw9Dw[5];
extern const real_T rtCP_pooled_0fCYkHhbuGI9[5];
extern const real_T rtCP_pooled_Zywj2swThaim[45];
extern const real_T rtCP_pooled_NL31GtRzAVYK[6];
extern const real_T rtCP_pooled_h3iGLI97s8xA[12];
extern const real_T rtCP_pooled_q0AJ1gB5EDSp[12];
extern const real_T rtCP_pooled_ZX3KkxNJFhxv[12];
extern const real_T rtCP_pooled_95ofPMtpBlNO[12];
extern const real_T rtCP_pooled_9AqWnKQXYPqF[12];
extern const real_T rtCP_pooled_naFIDYb7Xb5a[23];
extern const real32_T rtCP_pooled_azjKpWdkfSvW[3];
extern const real32_T rtCP_pooled_FZlVOXiDrkG5[3];
@@ -260,11 +261,14 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S329>/Constant'
*/
#define rtCP_PreLookUpIndexSearchaltitude_BreakpointsData rtCP_pooled_8RBKE3gHchpO/* Expression: h_vec
* Referenced by: '<S1437>/PreLook-Up Index Search (altitude)'
* Referenced by: '<S1445>/PreLook-Up Index Search (altitude)'
*/
#define rtCP_MediumHighAltitudeIntensity_Table rtCP_pooled_xcOBkYu90x0b/* Expression: sigma_vec'
* Referenced by: '<S1437>/Medium//High Altitude Intensity'
* Referenced by: '<S1445>/Medium//High Altitude Intensity'
*/
#define rtCP_Gain1_Gain_my rtCP_pooled_bDcwUj8yZ6yU /* Expression: [1 1 -1]
* Referenced by: '<S172>/Gain1'
*/
#define rtCP_table1D_CGx_tableData rtCP_pooled_0HK8ShGcFqol /* Expression: cr929_massbalance_mdl.tab_CGx
* Referenced by: '<S118>/table1D_CGx'
*/
@@ -1423,25 +1427,25 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
#define rtCP_table2D_Cndr_df_bp02Data rtCP_pooled_B7yC4XFkeXsv /* Expression: cr929_aerodynamics_mdl.indep_flap_lever
* Referenced by: '<S60>/table2D_Cndr_df'
*/
#define rtCP_table1D_thrust_kgf_tableData rtCP_pooled_h3iGLI97s8xA/* Expression: cr929_propulsion_l_mdl.tab_thrust_kgf
#define rtCP_table1D_thrust_kgf_tableData rtCP_pooled_q0AJ1gB5EDSp/* Expression: cr929_propulsion_l_mdl.tab_thrust_kgf
* Referenced by: '<S318>/table1D_thrust_kgf'
*/
#define rtCP_table1D_thrust_kgf_bp01Data rtCP_pooled_ZX3KkxNJFhxv/* Expression: cr929_propulsion_l_mdl.indep_throttle
* Referenced by: '<S318>/table1D_thrust_kgf'
*/
#define rtCP_table1D_fuelrate_tableData rtCP_pooled_95ofPMtpBlNO /* Expression: cr929_propulsion_l_mdl.tab_fuelrate
#define rtCP_table1D_fuelrate_tableData rtCP_pooled_9AqWnKQXYPqF /* Expression: cr929_propulsion_l_mdl.tab_fuelrate
* Referenced by: '<S316>/table1D_fuelrate'
*/
#define rtCP_table1D_fuelrate_bp01Data rtCP_pooled_ZX3KkxNJFhxv /* Expression: cr929_propulsion_l_mdl.indep_throttle
* Referenced by: '<S316>/table1D_fuelrate'
*/
#define rtCP_table1D_thrust_kgf_tableData_f rtCP_pooled_h3iGLI97s8xA/* Expression: cr929_propulsion_r_mdl.tab_thrust_kgf
#define rtCP_table1D_thrust_kgf_tableData_f rtCP_pooled_q0AJ1gB5EDSp/* Expression: cr929_propulsion_r_mdl.tab_thrust_kgf
* Referenced by: '<S324>/table1D_thrust_kgf'
*/
#define rtCP_table1D_thrust_kgf_bp01Data_n rtCP_pooled_ZX3KkxNJFhxv/* Expression: cr929_propulsion_r_mdl.indep_throttle
* Referenced by: '<S324>/table1D_thrust_kgf'
*/
#define rtCP_table1D_fuelrate_tableData_c rtCP_pooled_95ofPMtpBlNO/* Expression: cr929_propulsion_r_mdl.tab_fuelrate
#define rtCP_table1D_fuelrate_tableData_c rtCP_pooled_9AqWnKQXYPqF/* Expression: cr929_propulsion_r_mdl.tab_fuelrate
* Referenced by: '<S322>/table1D_fuelrate'
*/
#define rtCP_table1D_fuelrate_bp01Data_d rtCP_pooled_ZX3KkxNJFhxv/* Expression: cr929_propulsion_r_mdl.indep_throttle
@@ -1481,52 +1485,52 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S1119>/1-D Lookup Table3'
*/
#define rtCP_Constant_Value_gw rtCP_pooled_Fx1to6iFSPI8 /* Expression: flip(dspro5_pwm)
* Referenced by: '<S1302>/Constant'
*/
#define rtCP_Constant1_Value_ft rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dspro5_pos)
* Referenced by: '<S1302>/Constant1'
*/
#define rtCP_Constant_Value_gwr rtCP_pooled_GudjJDVUO8g0 /* Expression: flip(dspro2_pwm)
* Referenced by: '<S1299>/Constant'
*/
#define rtCP_Constant1_Value_jx rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dspro2_pos)
* Referenced by: '<S1299>/Constant1'
*/
#define rtCP_Constant_Value_nf rtCP_pooled_vig1aron5kiw /* Expression: flip(dspli1_pwm)
* Referenced by: '<S1309>/Constant'
*/
#define rtCP_Constant1_Value_jxv rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli1_pos)
* Referenced by: '<S1309>/Constant1'
*/
#define rtCP_Constant_Value_ek rtCP_pooled_ZDneGvvw4afb /* Expression: flip(dspli2_pwm)
* Referenced by: '<S1308>/Constant'
*/
#define rtCP_Constant1_Value_n0 rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli2_pos)
* Referenced by: '<S1308>/Constant1'
*/
#define rtCP_Constant_Value_hy rtCP_pooled_kOOll4uMqbLh /* Expression: flip(dspli3_pwm)
* Referenced by: '<S1307>/Constant'
*/
#define rtCP_Constant1_Value_in rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli3_pos)
* Referenced by: '<S1307>/Constant1'
*/
#define rtCP_Constant_Value_gc rtCP_pooled_gfz5sqlaxCSp /* Expression: flip(dsplo1_pwm)
* Referenced by: '<S1306>/Constant'
*/
#define rtCP_Constant1_Value_e3 rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dsplo1_pos)
#define rtCP_Constant1_Value_ft rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dspro5_pos)
* Referenced by: '<S1306>/Constant1'
*/
#define rtCP_Constant_Value_aq rtCP_pooled_7fjIRYtdnKHc /* Expression: flip(dsplo3_pwm)
#define rtCP_Constant_Value_gwr rtCP_pooled_GudjJDVUO8g0 /* Expression: flip(dspro2_pwm)
* Referenced by: '<S1303>/Constant'
*/
#define rtCP_Constant1_Value_i5 rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dsplo3_pos)
#define rtCP_Constant1_Value_jx rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dspro2_pos)
* Referenced by: '<S1303>/Constant1'
*/
#define rtCP_Constant_Value_nf rtCP_pooled_vig1aron5kiw /* Expression: flip(dspli1_pwm)
* Referenced by: '<S1313>/Constant'
*/
#define rtCP_Constant1_Value_jxv rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli1_pos)
* Referenced by: '<S1313>/Constant1'
*/
#define rtCP_Constant_Value_ek rtCP_pooled_ZDneGvvw4afb /* Expression: flip(dspli2_pwm)
* Referenced by: '<S1312>/Constant'
*/
#define rtCP_Constant1_Value_n0 rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli2_pos)
* Referenced by: '<S1312>/Constant1'
*/
#define rtCP_Constant_Value_hy rtCP_pooled_kOOll4uMqbLh /* Expression: flip(dspli3_pwm)
* Referenced by: '<S1311>/Constant'
*/
#define rtCP_Constant1_Value_in rtCP_pooled_1PPMDmLsqDxb /* Expression: flip(dspli3_pos)
* Referenced by: '<S1311>/Constant1'
*/
#define rtCP_Constant_Value_gc rtCP_pooled_gfz5sqlaxCSp /* Expression: flip(dsplo1_pwm)
* Referenced by: '<S1310>/Constant'
*/
#define rtCP_Constant1_Value_e3 rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dsplo1_pos)
* Referenced by: '<S1310>/Constant1'
*/
#define rtCP_Constant_Value_aq rtCP_pooled_7fjIRYtdnKHc /* Expression: flip(dsplo3_pwm)
* Referenced by: '<S1307>/Constant'
*/
#define rtCP_Constant1_Value_i5 rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dsplo3_pos)
* Referenced by: '<S1307>/Constant1'
*/
#define rtCP_Constant_Value_le0 rtCP_pooled_g7rGnKyrV2o9 /* Expression: flip(dsplo4_pwm)
* Referenced by: '<S1295>/Constant'
* Referenced by: '<S1299>/Constant'
*/
#define rtCP_Constant1_Value_mt rtCP_pooled_iSTqwEAGtzfV /* Expression: flip(dsplo4_pos)
* Referenced by: '<S1295>/Constant1'
* Referenced by: '<S1299>/Constant1'
*/
#define rtCP_Constant_Value_pf rtCP_pooled_BqjeeNpsfvfO /* Expression: flip(drd_pwm)
* Referenced by: '<S1271>/Constant'
@@ -1535,7 +1539,7 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S1271>/Constant1'
*/
#define rtCP_MediumHighAltitudeIntensity_maxIndex rtCP_pooled_BWTVQM0GuqkK/* Computed Parameter: rtCP_MediumHighAltitudeIntensity_maxIndex
* Referenced by: '<S1437>/Medium//High Altitude Intensity'
* Referenced by: '<S1445>/Medium//High Altitude Intensity'
*/
#define rtCP_table2D_CL_lat_maxIndex rtCP_pooled_52mPzBGwtz3T /* Computed Parameter: rtCP_table2D_CL_lat_maxIndex
* Referenced by: '<S56>/table2D_CL_lat'
@@ -1910,58 +1914,61 @@ extern const uint8_T rtCP_pooled_mDbfc7f8L4g9;
* Referenced by: '<S3>/Constant BP1'
*/
#define rtCP_SFunction_P1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1377>/S-Function'
* Referenced by: '<S1382>/S-Function'
*/
#define rtCP_SFunction_P1_a rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1380>/S-Function'
* Referenced by: '<S1385>/S-Function'
*/
#define rtCP_SFunction_P1_h rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1365>/S-Function'
* Referenced by: '<S1370>/S-Function'
*/
#define rtCP_SFunction_P1_i rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1356>/S-Function'
* Referenced by: '<S1361>/S-Function'
*/
#define rtCP_SFunction_P1_j rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1362>/S-Function'
* Referenced by: '<S1367>/S-Function'
*/
#define rtCP_SFunction_P1_b rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1359>/S-Function'
* Referenced by: '<S1364>/S-Function'
*/
#define rtCP_SFunction_P1_bz rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1405>/S-Function'
* Referenced by: '<S1413>/S-Function'
*/
#define rtCP_SFunction_P1_n rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1389>/S-Function'
* Referenced by: '<S1394>/S-Function'
*/
#define rtCP_SFunction_P1_an rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1392>/S-Function'
* Referenced by: '<S1397>/S-Function'
*/
#define rtCP_SFunction_P1_f rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1395>/S-Function'
* Referenced by: '<S1400>/S-Function'
*/
#define rtCP_SFunction_P1_al rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1398>/S-Function'
* Referenced by: '<S1403>/S-Function'
*/
#define rtCP_Constant_Value_fz rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_Constant_Value_fz
* Referenced by: '<S1351>/Constant'
* Referenced by: '<S1355>/Constant'
*/
#define rtCP_SFunction_P1_jo rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1402>/S-Function'
* Referenced by: '<S1407>/S-Function'
*/
#define rtCP_SFunction_P1_d rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1383>/S-Function'
* Referenced by: '<S1388>/S-Function'
*/
#define rtCP_SFunction_P1_bs rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1386>/S-Function'
* Referenced by: '<S1391>/S-Function'
*/
#define rtCP_SFunction_P1_as rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1374>/S-Function'
* Referenced by: '<S1379>/S-Function'
*/
#define rtCP_SFunction_P1_g rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1371>/S-Function'
* Referenced by: '<S1376>/S-Function'
*/
#define rtCP_SFunction_P1_a1 rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1368>/S-Function'
* Referenced by: '<S1373>/S-Function'
*/
#define rtCP_SFunction_P1_m rtCP_pooled_mDbfc7f8L4g9 /* Expression: uart_id
* Referenced by: '<S1410>/S-Function'
*/
#ifdef __cplusplus
@@ -3278,8 +3285,8 @@ extern void cr929_SIL_get_WP(uint16_T rtu_cur_np, boolean_T *rty_is_mission,
uint16_T *rty_command, real32_T rty_params[7], boolean_T *rty_autocont);
extern void cr929_SIL_valid_test_Init(boolean_T *rty_valid);
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, real32_T
rtu_sysauto_in_Inport_2_ca, real32_T rtu_sysauto_in_Inport_2_i, uint16_T
*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_psi_err_Init(real32_T *rty_out);
extern void cr929_SIL_psi_err_Reset(real32_T *rty_out);
@@ -3310,6 +3317,28 @@ extern void cr929_SIL_tick_c(real_T rtu_dt, boolean_T *rty_enabled,
extern void cr929_SIL_tick_h_Init(DW_tick_cr929_SIL_e_T *localDW);
extern void cr929_SIL_tick_e(real_T rtu_dt, boolean_T *rty_enabled,
DW_tick_cr929_SIL_e_T *localDW);
extern void cr929_SIL_EnabledSubsystem1_Init(DW_EnabledSubsystem1_cr929_SIL_T
*localDW);
extern void cr929_SIL_EnabledSubsystem1_Reset(DW_EnabledSubsystem1_cr929_SIL_T
*localDW);
extern void cr929_SIL_EnabledSubsystem1_Disable(DW_EnabledSubsystem1_cr929_SIL_T
*localDW);
extern void cr929_SIL_EnabledSubsystem1(RT_MODEL_cr929_SIL_T * const cr929_SIL_M,
uint32_T rtu_Enable, real_T rtu_In1, real_T *rty_Out1,
DW_EnabledSubsystem1_cr929_SIL_T *localDW);
extern void cr929_SIL_throttle_Init(RT_MODEL_cr929_SIL_T * const cr929_SIL_M,
DW_throttle_cr929_SIL_T *localDW, X_throttle_cr929_SIL_T *localX);
extern void cr929_SIL_throttle_Reset(RT_MODEL_cr929_SIL_T * const cr929_SIL_M,
DW_throttle_cr929_SIL_T *localDW, X_throttle_cr929_SIL_T *localX);
extern void cr929_SIL_throttle_Deriv(B_throttle_cr929_SIL_T *localB,
DW_throttle_cr929_SIL_T *localDW, XDot_throttle_cr929_SIL_T *localXdot);
extern void cr929_SIL_throttle_Disable(DW_throttle_cr929_SIL_T *localDW);
extern void cr929_SIL_throttle_Update(RT_MODEL_cr929_SIL_T * const cr929_SIL_M,
B_throttle_cr929_SIL_T *localB, DW_throttle_cr929_SIL_T *localDW);
extern void cr929_SIL_throttle(RT_MODEL_cr929_SIL_T * const cr929_SIL_M,
boolean_T rtu_Enable, real_T rtu_thr_c, real_T rtu_In1, real_T *rty_thr,
B_throttle_cr929_SIL_T *localB, DW_throttle_cr929_SIL_T *localDW,
X_throttle_cr929_SIL_T *localX);
extern void cr929_SIL_Distanceintogustx_Init(X_Distanceintogustx_cr929_SIL_T
*localX);
extern void cr929_SIL_Distanceintogustx_Reset(X_Distanceintogustx_cr929_SIL_T
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'cr929_SIL'.
*
* Model version : 1.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 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.1265
* Model version : 1.1297
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Jul 15 23:19:57 2021
* C/C++ source code generated on : Sun Jul 18 11:16:16 2021
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)