update gencode

This commit is contained in:
matt
2020-12-02 07:45:17 +08:00
parent a460afe203
commit 8463e0518d
71 changed files with 8345 additions and 8332 deletions
+90 -68
View File
@@ -5,7 +5,7 @@
*
* Model version : 1.523
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Dec 1 07:09:27 2020
* C/C++ source code generated on : Wed Dec 2 07:33:19 2020
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -94,16 +94,20 @@ preprocessor word size checks.
#endif
/* Skipping ulong_long/long_long check: insufficient preprocessor integer range. */
extern const real_T rtCP_pooled_QBBRoFcTBDea[5];
extern const real_T rtCP_pooled_GSxIsFxBkW72[5];
extern const real_T rtCP_pooled_Hkaqkxp7lf8R[5];
extern const real_T rtCP_pooled_lhYMkEo62KVv[5];
extern const real_T rtCP_pooled_Y3lCp5zD21tA[6];
extern const real_T rtCP_pooled_EFcVM5alguKR[6];
extern const real_T rtCP_pooled_n9gMyBZ7SBpf[6];
extern const real_T rtCP_pooled_TP0jmN6R2qNh[6];
extern const real_T rtCP_pooled_FEWufo6vVHrj[9];
extern const real_T rtCP_pooled_B5TQ9jFT4w0p[3];
extern const real_T rtCP_pooled_EsdjLy9HZCOh[9];
extern const real_T rtCP_pooled_lNe8VrimgzRr[9];
extern const real_T rtCP_pooled_KeFYkAsZueYW[5];
extern const real_T rtCP_pooled_TVfA1mpxe4MB[5];
extern const real_T rtCP_pooled_YvZ5TPCbhiu1[6];
extern const real_T rtCP_pooled_zi68CWqheLLF[6];
extern const real_T rtCP_pooled_ggbuQsDjzlGA[6];
extern const real_T rtCP_pooled_F7Fj0Jz98F6J[6];
extern const real_T rtCP_pooled_6aIljzmC8seq[6];
extern const real_T rtCP_pooled_HJUpu7noJGrc[6];
extern const real_T rtCP_pooled_BJdk4U1Bhf7G[192];
extern const real_T rtCP_pooled_510aQj9CUNMG[16];
extern const real_T rtCP_pooled_t2T18F7cFuQ1[12];
@@ -157,7 +161,7 @@ extern const real_T rtCP_pooled_DYcs5MdN9zE9[3];
extern const real_T rtCP_pooled_7mOEGGePz2xm[1920];
extern const real_T rtCP_pooled_ywCCZP562lF9[10];
extern const real_T rtCP_pooled_E0AX1Lz0NDcN[12];
extern const real_T rtCP_pooled_7hz2LUrlC7fy[160];
extern const real_T rtCP_pooled_RlS7r0LGt7JQ[160];
extern const real_T rtCP_pooled_1jjca2Oj8nTm[1920];
extern const real_T rtCP_pooled_CZNBGvU8AdwP[8];
extern const real_T rtCP_pooled_XV5wljJs37pb[8];
@@ -180,32 +184,32 @@ extern const uint32_T rtCP_pooled_rsQCCyrSe0iD[3];
extern const uint8_T rtCP_pooled_e6HU8n7YauPz;
extern const uint8_T rtCP_pooled_mhMab4fllVU3;
#define rtCP_table1D_CGz_tableData rtCP_pooled_QBBRoFcTBDea /* Expression: kb3_massbalance_mdl.tab_CGz
#define rtCP_table1D_CGz_tableData rtCP_pooled_Y3lCp5zD21tA /* Expression: kb3_massbalance_mdl.tab_CGz
* Referenced by: '<S98>/table1D_CGz'
*/
#define rtCP_table1D_CGz_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
#define rtCP_table1D_CGz_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S98>/table1D_CGz'
*/
#define rtCP_table1D_CGy_tableData rtCP_pooled_Hkaqkxp7lf8R /* Expression: kb3_massbalance_mdl.tab_CGy
#define rtCP_table1D_CGy_tableData rtCP_pooled_n9gMyBZ7SBpf /* Expression: kb3_massbalance_mdl.tab_CGy
* Referenced by: '<S98>/table1D_CGy'
*/
#define rtCP_table1D_CGy_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
#define rtCP_table1D_CGy_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S98>/table1D_CGy'
*/
#define rtCP_table1D_CGx_tableData rtCP_pooled_lhYMkEo62KVv /* Expression: kb3_massbalance_mdl.tab_CGx
#define rtCP_table1D_CGx_tableData rtCP_pooled_TP0jmN6R2qNh /* Expression: kb3_massbalance_mdl.tab_CGx
* Referenced by: '<S98>/table1D_CGx'
*/
#define rtCP_table1D_CGx_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
#define rtCP_table1D_CGx_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S98>/table1D_CGx'
*/
#define rtCP_Bias1_Bias rtCP_pooled_FEWufo6vVHrj /* Expression: -eye(3)
* Referenced by: '<S160>/Bias1'
* Referenced by: '<S163>/Bias1'
*/
#define rtCP_Bias1_Bias_n rtCP_pooled_FEWufo6vVHrj /* Expression: -eye(3)
* Referenced by: '<S198>/Bias1'
* Referenced by: '<S201>/Bias1'
*/
#define rtCP_Constant_Value_d rtCP_pooled_B5TQ9jFT4w0p /* Expression: [0 0 0]
* Referenced by: '<S318>/Constant'
* Referenced by: '<S321>/Constant'
*/
#define rtCP_table1D_mass_tableData rtCP_pooled_EsdjLy9HZCOh /* Expression: kb3_booster_mdl.tab_mass
* Referenced by: '<S91>/table1D_mass'
@@ -213,23 +217,41 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
#define rtCP_table1D_mass_bp01Data rtCP_pooled_lNe8VrimgzRr /* Expression: kb3_booster_mdl.indep_time2
* Referenced by: '<S91>/table1D_mass'
*/
#define rtCP_table1D_Ixx_tableData rtCP_pooled_KeFYkAsZueYW /* Expression: kb3_massbalance_mdl.tab_Ixx
#define rtCP_table1D_Ixx_tableData rtCP_pooled_YvZ5TPCbhiu1 /* Expression: kb3_massbalance_mdl.tab_Ixx
* Referenced by: '<S99>/table1D_Ixx'
*/
#define rtCP_table1D_Ixx_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
#define rtCP_table1D_Ixx_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S99>/table1D_Ixx'
*/
#define rtCP_table1D_Iyy_tableData rtCP_pooled_TVfA1mpxe4MB /* Expression: kb3_massbalance_mdl.tab_Iyy
* Referenced by: '<S100>/table1D_Iyy'
#define rtCP_table1D_Ixy_tableData rtCP_pooled_zi68CWqheLLF /* Expression: kb3_massbalance_mdl.tab_Ixy
* Referenced by: '<S100>/table1D_Ixy'
*/
#define rtCP_table1D_Iyy_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S100>/table1D_Iyy'
#define rtCP_table1D_Ixy_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S100>/table1D_Ixy'
*/
#define rtCP_table1D_Izz_tableData rtCP_pooled_TVfA1mpxe4MB /* Expression: kb3_massbalance_mdl.tab_Izz
* Referenced by: '<S101>/table1D_Izz'
#define rtCP_table1D_Ixz_tableData rtCP_pooled_ggbuQsDjzlGA /* Expression: kb3_massbalance_mdl.tab_Ixz
* Referenced by: '<S101>/table1D_Ixz'
*/
#define rtCP_table1D_Izz_bp01Data rtCP_pooled_GSxIsFxBkW72 /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S101>/table1D_Izz'
#define rtCP_table1D_Ixz_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S101>/table1D_Ixz'
*/
#define rtCP_table1D_Iyy_tableData rtCP_pooled_F7Fj0Jz98F6J /* Expression: kb3_massbalance_mdl.tab_Iyy
* Referenced by: '<S102>/table1D_Iyy'
*/
#define rtCP_table1D_Iyy_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S102>/table1D_Iyy'
*/
#define rtCP_table1D_Iyz_tableData rtCP_pooled_6aIljzmC8seq /* Expression: kb3_massbalance_mdl.tab_Iyz
* Referenced by: '<S103>/table1D_Iyz'
*/
#define rtCP_table1D_Iyz_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S103>/table1D_Iyz'
*/
#define rtCP_table1D_Izz_tableData rtCP_pooled_HJUpu7noJGrc /* Expression: kb3_massbalance_mdl.tab_Izz
* Referenced by: '<S104>/table1D_Izz'
*/
#define rtCP_table1D_Izz_bp01Data rtCP_pooled_EFcVM5alguKR /* Expression: kb3_massbalance_mdl.indep_mass_kg
* Referenced by: '<S104>/table1D_Izz'
*/
#define rtCP_table2D_CL_base_tableData rtCP_pooled_BJdk4U1Bhf7G /* Expression: kb3_aerodynamics_mdl.tab_CL_base
* Referenced by: '<S52>/table2D_CL_base'
@@ -619,58 +641,58 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
* Referenced by: '<S56>/table2D_Cnr'
*/
#define rtCP_table2D_thrustAB_tableData rtCP_pooled_Zr87vUglm0jR /* Expression: kb3_propulsion_mdl.tab_thrustAB
* Referenced by: '<S309>/table2D_thrustAB'
* Referenced by: '<S312>/table2D_thrustAB'
*/
#define rtCP_table2D_thrustAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2
* Referenced by: '<S309>/table2D_thrustAB'
* Referenced by: '<S312>/table2D_thrustAB'
*/
#define rtCP_table2D_thrustAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S309>/table2D_thrustAB'
* Referenced by: '<S312>/table2D_thrustAB'
*/
#define rtCP_table1D_thrAB_map_tableData rtCP_pooled_LXQm1g6rykWj/* Expression: kb3_propulsion_mdl.tab_thrAB_map
* Referenced by: '<S307>/table1D_thrAB_map'
* Referenced by: '<S310>/table1D_thrAB_map'
*/
#define rtCP_table1D_thrAB_map_bp01Data rtCP_pooled_IuWi5CgmvR8W /* Expression: kb3_propulsion_mdl.indep_throttle
* Referenced by: '<S307>/table1D_thrAB_map'
* Referenced by: '<S310>/table1D_thrAB_map'
*/
#define rtCP_table1D_thr_map_tableData rtCP_pooled_DYcs5MdN9zE9 /* Expression: kb3_propulsion_mdl.tab_thr_map
* Referenced by: '<S306>/table1D_thr_map'
* Referenced by: '<S309>/table1D_thr_map'
*/
#define rtCP_table1D_thr_map_bp01Data rtCP_pooled_IuWi5CgmvR8W /* Expression: kb3_propulsion_mdl.indep_throttle
* Referenced by: '<S306>/table1D_thr_map'
* Referenced by: '<S309>/table1D_thr_map'
*/
#define rtCP_table3D_thrust_tableData rtCP_pooled_7mOEGGePz2xm /* Expression: kb3_propulsion_mdl.tab_thrust
* Referenced by: '<S311>/table3D_thrust'
* Referenced by: '<S314>/table3D_thrust'
*/
#define rtCP_table3D_thrust_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach
* Referenced by: '<S311>/table3D_thrust'
* Referenced by: '<S314>/table3D_thrust'
*/
#define rtCP_table3D_thrust_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S311>/table3D_thrust'
* Referenced by: '<S314>/table3D_thrust'
*/
#define rtCP_table3D_thrust_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr
* Referenced by: '<S311>/table3D_thrust'
* Referenced by: '<S314>/table3D_thrust'
*/
#define rtCP_table2D_cftAB_tableData rtCP_pooled_7hz2LUrlC7fy /* Expression: kb3_propulsion_mdl.tab_cftAB
* Referenced by: '<S303>/table2D_cftAB'
#define rtCP_table2D_cftAB_tableData rtCP_pooled_RlS7r0LGt7JQ /* Expression: kb3_propulsion_mdl.tab_cftAB
* Referenced by: '<S306>/table2D_cftAB'
*/
#define rtCP_table2D_cftAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2
* Referenced by: '<S303>/table2D_cftAB'
* Referenced by: '<S306>/table2D_cftAB'
*/
#define rtCP_table2D_cftAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S303>/table2D_cftAB'
* Referenced by: '<S306>/table2D_cftAB'
*/
#define rtCP_table3D_cft_tableData rtCP_pooled_1jjca2Oj8nTm /* Expression: kb3_propulsion_mdl.tab_cft
* Referenced by: '<S304>/table3D_cft'
* Referenced by: '<S307>/table3D_cft'
*/
#define rtCP_table3D_cft_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach
* Referenced by: '<S304>/table3D_cft'
* Referenced by: '<S307>/table3D_cft'
*/
#define rtCP_table3D_cft_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S304>/table3D_cft'
* Referenced by: '<S307>/table3D_cft'
*/
#define rtCP_table3D_cft_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr
* Referenced by: '<S304>/table3D_cft'
* Referenced by: '<S307>/table3D_cft'
*/
#define rtCP_table1D_thrust_tableData rtCP_pooled_CZNBGvU8AdwP /* Expression: kb3_booster_mdl.tab_thrust
* Referenced by: '<S92>/table1D_thrust'
@@ -679,49 +701,49 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
* Referenced by: '<S92>/table1D_thrust'
*/
#define rtCP_table3D_Nh_tableData rtCP_pooled_0HfvtrFi8uTo /* Expression: kb3_propulsion_mdl.tab_Nh
* Referenced by: '<S301>/table3D_Nh'
* Referenced by: '<S304>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach
* Referenced by: '<S301>/table3D_Nh'
* Referenced by: '<S304>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S301>/table3D_Nh'
* Referenced by: '<S304>/table3D_Nh'
*/
#define rtCP_table3D_Nh_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr
* Referenced by: '<S301>/table3D_Nh'
* Referenced by: '<S304>/table3D_Nh'
*/
#define rtCP_table2D_NhAB_tableData rtCP_pooled_aDZD8UOYGVWw /* Expression: kb3_propulsion_mdl.tab_NhAB
* Referenced by: '<S300>/table2D_NhAB'
* Referenced by: '<S303>/table2D_NhAB'
*/
#define rtCP_table2D_NhAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2
* Referenced by: '<S300>/table2D_NhAB'
* Referenced by: '<S303>/table2D_NhAB'
*/
#define rtCP_table2D_NhAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m
* Referenced by: '<S300>/table2D_NhAB'
* Referenced by: '<S303>/table2D_NhAB'
*/
#define rtCP_uDLookupTable_tableData rtCP_pooled_Yvl18BcVpm9d /* Computed Parameter: rtCP_uDLookupTable_tableData
* Referenced by: '<S534>/1-D Lookup Table'
* Referenced by: '<S537>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data rtCP_pooled_mUCG6SnXIkCg /* Computed Parameter: rtCP_uDLookupTable_bp01Data
* Referenced by: '<S534>/1-D Lookup Table'
* Referenced by: '<S537>/1-D Lookup Table'
*/
#define rtCP_IAS_lookup_tableData rtCP_pooled_4Tcn651nWPEA /* Computed Parameter: rtCP_IAS_lookup_tableData
* Referenced by: '<S534>/IAS_lookup'
* Referenced by: '<S537>/IAS_lookup'
*/
#define rtCP_IAS_lookup_bp01Data rtCP_pooled_KC2WXQzXgX8x /* Computed Parameter: rtCP_IAS_lookup_bp01Data
* Referenced by: '<S534>/IAS_lookup'
* Referenced by: '<S537>/IAS_lookup'
*/
#define rtCP_uDLookupTable_tableData_n rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_n
* Referenced by: '<S1046>/1-D Lookup Table'
* Referenced by: '<S1049>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_d rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_d
* Referenced by: '<S1046>/1-D Lookup Table'
* Referenced by: '<S1049>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_tableData_m rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_m
* Referenced by: '<S1045>/1-D Lookup Table'
* Referenced by: '<S1048>/1-D Lookup Table'
*/
#define rtCP_uDLookupTable_bp01Data_a rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_a
* Referenced by: '<S1045>/1-D Lookup Table'
* Referenced by: '<S1048>/1-D Lookup Table'
*/
#define rtCP_table2D_CL_base_maxIndex rtCP_pooled_qhm2sJNkM8ZA /* Computed Parameter: rtCP_table2D_CL_base_maxIndex
* Referenced by: '<S52>/table2D_CL_base'
@@ -829,25 +851,25 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3;
* Referenced by: '<S56>/table2D_Cnr'
*/
#define rtCP_table2D_thrustAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_thrustAB_maxIndex
* Referenced by: '<S309>/table2D_thrustAB'
* Referenced by: '<S312>/table2D_thrustAB'
*/
#define rtCP_table3D_thrust_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_thrust_dimSizes
* Referenced by: '<S311>/table3D_thrust'
* Referenced by: '<S314>/table3D_thrust'
*/
#define rtCP_table2D_cftAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_cftAB_maxIndex
* Referenced by: '<S303>/table2D_cftAB'
* Referenced by: '<S306>/table2D_cftAB'
*/
#define rtCP_table3D_cft_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_cft_dimSizes
* Referenced by: '<S304>/table3D_cft'
* Referenced by: '<S307>/table3D_cft'
*/
#define rtCP_table3D_Nh_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_Nh_dimSizes
* Referenced by: '<S301>/table3D_Nh'
* Referenced by: '<S304>/table3D_Nh'
*/
#define rtCP_table2D_NhAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_NhAB_maxIndex
* Referenced by: '<S300>/table2D_NhAB'
* Referenced by: '<S303>/table2D_NhAB'
*/
#define rtCP_mav_parser_P1 rtCP_pooled_e6HU8n7YauPz /* Expression: Channel
* Referenced by: '<S951>/mav_parser'
* Referenced by: '<S954>/mav_parser'
*/
#define rtCP_ConstantBP_Value_h rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_ConstantBP_Value_h
* Referenced by: '<S6>/Constant BP'