update gencode

This commit is contained in:
Matt on ZHAN66
2022-08-13 07:08:27 +08:00
parent fa31adaa43
commit cde5a09d9a
9 changed files with 8065 additions and 7666 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -716,10 +716,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
rtElementMap, rtSampleTimeMap, rtDimensionArray },
"float",
{ 3213591724U,
1189976425U,
1425162305U,
2049221167U },
{ 388302676U,
969915921U,
3817239965U,
1028242835U },
(NULL), 0,
0
};
+2 -2
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
+130 -130
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -47,22 +47,22 @@ const ConstB_SIL_T SIL_ConstB = {
{ -0.5, -0.5, 0.6 }, /* '<S333>/Selector2' */
1.0, /* '<S30>/Selector4' */
9U, /* '<S1427>/Width1' */
87U, /* '<S1437>/Width1' */
81U, /* '<S1436>/Width1' */
189U, /* '<S1435>/Width1' */
195U, /* '<S1434>/Width1' */
4U, /* '<S1427>/Width' */
82U, /* '<S1437>/Width' */
76U, /* '<S1436>/Width' */
184U, /* '<S1435>/Width' */
190U, /* '<S1434>/Width' */
9U, /* '<S1436>/Width1' */
87U, /* '<S1446>/Width1' */
81U, /* '<S1445>/Width1' */
189U, /* '<S1444>/Width1' */
195U, /* '<S1443>/Width1' */
4U, /* '<S1436>/Width' */
82U, /* '<S1446>/Width' */
76U, /* '<S1445>/Width' */
184U, /* '<S1444>/Width' */
190U, /* '<S1443>/Width' */
1, /* '<S332>/Compare' */
/* Start of '<S7>/new_rec' */
{
9U, /* '<S1428>/Width1' */
4U /* '<S1428>/Width' */
9U, /* '<S1437>/Width1' */
4U /* '<S1437>/Width' */
}
/* End of '<S7>/new_rec' */
};
@@ -177,7 +177,7 @@ P_SIL_T SIL_P = {
/* Variable: throttle_rate
* Referenced by:
* '<S5>/Constant9'
* '<S869>/Constant9'
* '<S874>/Constant9'
*/
0.038461538461538464,
@@ -204,82 +204,82 @@ P_SIL_T SIL_P = {
{ 1.0, 5.0, 5.0 },
/* Variable: ADRC_p_a
* Referenced by: '<S977>/Constant1'
* Referenced by: '<S982>/Constant1'
*/
0.5F,
/* Variable: ADRC_p_b0
* Referenced by: '<S977>/Constant7'
* Referenced by: '<S982>/Constant7'
*/
-300.0F,
/* Variable: ADRC_p_beta01
* Referenced by: '<S977>/Constant4'
* Referenced by: '<S982>/Constant4'
*/
20.0F,
/* Variable: ADRC_p_beta02
* Referenced by: '<S977>/Constant6'
* Referenced by: '<S982>/Constant6'
*/
56.0F,
/* Variable: ADRC_p_d
* Referenced by: '<S977>/Constant2'
* Referenced by: '<S982>/Constant2'
*/
0.05F,
/* Variable: ADRC_p_wc
* Referenced by: '<S977>/Constant5'
* Referenced by: '<S982>/Constant5'
*/
10.0F,
/* Variable: ADRC_wc_q
* Referenced by: '<S931>/Constant5'
* Referenced by: '<S936>/Constant5'
*/
7.0F,
/* Variable: ADRC_wo_q
* Referenced by: '<S931>/Constant1'
* Referenced by: '<S936>/Constant1'
*/
10.0F,
/* Variable: CLa
* Referenced by: '<S1317>/Constant1'
* Referenced by: '<S1322>/Constant1'
*/
4.0F,
/* Variable: Clda_lst
* Referenced by: '<S1322>/Clda'
* Referenced by: '<S1327>/Clda'
*/
{ -0.0463F, -0.0484F, -0.0464F, -0.0521F, -0.05F, -0.0438F, -0.0302F, -0.0279F,
-0.0241F, -0.02F, -0.02F },
/* Variable: Clp_lst
* Referenced by: '<S1322>/Clp'
* Referenced by: '<S1327>/Clp'
*/
{ -0.3028F, -0.3136F, -0.3218F, -0.3548F, -0.3874F, -0.3523F, -0.3341F,
-0.3235F, -0.3086F, -0.2863F, -0.2472F },
/* Variable: Cmde_lst
* Referenced by: '<S1321>/Cmde1'
* Referenced by: '<S1326>/Cmde1'
*/
{ -0.9966F, -1.0408F, -1.0628F, -1.1017F, -1.166F, -1.1862F, -1.1456F,
-1.1158F, -1.0376F, -0.97F, -0.8407F },
/* Variable: Cmq_lst
* Referenced by: '<S1321>/Cmq'
* Referenced by: '<S1326>/Cmq'
*/
{ -7.4817F, -8.353F, -8.0743F, -8.6229F, -9.981F, -9.5258F, -8.6237F, -8.736F,
-8.521F, -8.2233F, -7.7842F },
/* Variable: Cndr_lst
* Referenced by: '<S1323>/Cndr'
* Referenced by: '<S1328>/Cndr'
*/
{ -0.1977F, -0.1998F, -0.2167F, -0.2311F, -0.2454F, -0.2613F, -0.1698F,
-0.1522F, -0.1339F, -0.1227F, -0.0921F },
/* Variable: Cnr_lst
* Referenced by: '<S1323>/Clp'
* Referenced by: '<S1328>/Clp'
*/
{ -1.2527F, -1.4036F, -1.3428F, -1.3764F, -1.473F, -1.706F, -1.2978F, -1.3471F,
-1.357F, -1.4332F, -1.4512F },
@@ -291,68 +291,68 @@ P_SIL_T SIL_P = {
/* Variable: Gamma_L1
* Referenced by:
* '<S937>/Gain2'
* '<S937>/Gain3'
* '<S937>/Gain4'
* '<S984>/Gain2'
* '<S984>/Gain3'
* '<S984>/Gain4'
* '<S1036>/Gain2'
* '<S1036>/Gain3'
* '<S1036>/Gain4'
* '<S942>/Gain2'
* '<S942>/Gain3'
* '<S942>/Gain4'
* '<S989>/Gain2'
* '<S989>/Gain3'
* '<S989>/Gain4'
* '<S1041>/Gain2'
* '<S1041>/Gain3'
* '<S1041>/Gain4'
*/
2000.0F,
/* Variable: Ixx
* Referenced by: '<S1322>/Constant'
* Referenced by: '<S1327>/Constant'
*/
9.0F,
/* Variable: Iyy
* Referenced by: '<S1321>/Constant'
* Referenced by: '<S1326>/Constant'
*/
300.0F,
/* Variable: Izz
* Referenced by: '<S1323>/Constant'
* Referenced by: '<S1328>/Constant'
*/
300.0F,
/* Variable: Ma_lst
* Referenced by:
* '<S1320>/P11'
* '<S1320>/P12'
* '<S1320>/P21'
* '<S1320>/P22'
* '<S1321>/Cmde1'
* '<S1321>/Cmq'
* '<S1322>/Clda'
* '<S1322>/Clp'
* '<S1323>/Clp'
* '<S1323>/Cndr'
* '<S1325>/P11'
* '<S1325>/P12'
* '<S1325>/P21'
* '<S1325>/P22'
* '<S1326>/Cmde1'
* '<S1326>/Cmq'
* '<S1327>/Clda'
* '<S1327>/Clp'
* '<S1328>/Clp'
* '<S1328>/Cndr'
*/
{ 0.2F, 0.3F, 0.6F, 0.8F, 0.9F, 0.95F, 1.05F, 1.1F, 1.2F, 1.3F, 1.5F },
/* Variable: P11_lst
* Referenced by: '<S1320>/P11'
* Referenced by: '<S1325>/P11'
*/
{ 0.7993F, 0.7994F, 0.758F, 0.7385F, 0.7327F, 0.7349F, 0.7192F, 0.7283F,
0.753F, 0.706F, 0.6672F },
/* Variable: P12_lst
* Referenced by: '<S1320>/P12'
* Referenced by: '<S1325>/P12'
*/
{ 0.4433F, 0.4435F, 0.4543F, 0.4349F, 0.501F, 0.8959F, 0.7461F, 0.7932F,
0.8386F, 0.8347F, 0.7954F },
/* Variable: P21_lst
* Referenced by: '<S1320>/P21'
* Referenced by: '<S1325>/P21'
*/
{ -0.3618F, -0.3615F, -0.4038F, -0.444F, -0.3909F, -0.2175F, -0.2707F,
-0.2494F, -0.2218F, -0.2487F, -0.2792F },
/* Variable: P22_lst
* Referenced by: '<S1320>/P22'
* Referenced by: '<S1325>/P22'
*/
{ 0.7993F, 0.7994F, 0.758F, 0.7385F, 0.7327F, 0.7349F, 0.7192F, 0.7283F,
0.753F, 0.706F, 0.6672F },
@@ -360,31 +360,31 @@ P_SIL_T SIL_P = {
/* Variable: RefArea
* Referenced by:
* '<S576>/Sc_Iyy'
* '<S1317>/Sc_Iyy'
* '<S1321>/Sc_Iyy'
* '<S1322>/Sc_Iyy'
* '<S1323>/Sc_Iyy'
* '<S1326>/Sc_Iyy'
* '<S1327>/Sc_Iyy'
* '<S1328>/Sc_Iyy'
*/
0.919F,
/* Variable: RefLen
* Referenced by:
* '<S1321>/Constant3'
* '<S1321>/Sc_Iyy'
* '<S1326>/Constant3'
* '<S1326>/Sc_Iyy'
*/
0.659F,
/* Variable: RefSpan
* Referenced by:
* '<S1322>/Constant2'
* '<S1322>/Sc_Iyy'
* '<S1323>/Constant2'
* '<S1323>/Sc_Iyy'
* '<S1327>/Constant2'
* '<S1327>/Sc_Iyy'
* '<S1328>/Constant2'
* '<S1328>/Sc_Iyy'
*/
1.7F,
/* Variable: Toffset
* Referenced by: '<S1324>/Constant1'
* Referenced by: '<S1329>/Constant1'
*/
0.0F,
@@ -407,7 +407,7 @@ P_SIL_T SIL_P = {
-0.0382268503F,
/* Variable: de_takeoff
* Referenced by: '<S810>/Constant'
* Referenced by: '<S815>/Constant'
*/
-0.0523F,
@@ -436,12 +436,12 @@ P_SIL_T SIL_P = {
0.00710974F,
/* Variable: delayAftLnch
* Referenced by: '<S810>/Constant2'
* Referenced by: '<S815>/Constant2'
*/
0.7F,
/* Variable: den_tht_leadlag
* Referenced by: '<S932>/Constant2'
* Referenced by: '<S937>/Constant2'
*/
{ 1.0F, -0.9277F },
@@ -456,17 +456,17 @@ P_SIL_T SIL_P = {
5.0F,
/* Variable: dfilter_den
* Referenced by: '<S1027>/Constant2'
* Referenced by: '<S1032>/Constant2'
*/
{ 1.0F, -0.860465109F },
/* Variable: dfilter_num
* Referenced by: '<S1027>/Constant1'
* Referenced by: '<S1032>/Constant1'
*/
{ 27.9069767F, -27.9069767F },
/* Variable: door_level
* Referenced by: '<S1397>/Constant'
* Referenced by: '<S1406>/Constant'
*/
17.0F,
@@ -476,12 +476,12 @@ P_SIL_T SIL_P = {
0.0F,
/* Variable: emergency_ias
* Referenced by: '<S790>/Constant5'
* Referenced by: '<S795>/Constant5'
*/
120.0F,
/* Variable: h_TD
* Referenced by: '<S1004>/Constant1'
* Referenced by: '<S1009>/Constant1'
*/
0.02F,
@@ -494,12 +494,12 @@ P_SIL_T SIL_P = {
{ 0.0F, 3900.0F, 4000.0F, 5900.0F, 6000.0F, 9900.0F, 10000.0F, 12000.0F },
/* Variable: ias_takeoff
* Referenced by: '<S810>/Constant1'
* Referenced by: '<S815>/Constant1'
*/
140.0F,
/* Variable: inflect_time
* Referenced by: '<S782>/Constant'
* Referenced by: '<S787>/Constant'
*/
22.5F,
@@ -539,39 +539,39 @@ P_SIL_T SIL_P = {
-1.0F,
/* Variable: k_p
* Referenced by: '<S1322>/Constant4'
* Referenced by: '<S1327>/Constant4'
*/
10.0F,
/* Variable: k_p2dr
* Referenced by: '<S1091>/gain4'
* Referenced by: '<S1096>/gain4'
*/
0.0F,
/* Variable: k_r
* Referenced by: '<S1323>/Constant4'
* Referenced by: '<S1328>/Constant4'
*/
5.0F,
/* Variable: k_r2da
* Referenced by: '<S1091>/gain'
* Referenced by: '<S1096>/gain'
*/
0.0F,
/* Variable: ksi_v2tht
* Referenced by: '<S1315>/Constant1'
* Referenced by: '<S1320>/Constant1'
*/
0.8F,
/* Variable: load_detect
* Referenced by: '<S781>/Constant1'
* Referenced by: '<S786>/Constant1'
*/
5.0F,
/* Variable: m
* Referenced by:
* '<S576>/Constant5'
* '<S1317>/Constant'
* '<S1322>/Constant'
*/
200.0F,
@@ -582,28 +582,28 @@ P_SIL_T SIL_P = {
/* Variable: max_da
* Referenced by:
* '<S1322>/Constant1'
* '<S847>/gain1'
* '<S796>/gain1'
* '<S797>/gain1'
* '<S1327>/Constant1'
* '<S852>/gain1'
* '<S801>/gain1'
* '<S802>/gain1'
*/
0.4363F,
/* Variable: max_de
* Referenced by:
* '<S1321>/Constant1'
* '<S847>/gain'
* '<S796>/gain'
* '<S797>/gain'
* '<S1326>/Constant1'
* '<S852>/gain'
* '<S801>/gain'
* '<S802>/gain'
*/
0.349F,
/* Variable: max_dr
* Referenced by:
* '<S576>/Constant13'
* '<S847>/gain2'
* '<S796>/gain2'
* '<S797>/gain2'
* '<S852>/gain2'
* '<S801>/gain2'
* '<S802>/gain2'
*/
0.349F,
@@ -620,8 +620,8 @@ P_SIL_T SIL_P = {
/* Variable: max_phi
* Referenced by:
* '<S576>/Constant Single1'
* '<S702>/Constant'
* '<S707>/Constant'
* '<S712>/Constant'
*/
0.7F,
@@ -652,31 +652,31 @@ P_SIL_T SIL_P = {
0.34904F,
/* Variable: min_abs_alt
* Referenced by: '<S833>/Constant'
* Referenced by: '<S838>/Constant'
*/
1650.0F,
/* Variable: min_de
* Referenced by: '<S1321>/Constant2'
* Referenced by: '<S1326>/Constant2'
*/
-0.349F,
/* Variable: min_hdot
* Referenced by:
* '<S576>/Constant10'
* '<S680>/Constant'
* '<S685>/Constant'
*/
-50.0F,
/* Variable: min_ias
* Referenced by:
* '<S790>/Constant'
* '<S899>/Constant'
* '<S654>/Constant3'
* '<S795>/Constant'
* '<S904>/Constant'
* '<S655>/Constant3'
* '<S695>/Constant'
* '<S643>/Constant3'
* '<S692>/Constant'
* '<S656>/Constant3'
* '<S700>/Constant'
* '<S644>/Constant3'
* '<S697>/Constant'
*/
90.0F,
@@ -697,52 +697,52 @@ P_SIL_T SIL_P = {
-0.2F,
/* Variable: num_tht_leadlag
* Referenced by: '<S932>/Constant1'
* Referenced by: '<S937>/Constant1'
*/
{ 2.9277F, -2.8554F },
/* Variable: rINDI_Kp
* Referenced by: '<S1027>/Kp'
* Referenced by: '<S1032>/Kp'
*/
5.0F,
/* Variable: rINDI_Kr
* Referenced by: '<S1027>/Kr'
* Referenced by: '<S1032>/Kr'
*/
3.0F,
/* Variable: r_TD
* Referenced by: '<S1004>/Constant'
* Referenced by: '<S1009>/Constant'
*/
400.0F,
/* Variable: recovery_ias
* Referenced by: '<S781>/Constant'
* Referenced by: '<S786>/Constant'
*/
80.0F,
/* Variable: recovery_max_da
* Referenced by: '<S781>/Constant2'
* Referenced by: '<S786>/Constant2'
*/
0.261780113F,
/* Variable: relay_on
* Referenced by: '<S1004>/Relay'
* Referenced by: '<S1009>/Relay'
*/
0.01F,
/* Variable: relay_out
* Referenced by: '<S1004>/Relay'
* Referenced by: '<S1009>/Relay'
*/
0.0035F,
/* Variable: synfilter_den
* Referenced by: '<S1027>/Constant5'
* Referenced by: '<S1032>/Constant5'
*/
{ 1.0F, -1.59959555F, 0.635996F },
/* Variable: synfilter_num
* Referenced by: '<S1027>/Constant4'
* Referenced by: '<S1032>/Constant4'
*/
{ 0.00910010096F, 0.0182002019F, 0.00910010096F },
@@ -757,24 +757,24 @@ P_SIL_T SIL_P = {
{ 200.0F, 200.0F, 240.0F, 240.0F, 240.0F, 240.0F },
/* Variable: thr_aug
* Referenced by: '<S653>/Constant4'
* Referenced by: '<S654>/Constant4'
*/
2.0F,
/* Variable: thr_aug_off
* Referenced by: '<S652>/Constant4'
* Referenced by: '<S653>/Constant4'
*/
1.1F,
/* Variable: thr_climb
* Referenced by: '<S654>/Constant4'
* Referenced by: '<S655>/Constant4'
*/
1.0F,
/* Variable: use_deadbandComp
* Referenced by:
* '<S1437>/Constant1'
* '<S1004>/gain1'
* '<S1446>/Constant1'
* '<S1009>/gain1'
*/
0.0F,
@@ -784,12 +784,12 @@ P_SIL_T SIL_P = {
0.5F,
/* Variable: w_p
* Referenced by: '<S1322>/Constant3'
* Referenced by: '<S1327>/Constant3'
*/
8.0F,
/* Variable: w_r
* Referenced by: '<S1323>/Constant3'
* Referenced by: '<S1328>/Constant3'
*/
5.0F,
@@ -799,7 +799,7 @@ P_SIL_T SIL_P = {
0.2F,
/* Variable: w_v2tht
* Referenced by: '<S1315>/Constant'
* Referenced by: '<S1320>/Constant'
*/
0.3F,
@@ -830,9 +830,9 @@ P_SIL_T SIL_P = {
/* Variable: force_sysauto_level
* Referenced by:
* '<S787>/Constant1'
* '<S793>/Constant2'
* '<S799>/Constant2'
* '<S792>/Constant1'
* '<S798>/Constant2'
* '<S804>/Constant2'
*/
1,
@@ -848,23 +848,23 @@ P_SIL_T SIL_P = {
/* Variable: use_inbound
* Referenced by:
* '<S800>/Constant1'
* '<S810>/Constant6'
* '<S805>/Constant1'
* '<S815>/Constant6'
*/
0,
/* Variable: act_sw_mode
* Referenced by: '<S845>/Constant3'
* Referenced by: '<S850>/Constant3'
*/
0U,
/* Variable: door_idx
* Referenced by: '<S1353>/Constant1'
* Referenced by: '<S1360>/Constant1'
*/
1U,
/* Variable: use_tht_leadlag
* Referenced by: '<S932>/Constant'
* Referenced by: '<S937>/Constant'
*/
0U
};
+35 -32
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -16,10 +16,10 @@
#ifndef RTW_HEADER_SIL_private_h_
#define RTW_HEADER_SIL_private_h_
void save_mission(char);
void get_sbg_crc16(const unsigned char *u0,
unsigned short *y0,
unsigned short u_width);
void save_mission(char);
#include "rtwtypes.h"
#include "builtin_typeid_types.h"
@@ -827,91 +827,91 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
* Referenced by: '<S316>/table3D_Nh'
*/
#define rtCP_uDLookupTable_tableData_l rtCP_pooled_ILYhw3wLpXtl /* Computed Parameter: rtCP_uDLookupTable_tableData_l
* Referenced by: '<S1070>/1-D Lookup Table'
* Referenced by: '<S1075>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_i rtCP_pooled_35WmkkJSFruV /* Computed Parameter: rtCP_uDLookupTable_bp01Data_i
* Referenced by: '<S1070>/1-D Lookup Table'
* Referenced by: '<S1075>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_i rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_i
* Referenced by: '<S1321>/1-D Lookup Table'
* Referenced by: '<S1326>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_l rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_l
* Referenced by: '<S1321>/1-D Lookup Table'
* Referenced by: '<S1326>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_a rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_a
* Referenced by: '<S1322>/1-D Lookup Table'
* Referenced by: '<S1327>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_g
* Referenced by: '<S1322>/1-D Lookup Table'
* Referenced by: '<S1327>/1-D Lookup Table'
*/
#define rtCP_table2D_cftAB_tableData_g rtCP_pooled_A05DoahVwG6e /* Computed Parameter: rtCP_table2D_cftAB_tableData_g
* Referenced by: '<S1077>/table2D_cftAB'
* Referenced by: '<S1082>/table2D_cftAB'
*/
#define rtCP_table2D_cftAB_bp01Data_o rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_cftAB_bp01Data_o
* Referenced by: '<S1077>/table2D_cftAB'
* Referenced by: '<S1082>/table2D_cftAB'
*/
#define rtCP_table2D_cftAB_bp02Data_d rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_cftAB_bp02Data_d
* Referenced by: '<S1077>/table2D_cftAB'
* Referenced by: '<S1082>/table2D_cftAB'
*/
#define rtCP_table1D_thrAB_map_tableData_e rtCP_pooled_YtY2876fJdi4/* Computed Parameter: rtCP_table1D_thrAB_map_tableData_e
* Referenced by: '<S1081>/table1D_thrAB_map'
* Referenced by: '<S1086>/table1D_thrAB_map'
*/
#define rtCP_table1D_thrAB_map_bp01Data_l rtCP_pooled_8oAFyuceoFlQ/* Computed Parameter: rtCP_table1D_thrAB_map_bp01Data_l
* Referenced by: '<S1081>/table1D_thrAB_map'
* Referenced by: '<S1086>/table1D_thrAB_map'
*/
#define rtCP_table1D_thr_map_tableData_e rtCP_pooled_iDGBVG9z8tBx/* Computed Parameter: rtCP_table1D_thr_map_tableData_e
* Referenced by: '<S1080>/table1D_thr_map'
* Referenced by: '<S1085>/table1D_thr_map'
*/
#define rtCP_table1D_thr_map_bp01Data_p rtCP_pooled_8oAFyuceoFlQ /* Computed Parameter: rtCP_table1D_thr_map_bp01Data_p
* Referenced by: '<S1080>/table1D_thr_map'
* Referenced by: '<S1085>/table1D_thr_map'
*/
#define rtCP_table3D_cft_tableData_b rtCP_pooled_89Nhzifd6aSY /* Computed Parameter: rtCP_table3D_cft_tableData_b
* Referenced by: '<S1078>/table3D_cft'
* Referenced by: '<S1083>/table3D_cft'
*/
#define rtCP_table3D_cft_bp01Data_e rtCP_pooled_ohnMAdtcG72M /* Computed Parameter: rtCP_table3D_cft_bp01Data_e
* Referenced by: '<S1078>/table3D_cft'
* Referenced by: '<S1083>/table3D_cft'
*/
#define rtCP_table3D_cft_bp02Data_l rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_cft_bp02Data_l
* Referenced by: '<S1078>/table3D_cft'
* Referenced by: '<S1083>/table3D_cft'
*/
#define rtCP_table3D_cft_bp03Data_m rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_cft_bp03Data_m
* Referenced by: '<S1078>/table3D_cft'
* Referenced by: '<S1083>/table3D_cft'
*/
#define rtCP_table2D_NhAB_tableData_d rtCP_pooled_zZTlIFBN7RuM /* Computed Parameter: rtCP_table2D_NhAB_tableData_d
* Referenced by: '<S1074>/table2D_NhAB'
* Referenced by: '<S1079>/table2D_NhAB'
*/
#define rtCP_table2D_NhAB_bp01Data_i rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_NhAB_bp01Data_i
* Referenced by: '<S1074>/table2D_NhAB'
* Referenced by: '<S1079>/table2D_NhAB'
*/
#define rtCP_table2D_NhAB_bp02Data_k rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_NhAB_bp02Data_k
* Referenced by: '<S1074>/table2D_NhAB'
* Referenced by: '<S1079>/table2D_NhAB'
*/
#define rtCP_table3D_Nh_tableData_f rtCP_pooled_pRK3GfMcVL5c /* Computed Parameter: rtCP_table3D_Nh_tableData_f
* Referenced by: '<S1075>/table3D_Nh'
* Referenced by: '<S1080>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp01Data_o rtCP_pooled_ohnMAdtcG72M /* Computed Parameter: rtCP_table3D_Nh_bp01Data_o
* Referenced by: '<S1075>/table3D_Nh'
* Referenced by: '<S1080>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp02Data_o rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_Nh_bp02Data_o
* Referenced by: '<S1075>/table3D_Nh'
* Referenced by: '<S1080>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp03Data_g rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_Nh_bp03Data_g
* Referenced by: '<S1075>/table3D_Nh'
* Referenced by: '<S1080>/table3D_Nh'
*/
#define rtCP_uDLookupTable1_maxIndex rtCP_pooled_QoUfS3pLidPZ /* Computed Parameter: rtCP_uDLookupTable1_maxIndex
* Referenced by: '<S537>/1-D Lookup Table1'
*/
#define rtCP_table2D_cftAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_cftAB_maxIndex
* Referenced by: '<S1077>/table2D_cftAB'
* Referenced by: '<S1082>/table2D_cftAB'
*/
#define rtCP_table3D_cft_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_cft_dimSizes
* Referenced by: '<S1078>/table3D_cft'
* Referenced by: '<S1083>/table3D_cft'
*/
#define rtCP_table2D_NhAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_NhAB_maxIndex
* Referenced by: '<S1074>/table2D_NhAB'
* Referenced by: '<S1079>/table2D_NhAB'
*/
#define rtCP_table3D_Nh_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_Nh_dimSizes
* Referenced by: '<S1075>/table3D_Nh'
* Referenced by: '<S1080>/table3D_Nh'
*/
#define rtCP_table2D_CL_base_maxIndex rtCP_pooled_qhm2sJNkM8ZA /* Computed Parameter: rtCP_table2D_CL_base_maxIndex
* Referenced by: '<S54>/table2D_CL_base'
@@ -1055,7 +1055,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
* Referenced by: '<S316>/table3D_Nh'
*/
#define rtCP_mav_parser_P1 rtCP_pooled_e6HU8n7YauPz /* Expression: Channel
* Referenced by: '<S1216>/mav_parser'
* Referenced by: '<S1221>/mav_parser'
*/
#define rtCP_ConstantBP_Value_hk rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_ConstantBP_Value_hk
* Referenced by: '<S6>/Constant BP'
@@ -2348,6 +2348,9 @@ extern void SIL_find_val_Start(void);
extern void SIL_find_val(uint16_T rtu_idx, uint8_T rty_name[16], uint8_T
rty_value[4], uint8_T *rty_type, uint16_T *rty_count, uint16_T *rty_index);
extern void SIL_u2f(const uint8_T rtu_u[4], real32_T *rty_f);
extern void SIL_Chart_Init(DW_Chart_SIL_T *localDW);
extern void SIL_Chart(uint32_T rtu_in, uint16_T rtu_seq, uint32_T *rty_out,
DW_Chart_SIL_T *localDW);
extern void SIL_new_rec(uint8_T rtu_InputBus_Inport_1, uint8_T
rtu_InputBus_Inport_1_n, uint8_T rtu_InputBus_Inport_1_a, uint8_T
rtu_InputBus_Inport_1_d, uint8_T rty_data[260], uint16_T *rty_len,
+14 -2
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -922,6 +922,18 @@ typedef struct {
/* 拽光管 */
uint8_T light_tracer_seq;
/* 超控j纬度 */
real_T mission_override_lat;
/* 超控经度 */
real_T mission_override_lon;
/* 超控半径 */
real32_T mission_override_radius;
/* 超控距离 */
real32_T mission_override_dist;
} C2;
#endif
Binary file not shown.
+2 -2
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.676
* Model version : 1.683
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
* C/C++ source code generated on : Sat Aug 13 05:58:49 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)