diff --git a/SIL/R2018b/rtw/c/src/rtw_modelmap.h b/SIL/R2018b/rtw/c/src/rtw_modelmap.h index 08dcafc..cdac081 100644 --- a/SIL/R2018b/rtw/c/src/rtw_modelmap.h +++ b/SIL/R2018b/rtw/c/src/rtw_modelmap.h @@ -15,30 +15,28 @@ #ifdef SL_INTERNAL -#include "version.h" -#include "util.h" -#include "simstruct/simstruc_types.h" -#include "simulinkcoder_capi_export.hpp" +# include "version.h" +# include "util.h" +# include "simstruct/simstruc_types.h" +# include "simulinkcoder_capi_export.hpp" #else -#include +# include #ifdef HOST_CAPI_BUILD -#include "simstruc_types.h" +# include "simstruc_types.h" #else -#include "rtwtypes.h" +# include "rtwtypes.h" #endif #ifndef __RTW_UTFREE__ -#define __RTW_UTFREE__ -#define utFree(arg) \ - if (arg) \ - free(arg) -#define utMalloc(arg) malloc(arg) +# define __RTW_UTFREE__ +# define utFree(arg) if (arg) free(arg) +# define utMalloc(arg) malloc(arg) #endif -#define SIMULINKCODER_CAPI_API extern +# define SIMULINKCODER_CAPI_API extern #endif #include "rtw_capi.h" @@ -48,239 +46,231 @@ typedef struct rtwCAPI_ModelMappingInfo_tag rtwCAPI_ModelMappingInfo; typedef struct rtwCAPI_ModelMappingStaticInfo_tag rtwCAPI_ModelMappingStaticInfo; /* ModelMappingStaticInfo */ -struct rtwCAPI_ModelMappingStaticInfo_tag -{ +struct rtwCAPI_ModelMappingStaticInfo_tag { /* signals */ - struct - { + struct { rtwCAPI_Signals const *Signals; /* Signals Array */ - uint_T numSignals; /* Num Signals */ + uint_T numSignals; /* Num Signals */ rtwCAPI_Signals const *rootInputs; /* Root Inputs array */ - uint_T numRootInputs; /* Num Root Inputs */ + uint_T numRootInputs; /* Num Root Inputs */ rtwCAPI_Signals const *rootOutputs; /* Root Outputs array */ - uint_T numRootOutputs; /* Num Root Outputs */ + uint_T numRootOutputs;/* Num Root Outputs */ } Signals; /* parameters */ - struct - { - rtwCAPI_BlockParameters const *blockParameters; /* Block parameters Array */ - uint_T numBlockParameters; /* Num block parameters */ - rtwCAPI_ModelParameters const *modelParameters; /* Model parameters Array*/ - uint_T numModelParameters; /* Num Model parameters */ + struct { + rtwCAPI_BlockParameters const *blockParameters; /* Block parameters Array */ + uint_T numBlockParameters; /* Num block parameters */ + rtwCAPI_ModelParameters const *modelParameters; /* Model parameters Array*/ + uint_T numModelParameters; /* Num Model parameters */ } Params; /* states */ - struct - { - rtwCAPI_States const *states; /* States array */ - uint_T numStates; /* Num States */ + struct { + rtwCAPI_States const *states; /* States array */ + uint_T numStates; /* Num States */ } States; /* Static maps */ /* datatypes, dimensions, fixed point, structure elements, sample times */ - struct - { - rtwCAPI_DataTypeMap const *dataTypeMap; /* Data Type Map */ - rtwCAPI_DimensionMap const *dimensionMap; /* Data Dimension Map */ - rtwCAPI_FixPtMap const *fixPtMap; /* Fixed Point Map */ - rtwCAPI_ElementMap const *elementMap; /* Structure Element map */ - rtwCAPI_SampleTimeMap const *sampleTimeMap; /* Sample Times Map */ - uint_T const *dimensionArray; /* Dimension Array */ + struct { + rtwCAPI_DataTypeMap const *dataTypeMap; /* Data Type Map */ + rtwCAPI_DimensionMap const *dimensionMap; /* Data Dimension Map */ + rtwCAPI_FixPtMap const *fixPtMap; /* Fixed Point Map */ + rtwCAPI_ElementMap const *elementMap; /* Structure Element map */ + rtwCAPI_SampleTimeMap const *sampleTimeMap; /* Sample Times Map */ + uint_T const *dimensionArray; /* Dimension Array */ } Maps; /* TargetType - string specifying the intended target of the generated * * C-API. * * targetType = "float" - target supports floats and integer code * * = "integer" - target supports integer only code */ - char_T const *targetType; + char_T const *targetType; /* for internal use */ uint32_T modelChecksum[4]; rtwCAPI_ModelMapLoggingStaticInfo const *staticLogInfo; - size_t rtpSize; + size_t rtpSize; /* If this instance in a protected model*/ boolean_T isProtectedModel; }; /* ModelMappingInfo */ -struct rtwCAPI_ModelMappingInfo_tag -{ +struct rtwCAPI_ModelMappingInfo_tag { /* ModelMappingInfo version */ - uint8_T versionNum; + uint8_T versionNum; /* Reference to static model data, all model instances share this map */ rtwCAPI_ModelMappingStaticInfo *staticMap; /* Instance specific Maps, each model instance has a unique InstanceMap */ - struct - { - const char *path; /* Path to this instance */ - char *fullPath; - void **dataAddrMap; /* Data Address map */ - rtwCAPI_ModelMappingInfo **childMMIArray; /* array of child MMI */ - uint_T childMMIArrayLen; /* Number of child MMIs */ - int_T contStateStartIndex; + struct { + const char* path; /* Path to this instance */ + char* fullPath; + void** dataAddrMap; /* Data Address map */ + rtwCAPI_ModelMappingInfo** childMMIArray; /* array of child MMI */ + uint_T childMMIArrayLen; /* Number of child MMIs */ + int_T contStateStartIndex; /* for internal use */ rtwCAPI_ModelMapLoggingInstanceInfo *instanceLogInfo; - int32_T **vardimsAddrMap; /* Vardims Address map */ - void *rtpAddress; - RTWLoggingFcnPtr *RTWLoggingPtrs; /* MatFile logging information */ + int32_T** vardimsAddrMap; /* Vardims Address map */ + void* rtpAddress; + RTWLoggingFcnPtr* RTWLoggingPtrs; /* MatFile logging information */ } InstanceMap; }; /* Macros for accessing ModelMappingStaticInfo fields */ -#define rtwCAPI_GetSignalsFromStaticMap(SM) ((SM)->Signals.signals) -#define rtwCAPI_GetNumSignalsFromStaticMap(SM) ((SM)->Signals.numSignals) -#define rtwCAPI_GetLogSignalsArrayFromStaticMap(SM) ((SM)->Signals.logSignalsArray) -#define rtwCAPI_GetNumLogSignalsFromStaticMap(SM) ((SM)->Signals.numLogSignals) +#define rtwCAPI_GetSignalsFromStaticMap(SM) ((SM)->Signals.signals) +#define rtwCAPI_GetNumSignalsFromStaticMap(SM) ((SM)->Signals.numSignals) +#define rtwCAPI_GetLogSignalsArrayFromStaticMap(SM) ((SM)->Signals.logSignalsArray) +#define rtwCAPI_GetNumLogSignalsFromStaticMap(SM) ((SM)->Signals.numLogSignals) -#define rtwCAPI_GetBlockParametersFromStaticMap(SM) ((SM)->Params.blockParameters) -#define rtwCAPI_GetNumBlockParametersFromStaticMap(SM) ((SM)->Params.numBlockParameters) -#define rtwCAPI_GetModelParametersFromStaticMap(SM) ((SM)->Params.modelParameters) -#define rtwCAPI_GetNumModelParametersFromStaticMap(SM) ((SM)->Params.numModelParameters) +#define rtwCAPI_GetBlockParametersFromStaticMap(SM) ((SM)->Params.blockParameters) +#define rtwCAPI_GetNumBlockParametersFromStaticMap(SM) ((SM)->Params.numBlockParameters) +#define rtwCAPI_GetModelParametersFromStaticMap(SM) ((SM)->Params.modelParameters) +#define rtwCAPI_GetNumModelParametersFromStaticMap(SM) ((SM)->Params.numModelParameters) -#define rtwCAPI_GetStatesFromStaticMap(SM) ((SM)->States.states) -#define rtwCAPI_GetNumStatesFromStaticMap(SM) ((SM)->States.numStates) +#define rtwCAPI_GetStatesFromStaticMap(SM) ((SM)->States.states) +#define rtwCAPI_GetNumStatesFromStaticMap(SM) ((SM)->States.numStates) -#define rtwCAPI_GetRootInputsFromStaticMap(SM) ((SM)->Signals.rootInputs) -#define rtwCAPI_GetNumRootInputsFromStaticMap(SM) ((SM)->Signals.numRootInputs) -#define rtwCAPI_GetRootOutputsFromStaticMap(SM) ((SM)->Signals.rootOutputs) -#define rtwCAPI_GetNumRootOutputsFromStaticMap(SM) ((SM)->Signals.numRootOutputs) +#define rtwCAPI_GetRootInputsFromStaticMap(SM) ((SM)->Signals.rootInputs) +#define rtwCAPI_GetNumRootInputsFromStaticMap(SM) ((SM)->Signals.numRootInputs) +#define rtwCAPI_GetRootOutputsFromStaticMap(SM) ((SM)->Signals.rootOutputs) +#define rtwCAPI_GetNumRootOutputsFromStaticMap(SM) ((SM)->Signals.numRootOutputs) -#define rtwCAPI_GetDataTypeMapFromStaticMap(SM) ((SM)->Maps.dataTypeMap) -#define rtwCAPI_GetDimensionMapFromStaticMap(SM) ((SM)->Maps.dimensionMap) -#define rtwCAPI_GetFixPtMapFromStaticMap(SM) ((SM)->Maps.fixPtMap) -#define rtwCAPI_GetElementMapFromStaticMap(SM) ((SM)->Maps.elementMap) -#define rtwCAPI_GetSampleTimeMapFromStaticMap(SM) ((SM)->Maps.sampleTimeMap) -#define rtwCAPI_GetDimensionArrayFromStaticMap(SM) ((SM)->Maps.dimensionArray) +#define rtwCAPI_GetDataTypeMapFromStaticMap(SM) ((SM)->Maps.dataTypeMap) +#define rtwCAPI_GetDimensionMapFromStaticMap(SM) ((SM)->Maps.dimensionMap) +#define rtwCAPI_GetFixPtMapFromStaticMap(SM) ((SM)->Maps.fixPtMap) +#define rtwCAPI_GetElementMapFromStaticMap(SM) ((SM)->Maps.elementMap) +#define rtwCAPI_GetSampleTimeMapFromStaticMap(SM) ((SM)->Maps.sampleTimeMap) +#define rtwCAPI_GetDimensionArrayFromStaticMap(SM) ((SM)->Maps.dimensionArray) /* Macros for accessing ModelMappingInfo fields */ -#define rtwCAPI_GetSignals(MMI) rtwCAPI_GetSignalsFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetNumSignals(MMI) rtwCAPI_GetNumSignalsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetSignals(MMI) rtwCAPI_GetSignalsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetNumSignals(MMI) rtwCAPI_GetNumSignalsFromStaticMap((MMI)->staticMap) #define rtwCAPI_GetLogSignalsArray(MMI) rtwCAPI_GetLogSignalsArrayFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetNumLogSignals(MMI) rtwCAPI_GetNumLogSignalsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetNumLogSignals(MMI) rtwCAPI_GetNumLogSignalsFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetBlockParameters(MMI) rtwCAPI_GetBlockParametersFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetBlockParameters(MMI) rtwCAPI_GetBlockParametersFromStaticMap((MMI)->staticMap) #define rtwCAPI_GetNumBlockParameters(MMI) rtwCAPI_GetNumBlockParametersFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetModelParameters(MMI) rtwCAPI_GetModelParametersFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetModelParameters(MMI) rtwCAPI_GetModelParametersFromStaticMap((MMI)->staticMap) #define rtwCAPI_GetNumModelParameters(MMI) rtwCAPI_GetNumModelParametersFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetStates(MMI) rtwCAPI_GetStatesFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetNumStates(MMI) rtwCAPI_GetNumStatesFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetStates(MMI) rtwCAPI_GetStatesFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetNumStates(MMI) rtwCAPI_GetNumStatesFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetRootInputs(MMI) rtwCAPI_GetRootInputsFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetNumRootInputs(MMI) rtwCAPI_GetNumRootInputsFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetRootOutputs(MMI) rtwCAPI_GetRootOutputsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetRootInputs(MMI) rtwCAPI_GetRootInputsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetNumRootInputs(MMI) rtwCAPI_GetNumRootInputsFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetRootOutputs(MMI) rtwCAPI_GetRootOutputsFromStaticMap((MMI)->staticMap) #define rtwCAPI_GetNumRootOutputs(MMI) rtwCAPI_GetNumRootOutputsFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetDataTypeMap(MMI) rtwCAPI_GetDataTypeMapFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetDimensionMap(MMI) rtwCAPI_GetDimensionMapFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetFixPtMap(MMI) rtwCAPI_GetFixPtMapFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetElementMap(MMI) rtwCAPI_GetElementMapFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetSampleTimeMap(MMI) rtwCAPI_GetSampleTimeMapFromStaticMap((MMI)->staticMap) -#define rtwCAPI_GetDimensionArray(MMI) rtwCAPI_GetDimensionArrayFromStaticMap((MMI)->staticMap) -#define rtwCAPI_IsProtectedModel(MMI) ((MMI)->staticMap->isProtectedModel) +#define rtwCAPI_GetDataTypeMap(MMI) rtwCAPI_GetDataTypeMapFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetDimensionMap(MMI) rtwCAPI_GetDimensionMapFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetFixPtMap(MMI) rtwCAPI_GetFixPtMapFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetElementMap(MMI) rtwCAPI_GetElementMapFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetSampleTimeMap(MMI) rtwCAPI_GetSampleTimeMapFromStaticMap((MMI)->staticMap) +#define rtwCAPI_GetDimensionArray(MMI) rtwCAPI_GetDimensionArrayFromStaticMap((MMI)->staticMap) +#define rtwCAPI_IsProtectedModel(MMI) ((MMI)->staticMap->isProtectedModel) #define rtwCAPI_GetStaticLoggingInfo(MMI) ((MMI)->staticMap->staticLogInfo) -#define rtwCAPI_GetVersion(MMI) ((MMI)->versionNum) -#define rtwCAPI_GetDataAddressMap(MMI) ((MMI)->InstanceMap.dataAddrMap) +#define rtwCAPI_GetVersion(MMI) ((MMI)->versionNum) +#define rtwCAPI_GetDataAddressMap(MMI) ((MMI)->InstanceMap.dataAddrMap) #define rtwCAPI_GetVarDimsAddressMap(MMI) ((MMI)->InstanceMap.vardimsAddrMap) #define rtwCAPI_GetRTWLoggingPtrsMap(MMI) ((MMI)->InstanceMap.RTWLoggingPtrs) -#define rtwCAPI_GetPath(MMI) ((MMI)->InstanceMap.path) -#define rtwCAPI_GetFullPath(MMI) ((MMI)->InstanceMap.fullPath) -#define rtwCAPI_GetChildMMI(MMI, i) ((MMI)->InstanceMap.childMMIArray[i]) -#define rtwCAPI_GetChildMMIArray(MMI) ((MMI)->InstanceMap.childMMIArray) -#define rtwCAPI_GetChildMMIArrayLen(MMI) ((MMI)->InstanceMap.childMMIArrayLen) +#define rtwCAPI_GetPath(MMI) ((MMI)->InstanceMap.path) +#define rtwCAPI_GetFullPath(MMI) ((MMI)->InstanceMap.fullPath) +#define rtwCAPI_GetChildMMI(MMI,i) ((MMI)->InstanceMap.childMMIArray[i]) +#define rtwCAPI_GetChildMMIArray(MMI) ((MMI)->InstanceMap.childMMIArray) +#define rtwCAPI_GetChildMMIArrayLen(MMI) ((MMI)->InstanceMap.childMMIArrayLen) #define rtwCAPI_MMIGetContStateStartIndex(MMI) ((MMI)->InstanceMap.contStateStartIndex) #define rtwCAPI_GetInstanceLoggingInfo(MMI) ((MMI)->InstanceMap.instanceLogInfo) /* Macros for setting ModelMappingInfo fields */ -#define rtwCAPI_SetVersion(MMI, n) ((MMI).versionNum = (n)) -#define rtwCAPI_SetStaticMap(MMI, statMap) (MMI).staticMap = (statMap) -#define rtwCAPI_SetLoggingStaticMap(MMI, lStatMap) (MMI).staticMap->staticLogInfo = (lStatMap) +#define rtwCAPI_SetVersion(MMI, n) ((MMI).versionNum = (n)) +#define rtwCAPI_SetStaticMap(MMI, statMap) (MMI).staticMap = (statMap) +#define rtwCAPI_SetLoggingStaticMap(MMI,lStatMap) (MMI).staticMap->staticLogInfo = (lStatMap) #define rtwCAPI_SetDataAddressMap(MMI, dAddr) (MMI).InstanceMap.dataAddrMap = (dAddr) #define rtwCAPI_SetVarDimsAddressMap(MMI, vAddr) (MMI).InstanceMap.vardimsAddrMap = (vAddr) -#define rtwCAPI_SetLoggingPtrs(MMI, lAddr) (MMI).InstanceMap.RTWLoggingPtrs = (lAddr) -#define rtwCAPI_SetPath(MMI, p) (MMI).InstanceMap.path = (p) -#define rtwCAPI_SetFullPath(MMI, p) (MMI).InstanceMap.fullPath = (p) -#define rtwCAPI_SetChildMMI(MMI, i, cMMI) (MMI).InstanceMap.childMMIArray[i] = (cMMI) -#define rtwCAPI_SetChildMMIArray(MMI, cMMIs) (MMI).InstanceMap.childMMIArray = (cMMIs) -#define rtwCAPI_SetChildMMIArrayLen(MMI, n) (MMI).InstanceMap.childMMIArrayLen = (n) -#define rtwCAPI_MMISetContStateStartIndex(MMI, i) (MMI).InstanceMap.contStateStartIndex = (i) -#define rtwCAPI_SetInstanceLoggingInfo(MMI, l) (MMI).InstanceMap.instanceLogInfo = (l) +#define rtwCAPI_SetLoggingPtrs(MMI, lAddr) (MMI).InstanceMap.RTWLoggingPtrs = (lAddr) +#define rtwCAPI_SetPath(MMI,p) (MMI).InstanceMap.path = (p) +#define rtwCAPI_SetFullPath(MMI,p) (MMI).InstanceMap.fullPath = (p) +#define rtwCAPI_SetChildMMI(MMI,i,cMMI) (MMI).InstanceMap.childMMIArray[i] = (cMMI) +#define rtwCAPI_SetChildMMIArray(MMI,cMMIs) (MMI).InstanceMap.childMMIArray = (cMMIs) +#define rtwCAPI_SetChildMMIArrayLen(MMI,n) (MMI).InstanceMap.childMMIArrayLen = (n) +#define rtwCAPI_MMISetContStateStartIndex(MMI,i) (MMI).InstanceMap.contStateStartIndex = (i) +#define rtwCAPI_SetInstanceLoggingInfo(MMI,l) (MMI).InstanceMap.instanceLogInfo = (l) /* Functions in rtw_modelmap_utils.c */ #ifdef __cplusplus -extern "C" -{ +extern "C" { #endif - SIMULINKCODER_CAPI_API char *rtwCAPI_EncodePath(const char *path); - SIMULINKCODER_CAPI_API boolean_T rtwCAPI_HasStates(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumStateRecords(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumStateRecordsForRTWLogging(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumContStateRecords(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API void rtwCAPI_FreeFullPaths(rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API const char_T *rtwCAPI_UpdateFullPaths(rtwCAPI_ModelMappingInfo *mmi, - const char_T *path, - boolean_T isCalledFromTopModel); - SIMULINKCODER_CAPI_API char *rtwCAPI_GetFullStateBlockPath(const char *stateBlockPath, - const char *mmiPath, - size_t mmiPathLen, - boolean_T crossingModel); - SIMULINKCODER_CAPI_API uint_T rtwCAPI_GetStateWidth(const rtwCAPI_DimensionMap *dimMap, - const uint_T *dimArray, - const rtwCAPI_States *states, - uint_T iState); - SIMULINKCODER_CAPI_API const char_T *rtwCAPI_GetStateRecordInfo(const rtwCAPI_ModelMappingInfo *mmi, - const char_T **sigBlockName, - const char_T **sigLabel, - const char_T **sigName, - int_T *sigWidth, - int_T *sigDataType, - int_T *logDataType, - int_T *sigComplexity, - void **sigDataAddr, - RTWLoggingFcnPtr *RTWLoggingPtrs, - boolean_T *sigCrossMdlRef, - boolean_T *sigInProtectedMdl, - const char_T **sigPathAlias, - double *sigSampleTime, - int_T *sigHierInfoIdx, - uint_T *sigFlatElemIdx, - const rtwCAPI_ModelMappingInfo **sigMMI, - int_T *sigIdx, - boolean_T crossingModel, - boolean_T isInProtectedMdl, - real_T *stateDerivVector, - boolean_T rtwLogging); - SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumSigLogRecords(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumSigLogRecordsForRTWLogging(const rtwCAPI_ModelMappingInfo *mmi); - SIMULINKCODER_CAPI_API const char_T *rtwCAPI_GetSigLogRecordInfo(const rtwCAPI_ModelMappingInfo *mmi, - const char_T **sigBlockName, - const char_T **sigLabel, - int_T *sigWidth, - int_T *sigDataType, - int_T *logDataType, - int_T *sigComplexity, - void **sigDataAddr, - boolean_T *sigCrossMdlRef, - int_T *sigIdx, - boolean_T crossingModel, - boolean_T rtwLogging); - SIMULINKCODER_CAPI_API void rtwCAPI_CountSysRan(const rtwCAPI_ModelMappingInfo *mmi, - int *count); - SIMULINKCODER_CAPI_API void rtwCAPI_FillSysRan(const rtwCAPI_ModelMappingInfo *mmi, - sysRanDType **sysRan, - int *sysTid, - int *fillIdx); +SIMULINKCODER_CAPI_API char* rtwCAPI_EncodePath(const char* path); +SIMULINKCODER_CAPI_API boolean_T rtwCAPI_HasStates(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumStateRecords(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumStateRecordsForRTWLogging(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumContStateRecords(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API void rtwCAPI_FreeFullPaths(rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API const char_T* rtwCAPI_UpdateFullPaths(rtwCAPI_ModelMappingInfo* mmi, + const char_T* path, + boolean_T isCalledFromTopModel); +SIMULINKCODER_CAPI_API char* rtwCAPI_GetFullStateBlockPath(const char* stateBlockPath, + const char* mmiPath, + size_t mmiPathLen, + boolean_T crossingModel); +SIMULINKCODER_CAPI_API uint_T rtwCAPI_GetStateWidth(const rtwCAPI_DimensionMap* dimMap, + const uint_T* dimArray, + const rtwCAPI_States* states, + uint_T iState); +SIMULINKCODER_CAPI_API const char_T* rtwCAPI_GetStateRecordInfo(const rtwCAPI_ModelMappingInfo* mmi, + const char_T** sigBlockName, + const char_T** sigLabel, + const char_T** sigName, + int_T* sigWidth, + int_T* sigDataType, + int_T* logDataType, + int_T* sigComplexity, + void** sigDataAddr, + RTWLoggingFcnPtr* RTWLoggingPtrs, + boolean_T* sigCrossMdlRef, + boolean_T* sigInProtectedMdl, + const char_T** sigPathAlias, + double* sigSampleTime, + int_T* sigHierInfoIdx, + uint_T* sigFlatElemIdx, + const rtwCAPI_ModelMappingInfo** sigMMI, + int_T* sigIdx, + boolean_T crossingModel, + boolean_T isInProtectedMdl, + real_T* stateDerivVector, + boolean_T rtwLogging); +SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumSigLogRecords(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API int_T rtwCAPI_GetNumSigLogRecordsForRTWLogging(const rtwCAPI_ModelMappingInfo* mmi); +SIMULINKCODER_CAPI_API const char_T* rtwCAPI_GetSigLogRecordInfo(const rtwCAPI_ModelMappingInfo* mmi, + const char_T** sigBlockName, + const char_T** sigLabel, + int_T* sigWidth, + int_T* sigDataType, + int_T* logDataType, + int_T* sigComplexity, + void** sigDataAddr, + boolean_T* sigCrossMdlRef, + int_T* sigIdx, + boolean_T crossingModel, + boolean_T rtwLogging); +SIMULINKCODER_CAPI_API void rtwCAPI_CountSysRan(const rtwCAPI_ModelMappingInfo *mmi, + int *count); +SIMULINKCODER_CAPI_API void rtwCAPI_FillSysRan(const rtwCAPI_ModelMappingInfo *mmi, + sysRanDType **sysRan, + int *sysTid, + int *fillIdx); #ifdef __cplusplus } #endif -#endif /* __RTW_MODELMAP__ */ +#endif /* __RTW_MODELMAP__ */ /* EOF - rtw_modelmap.h */ diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL.c b/SIL/work/SIL_ert_shrlib_rtw/SIL.c index e79169f..d5baa3f 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -24,9 +24,8 @@ #include "CalcPAltCOESA.h" #include "LookUp_real32_T_real32_T.h" #include "Quat2Tbn_XRdqRR86.h" -#include "intrp3d_fu32fla_pw.h" +#include "intrp3d_fu32fl_pw.h" #include "intrp3d_l_pw.h" -#include "intrp3d_la_pw.h" #include "look1_binlcpw.h" #include "look1_binlxpw.h" #include "look1_iflf_binlcpw.h" @@ -35,11 +34,9 @@ #include "look1_pbinlcapw.h" #include "look2_binlcpw.h" #include "look2_binlxpw.h" -#include "look2_iflf_pbinlcapw.h" -#include "look2_pbinlcapw.h" -#include "plook_bincpa.h" +#include "look2_iflf_binlxpw.h" #include "plook_binx.h" -#include "plook_u32ff_bincpa.h" +#include "plook_u32ff_binx.h" #include "power_4TBdBPK2.h" #include "rt_atan2d_snf.h" #include "rt_atan2f_snf.h" @@ -49,44 +46,44 @@ #include "rt_powd_snf.h" #include "rt_roundd_snf.h" -/* Named constants for Chart: '/tick' */ +/* Named constants for Chart: '/tick' */ #define SIL_IN_NO_ACTIVE_CHILD ((uint8_T)0U) #define SIL_IN_arrrived ((uint8_T)1U) #define SIL_IN_delay ((uint8_T)2U) #define SIL_IN_idle ((uint8_T)3U) -/* Named constants for Chart: '/tick' */ +/* Named constants for Chart: '/tick' */ #define SIL_IN_NO_ACTIVE_CHILD_h ((uint8_T)0U) #define SIL_IN_arrrived_d ((uint8_T)1U) #define SIL_IN_idle_m ((uint8_T)2U) -/* Named constants for Chart: '/psi_err' */ +/* Named constants for Chart: '/psi_err' */ #define SIL_pi (3.14159274F) -/* Named constants for Chart: '/parser' */ +/* Named constants for Chart: '/parser' */ #define SIL_IN_NO_ACTIVE_CHILD_l3 ((uint8_T)0U) -/* Named constants for Chart: '/check_gps_valid' */ +/* Named constants for Chart: '/check_gps_valid' */ #define SIL_IN_Invalid ((uint8_T)1U) #define SIL_IN_Testing ((uint8_T)2U) #define SIL_IN_Valid ((uint8_T)3U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Chart' */ #define SIL_IN_useGPS ((uint8_T)1U) #define SIL_IN_useGPSVel ((uint8_T)2U) #define SIL_IN_useMag ((uint8_T)3U) -/* Named constants for Chart: '/IMU_bias_fix' */ +/* Named constants for Chart: '/IMU_bias_fix' */ #define SIL_IN_GetBias ((uint8_T)1U) #define SIL_IN_Init ((uint8_T)2U) #define SIL_IN_NoBias ((uint8_T)3U) -/* Named constants for Chart: '/zero_set' */ +/* Named constants for Chart: '/zero_set' */ #define SIL_IN_Init_f ((uint8_T)1U) #define SIL_IN_Work ((uint8_T)2U) #define SIL_IN_Work1 ((uint8_T)3U) -/* Named constants for Chart: '/status_mgr' */ +/* Named constants for Chart: '/status_mgr' */ #define SIL_IN_Step0 ((uint8_T)1U) #define SIL_IN_Step1 ((uint8_T)2U) #define SIL_IN_Step2 ((uint8_T)3U) @@ -94,28 +91,28 @@ #define SIL_IN_Step4 ((uint8_T)5U) #define SIL_IN_Work_k ((uint8_T)6U) -/* Named constants for Chart: '/tick' */ +/* Named constants for Chart: '/tick' */ #define SIL_IN_arrrived_n ((uint8_T)1U) #define SIL_IN_delay_p ((uint8_T)2U) #define SIL_IN_idle_g ((uint8_T)3U) -/* Named constants for Chart: '/proc_cmd' */ +/* Named constants for Chart: '/proc_cmd' */ #define SIL_IN_Linked ((uint8_T)1U) #define SIL_IN_Linked2 ((uint8_T)2U) -/* Named constants for Chart: '/check_conn' */ +/* Named constants for Chart: '/check_conn' */ #define SIL_IN_LinkLoss ((uint8_T)1U) #define SIL_IN_Linked_e ((uint8_T)2U) -/* Named constants for Chart: '/valid_checking' */ +/* Named constants for Chart: '/valid_checking' */ #define SIL_IN_connected ((uint8_T)1U) #define SIL_IN_disconnected ((uint8_T)2U) -/* Named constants for Chart: '/proc_set_ cur' */ +/* Named constants for Chart: '/proc_set_ cur' */ #define SIL_IN_idle_p ((uint8_T)1U) #define SIL_IN_process_set_cur ((uint8_T)2U) -/* Named constants for Chart: '/landing_task' */ +/* Named constants for Chart: '/landing_task' */ #define SIL_IN_CutParachute ((uint8_T)1U) #define SIL_IN_Enflate ((uint8_T)2U) #define SIL_IN_Impact ((uint8_T)3U) @@ -123,7 +120,7 @@ #define SIL_IN_ShutdownEngine ((uint8_T)5U) #define SIL_IN_limit_deflections ((uint8_T)6U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Chart' */ #define SIL_IN_Idle1 ((uint8_T)2U) #define SIL_IN_Idle2 ((uint8_T)3U) #define SIL_IN_Idle_ht ((uint8_T)1U) @@ -152,57 +149,57 @@ #define SIL_IN_two_j ((uint8_T)6U) #define SIL_IN_two_jp ((uint8_T)3U) -/* Named constants for Chart: '/TopLevelSwitch' */ +/* Named constants for Chart: '/TopLevelSwitch' */ #define SIL_IN_operational ((uint8_T)1U) #define SIL_IN_standby ((uint8_T)2U) #define SIL_IN_xbit ((uint8_T)3U) -/* Named constants for Chart: '/sweep_generator' */ +/* Named constants for Chart: '/sweep_generator' */ #define SIL_IN_sweep ((uint8_T)2U) -/* Named constants for Chart: '/standby_emergency' */ +/* Named constants for Chart: '/standby_emergency' */ #define SIL_IN_Emergency ((uint8_T)1U) #define SIL_IN_Recovery1 ((uint8_T)3U) #define SIL_IN_Recovery_i ((uint8_T)2U) #define SIL_IN_Standby ((uint8_T)4U) #define SIL_IN_Standby1 ((uint8_T)5U) -/* Named constants for Chart: '/takeoff_task' */ +/* Named constants for Chart: '/takeoff_task' */ #define SIL_IN_Active ((uint8_T)1U) #define SIL_IN_Done ((uint8_T)2U) #define SIL_IN_LatGuide ((uint8_T)3U) #define SIL_IN_Launched ((uint8_T)4U) #define SIL_IN_WaitForLaunch ((uint8_T)5U) -/* Named constants for Chart: '/landing_task' */ +/* Named constants for Chart: '/landing_task' */ #define SIL_IN_level_flight ((uint8_T)1U) #define SIL_IN_recovery ((uint8_T)2U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Chart' */ #define SIL_IN_NextWP ((uint8_T)1U) #define SIL_IN_WP ((uint8_T)2U) -/* Named constants for Chart: '/mission_proc' */ +/* Named constants for Chart: '/mission_proc' */ #define SIL_IN_wait ((uint8_T)2U) -/* Named constants for Chart: '/traffic_ctrl' */ +/* Named constants for Chart: '/traffic_ctrl' */ #define SIL_IN_Wait ((uint8_T)2U) -/* Named constants for Chart: '/chat_update_mission_item' */ +/* Named constants for Chart: '/chat_update_mission_item' */ #define SIL_fence_default_len ((uint16_T)16U) #define SIL_mission_default_len ((uint16_T)100U) #define SIL_rally_default_len ((uint16_T)16U) -/* Named constants for Chart: '/Chart_proc_mission_upload' */ +/* Named constants for Chart: '/Chart_proc_mission_upload' */ #define SIL_IN_Uploading ((uint8_T)2U) -/* Named constants for Chart: '/proc_param_value' */ +/* Named constants for Chart: '/proc_param_value' */ #define SIL_IN_SendOne ((uint8_T)2U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Chart' */ #define SIL_IN_work ((uint8_T)2U) -/* Named constants for Chart: '/Chart' */ +/* Named constants for Chart: '/Chart' */ #define SIL_IN_bad ((uint8_T)1U) #define SIL_IN_good ((uint8_T)2U) @@ -504,136 +501,133 @@ const MavRally SIL_rtZMavRally = { /* Exported block parameters */ real_T Att0[3] = { 0.0, 0.26178010471204188, -1.570796326794897 } ;/* Variable: Att0 - * Referenced by: '/Initial Euler Angles' + * Referenced by: '/Initial Euler Angles' */ real_T BoosterUncertGain = 1.0; /* Variable: BoosterUncertGain - * Referenced by: '/Param_BoosterUncertGain' + * Referenced by: '/Param_BoosterUncertGain' */ real_T CD0UncertVal = 0.0; /* Variable: CD0UncertVal - * Referenced by: '/Param_CD0UncertVal' + * Referenced by: '/Param_CD0UncertVal' */ real_T CG_bias_m[3] = { 0.0, 0.0, 0.0 } ;/* Variable: CG_bias_m - * Referenced by: '/Param_CG_bias_m' + * Referenced by: '/Param_CG_bias_m' */ real_T CL0UncertVal = 0.0; /* Variable: CL0UncertVal - * Referenced by: '/Param_CL0UncertVal' + * Referenced by: '/Param_CL0UncertVal' */ real_T CLaUncertGain = 0.0; /* Variable: CLaUncertGain - * Referenced by: '/Param_CLaUncertGain' + * Referenced by: '/Param_CLaUncertGain' */ real_T CLdeUncertGain = 1.0; /* Variable: CLdeUncertGain - * Referenced by: '/Param_CLdeUncertGain' + * Referenced by: '/Param_CLdeUncertGain' */ real_T CLqUncertGain = 1.0; /* Variable: CLqUncertGain - * Referenced by: '/Param_CLqUncertGain' + * Referenced by: '/Param_CLqUncertGain' */ real_T CY0UncertVal = 0.0; /* Variable: CY0UncertVal - * Referenced by: '/Param_CY0UncertVal' + * Referenced by: '/Param_CY0UncertVal' */ real_T CYbUncertGain = 0.0; /* Variable: CYbUncertGain - * Referenced by: '/Param_CYbUncertGain' - */ -real_T CYdaUncertGain = 1.0; /* Variable: CYdaUncertGain - * Referenced by: '/Param_CYdaUncertGain' + * Referenced by: '/Param_CYbUncertGain' */ real_T CYdrUncertGain = 1.0; /* Variable: CYdrUncertGain - * Referenced by: '/Param_CYdrUncertGain' + * Referenced by: '/Param_CYdrUncertGain' */ real_T CYpUncertGain = 1.0; /* Variable: CYpUncertGain - * Referenced by: '/Param_CYpUncertGain' + * Referenced by: '/Param_CYpUncertGain' */ real_T CYrUncertGain = 1.0; /* Variable: CYrUncertGain - * Referenced by: '/Param_CYrUncertGain' + * Referenced by: '/Param_CYrUncertGain' */ real_T Cl0UncertVal = 0.0; /* Variable: Cl0UncertVal - * Referenced by: '/Param_Cl0UncertVal' + * Referenced by: '/Param_Cl0UncertVal' */ real_T ClbUncertGain = 0.0; /* Variable: ClbUncertGain - * Referenced by: '/Param_ClbUncertGain' + * Referenced by: '/Param_ClbUncertGain' */ real_T CldaUncertGain = 1.0; /* Variable: CldaUncertGain - * Referenced by: '/Param_CldaUncertGain' + * Referenced by: '/Param_CldaUncertGain' */ real_T CldrUncertGain = 1.0; /* Variable: CldrUncertGain - * Referenced by: '/Param_CldrUncertGain' + * Referenced by: '/Param_CldrUncertGain' */ real_T ClpUncertGain = 1.0; /* Variable: ClpUncertGain - * Referenced by: '/Param_ClpUncertGain' + * Referenced by: '/Param_ClpUncertGain' */ real_T ClrUncertGain = 1.0; /* Variable: ClrUncertGain - * Referenced by: '/Param_ClrUncertGain' + * Referenced by: '/Param_ClrUncertGain' */ real_T Cm0UncertVal = 0.0; /* Variable: Cm0UncertVal - * Referenced by: '/Param_Cm0UncertVal' + * Referenced by: '/Param_Cm0UncertVal' */ real_T CmaUncertGain = 0.0; /* Variable: CmaUncertGain - * Referenced by: '/Param_CmaUncertGain' + * Referenced by: '/Param_CmaUncertGain' */ real_T CmdeUncertGain = 1.0; /* Variable: CmdeUncertGain - * Referenced by: '/Param_CmdeUncertGain' + * Referenced by: '/Param_CmdeUncertGain' */ real_T CmqUncertGain = 1.0; /* Variable: CmqUncertGain - * Referenced by: '/Param_CmqUncertGain' + * Referenced by: '/Param_CmqUncertGain' */ real_T Cn0UncertVal = 0.0; /* Variable: Cn0UncertVal - * Referenced by: '/Param_Cn0UncertVal' + * Referenced by: '/Param_Cn0UncertVal' */ real_T CnbUncertGain = 0.0; /* Variable: CnbUncertGain - * Referenced by: '/Param_CnbUncertGain' + * Referenced by: '/Param_CnbUncertGain' */ real_T CndaUncertGain = 1.0; /* Variable: CndaUncertGain - * Referenced by: '/Param_CndaUncertGain' + * Referenced by: '/Param_CndaUncertGain' */ real_T CndrUncertGain = 1.0; /* Variable: CndrUncertGain - * Referenced by: '/Param_CndrUncertGain' + * Referenced by: '/Param_CndrUncertGain' */ real_T CnpUncertGain = 1.0; /* Variable: CnpUncertGain - * Referenced by: '/Param_CnpUncertGain' + * Referenced by: '/Param_CnpUncertGain' */ real_T CnrUncertGain = 1.0; /* Variable: CnrUncertGain - * Referenced by: '/Param_CnrUncertGain' + * Referenced by: '/Param_CnrUncertGain' */ real_T InertiaMoments_bias_kg_m2[9] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 } ; /* Variable: InertiaMoments_bias_kg_m2 - * Referenced by: '/Param_InertiaMoments_bias_kg_m2' + * Referenced by: '/Param_InertiaMoments_bias_kg_m2' */ real_T ThrustUncertGain = 1.0; /* Variable: ThrustUncertGain - * Referenced by: '/Param_ThrustUncertGain' + * Referenced by: '/Param_ThrustUncertGain' */ real_T V0[3] = { 0.0, 0.0, 0.0 } ; /* Variable: V0 - * Referenced by: '/ub,vb,wb' + * Referenced by: '/ub,vb,wb' */ real_T X0[3] = { 40.86471, 109.54561, 1325.7 } ;/* Variable: X0 * Referenced by: - * '/omega_earth2' - * '/omega_earth2' + * '/omega_earth2' + * '/omega_earth2' */ real_T booster_att_rad[3] = { 0.0, 0.2443, 0.0 } ;/* Variable: booster_att_rad - * Referenced by: '/Param_booster_att_rad' + * Referenced by: '/Param_booster_att_rad' */ real_T booster_pos_m[3] = { -0.14, 0.0, 0.0165 } ;/* Variable: booster_pos_m - * Referenced by: '/Param_booster_pos_m' + * Referenced by: '/Param_booster_pos_m' */ real_T engine_att_rad[3] = { 0.0, 0.0, 0.0 } ;/* Variable: engine_att_rad - * Referenced by: '/Param_engine_att_rad' + * Referenced by: '/Param_engine_att_rad' */ real_T engine_pos_m[3] = { -0.0, 0.0, 0.0 } ;/* Variable: engine_pos_m - * Referenced by: '/Param_engine_pos_m' + * Referenced by: '/Param_engine_pos_m' */ real_T force_CG = 0.0; /* Variable: force_CG - * Referenced by: '/Param_force_CG' + * Referenced by: '/Param_force_CG' */ real_T force_CG_pos_m[3] = { 0.0, 0.0, 0.0 } ;/* Variable: force_CG_pos_m - * Referenced by: '/Param_force_CG_pos_m' + * Referenced by: '/Param_force_CG_pos_m' */ real_T hground = 1325.0; /* Variable: hground @@ -699,6 +693,8 @@ static void SIL_sf_msg_send_cmd(void); static void SIL_update_vert(ENUM_AFCS_VERT in, ENUM_AT in2, ENUM_AFCS_VERT *out, ENUM_AT *out2); static void SIL_parachute(void); +static void SIL_Idle(void); +static void SIL_Idle1(void); static boolean_T SIL_sf_msg_pop_mission_item(void); static void SIL_sf_msg_send_mission_ack(void); static void SIL_sf_msg_send_mission_req_int(void); @@ -766,6 +762,7 @@ static void SIL_sf_msg_discard_mission_req_int_queue(void); static void SIL_sf_msg_discard_command_ack_queue(void); static void SIL_sf_msg_discard_ap_ver_queue(void); static void SIL_sf_msg_discard_serial_echoline(void); +static void SIL_work(void); static void SIL_sf_msg_send_msgs(void); static void rate_scheduler(void); @@ -1105,85 +1102,85 @@ static void rt_ertODEUpdateContinuousStates(RTWSolverInfo *si ) /* * Output and update for action system: - * '/If Not Proper' - * '/If Not Proper' + * '/If Not Proper' + * '/If Not Proper' */ void SIL_IfNotProper(real_T rtp_action) { - /* If: '/If' incorporates: - * Constant: '/Constant' + /* If: '/If' incorporates: + * Constant: '/Constant' */ if (rtp_action == 2.0) { - /* Outputs for IfAction SubSystem: '/Warning' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Warning' incorporates: + * ActionPort: '/Action Port' */ - /* Assertion: '/Assertion' incorporates: - * Constant: '/Constant1' + /* Assertion: '/Assertion' incorporates: + * Constant: '/Constant1' */ utAssert(false); - /* End of Outputs for SubSystem: '/Warning' */ + /* End of Outputs for SubSystem: '/Warning' */ } else { if (rtp_action == 3.0) { - /* Outputs for IfAction SubSystem: '/Error' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Error' incorporates: + * ActionPort: '/Action Port' */ - /* Assertion: '/Assertion' incorporates: - * Constant: '/Constant1' + /* Assertion: '/Assertion' incorporates: + * Constant: '/Constant1' */ utAssert(false); - /* End of Outputs for SubSystem: '/Error' */ + /* End of Outputs for SubSystem: '/Error' */ } } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* * Output and update for action system: - * '/Else If Not Orthogonal' - * '/Else If Not Orthogonal' + * '/Else If Not Orthogonal' + * '/Else If Not Orthogonal' */ void SIL_ElseIfNotOrthogonal(real_T rtp_action) { - /* If: '/If' incorporates: - * Constant: '/Constant' + /* If: '/If' incorporates: + * Constant: '/Constant' */ if (rtp_action == 2.0) { - /* Outputs for IfAction SubSystem: '/Warning' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Warning' incorporates: + * ActionPort: '/Action Port' */ - /* Assertion: '/Assertion' incorporates: - * Constant: '/Constant1' + /* Assertion: '/Assertion' incorporates: + * Constant: '/Constant1' */ utAssert(false); - /* End of Outputs for SubSystem: '/Warning' */ + /* End of Outputs for SubSystem: '/Warning' */ } else { if (rtp_action == 3.0) { - /* Outputs for IfAction SubSystem: '/Error' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Error' incorporates: + * ActionPort: '/Action Port' */ - /* Assertion: '/Assertion' incorporates: - * Constant: '/Constant1' + /* Assertion: '/Assertion' incorporates: + * Constant: '/Constant1' */ utAssert(false); - /* End of Outputs for SubSystem: '/Error' */ + /* End of Outputs for SubSystem: '/Error' */ } } - /* End of If: '/If' */ + /* End of If: '/If' */ } -/* Disable for atomic system: '/Left Main Gear Geometry Forces and Moments' */ +/* Disable for atomic system: '/Left Main Gear Geometry Forces and Moments' */ void SIL_GearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_b [3], real_T *rty_GearCmprs, DW_GearGeometryForcesandMoments_SIL_T *localDW) { - /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ + /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -1191,15 +1188,15 @@ void SIL_GearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_b rty_FM_b[1] = 0.0; rty_FM_b[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } - /* End of Disable for SubSystem: '/GenerateGroundFM' */ + /* End of Disable for SubSystem: '/GenerateGroundFM' */ } -/* Output and update for atomic system: '/Left Main Gear Geometry Forces and Moments' */ +/* Output and update for atomic system: '/Left Main Gear Geometry Forces and Moments' */ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T rtu_plant[9], real_T rtu_plant_b, const real_T rtu_plant_g[3], const real_T rtu_plant_m[3], real_T rtu_plant_k, const real_T rtu_GearLoc[3], real_T @@ -1225,41 +1222,41 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T real_T ve_rel_idx_1; real_T ve_rel_idx_2; - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; } - /* End of Reshape: '/Reshape' */ + /* End of Reshape: '/Reshape' */ - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ VectorConcatenate[0] = Reshape[0]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ VectorConcatenate[1] = Reshape[3]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ VectorConcatenate[2] = Reshape[6]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ VectorConcatenate[3] = Reshape[1]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ VectorConcatenate[4] = Reshape[4]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ VectorConcatenate[5] = Reshape[7]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ VectorConcatenate[6] = Reshape[2]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ VectorConcatenate[7] = Reshape[5]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ VectorConcatenate[8] = Reshape[8]; - /* Product: '/Rotate pos to local axes' */ + /* Product: '/Rotate pos to local axes' */ GearLocalForcevector[0] = rtu_GearLoc[0]; GearLocalForcevector[1] = rtu_GearLoc[1]; GearLocalForcevector[2] = rtu_GearLoc[2]; @@ -1269,25 +1266,25 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T VectorConcatenate[i] * GearLocalForcevector[0]); } - /* End of Product: '/Rotate pos to local axes' */ + /* End of Product: '/Rotate pos to local axes' */ - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ Sum1 = rtu_plant_b - rtu_ground_m; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum = Rotatepostolocalaxes[2] - Sum1; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ *rty_WOW = (Sum >= 0.0); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ + /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = *rty_WOW; - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { @@ -1296,7 +1293,7 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T } } else { if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -1304,21 +1301,21 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T rty_FM_b[1] = 0.0; rty_FM_b[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } } } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (localDW->GenerateGroundFM_MODE) { - /* Product: '/Product1' */ + /* Product: '/Product1' */ for (i = 0; i < 3; i++) { ve_rel_idx_0 = VectorConcatenate[i] * rtu_plant_g[0]; ve_rel_idx_0 += VectorConcatenate[i + 3] * rtu_plant_g[1]; @@ -1326,8 +1323,8 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T GearLocalForcevector[i] = ve_rel_idx_0; } - /* Product: '/Local distance to Body Axes' incorporates: - * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' + /* Product: '/Local distance to Body Axes' incorporates: + * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -1338,17 +1335,17 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T Rotatepostolocalaxes[1] + Reshape[i] * Rotatepostolocalaxes[0]); } - /* End of Product: '/Local distance to Body Axes' */ + /* End of Product: '/Local distance to Body Axes' */ - /* Sum: '/Sum' incorporates: - * Product: '/Product1' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Sum: '/Sum' + /* Sum: '/Sum' incorporates: + * Product: '/Product1' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Sum: '/Sum' */ ve_rel_idx_0 = ((GearLocalForcevector[1] * Sum1 - GearLocalForcevector[2] * Rotatepostolocalaxes[1]) + rtu_plant_m[0]) - rtu_ground_ve @@ -1360,34 +1357,34 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T GearLocalForcevector[1] * Rotatepostolocalaxes[0]) + rtu_plant_m[2]) - rtu_ground_ve[2]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum_l = rtu_plant_k + rtu_steer; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ Sum1 = sin(Sum_l); Sum_l = cos(Sum_l); - /* Sum: '/Sum4' incorporates: - * Gain: '/neg' - * Product: '/prod3' - * Product: '/prod4' + /* Sum: '/Sum4' incorporates: + * Gain: '/neg' + * Product: '/prod3' + * Product: '/prod4' */ VgL = -ve_rel_idx_0 * Sum1 + Sum_l * ve_rel_idx_1; - /* RelationalOperator: '/Above Threshold Velocity2' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' + /* RelationalOperator: '/Above Threshold Velocity2' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = (fabs(VgL) > rtp_k_st * 9.8 / rtp_w); - /* Gain: '/DampingRate_N//m//sec' */ + /* Gain: '/DampingRate_N//m//sec' */ ve_rel_idx_2 *= rtp_kd; - /* Inport: '/GearCmpres' */ + /* Inport: '/GearCmpres' */ *rty_GearCmprs = Sum; - /* Saturate: '/RangeLimit' */ + /* Saturate: '/RangeLimit' */ Sum = *rty_GearCmprs; if (Sum > 0.5) { Sum = 0.5; @@ -1397,32 +1394,32 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T } } - /* End of Saturate: '/RangeLimit' */ + /* End of Saturate: '/RangeLimit' */ - /* Sum: '/Sum2' incorporates: - * Gain: '/SpringRate_N//m' + /* Sum: '/Sum2' incorporates: + * Gain: '/SpringRate_N//m' */ Sum = rtp_kp * Sum + ve_rel_idx_2; - /* Saturate: '/ground only pushes' */ + /* Saturate: '/ground only pushes' */ if (Sum <= 0.0) { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -0.0; } else { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -Sum; } - /* End of Saturate: '/ground only pushes' */ + /* End of Saturate: '/ground only pushes' */ - /* Switch: '/StaticToSlip1' incorporates: - * Gain: '/StaticLatCoefFriction' - * Gain: '/kinaticSlipVelocity' - * Product: '/prod5' - * Product: '/prod6' + /* Switch: '/StaticToSlip1' incorporates: + * Gain: '/StaticLatCoefFriction' + * Gain: '/kinaticSlipVelocity' + * Product: '/prod5' + * Product: '/prod6' */ if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { - /* Signum: '/SignVgL' */ + /* Signum: '/SignVgL' */ if (VgL < 0.0) { VgL = -1.0; } else if (VgL > 0.0) { @@ -1433,32 +1430,32 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T VgL = (rtNaN); } - /* End of Signum: '/SignVgL' */ + /* End of Signum: '/SignVgL' */ VgL = VgL * Sum * rtp_k_st; } else { VgL = rtp_w / 9.8 * (VgL * Sum); } - /* End of Switch: '/StaticToSlip1' */ + /* End of Switch: '/StaticToSlip1' */ - /* Sum: '/Sum3' incorporates: - * Product: '/prod1' - * Product: '/prod2' + /* Sum: '/Sum3' incorporates: + * Product: '/prod1' + * Product: '/prod2' */ ve_rel_idx_0 = ve_rel_idx_0 * Sum_l + ve_rel_idx_1 * Sum1; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' */ rtb_TmpSignalConversionAtLookupTableDynamicInport3[0] = rtp_k_r; rtb_TmpSignalConversionAtLookupTableDynamicInport3[1] = rtp_k_brk; - /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: - * Constant: '/Constant2' + /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: + * Constant: '/Constant2' */ - /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' + /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' * Input0 Data Type: Floating Point real_T * Input1 Data Type: Floating Point real_T * Input2 Data Type: Floating Point real_T @@ -1470,19 +1467,19 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T &rtb_TmpSignalConversionAtLookupTableDynamicInport3[0], rtu_brake_cmd, 0.0, 1U, 1.0); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ localB->Gain = 9.8 / rtp_w * localB->LookupTableDynamic; } - /* Switch: '/StaticToSlip2' incorporates: - * Abs: '/Abs1' - * Constant: '/Constant1' - * Product: '/prod7' - * Product: '/prod8' - * RelationalOperator: '/Above Threshold Velocity1' + /* Switch: '/StaticToSlip2' incorporates: + * Abs: '/Abs1' + * Constant: '/Constant1' + * Product: '/prod7' + * Product: '/prod8' + * RelationalOperator: '/Above Threshold Velocity1' */ if (fabs(ve_rel_idx_0) > localB->Gain) { - /* Signum: '/SignVgL1' */ + /* Signum: '/SignVgL1' */ if (ve_rel_idx_0 < 0.0) { ve_rel_idx_0 = -1.0; } else if (ve_rel_idx_0 > 0.0) { @@ -1493,27 +1490,27 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T ve_rel_idx_0 = (rtNaN); } - /* End of Signum: '/SignVgL1' */ + /* End of Signum: '/SignVgL1' */ ve_rel_idx_0 = ve_rel_idx_0 * localB->LookupTableDynamic * Sum; } else { ve_rel_idx_0 = ve_rel_idx_0 * Sum * (rtp_w / 9.8); } - /* End of Switch: '/StaticToSlip2' */ + /* End of Switch: '/StaticToSlip2' */ - /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: - * Product: '/prod10' - * Product: '/prod11' - * Product: '/prod12' - * Product: '/prod9' - * Sum: '/Sum1' - * Sum: '/Sum5' + /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: + * Product: '/prod10' + * Product: '/prod11' + * Product: '/prod12' + * Product: '/prod9' + * Sum: '/Sum1' + * Sum: '/Sum5' */ GearLocalForcevector[0] = Sum_l * ve_rel_idx_0 - Sum1 * VgL; GearLocalForcevector[1] = Sum_l * VgL + Sum1 * ve_rel_idx_0; - /* Product: '/Local Forces to Body Axes' incorporates: - * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' + /* Product: '/Local Forces to Body Axes' incorporates: + * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -1526,43 +1523,43 @@ void SIL_GearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T rty_FM[i] += Reshape[i + 6] * Sum; } - /* End of Product: '/Local Forces to Body Axes' */ + /* End of Product: '/Local Forces to Body Axes' */ - /* Product: '/i x j' */ + /* Product: '/i x j' */ Sum1 = LocaldistancetoBodyAxes[0] * rty_FM[1]; - /* Product: '/j x k' */ + /* Product: '/j x k' */ ve_rel_idx_0 = LocaldistancetoBodyAxes[1] * rty_FM[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ Sum_l = LocaldistancetoBodyAxes[2] * rty_FM[0]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ ve_rel_idx_1 = LocaldistancetoBodyAxes[0] * rty_FM[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ Sum = LocaldistancetoBodyAxes[1] * rty_FM[0]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ VgL = LocaldistancetoBodyAxes[2] * rty_FM[1]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rty_FM_b[0] = ve_rel_idx_0 - VgL; rty_FM_b[1] = Sum_l - ve_rel_idx_1; rty_FM_b[2] = Sum1 - Sum; } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } -/* Disable for atomic system: '/Nose Gear Geometry Forces and Moments' */ +/* Disable for atomic system: '/Nose Gear Geometry Forces and Moments' */ void SIL_NoseGearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_h[3], real_T *rty_GearCmprs, DW_GearGeometryForcesandMoments_SIL_g_T *localDW) { - /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ + /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -1570,15 +1567,15 @@ void SIL_NoseGearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_h[1] = 0.0; rty_FM_h[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } - /* End of Disable for SubSystem: '/GenerateGroundFM' */ + /* End of Disable for SubSystem: '/GenerateGroundFM' */ } -/* Output and update for atomic system: '/Nose Gear Geometry Forces and Moments' */ +/* Output and update for atomic system: '/Nose Gear Geometry Forces and Moments' */ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T rtu_plant[9], real_T rtu_plant_h, const real_T rtu_plant_o[3], const real_T rtu_plant_b[3], real_T rtu_plant_c, const real_T rtu_GearLoc[3], real_T @@ -1604,41 +1601,41 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T ve_rel_idx_1; real_T ve_rel_idx_2; - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; } - /* End of Reshape: '/Reshape' */ + /* End of Reshape: '/Reshape' */ - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ VectorConcatenate[0] = Reshape[0]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ VectorConcatenate[1] = Reshape[3]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ VectorConcatenate[2] = Reshape[6]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ VectorConcatenate[3] = Reshape[1]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ VectorConcatenate[4] = Reshape[4]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ VectorConcatenate[5] = Reshape[7]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ VectorConcatenate[6] = Reshape[2]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ VectorConcatenate[7] = Reshape[5]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ VectorConcatenate[8] = Reshape[8]; - /* Product: '/Rotate pos to local axes' */ + /* Product: '/Rotate pos to local axes' */ GearLocalForcevector[0] = rtu_GearLoc[0]; GearLocalForcevector[1] = rtu_GearLoc[1]; GearLocalForcevector[2] = rtu_GearLoc[2]; @@ -1648,25 +1645,25 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const VectorConcatenate[i] * GearLocalForcevector[0]); } - /* End of Product: '/Rotate pos to local axes' */ + /* End of Product: '/Rotate pos to local axes' */ - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ Sum1 = rtu_plant_h - rtu_ground_m; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum = Rotatepostolocalaxes[2] - Sum1; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ *rty_WOW = (Sum >= 0.0); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ + /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = *rty_WOW; - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { @@ -1675,7 +1672,7 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const } } else { if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -1683,21 +1680,21 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const rty_FM_h[1] = 0.0; rty_FM_h[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } } } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (localDW->GenerateGroundFM_MODE) { - /* Product: '/Product1' */ + /* Product: '/Product1' */ for (i = 0; i < 3; i++) { ve_rel_idx_0 = VectorConcatenate[i] * rtu_plant_o[0]; ve_rel_idx_0 += VectorConcatenate[i + 3] * rtu_plant_o[1]; @@ -1705,8 +1702,8 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const GearLocalForcevector[i] = ve_rel_idx_0; } - /* Product: '/Local distance to Body Axes' incorporates: - * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' + /* Product: '/Local distance to Body Axes' incorporates: + * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -1717,17 +1714,17 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const Rotatepostolocalaxes[1] + Reshape[i] * Rotatepostolocalaxes[0]); } - /* End of Product: '/Local distance to Body Axes' */ + /* End of Product: '/Local distance to Body Axes' */ - /* Sum: '/Sum' incorporates: - * Product: '/Product1' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Sum: '/Sum' + /* Sum: '/Sum' incorporates: + * Product: '/Product1' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Sum: '/Sum' */ ve_rel_idx_0 = ((GearLocalForcevector[1] * Sum1 - GearLocalForcevector[2] * Rotatepostolocalaxes[1]) + rtu_plant_b[0]) - rtu_ground_ve @@ -1739,34 +1736,34 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const GearLocalForcevector[1] * Rotatepostolocalaxes[0]) + rtu_plant_b[2]) - rtu_ground_ve[2]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum_mh = rtu_plant_c + rtu_steer; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ Sum1 = sin(Sum_mh); Sum_mh = cos(Sum_mh); - /* Sum: '/Sum4' incorporates: - * Gain: '/neg' - * Product: '/prod3' - * Product: '/prod4' + /* Sum: '/Sum4' incorporates: + * Gain: '/neg' + * Product: '/prod3' + * Product: '/prod4' */ VgL = -ve_rel_idx_0 * Sum1 + Sum_mh * ve_rel_idx_1; - /* RelationalOperator: '/Above Threshold Velocity2' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' + /* RelationalOperator: '/Above Threshold Velocity2' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = (fabs(VgL) > rtp_k_st * 9.8 / rtp_w); - /* Gain: '/DampingRate_N//m//sec' */ + /* Gain: '/DampingRate_N//m//sec' */ ve_rel_idx_2 *= rtp_kd; - /* Inport: '/GearCmpres' */ + /* Inport: '/GearCmpres' */ *rty_GearCmprs = Sum; - /* Saturate: '/RangeLimit' */ + /* Saturate: '/RangeLimit' */ Sum = *rty_GearCmprs; if (Sum > 0.5) { Sum = 0.5; @@ -1776,32 +1773,32 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const } } - /* End of Saturate: '/RangeLimit' */ + /* End of Saturate: '/RangeLimit' */ - /* Sum: '/Sum2' incorporates: - * Gain: '/SpringRate_N//m' + /* Sum: '/Sum2' incorporates: + * Gain: '/SpringRate_N//m' */ Sum = rtp_kp * Sum + ve_rel_idx_2; - /* Saturate: '/ground only pushes' */ + /* Saturate: '/ground only pushes' */ if (Sum <= 0.0) { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -0.0; } else { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -Sum; } - /* End of Saturate: '/ground only pushes' */ + /* End of Saturate: '/ground only pushes' */ - /* Switch: '/StaticToSlip1' incorporates: - * Gain: '/StaticLatCoefFriction' - * Gain: '/kinaticSlipVelocity' - * Product: '/prod5' - * Product: '/prod6' + /* Switch: '/StaticToSlip1' incorporates: + * Gain: '/StaticLatCoefFriction' + * Gain: '/kinaticSlipVelocity' + * Product: '/prod5' + * Product: '/prod6' */ if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { - /* Signum: '/SignVgL' */ + /* Signum: '/SignVgL' */ if (VgL < 0.0) { VgL = -1.0; } else if (VgL > 0.0) { @@ -1812,32 +1809,32 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const VgL = (rtNaN); } - /* End of Signum: '/SignVgL' */ + /* End of Signum: '/SignVgL' */ VgL = VgL * Sum * rtp_k_st; } else { VgL = rtp_w / 9.8 * (VgL * Sum); } - /* End of Switch: '/StaticToSlip1' */ + /* End of Switch: '/StaticToSlip1' */ - /* Sum: '/Sum3' incorporates: - * Product: '/prod1' - * Product: '/prod2' + /* Sum: '/Sum3' incorporates: + * Product: '/prod1' + * Product: '/prod2' */ ve_rel_idx_0 = ve_rel_idx_0 * Sum_mh + ve_rel_idx_1 * Sum1; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' */ rtb_TmpSignalConversionAtLookupTableDynamicInport3[0] = rtp_k_r; rtb_TmpSignalConversionAtLookupTableDynamicInport3[1] = rtp_k_brk; - /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: - * Constant: '/Constant2' + /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: + * Constant: '/Constant2' */ - /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' + /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' * Input0 Data Type: Floating Point real_T * Input1 Data Type: Floating Point real_T * Input2 Data Type: Floating Point real_T @@ -1849,19 +1846,19 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const &rtb_TmpSignalConversionAtLookupTableDynamicInport3[0], rtu_brake_cmd, 0.0, 1U, 1.0); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ localB->Gain = 9.8 / rtp_w * localB->LookupTableDynamic; } - /* Switch: '/StaticToSlip2' incorporates: - * Abs: '/Abs1' - * Constant: '/Constant1' - * Product: '/prod7' - * Product: '/prod8' - * RelationalOperator: '/Above Threshold Velocity1' + /* Switch: '/StaticToSlip2' incorporates: + * Abs: '/Abs1' + * Constant: '/Constant1' + * Product: '/prod7' + * Product: '/prod8' + * RelationalOperator: '/Above Threshold Velocity1' */ if (fabs(ve_rel_idx_0) > localB->Gain) { - /* Signum: '/SignVgL1' */ + /* Signum: '/SignVgL1' */ if (ve_rel_idx_0 < 0.0) { ve_rel_idx_0 = -1.0; } else if (ve_rel_idx_0 > 0.0) { @@ -1872,27 +1869,27 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const ve_rel_idx_0 = (rtNaN); } - /* End of Signum: '/SignVgL1' */ + /* End of Signum: '/SignVgL1' */ ve_rel_idx_0 = ve_rel_idx_0 * localB->LookupTableDynamic * Sum; } else { ve_rel_idx_0 = ve_rel_idx_0 * Sum * (rtp_w / 9.8); } - /* End of Switch: '/StaticToSlip2' */ + /* End of Switch: '/StaticToSlip2' */ - /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: - * Product: '/prod10' - * Product: '/prod11' - * Product: '/prod12' - * Product: '/prod9' - * Sum: '/Sum1' - * Sum: '/Sum5' + /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: + * Product: '/prod10' + * Product: '/prod11' + * Product: '/prod12' + * Product: '/prod9' + * Sum: '/Sum1' + * Sum: '/Sum5' */ GearLocalForcevector[0] = Sum_mh * ve_rel_idx_0 - Sum1 * VgL; GearLocalForcevector[1] = Sum_mh * VgL + Sum1 * ve_rel_idx_0; - /* Product: '/Local Forces to Body Axes' incorporates: - * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' + /* Product: '/Local Forces to Body Axes' incorporates: + * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -1905,43 +1902,43 @@ void SIL_NoseGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const rty_FM[i] += Reshape[i + 6] * Sum; } - /* End of Product: '/Local Forces to Body Axes' */ + /* End of Product: '/Local Forces to Body Axes' */ - /* Product: '/i x j' */ + /* Product: '/i x j' */ Sum1 = LocaldistancetoBodyAxes[0] * rty_FM[1]; - /* Product: '/j x k' */ + /* Product: '/j x k' */ ve_rel_idx_0 = LocaldistancetoBodyAxes[1] * rty_FM[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ Sum_mh = LocaldistancetoBodyAxes[2] * rty_FM[0]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ ve_rel_idx_1 = LocaldistancetoBodyAxes[0] * rty_FM[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ Sum = LocaldistancetoBodyAxes[1] * rty_FM[0]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ VgL = LocaldistancetoBodyAxes[2] * rty_FM[1]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rty_FM_h[0] = ve_rel_idx_0 - VgL; rty_FM_h[1] = Sum_mh - ve_rel_idx_1; rty_FM_h[2] = Sum1 - Sum; } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } -/* Disable for atomic system: '/Right Main Gear Geometry Forces and Moments' */ +/* Disable for atomic system: '/Right Main Gear Geometry Forces and Moments' */ void SIL_RightMainGearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_j[3], real_T *rty_GearCmprs, DW_GearGeometryForcesandMoments_SIL_i_T *localDW) { - /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ + /* Disable for Enabled SubSystem: '/GenerateGroundFM' */ if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -1949,15 +1946,15 @@ void SIL_RightMainGearGeometryForcesandMoments_Disable(real_T rty_FM[3], real_T rty_FM_j[1] = 0.0; rty_FM_j[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } - /* End of Disable for SubSystem: '/GenerateGroundFM' */ + /* End of Disable for SubSystem: '/GenerateGroundFM' */ } -/* Output and update for atomic system: '/Right Main Gear Geometry Forces and Moments' */ +/* Output and update for atomic system: '/Right Main Gear Geometry Forces and Moments' */ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, const real_T rtu_plant[9], real_T rtu_plant_j, const real_T rtu_plant_o[3], const real_T rtu_plant_b[3], real_T rtu_plant_l, const real_T rtu_GearLoc[3], @@ -1983,41 +1980,41 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, real_T ve_rel_idx_1; real_T ve_rel_idx_2; - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; } - /* End of Reshape: '/Reshape' */ + /* End of Reshape: '/Reshape' */ - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ VectorConcatenate[0] = Reshape[0]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ VectorConcatenate[1] = Reshape[3]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' */ VectorConcatenate[2] = Reshape[6]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn4' */ VectorConcatenate[3] = Reshape[1]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ VectorConcatenate[4] = Reshape[4]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' */ VectorConcatenate[5] = Reshape[7]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ VectorConcatenate[6] = Reshape[2]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' */ VectorConcatenate[7] = Reshape[5]; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' */ VectorConcatenate[8] = Reshape[8]; - /* Product: '/Rotate pos to local axes' */ + /* Product: '/Rotate pos to local axes' */ GearLocalForcevector[0] = rtu_GearLoc[0]; GearLocalForcevector[1] = rtu_GearLoc[1]; GearLocalForcevector[2] = rtu_GearLoc[2]; @@ -2027,25 +2024,25 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, VectorConcatenate[i] * GearLocalForcevector[0]); } - /* End of Product: '/Rotate pos to local axes' */ + /* End of Product: '/Rotate pos to local axes' */ - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ Sum1 = rtu_plant_j - rtu_ground_m; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum = Rotatepostolocalaxes[2] - Sum1; - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ *rty_WOW = (Sum >= 0.0); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ + /* SignalConversion: '/HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = *rty_WOW; - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { @@ -2054,7 +2051,7 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, } } else { if (localDW->GenerateGroundFM_MODE) { - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ rty_FM[0] = 0.0; rty_FM[1] = 0.0; rty_FM[2] = 0.0; @@ -2062,21 +2059,21 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, rty_FM_j[1] = 0.0; rty_FM_j[2] = 0.0; - /* Disable for Outport: '/GearCmprs' */ + /* Disable for Outport: '/GearCmprs' */ *rty_GearCmprs = 0.0; localDW->GenerateGroundFM_MODE = false; } } } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } - /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/GenerateGroundFM' incorporates: + * EnablePort: '/Enable' */ if (localDW->GenerateGroundFM_MODE) { - /* Product: '/Product1' */ + /* Product: '/Product1' */ for (i = 0; i < 3; i++) { ve_rel_idx_0 = VectorConcatenate[i] * rtu_plant_o[0]; ve_rel_idx_0 += VectorConcatenate[i + 3] * rtu_plant_o[1]; @@ -2084,8 +2081,8 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, GearLocalForcevector[i] = ve_rel_idx_0; } - /* Product: '/Local distance to Body Axes' incorporates: - * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' + /* Product: '/Local distance to Body Axes' incorporates: + * SignalConversion: '/TmpSignal ConversionAtLocal distance to Body AxesInport2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -2096,17 +2093,17 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, Rotatepostolocalaxes[1] + Reshape[i] * Rotatepostolocalaxes[0]); } - /* End of Product: '/Local distance to Body Axes' */ + /* End of Product: '/Local distance to Body Axes' */ - /* Sum: '/Sum' incorporates: - * Product: '/Product1' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Sum: '/Sum' + /* Sum: '/Sum' incorporates: + * Product: '/Product1' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Sum: '/Sum' */ ve_rel_idx_0 = ((GearLocalForcevector[1] * Sum1 - GearLocalForcevector[2] * Rotatepostolocalaxes[1]) + rtu_plant_b[0]) - rtu_ground_ve @@ -2118,34 +2115,34 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, GearLocalForcevector[1] * Rotatepostolocalaxes[0]) + rtu_plant_b[2]) - rtu_ground_ve[2]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ Sum_h = rtu_plant_l + rtu_steer; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ Sum1 = sin(Sum_h); Sum_h = cos(Sum_h); - /* Sum: '/Sum4' incorporates: - * Gain: '/neg' - * Product: '/prod3' - * Product: '/prod4' + /* Sum: '/Sum4' incorporates: + * Gain: '/neg' + * Product: '/prod3' + * Product: '/prod4' */ VgL = -ve_rel_idx_0 * Sum1 + Sum_h * ve_rel_idx_1; - /* RelationalOperator: '/Above Threshold Velocity2' incorporates: - * Abs: '/Abs' - * Constant: '/Constant' + /* RelationalOperator: '/Above Threshold Velocity2' incorporates: + * Abs: '/Abs' + * Constant: '/Constant' */ HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7 = (fabs(VgL) > rtp_k_st * 9.8 / rtp_w); - /* Gain: '/DampingRate_N//m//sec' */ + /* Gain: '/DampingRate_N//m//sec' */ ve_rel_idx_2 *= rtp_kd; - /* Inport: '/GearCmpres' */ + /* Inport: '/GearCmpres' */ *rty_GearCmprs = Sum; - /* Saturate: '/RangeLimit' */ + /* Saturate: '/RangeLimit' */ Sum = *rty_GearCmprs; if (Sum > 0.5) { Sum = 0.5; @@ -2155,32 +2152,32 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, } } - /* End of Saturate: '/RangeLimit' */ + /* End of Saturate: '/RangeLimit' */ - /* Sum: '/Sum2' incorporates: - * Gain: '/SpringRate_N//m' + /* Sum: '/Sum2' incorporates: + * Gain: '/SpringRate_N//m' */ Sum = rtp_kp * Sum + ve_rel_idx_2; - /* Saturate: '/ground only pushes' */ + /* Saturate: '/ground only pushes' */ if (Sum <= 0.0) { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -0.0; } else { - /* Gain: '/reaction' */ + /* Gain: '/reaction' */ Sum = -Sum; } - /* End of Saturate: '/ground only pushes' */ + /* End of Saturate: '/ground only pushes' */ - /* Switch: '/StaticToSlip1' incorporates: - * Gain: '/StaticLatCoefFriction' - * Gain: '/kinaticSlipVelocity' - * Product: '/prod5' - * Product: '/prod6' + /* Switch: '/StaticToSlip1' incorporates: + * Gain: '/StaticLatCoefFriction' + * Gain: '/kinaticSlipVelocity' + * Product: '/prod5' + * Product: '/prod6' */ if (HiddenBuf_InsertedFor_GenerateGroundFM_at_inport_7) { - /* Signum: '/SignVgL' */ + /* Signum: '/SignVgL' */ if (VgL < 0.0) { VgL = -1.0; } else if (VgL > 0.0) { @@ -2191,32 +2188,32 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, VgL = (rtNaN); } - /* End of Signum: '/SignVgL' */ + /* End of Signum: '/SignVgL' */ VgL = VgL * Sum * rtp_k_st; } else { VgL = rtp_w / 9.8 * (VgL * Sum); } - /* End of Switch: '/StaticToSlip1' */ + /* End of Switch: '/StaticToSlip1' */ - /* Sum: '/Sum3' incorporates: - * Product: '/prod1' - * Product: '/prod2' + /* Sum: '/Sum3' incorporates: + * Product: '/prod1' + * Product: '/prod2' */ ve_rel_idx_0 = ve_rel_idx_0 * Sum_h + ve_rel_idx_1 * Sum1; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' + /* SignalConversion: '/TmpSignal ConversionAtLookup Table DynamicInport3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' */ rtb_TmpSignalConversionAtLookupTableDynamicInport3[0] = rtp_k_r; rtb_TmpSignalConversionAtLookupTableDynamicInport3[1] = rtp_k_brk; - /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: - * Constant: '/Constant2' + /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: + * Constant: '/Constant2' */ - /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' + /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' * Input0 Data Type: Floating Point real_T * Input1 Data Type: Floating Point real_T * Input2 Data Type: Floating Point real_T @@ -2228,19 +2225,19 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, &rtb_TmpSignalConversionAtLookupTableDynamicInport3[0], rtu_brake_cmd, 0.0, 1U, 1.0); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ localB->Gain = 9.8 / rtp_w * localB->LookupTableDynamic; } - /* Switch: '/StaticToSlip2' incorporates: - * Abs: '/Abs1' - * Constant: '/Constant1' - * Product: '/prod7' - * Product: '/prod8' - * RelationalOperator: '/Above Threshold Velocity1' + /* Switch: '/StaticToSlip2' incorporates: + * Abs: '/Abs1' + * Constant: '/Constant1' + * Product: '/prod7' + * Product: '/prod8' + * RelationalOperator: '/Above Threshold Velocity1' */ if (fabs(ve_rel_idx_0) > localB->Gain) { - /* Signum: '/SignVgL1' */ + /* Signum: '/SignVgL1' */ if (ve_rel_idx_0 < 0.0) { ve_rel_idx_0 = -1.0; } else if (ve_rel_idx_0 > 0.0) { @@ -2251,27 +2248,27 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, ve_rel_idx_0 = (rtNaN); } - /* End of Signum: '/SignVgL1' */ + /* End of Signum: '/SignVgL1' */ ve_rel_idx_0 = ve_rel_idx_0 * localB->LookupTableDynamic * Sum; } else { ve_rel_idx_0 = ve_rel_idx_0 * Sum * (rtp_w / 9.8); } - /* End of Switch: '/StaticToSlip2' */ + /* End of Switch: '/StaticToSlip2' */ - /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: - * Product: '/prod10' - * Product: '/prod11' - * Product: '/prod12' - * Product: '/prod9' - * Sum: '/Sum1' - * Sum: '/Sum5' + /* SignalConversion: '/ConcatBufferAtGear Local Force vectorIn1' incorporates: + * Product: '/prod10' + * Product: '/prod11' + * Product: '/prod12' + * Product: '/prod9' + * Sum: '/Sum1' + * Sum: '/Sum5' */ GearLocalForcevector[0] = Sum_h * ve_rel_idx_0 - Sum1 * VgL; GearLocalForcevector[1] = Sum_h * VgL + Sum1 * ve_rel_idx_0; - /* Product: '/Local Forces to Body Axes' incorporates: - * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' + /* Product: '/Local Forces to Body Axes' incorporates: + * SignalConversion: '/ConcatBufferAtGear Local Force vectorIn2' */ for (i = 0; i < 9; i++) { Reshape[i] = rtu_plant[i]; @@ -2284,59 +2281,59 @@ void SIL_RightMainGearGeometryForcesandMoments(RT_MODEL_SIL_T * const SIL_M, rty_FM[i] += Reshape[i + 6] * Sum; } - /* End of Product: '/Local Forces to Body Axes' */ + /* End of Product: '/Local Forces to Body Axes' */ - /* Product: '/i x j' */ + /* Product: '/i x j' */ Sum1 = LocaldistancetoBodyAxes[0] * rty_FM[1]; - /* Product: '/j x k' */ + /* Product: '/j x k' */ ve_rel_idx_0 = LocaldistancetoBodyAxes[1] * rty_FM[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ Sum_h = LocaldistancetoBodyAxes[2] * rty_FM[0]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ ve_rel_idx_1 = LocaldistancetoBodyAxes[0] * rty_FM[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ Sum = LocaldistancetoBodyAxes[1] * rty_FM[0]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ VgL = LocaldistancetoBodyAxes[2] * rty_FM[1]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rty_FM_j[0] = ve_rel_idx_0 - VgL; rty_FM_j[1] = Sum_h - ve_rel_idx_1; rty_FM_j[2] = Sum1 - Sum; } - /* End of Outputs for SubSystem: '/GenerateGroundFM' */ + /* End of Outputs for SubSystem: '/GenerateGroundFM' */ } /* * Output and update for function-call system: - * '/Function-Call Subsystem' - * '/Function-Call Subsystem' + * '/Function-Call Subsystem' + * '/Function-Call Subsystem' */ void SIL_FunctionCallSubsystem(const uint8_T rtu_data[96], uint16_T rtu_msg_len, uint16_T *rty_crc16) { - /* CCaller: '/get_sbg_crc' */ + /* CCaller: '/get_sbg_crc' */ get_sbg_crc16(rtu_data, rty_crc16, rtu_msg_len); } /* * Output and update for action system: - * '/sbg_ecom_log_imu_data_frame' - * '/sbg_ecom_log_imu_data_frame' + * '/sbg_ecom_log_imu_data_frame' + * '/sbg_ecom_log_imu_data_frame' */ void SIL_sbg_ecom_log_imu_data_frame(const uint8_T rtu_data[96], uint32_T *rty_imu, uint16_T *rty_imu_o, real32_T rty_imu_n[3], real32_T rty_imu_p[3], real32_T *rty_imu_c, real32_T rty_imu_oc[3], real32_T rty_imu_a[3]) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_imu, &rtu_data[0], 4); (void) memcpy(rty_imu_o, &rtu_data[4], @@ -2355,16 +2352,16 @@ void SIL_sbg_ecom_log_imu_data_frame(const uint8_T rtu_data[96], uint32_T /* * Output and update for action system: - * '/sbg_ecom_log_euler_data_frame' - * '/sbg_ecom_log_euler_data_frame' + * '/sbg_ecom_log_euler_data_frame' + * '/sbg_ecom_log_euler_data_frame' */ void SIL_sbg_ecom_log_euler_data_frame(const uint8_T rtu_data[96], uint32_T *rty_euler, real32_T rty_euler_g[3], real32_T rty_euler_c[3], uint32_T *rty_solution_status, B_sbg_ecom_log_euler_data_frame_SIL_T *localB) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_euler, &rtu_data[0], 4); (void) memcpy(&rty_euler_g[0], &rtu_data[4], @@ -2374,23 +2371,23 @@ void SIL_sbg_ecom_log_euler_data_frame(const uint8_T rtu_data[96], uint32_T (void) memcpy(&localB->ByteUnpack_o4, &rtu_data[28], 4); - /* SignalConversion: '/Signal Conversion' */ + /* SignalConversion: '/Signal Conversion' */ *rty_solution_status = localB->ByteUnpack_o4; } /* * Output and update for action system: - * '/sbg_ecom_log_nav_data_frame' - * '/sbg_ecom_log_nav_data_frame' + * '/sbg_ecom_log_nav_data_frame' + * '/sbg_ecom_log_nav_data_frame' */ void SIL_sbg_ecom_log_nav_data_frame(const uint8_T rtu_data[96], uint32_T *rty_nav, real32_T rty_nav_d[3], real32_T rty_nav_l[3], real_T rty_nav_a[3], real32_T *rty_nav_b, real32_T rty_nav_i[3], uint32_T *rty_solution_status, B_sbg_ecom_log_nav_data_frame_SIL_T *localB) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_nav, &rtu_data[0], 4); (void) memcpy(&rty_nav_d[0], &rtu_data[4], @@ -2406,23 +2403,23 @@ void SIL_sbg_ecom_log_nav_data_frame(const uint8_T rtu_data[96], uint32_T (void) memcpy(&localB->ByteUnpack_o7, &rtu_data[68], 4); - /* SignalConversion: '/Signal Conversion' */ + /* SignalConversion: '/Signal Conversion' */ *rty_solution_status = localB->ByteUnpack_o7; } /* * Output and update for action system: - * '/sbg_ecom_log_gps_vel_data_frame' - * '/sbg_ecom_log_gps_vel_data_frame' + * '/sbg_ecom_log_gps_vel_data_frame' + * '/sbg_ecom_log_gps_vel_data_frame' */ void SIL_sbg_ecom_log_gps_vel_data_frame(const uint8_T rtu_data[96], uint32_T *rty_gps_vel, uint32_T *rty_gps_vel_h, uint32_T *rty_gps_vel_n, real32_T rty_gps_vel_p[3], real32_T rty_gps_vel_i[3], real32_T *rty_gps_vel_a, real32_T *rty_gps_vel_o) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_gps_vel, &rtu_data[0], 4); (void) memcpy(rty_gps_vel_h, &rtu_data[4], @@ -2441,17 +2438,17 @@ void SIL_sbg_ecom_log_gps_vel_data_frame(const uint8_T rtu_data[96], uint32_T /* * Output and update for action system: - * '/sbg_ecom_log_gps_pos_data_frame' - * '/sbg_ecom_log_gps_pos_data_frame' + * '/sbg_ecom_log_gps_pos_data_frame' + * '/sbg_ecom_log_gps_pos_data_frame' */ void SIL_sbg_ecom_log_gps_pos_data_frame(const uint8_T rtu_data[96], uint32_T *rty_gps_pos, uint32_T *rty_gps_pos_l, uint32_T *rty_gps_pos_m, real_T rty_gps_pos_lu[3], real32_T *rty_gps_pos_e, real32_T rty_gps_pos_k[3], uint8_T *rty_gps_pos_j, uint16_T *rty_gps_pos_f, uint16_T *rty_gps_pos_ll) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_gps_pos, &rtu_data[0], 4); (void) memcpy(rty_gps_pos_l, &rtu_data[4], @@ -2474,17 +2471,17 @@ void SIL_sbg_ecom_log_gps_pos_data_frame(const uint8_T rtu_data[96], uint32_T /* * Output and update for action system: - * '/sbg_ecom_log_gps_hdt_data_frame' - * '/sbg_ecom_log_gps_hdt_data_frame' + * '/sbg_ecom_log_gps_hdt_data_frame' + * '/sbg_ecom_log_gps_hdt_data_frame' */ void SIL_sbg_ecom_log_gps_hdt_data_frame(const uint8_T rtu_data[96], uint32_T *rty_gps_hdt, uint16_T *rty_gps_hdt_h, uint32_T *rty_gps_hdt_k, real32_T *rty_gps_hdt_i, real32_T *rty_gps_hdt_a, real32_T *rty_gps_hdt_e, real32_T *rty_gps_hdt_p) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_gps_hdt, &rtu_data[0], 4); (void) memcpy(rty_gps_hdt_h, &rtu_data[4], @@ -2503,8 +2500,8 @@ void SIL_sbg_ecom_log_gps_hdt_data_frame(const uint8_T rtu_data[96], uint32_T /* * Output and update for action system: - * '/sbg_ecom_log_gps_utc_tim_data_frame' - * '/sbg_ecom_log_gps_utc_tim_data_frame' + * '/sbg_ecom_log_gps_utc_tim_data_frame' + * '/sbg_ecom_log_gps_utc_tim_data_frame' */ void SIL_sbg_ecom_log_gps_utc_tim_data_frame(const uint8_T rtu_data[96], uint32_T *rty_gps_utc_time, uint16_T *rty_gps_utc_time_f, uint16_T @@ -2513,9 +2510,9 @@ void SIL_sbg_ecom_log_gps_utc_tim_data_frame(const uint8_T rtu_data[96], *rty_gps_utc_time_m, uint32_T *rty_gps_utc_time_au, uint32_T *rty_gps_utc_time_pn) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_gps_utc_time, &rtu_data[0], 4); (void) memcpy(rty_gps_utc_time_f, &rtu_data[4], @@ -2540,16 +2537,16 @@ void SIL_sbg_ecom_log_gps_utc_tim_data_frame(const uint8_T rtu_data[96], /* * Output and update for action system: - * '/sbg_ecom_log_baro_alt_data_frame' - * '/sbg_ecom_log_baro_alt_data_frame' + * '/sbg_ecom_log_baro_alt_data_frame' + * '/sbg_ecom_log_baro_alt_data_frame' */ void SIL_sbg_ecom_log_baro_alt_data_frame(const uint8_T rtu_data[96], uint32_T *rty_baro_alt, uint16_T *rty_baro_alt_a, real32_T *rty_baro_alt_d, real32_T *rty_baro_alt_k) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_baro_alt, &rtu_data[0], 4); (void) memcpy(rty_baro_alt_a, &rtu_data[4], @@ -2562,8 +2559,8 @@ void SIL_sbg_ecom_log_baro_alt_data_frame(const uint8_T rtu_data[96], uint32_T /* * System initialize for atomic system: - * '/tick' - * '/tick' + * '/tick' + * '/tick' */ void SIL_tick_Init(DW_tick_SIL_T *localDW) { @@ -2574,12 +2571,12 @@ void SIL_tick_Init(DW_tick_SIL_T *localDW) /* * Output and update for atomic system: - * '/tick' - * '/tick' + * '/tick' + * '/tick' */ void SIL_tick(real_T rtu_dt, boolean_T *rty_enabled, DW_tick_SIL_T *localDW) { - /* Chart: '/tick' */ + /* Chart: '/tick' */ if (localDW->temporalCounter_i1 < MAX_uint32_T) { localDW->temporalCounter_i1++; } @@ -2614,13 +2611,13 @@ void SIL_tick(real_T rtu_dt, boolean_T *rty_enabled, DW_tick_SIL_T *localDW) } } - /* End of Chart: '/tick' */ + /* End of Chart: '/tick' */ } /* * System initialize for atomic system: - * '/tick' - * '/tick' + * '/tick' + * '/tick' */ void SIL_tick_b_Init(DW_tick_SIL_f_T *localDW) { @@ -2631,12 +2628,12 @@ void SIL_tick_b_Init(DW_tick_SIL_f_T *localDW) /* * Output and update for atomic system: - * '/tick' - * '/tick' + * '/tick' + * '/tick' */ void SIL_tick_m(real_T rtu_dt, boolean_T *rty_enabled, DW_tick_SIL_f_T *localDW) { - /* Chart: '/tick' */ + /* Chart: '/tick' */ if (localDW->temporalCounter_i1 < MAX_uint32_T) { localDW->temporalCounter_i1++; } @@ -2658,64 +2655,64 @@ void SIL_tick_m(real_T rtu_dt, boolean_T *rty_enabled, DW_tick_SIL_f_T *localDW) } } - /* End of Chart: '/tick' */ + /* End of Chart: '/tick' */ } /* * Output and update for action system: - * '/Subsystem1' - * '/Subsystem1' + * '/Subsystem1' + * '/Subsystem1' */ void SIL_Subsystem1(const C2 *rtu_C2_in, C2 *rty_C2_out, uint8_T *rty_ack) { - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ *rty_ack = 1U; - /* Inport: '/C2_in' */ + /* Inport: '/C2_in' */ *rty_C2_out = *rtu_C2_in; } /* * Output and update for action system: - * '/Subsystem1' - * '/Subsystem1' + * '/Subsystem1' + * '/Subsystem1' */ void SIL_Subsystem1_e(const C2 *rtu_In1, uint16_T rtu_wp, C2 *rty_Out1) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ *rty_Out1 = *rtu_In1; rty_Out1->WP_cur = rtu_wp; } /* * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' */ void SIL_IfActionSubsystem1(const C2 *rtu_In1, C2 *rty_Out1, uint8_T *rty_ack) { - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ *rty_ack = 1U; - /* Inport: '/In1' */ + /* Inport: '/In1' */ *rty_Out1 = *rtu_In1; } /* * Output and update for atomic system: - * '/auto_sw' - * '/aux_sw' - * '/auto_sw' - * '/aux_sw' + * '/auto_sw' + * '/aux_sw' + * '/auto_sw' + * '/aux_sw' */ void SIL_auto_sw(uint16_T rtu_in, uint8_T *rty_out) { - /* Chart: '/auto_sw' */ + /* Chart: '/auto_sw' */ if (rtu_in < 1250) { *rty_out = 0U; } else if (rtu_in < 1750) { @@ -2724,26 +2721,26 @@ void SIL_auto_sw(uint16_T rtu_in, uint8_T *rty_out) *rty_out = 2U; } - /* End of Chart: '/auto_sw' */ + /* End of Chart: '/auto_sw' */ } /* * Output and update for atomic system: - * '/brake_sw' - * '/gear_sw' - * '/brake_sw' - * '/gear_sw' + * '/brake_sw' + * '/gear_sw' + * '/brake_sw' + * '/gear_sw' */ void SIL_brake_sw(uint16_T rtu_in, boolean_T *rty_out) { - /* Chart: '/brake_sw' */ + /* Chart: '/brake_sw' */ *rty_out = (rtu_in >= 1500); } /* * Output and update for action system: - * '/valid' - * '/valid' + * '/valid' + * '/valid' */ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels [18], C2 *rty_C2_out) @@ -2759,106 +2756,106 @@ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels real32_T u0_1; real32_T u0_2; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_bp = (int16_T)((int16_T)rtu_channels[0] - 1500); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ u0 = 0.0025F * (real32_T)rtb_Sum_bp; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_bp = (int16_T)((int16_T)rtu_channels[1] - 1500); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ u0_0 = 0.0025F * (real32_T)rtb_Sum_bp; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_bp = (int16_T)((int16_T)rtu_channels[2] - 1100); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ u0_1 = 0.00125F * (real32_T)rtb_Sum_bp; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_bp = (int16_T)((int16_T)rtu_channels[3] - 1500); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ u0_2 = 0.0025F * (real32_T)rtb_Sum_bp; - /* Chart: '/auto_sw' */ + /* Chart: '/auto_sw' */ SIL_auto_sw(rtu_channels[4], &rtb_out_k4); - /* Chart: '/aux_sw' */ + /* Chart: '/aux_sw' */ SIL_auto_sw(rtu_channels[5], &rtb_out_ns); - /* Chart: '/gear_sw' */ + /* Chart: '/gear_sw' */ SIL_brake_sw(rtu_channels[6], &rtb_out_al); - /* Chart: '/brake_sw' */ + /* Chart: '/brake_sw' */ SIL_brake_sw(rtu_channels[7], &rtb_out_iq); - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ *rty_C2_out = *rtu_C2_in; rty_C2_out->rc.id = rtu_id; rty_C2_out->rc.connected = true; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (u0 > 1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.roll_cmd = 1.0F; } else if (u0 < -1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.roll_cmd = -1.0F; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.roll_cmd = u0; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (u0_0 > 1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.pitch_cmd = 1.0F; } else if (u0_0 < -1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.pitch_cmd = -1.0F; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.pitch_cmd = u0_0; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (u0_1 > 1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.throttle_cmd = 1.0F; } else if (u0_1 < -0.25F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.throttle_cmd = -0.25F; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.throttle_cmd = u0_1; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (u0_2 > 1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.yaw_cmd = 1.0F; } else if (u0_2 < -1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.yaw_cmd = -1.0F; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.yaw_cmd = u0_2; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rty_C2_out->rc.auto_mode = rtb_out_k4; rty_C2_out->rc.aux_mode = rtb_out_ns; rty_C2_out->rc.gear_up = rtb_out_al; @@ -2870,8 +2867,8 @@ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels /* * Output and update for action system: - * '/manual' - * '/semi auto' + * '/manual' + * '/semi auto' */ void SIL_manual(const C2 *rtu_C2_in_Inport_1, C2 *rty_C2_out) { @@ -2879,27 +2876,27 @@ void SIL_manual(const C2 *rtu_C2_in_Inport_1, C2 *rty_C2_out) real32_T rtb_gain1_p; real32_T rtb_gain2_g; - /* Gain: '/gain' */ + /* Gain: '/gain' */ rtb_gain_cf = -SIL_P.max_de * rtu_C2_in_Inport_1->rc.pitch_cmd; - /* Gain: '/gain1' */ + /* Gain: '/gain1' */ rtb_gain1_p = -SIL_P.max_da * rtu_C2_in_Inport_1->rc.roll_cmd; - /* Gain: '/gain2' */ + /* Gain: '/gain2' */ rtb_gain2_g = -SIL_P.max_dr * rtu_C2_in_Inport_1->rc.yaw_cmd; - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant2' */ *rty_C2_out = *rtu_C2_in_Inport_1; rty_C2_out->mode = ENUM_mode_MANUAL; @@ -2919,14 +2916,14 @@ void SIL_manual(const C2 *rtu_C2_in_Inport_1, C2 *rty_C2_out) rty_C2_out->throttle_c = rtu_C2_in_Inport_1->rc.throttle_cmd; } -/* Output and update for function-call system: '/get_WP' */ +/* Output and update for function-call system: '/get_WP' */ void 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) { uint8_T rtb_autocont; int32_T i; - /* MATLAB Function: '/mav' */ + /* MATLAB Function: '/mav' */ *rty_is_mission = false; *rty_command = (uint16_T)MAV_MAV_CMD_NAV_WAYPOINT; for (i = 0; i < 7; i++) { @@ -2953,91 +2950,91 @@ void SIL_get_WP(uint16_T rtu_cur_np, boolean_T *rty_is_mission, uint16_T rtb_autocont = dummyMission[rtu_cur_np - 1].autocont; } - /* End of MATLAB Function: '/mav' */ + /* End of MATLAB Function: '/mav' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ *rty_autocont = (rtb_autocont != 0); } /* * Output and update for action system: - * '/wp' - * '/landing' + * '/wp' + * '/landing' */ void SIL_wp(const C2 *rtu_C2_in, boolean_T *rty_valid) { - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ *rty_valid = (rtu_C2_in->landed_state == ENUM_LANDED_STATE_IN_AIR); } -/* System initialize for function-call system: '/valid_test' */ +/* System initialize for function-call system: '/valid_test' */ void SIL_valid_test_Init(boolean_T *rty_valid) { - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ *rty_valid = false; } -/* Output and update for function-call system: '/valid_test' */ +/* Output and update for function-call system: '/valid_test' */ void SIL_valid_test(const C2 *rtu_C2_in, uint16_T rtu_command, boolean_T *rty_valid) { - /* SwitchCase: '/Switch Case' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* SwitchCase: '/Switch Case' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ switch ((int32_T)rtu_command) { case ENUM_mission_level4_TAKEOFF: - /* Outputs for IfAction SubSystem: '/takeoff' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/takeoff' incorporates: + * ActionPort: '/Action Port' */ - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ *rty_valid = (rtu_C2_in->landed_state == ENUM_LANDED_STATE_ON_GROUND); - /* End of Outputs for SubSystem: '/takeoff' */ + /* End of Outputs for SubSystem: '/takeoff' */ break; case ENUM_mission_level4_WAYPOINT: - /* Outputs for IfAction SubSystem: '/wp' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/wp' incorporates: + * ActionPort: '/Action Port' */ SIL_wp(rtu_C2_in, rty_valid); - /* End of Outputs for SubSystem: '/wp' */ + /* End of Outputs for SubSystem: '/wp' */ break; case ENUM_mission_level4_LANDING: - /* Outputs for IfAction SubSystem: '/landing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/landing' incorporates: + * ActionPort: '/Action Port' */ SIL_wp(rtu_C2_in, rty_valid); - /* End of Outputs for SubSystem: '/landing' */ + /* End of Outputs for SubSystem: '/landing' */ break; default: - /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Switch Case Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_valid_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_valid_at_inport_0' incorporates: + * Constant: '/Constant' */ *rty_valid = false; - /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ + /* End of Outputs for SubSystem: '/Switch Case Action Subsystem1' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ } /* * System initialize for atomic system: - * '/psi_err' - * '/psi_err1' - * '/psi_err2' + * '/psi_err' + * '/psi_err1' + * '/psi_err2' */ void SIL_psi_err_Init(real32_T *rty_out) { @@ -3046,9 +3043,9 @@ void SIL_psi_err_Init(real32_T *rty_out) /* * System reset for atomic system: - * '/psi_err' - * '/psi_err1' - * '/psi_err2' + * '/psi_err' + * '/psi_err1' + * '/psi_err2' */ void SIL_psi_err_Reset(real32_T *rty_out) { @@ -3057,13 +3054,13 @@ void SIL_psi_err_Reset(real32_T *rty_out) /* * Output and update for atomic system: - * '/psi_err' - * '/psi_err1' - * '/psi_err2' + * '/psi_err' + * '/psi_err1' + * '/psi_err2' */ void SIL_psi_err(real32_T rtu_in, real32_T *rty_out) { - /* Chart: '/psi_err' */ + /* Chart: '/psi_err' */ if (rtu_in < -3.14159274F) { *rty_out = rtu_in + 6.28318548F; } else if (rtu_in > SIL_pi) { @@ -3072,91 +3069,91 @@ void SIL_psi_err(real32_T rtu_in, real32_T *rty_out) *rty_out = rtu_in; } - /* End of Chart: '/psi_err' */ + /* End of Chart: '/psi_err' */ } /* * Output and update for action system: - * '/H' - * '/AGL' + * '/H' + * '/AGL' */ void SIL_H(real32_T rtu_h_c, real32_T rtu_asl, real32_T *rty_dH, real32_T *rty_hdot_des) { - /* SignalConversion: '/OutportBuffer_InsertedFor_hdot_des_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_hdot_des_at_inport_0' incorporates: + * Constant: '/Constant' */ *rty_hdot_des = 0.0F; - /* Sum: '/subtract' */ + /* Sum: '/subtract' */ *rty_dH = rtu_h_c - rtu_asl; } /* * Output and update for action system: - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' - * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' + * '/If Action Subsystem1' */ void SIL_IfActionSubsystem1_f(real32_T rtu_y_in, real32_T rtu_f, real32_T *rty_y_out) { real32_T rtb_Saturation_l; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' */ rtb_Saturation_l = 1.0F - rtu_f; - /* Saturate: '/Saturation' incorporates: - * Constant: '/Constant' - * Sum: '/Sum' + /* Saturate: '/Saturation' incorporates: + * Constant: '/Constant' + * Sum: '/Sum' */ if (1.0F - rtu_f <= 0.0F) { rtb_Saturation_l = 0.0F; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Product: '/Product' */ + /* Product: '/Product' */ *rty_y_out = rtu_y_in * rtb_Saturation_l; } /* * System initialize for atomic system: - * '/theta1' - * '/theta1' - * '/theta1' + * '/theta1' + * '/theta1' + * '/theta1' */ void SIL_theta1_Init(DW_theta1_SIL_T *localDW) { - /* InitializeConditions for Delay: '/delay' */ + /* InitializeConditions for Delay: '/delay' */ localDW->icLoad = 1U; } /* * System reset for atomic system: - * '/theta1' - * '/theta1' - * '/theta1' + * '/theta1' + * '/theta1' + * '/theta1' */ void SIL_theta1_Reset(DW_theta1_SIL_T *localDW) { - /* InitializeConditions for Delay: '/delay' */ + /* InitializeConditions for Delay: '/delay' */ localDW->icLoad = 1U; } /* * Output and update for atomic system: - * '/theta1' - * '/theta1' - * '/theta1' + * '/theta1' + * '/theta1' + * '/theta1' */ real32_T SIL_theta1(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, DW_theta1_SIL_T *localDW, real32_T rtp_Ts) @@ -3165,77 +3162,77 @@ real32_T SIL_theta1(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, real32_T rtb_Merge_pk; real32_T rtb_Divide_hz; - /* Delay: '/delay' */ + /* Delay: '/delay' */ if (localDW->icLoad != 0) { localDW->delay_DSTATE = rtu_tht0; } - /* Math: '/Math Function1' */ + /* Math: '/Math Function1' */ rtb_Merge_pk = rtu_max_tht * rtu_max_tht; - /* Product: '/Divide' incorporates: - * Constant: '/eps_tht' - * Constant: '/one' - * Delay: '/delay' - * Math: '/Math Function' - * Product: '/Divide1' - * Product: '/Product' - * Sum: '/Sum' - * Sum: '/Sum1' + /* Product: '/Divide' incorporates: + * Constant: '/eps_tht' + * Constant: '/one' + * Delay: '/delay' + * Math: '/Math Function' + * Product: '/Divide1' + * Product: '/Product' + * Sum: '/Sum' + * Sum: '/Sum1' */ rtb_Divide_hz = (localDW->delay_DSTATE * localDW->delay_DSTATE * 2.0F - rtb_Merge_pk) / rtb_Merge_pk; - /* If: '/If' incorporates: - * Delay: '/delay' - * Inport: '/y_in' - * Product: '/Product' + /* If: '/If' incorporates: + * Delay: '/delay' + * Inport: '/y_in' + * Product: '/Product' */ if ((rtb_Divide_hz < 0.0F) || ((rtb_Divide_hz > 0.0F) && (localDW->delay_DSTATE * rtu_y < 0.0F))) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_pk = rtu_y; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_IfActionSubsystem1_f(rtu_y, rtb_Divide_hz, &rtb_Merge_pk); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Sum: '/Sum' incorporates: - * Delay: '/delay' - * Gain: '/dt2' + /* Sum: '/Sum' incorporates: + * Delay: '/delay' + * Gain: '/dt2' */ rty_theta_hat_0 = rtp_Ts * rtb_Merge_pk + localDW->delay_DSTATE; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rty_theta_hat_0 > rtu_max_tht) { rty_theta_hat_0 = rtu_max_tht; } else { if (rty_theta_hat_0 < 0.3F) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' */ rty_theta_hat_0 = 0.3F; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for Delay: '/delay' */ + /* Update for Delay: '/delay' */ localDW->icLoad = 0U; localDW->delay_DSTATE = rty_theta_hat_0; return rty_theta_hat_0; @@ -3243,42 +3240,42 @@ real32_T SIL_theta1(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, /* * System initialize for atomic system: - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' */ void SIL_theta2_Init(DW_theta2_SIL_T *localDW) { - /* InitializeConditions for Delay: '/delay' */ + /* InitializeConditions for Delay: '/delay' */ localDW->icLoad = 1U; } /* * System reset for atomic system: - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' */ void SIL_theta2_Reset(DW_theta2_SIL_T *localDW) { - /* InitializeConditions for Delay: '/delay' */ + /* InitializeConditions for Delay: '/delay' */ localDW->icLoad = 1U; } /* * Output and update for atomic system: - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' - * '/theta2' - * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' + * '/theta2' + * '/theta3' */ real32_T SIL_theta2(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, DW_theta2_SIL_T *localDW, real32_T rtp_Ts) @@ -3287,77 +3284,77 @@ real32_T SIL_theta2(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, real32_T rtb_Merge_nk; real32_T rtb_Divide_o; - /* Delay: '/delay' */ + /* Delay: '/delay' */ if (localDW->icLoad != 0) { localDW->delay_DSTATE = rtu_tht0; } - /* Math: '/Math Function1' */ + /* Math: '/Math Function1' */ rtb_Merge_nk = rtu_max_tht * rtu_max_tht; - /* Product: '/Divide' incorporates: - * Constant: '/eps_tht' - * Constant: '/one' - * Delay: '/delay' - * Math: '/Math Function' - * Product: '/Divide1' - * Product: '/Product' - * Sum: '/Sum' - * Sum: '/Sum1' + /* Product: '/Divide' incorporates: + * Constant: '/eps_tht' + * Constant: '/one' + * Delay: '/delay' + * Math: '/Math Function' + * Product: '/Divide1' + * Product: '/Product' + * Sum: '/Sum' + * Sum: '/Sum1' */ rtb_Divide_o = (localDW->delay_DSTATE * localDW->delay_DSTATE * 2.0F - rtb_Merge_nk) / rtb_Merge_nk; - /* If: '/If' incorporates: - * Delay: '/delay' - * Inport: '/y_in' - * Product: '/Product' + /* If: '/If' incorporates: + * Delay: '/delay' + * Inport: '/y_in' + * Product: '/Product' */ if ((rtb_Divide_o < 0.0F) || ((rtb_Divide_o > 0.0F) && (localDW->delay_DSTATE * rtu_y < 0.0F))) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_nk = rtu_y; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_IfActionSubsystem1_f(rtu_y, rtb_Divide_o, &rtb_Merge_nk); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Sum: '/Sum' incorporates: - * Delay: '/delay' - * Gain: '/dt2' + /* Sum: '/Sum' incorporates: + * Delay: '/delay' + * Gain: '/dt2' */ rty_theta_hat_0 = rtp_Ts * rtb_Merge_nk + localDW->delay_DSTATE; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rty_theta_hat_0 > rtu_max_tht) { rty_theta_hat_0 = rtu_max_tht; } else { if (rty_theta_hat_0 < -rtu_max_tht) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rty_theta_hat_0 = -rtu_max_tht; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for Delay: '/delay' */ + /* Update for Delay: '/delay' */ localDW->icLoad = 0U; localDW->delay_DSTATE = rty_theta_hat_0; return rty_theta_hat_0; @@ -3365,12 +3362,12 @@ real32_T SIL_theta2(real32_T rtu_y, real32_T rtu_max_tht, real32_T rtu_tht0, /* * Output and update for function-call system: - * '/dummy clear_mission' - * '/dummy clear_mission' + * '/dummy clear_mission' + * '/dummy clear_mission' */ void SIL_dummyclear_mission(uint8_T rtu_type, uint8_T *rty_ack) { - /* Chart: '/chat_clear_mission' */ + /* Chart: '/chat_clear_mission' */ switch (rtu_type) { case 1: dummyFenceCount = 0U; @@ -3387,33 +3384,33 @@ void SIL_dummyclear_mission(uint8_T rtu_type, uint8_T *rty_ack) *rty_ack = 0U; - /* End of Chart: '/chat_clear_mission' */ + /* End of Chart: '/chat_clear_mission' */ } -/* Start for function-call system: '/find_val' */ +/* Start for function-call system: '/find_val' */ void SIL_find_val_Start(void) { - /* Start for S-Function (find_param_val): '/find_val_capi' */ + /* Start for S-Function (find_param_val): '/find_val_capi' */ - /* S-Function Block: /find_val_capi */ + /* S-Function Block: /find_val_capi */ find_param_val_Start_wrapper(); } -/* Output and update for function-call system: '/find_val' */ +/* Output and update for function-call system: '/find_val' */ 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) { - /* S-Function (find_param_val): '/find_val_capi' */ + /* S-Function (find_param_val): '/find_val_capi' */ find_param_val_Outputs_wrapper(&rtu_idx, &rty_name[0], &rty_value[0], rty_type, rty_count, rty_index); } -/* Output and update for function-call system: '/u2f' */ +/* Output and update for function-call system: '/u2f' */ void SIL_u2f(const uint8_T rtu_u[4], real32_T *rty_f) { - /* S-Function (byte2any): '/Byte Unpack' */ + /* S-Function (byte2any): '/Byte Unpack' */ - /* Unpack: /Byte Unpack */ + /* Unpack: /Byte Unpack */ (void) memcpy(rty_f, &rtu_u[0], 4); } @@ -3427,32 +3424,32 @@ void SIL_new_rec(uint8_T rtu_InputBus_Inport_1, uint8_T rtu_InputBus_Inport_1_n, { int32_T i; - /* DataTypeConversion: '/Data Type Conversion2' incorporates: - * Constant: '/Constant BP' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion6' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Gain: '/Gain3' - * Gain: '/Gain6' - * Sum: '/Sum' - * Sum: '/Sum1' + /* DataTypeConversion: '/Data Type Conversion2' incorporates: + * Constant: '/Constant BP' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion6' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Gain: '/Gain3' + * Gain: '/Gain6' + * Sum: '/Sum' + * Sum: '/Sum1' */ localB->DataTypeConversion2 = (uint32_T)(int32_T)fmod(((1000000 * rtu_InputBus_Inport_1 + 10000 * rtu_InputBus_Inport_1_n) + (8 + rtu_InputBus_Inport_1_a) * 100) + rtu_InputBus_Inport_1_d, 4.294967296E+9); - /* S-Function (any2byte): '/Byte Pack' */ + /* S-Function (any2byte): '/Byte Pack' */ - /* Pack: /Byte Pack */ + /* Pack: /Byte Pack */ (void) memcpy(&localB->BytePack[0], &localB->DataTypeConversion2, 4); - /* SignalConversion: '/OutportBufferFordata' incorporates: - * Constant: '/id' - * Constant: '/sync1' - * Constant: '/sync2' - * Sum: '/Sum of Elements' + /* SignalConversion: '/OutportBufferFordata' incorporates: + * Constant: '/id' + * Constant: '/sync1' + * Constant: '/sync2' + * Sum: '/Sum of Elements' */ rty_data[0] = 235U; rty_data[1] = 144U; @@ -3469,11 +3466,11 @@ void SIL_new_rec(uint8_T rtu_InputBus_Inport_1, uint8_T rtu_InputBus_Inport_1_n, rty_data[i + 9] = 0U; } - /* SignalConversion: '/OutportBufferForlen' */ + /* SignalConversion: '/OutportBufferForlen' */ *rty_len = localC->Width1; } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_PredictStates(real32_T correctedDelAng[3], real32_T correctedDelVel[3]) { @@ -3491,14 +3488,14 @@ static void SIL_PredictStates(real32_T correctedDelAng[3], real32_T SIL_DW.Tbn_prev_not_empty = true; } - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ correctedDelVel[0] = SIL_B.accel[0] * 0.005F - SIL_DW.states[10]; correctedDelVel[1] = SIL_B.accel[1] * 0.005F - SIL_DW.states[11]; correctedDelVel[2] = SIL_B.accel[2] * 0.005F - SIL_DW.states[12]; delAngEarth_NED_idx_0 = 7.2921E-5F * cosf(SIL_B.Gain1_dw) * 0.005F; delAngEarth_NED_idx_2 = -7.2921E-5F * sinf(SIL_B.Gain1_dw) * 0.005F; for (i = 0; i < 3; i++) { - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ correctedDelAng[i] = (SIL_B.Gain1_a[i] * 0.005F - SIL_DW.states[7 + i]) - ((SIL_DW.Tbn_prev[3 * i + 1] * 0.0F + SIL_DW.Tbn_prev[3 * i] * delAngEarth_NED_idx_0) + SIL_DW.Tbn_prev[3 * i + 2] * @@ -3545,12 +3542,12 @@ static void SIL_PredictStates(real32_T correctedDelAng[3], real32_T SIL_DW.states[3] /= delAngEarth_NED_idx_0; Quat2Tbn_XRdqRR86(&SIL_DW.states[0], SIL_DW.Tbn_prev); - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ tmp[0] = 0.0F; tmp[1] = 0.0F; - /* Constant: '/Constant12' incorporates: - * Constant: '/Constant' + /* Constant: '/Constant12' incorporates: + * Constant: '/Constant' */ tmp[2] = 0.0490332507F; for (i = 0; i < 3; i++) { @@ -3560,7 +3557,7 @@ static void SIL_PredictStates(real32_T correctedDelAng[3], real32_T } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_ConstrainStates(void) { if (SIL_DW.states[7] > 0.000174532921F) { @@ -3620,7 +3617,7 @@ static void SIL_ConstrainStates(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_PredictCovariance(const real32_T deltaAngle[3], const real32_T deltaVelocity[3]) { @@ -4203,8 +4200,8 @@ static void SIL_PredictCovariance(const real32_T deltaAngle[3], const real32_T dAngBiasSigma[2] = 2.5E-8F; dAngBiasSigma[5] = 7.4999997E-7F; - /* Constant: '/Constant' incorporates: - * Constant: '/Constant Single' + /* Constant: '/Constant' incorporates: + * Constant: '/Constant Single' */ dAngBiasSigma[6] = 0.0001F; power_4TBdBPK2(dAngBiasSigma, processNoiseVariance); @@ -5402,7 +5399,7 @@ static void SIL_PredictCovariance(const real32_T deltaAngle[3], const real32_T } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_OutputStateVars(void) { real32_T euler_covariance_matrix[9]; @@ -5441,17 +5438,17 @@ static void SIL_OutputStateVars(void) ((euler_angles_tmp + t23) - t31) - euler_angles_tmp_0); SIL_B.velocity_NED[0] = SIL_DW.states[4]; - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.gyro_bias[0] = SIL_DW.states[7] / 0.005F; SIL_B.accel_bias[0] = SIL_DW.states[10] / 0.005F; SIL_B.velocity_NED[1] = SIL_DW.states[5]; - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.gyro_bias[1] = SIL_DW.states[8] / 0.005F; SIL_B.accel_bias[1] = SIL_DW.states[11] / 0.005F; SIL_B.velocity_NED[2] = SIL_DW.states[6]; - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.gyro_bias[2] = SIL_DW.states[9] / 0.005F; SIL_B.accel_bias[2] = SIL_DW.states[12] / 0.005F; SIL_B.hdg_bias = SIL_DW.states[13]; @@ -5535,7 +5532,7 @@ static void SIL_OutputStateVars(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_FuseVelocity(void) { uint8_T out_rang_cnt; @@ -5547,10 +5544,10 @@ static void SIL_FuseVelocity(void) out_rang_cnt = 0U; SIL_B.velInnov[0] = SIL_DW.states[4] - SIL_B.DataTypeConversion2[0]; - /* Constant: '/Constant Single4' */ + /* Constant: '/Constant Single4' */ SIL_B.velInnovVar[0] = SIL_DW.P[60] + 0.2F; - /* Constant: '/Constant20' */ + /* Constant: '/Constant20' */ if (SIL_B.velInnov[0] * SIL_B.velInnov[0] / (25.0F * SIL_B.velInnovVar[0]) > 1.0F) { out_rang_cnt = 1U; @@ -5558,10 +5555,10 @@ static void SIL_FuseVelocity(void) SIL_B.velInnov[1] = SIL_DW.states[5] - SIL_B.DataTypeConversion2[1]; - /* Constant: '/Constant Single4' */ + /* Constant: '/Constant Single4' */ SIL_B.velInnovVar[1] = SIL_DW.P[75] + 0.2F; - /* Constant: '/Constant20' */ + /* Constant: '/Constant20' */ if (SIL_B.velInnov[1] * SIL_B.velInnov[1] / (25.0F * SIL_B.velInnovVar[1]) > 1.0F) { out_rang_cnt++; @@ -5569,10 +5566,10 @@ static void SIL_FuseVelocity(void) SIL_B.velInnov[2] = SIL_DW.states[6] - SIL_B.DataTypeConversion2[2]; - /* Constant: '/Constant Single4' */ + /* Constant: '/Constant Single4' */ SIL_B.velInnovVar[2] = SIL_DW.P[90] + 0.2F; - /* Constant: '/Constant20' */ + /* Constant: '/Constant20' */ if (SIL_B.velInnov[2] * SIL_B.velInnov[2] / (25.0F * SIL_B.velInnovVar[2]) > 1.0F) { out_rang_cnt++; @@ -5584,15 +5581,15 @@ static void SIL_FuseVelocity(void) SIL_DW.vel_reset_cnt = 0U; SIL_DW.states[4] = SIL_B.DataTypeConversion2[0]; - /* Constant: '/Constant3' */ + /* Constant: '/Constant3' */ SIL_DW.P[60] = 100.0F; SIL_DW.states[5] = SIL_B.DataTypeConversion2[1]; - /* Constant: '/Constant3' */ + /* Constant: '/Constant3' */ SIL_DW.P[75] = 100.0F; SIL_DW.states[6] = SIL_B.DataTypeConversion2[2]; - /* Constant: '/Constant3' */ + /* Constant: '/Constant3' */ SIL_DW.P[90] = 100.0F; SIL_DW.P_reset = true; } @@ -5627,7 +5624,7 @@ static void SIL_FuseVelocity(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_FuseHeading(void) { real32_T q0; @@ -5681,7 +5678,7 @@ static void SIL_FuseHeading(void) t16 = SIL_DW.states[3] * sinPsi * t16 * 2.0F + SIL_DW.states[0] * t14 * 2.0F; t14 = t10 * t13; - /* Constant: '/Constant Single1' */ + /* Constant: '/Constant Single1' */ SIL_B.hdgInnovVar = (((((((SIL_DW.P[0] * t10 * t13 * t17 + SIL_DW.P[13]) + SIL_DW.P[1] * t10 * t13 * t19) + SIL_DW.P[2] * t10 * t13 * t24) + SIL_DW.P[3] * t10 * t13 * t16) * (t14 * t17) + ((((SIL_DW.P[182] * t10 * t13 * t17 + @@ -5756,14 +5753,14 @@ static void SIL_FuseHeading(void) } } - /* Constant: '/Constant19' */ + /* Constant: '/Constant19' */ if (SIL_B.hdgInnov * SIL_B.hdgInnov / (25.0F * SIL_B.hdgInnovVar) > 1.0F) { SIL_DW.hdg_reset_cnt++; } else { SIL_DW.hdg_reset_cnt = 0U; } - /* End of Constant: '/Constant19' */ + /* End of Constant: '/Constant19' */ if (SIL_DW.hdg_reset_cnt > 10) { SIL_DW.hdg_reset_cnt = 0U; q1 = rt_atan2f_snf((SIL_DW.states[2] * SIL_DW.states[3] + SIL_DW.states[0] * @@ -5789,13 +5786,13 @@ static void SIL_FuseHeading(void) SIL_DW.states[3] = b_t10_tmp * sinPsi - b_t13 * q3; SIL_DW.states[13] = 0.0F; - /* Constant: '/Constant2' */ + /* Constant: '/Constant2' */ SIL_DW.P[0] = 0.0100000007F; SIL_DW.P[15] = 0.0100000007F; SIL_DW.P[30] = 0.0100000007F; SIL_DW.P[45] = 0.0100000007F; - /* Constant: '/Constant9' */ + /* Constant: '/Constant9' */ SIL_DW.P[195] = 0.0004F; SIL_DW.P_reset = true; } else { @@ -5863,7 +5860,7 @@ static void SIL_FuseHeading(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_resetStates(void) { int32_T i; @@ -5872,24 +5869,24 @@ static void SIL_resetStates(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_InitCovariance(void) { real32_T c_a[14]; real32_T z1[14]; int32_T k; - /* Constant: '/Constant2' */ + /* Constant: '/Constant2' */ c_a[0] = 0.1F; c_a[1] = 0.1F; c_a[2] = 0.1F; c_a[3] = 0.1F; - /* Constant: '/Constant3' */ + /* Constant: '/Constant3' */ c_a[4] = 10.0F; c_a[5] = 10.0F; - /* Constant: '/Constant4' */ + /* Constant: '/Constant4' */ c_a[6] = 5.0F; c_a[7] = 4.36332311E-6F; c_a[10] = 0.00035F; @@ -5898,7 +5895,7 @@ static void SIL_InitCovariance(void) c_a[9] = 4.36332311E-6F; c_a[12] = 0.00035F; - /* Constant: '/Constant9' */ + /* Constant: '/Constant9' */ c_a[13] = 0.02F; for (k = 0; k < 14; k++) { z1[k] = c_a[k] * c_a[k]; @@ -5910,7 +5907,7 @@ static void SIL_InitCovariance(void) } } -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ static void SIL_InitStates(void) { real32_T b_cosPhi; @@ -5994,7 +5991,7 @@ Msg_CommandMsg *SIL_proc_cmd_In1_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_cmd' */ +/* Function for Chart: '/proc_cmd' */ static boolean_T SIL_sf_msg_pop_cmd(void) { boolean_T isPresent; @@ -6032,7 +6029,7 @@ Msg_CommandMsg *SIL_proc_cmd_In2_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_cmd' */ +/* Function for Chart: '/proc_cmd' */ static boolean_T SIL_sf_msg_pop_cmd2(void) { boolean_T isPresent; @@ -6064,7 +6061,7 @@ void SIL_destroyMsg(const Msg_CommandMsg *msg) SIL_freeMemPool(&SIL_DW.slMsgMgr_MemPool_CommandMsg, msg->fData); } -/* Function for Chart: '/proc_cmd' */ +/* Function for Chart: '/proc_cmd' */ static void SIL_sf_msg_discard_cmd(void) { if (SIL_DW.cmd_isValid) { @@ -6073,7 +6070,7 @@ static void SIL_sf_msg_discard_cmd(void) } } -/* Function for Chart: '/proc_cmd' */ +/* Function for Chart: '/proc_cmd' */ static void SIL_sf_msg_discard_cmd2(void) { if (SIL_DW.cmd2_isValid) { @@ -6121,7 +6118,7 @@ Msg_uint16 *SIL_proc_set_cur_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_set_ cur' */ +/* Function for Chart: '/proc_set_ cur' */ static boolean_T SIL_sf_msg_pop_set_cur(void) { boolean_T isPresent; @@ -6143,7 +6140,7 @@ static boolean_T SIL_sf_msg_pop_set_cur(void) return isPresent; } -/* Function for Chart: '/proc_set_ cur' */ +/* Function for Chart: '/proc_set_ cur' */ static void SIL_sf_msg_discard_set_cur(void) { if (SIL_DW.set_cur_isValid) { @@ -6187,13 +6184,13 @@ int32_T SIL_Chart_send_ack_SendData(const CommandAck *data_toSend) return isSent; } -/* Function for Chart: '/proc_cmd' */ +/* Function for Chart: '/proc_cmd' */ static void SIL_sf_msg_send_ack(void) { SIL_Chart_send_ack_SendData(&SIL_DW.ack_msgData_o); } -/* Function for Chart: '/sweep_generator' */ +/* Function for Chart: '/sweep_generator' */ static void SIL_update_e(real32_T pos) { uint8_T i; @@ -6265,13 +6262,13 @@ int32_T SIL_proc_cmd_In2_SendData(const CommandMsg *data_toSend) return isSent; } -/* Function for Chart: '/mission_proc' */ +/* Function for Chart: '/mission_proc' */ static void SIL_sf_msg_send_cmd(void) { SIL_proc_cmd_In2_SendData(&SIL_DW.cmd_msgData); } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_update_vert(ENUM_AFCS_VERT in, ENUM_AT in2, ENUM_AFCS_VERT *out, ENUM_AT *out2) { @@ -6292,7 +6289,7 @@ static void SIL_update_vert(ENUM_AFCS_VERT in, ENUM_AT in2, ENUM_AFCS_VERT *out, } } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_parachute(void) { if (((SIL_DW.temporalCounter_i2 >= 240U) && (SIL_B.BitwiseAND != 0U)) || @@ -6477,6 +6474,45 @@ static void SIL_parachute(void) } } +/* Function for Chart: '/Chart' */ +static void SIL_Idle(void) +{ + if ((SIL_B.BusAssignment_i.recovery & 2U) != 0U) { + SIL_DW.is_c22_kb3_autopilot = SIL_IN_parachute; + SIL_DW.temporalCounter_i2 = 0U; + SIL_B.recovery_out = 3U; + SIL_DW.is_parachute = SIL_IN_one; + SIL_DW.temporalCounter_i1_dm = 0U; + SIL_B.ch_out = 3U; + SIL_B.peroid_out = 50U; + SIL_B.sw_out = 1U; + } else { + SIL_B.recovery_out = SIL_B.BusAssignment_i.recovery; + SIL_B.ch_out = SIL_B.BusAssignment_i.ccm_ch; + SIL_B.peroid_out = SIL_B.BusAssignment_i.ccm_period; + SIL_B.sw_out = SIL_B.BusAssignment_i.ccm_sw; + } +} + +/* Function for Chart: '/Chart' */ +static void SIL_Idle1(void) +{ + if ((SIL_B.BusAssignment_i.recovery & 32U) != 0U) { + SIL_DW.is_c22_kb3_autopilot = SIL_IN_cut; + SIL_B.recovery_out = 63U; + SIL_DW.is_cut = SIL_IN_one; + SIL_DW.temporalCounter_i1_dm = 0U; + SIL_B.ch_out = 4U; + SIL_B.peroid_out = 50U; + SIL_B.sw_out = 1U; + } else { + SIL_B.recovery_out = SIL_B.BusAssignment_i.recovery; + SIL_B.ch_out = SIL_B.BusAssignment_i.ccm_ch; + SIL_B.peroid_out = SIL_B.BusAssignment_i.ccm_period; + SIL_B.sw_out = SIL_B.BusAssignment_i.ccm_sw; + } +} + int32_T SIL_pop_c02u1i(Queue_mavlink_mission_item_int_t *q, Msg_mavlink_mission_item_int_t *elementOut) { @@ -6517,7 +6553,7 @@ Msg_mavlink_mission_item_int_t *SIL_Chart_proc_mission_upload_In2_RecvMsg(void) return msg_received; } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static boolean_T SIL_sf_msg_pop_mission_item(void) { boolean_T isPresent; @@ -6576,7 +6612,7 @@ int32_T SIL_merge_ack_In2_SendData(const mavlink_mission_ack_t *data_toSend) return isSent; } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static void SIL_sf_msg_send_mission_ack(void) { SIL_merge_ack_In2_SendData(&SIL_DW.mission_ack_msgData); @@ -6620,7 +6656,7 @@ int32_T SIL_traffic_ctrl_In8_SendData(const mavlink_mission_request_int_t return isSent; } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static void SIL_sf_msg_send_mission_req_int(void) { SIL_traffic_ctrl_In8_SendData(&SIL_DW.mission_req_int_msgData); @@ -6666,7 +6702,7 @@ Msg_mavlink_mission_count_t *SIL_Chart_proc_mission_upload_In1_RecvMsg(void) return msg_received; } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static boolean_T SIL_sf_msg_pop_mission_cnt(void) { boolean_T isPresent; @@ -6688,7 +6724,7 @@ static boolean_T SIL_sf_msg_pop_mission_cnt(void) return isPresent; } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static void SIL_sf_msg_discard_mission_cnt(void) { if (SIL_DW.mission_cnt_isValid) { @@ -6709,7 +6745,7 @@ void SIL_destroyMsg_ecw(const Msg_mavlink_mission_item_int_t *msg) msg->fData); } -/* Function for Chart: '/Chart_proc_mission_upload' */ +/* Function for Chart: '/Chart_proc_mission_upload' */ static void SIL_sf_msg_discard_mission_item(void) { if (SIL_DW.mission_item_isValid) { @@ -6759,7 +6795,7 @@ Msg_mavlink_message_t *SIL_proc_queue_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_queue' */ +/* Function for Chart: '/proc_queue' */ static boolean_T SIL_sf_msg_pop_msgs(void) { boolean_T isPresent; @@ -6817,7 +6853,7 @@ int32_T SIL_proc_param_value_In1_SendData(const uint16_T *data_toSend) return isSent; } -/* Function for Chart: '/Chart_proc_param_req_read' */ +/* Function for Chart: '/Chart_proc_param_req_read' */ static void SIL_sf_msg_send_resp(void) { SIL_proc_param_value_In1_SendData(&SIL_DW.resp_msgData_n); @@ -6834,7 +6870,7 @@ int32_T SIL_proc_param_value_In2_SendData(const uint16_T *data_toSend) return isSent; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_sf_msg_send_resp_i(void) { SIL_proc_param_value_In2_SendData(&SIL_DW.resp_msgData_f); @@ -6851,7 +6887,7 @@ int32_T SIL_proc_param_value_In3_SendData(const uint16_T *data_toSend) return isSent; } -/* Function for Chart: '/Chart_proc_param_set' */ +/* Function for Chart: '/Chart_proc_param_set' */ static void SIL_sf_msg_send_resp_j(void) { SIL_proc_param_value_In3_SendData(&SIL_DW.resp_msgData); @@ -6868,7 +6904,7 @@ int32_T SIL_merge_ack_In1_SendData(const mavlink_mission_ack_t *data_toSend) return isSent; } -/* Function for Chart: '/Chart_proc_mission_req' */ +/* Function for Chart: '/Chart_proc_mission_req' */ static void SIL_sf_msg_send_send_ack_h(void) { SIL_merge_ack_In1_SendData(&SIL_DW.send_ack_msgData_b); @@ -6934,7 +6970,7 @@ int32_T SIL_traffic_ctrl_In5_SendData(const mavlink_mission_item_int_t return isSent; } -/* Function for Chart: '/Chart_proc_mission_req' */ +/* Function for Chart: '/Chart_proc_mission_req' */ static void SIL_sf_msg_send_send_item(void) { SIL_traffic_ctrl_In5_SendData(&SIL_DW.send_item_msgData); @@ -6951,7 +6987,7 @@ int32_T SIL_req_cur_In1_SendData(const uint16_T *data_toSend) return isSent; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_sf_msg_send_req_cur(void) { SIL_req_cur_In1_SendData(&SIL_DW.req_cur_msgData_d); @@ -6994,7 +7030,7 @@ int32_T SIL_traffic_ctrl_In4_SendData(const mavlink_mission_count_t *data_toSend return isSent; } -/* Function for Chart: '/Chart_proc_mission_req_lst' */ +/* Function for Chart: '/Chart_proc_mission_req_lst' */ static void SIL_sf_msg_send_send_cnt(void) { SIL_traffic_ctrl_In4_SendData(&SIL_DW.send_cnt_msgData_d); @@ -7012,7 +7048,7 @@ int32_T SIL_Chart_proc_mission_upload_In1_SendData(const mavlink_mission_count_t return isSent; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_sf_msg_send_send_cnt_j(void) { SIL_Chart_proc_mission_upload_In1_SendData(&SIL_DW.send_cnt_msgData); @@ -7029,7 +7065,7 @@ int32_T SIL_merge_ack_In3_SendData(const mavlink_mission_ack_t *data_toSend) return isSent; } -/* Function for Chart: '/Chart_proc_mission_clr_all' */ +/* Function for Chart: '/Chart_proc_mission_clr_all' */ static void SIL_sf_msg_send_send_ack_d(void) { SIL_merge_ack_In3_SendData(&SIL_DW.send_ack_msgData_j); @@ -7047,7 +7083,7 @@ int32_T SIL_Chart_proc_mission_upload_In2_SendData(const return isSent; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static void SIL_sf_msg_send_send_req(void) { SIL_Chart_proc_mission_upload_In2_SendData(&SIL_DW.send_req_msgData); @@ -7064,7 +7100,7 @@ int32_T SIL_proc_cmd_In1_SendData(const CommandMsg *data_toSend) return isSent; } -/* Function for Chart: '/send_cmd' */ +/* Function for Chart: '/send_cmd' */ static void SIL_sf_msg_send_msg(void) { SIL_proc_cmd_In1_SendData(&SIL_DW.msg_msgData); @@ -7130,7 +7166,7 @@ int32_T SIL_traffic_ctrl_In10_SendData(const mavlink_autopilot_version_t return isSent; } -/* Function for Chart: '/send_auto_hw' */ +/* Function for Chart: '/send_auto_hw' */ static void SIL_sf_msg_send_ap_ver(void) { SIL_traffic_ctrl_In10_SendData(&SIL_DW.ap_ver_msgData); @@ -7148,7 +7184,7 @@ void SIL_destroyMsg_ecw35(const Msg_mavlink_message_t *msg) SIL_freeMemPool_bvxyz(&SIL_DW.slMsgMgr_MemPool_mavlink_message_t, msg->fData); } -/* Function for Chart: '/proc_queue' */ +/* Function for Chart: '/proc_queue' */ static void SIL_sf_msg_discard_msgs(void) { if (SIL_DW.msgs_isValid) { @@ -7173,7 +7209,7 @@ Msg_uint16 *SIL_req_cur_In1_RecvMsg(void) return msg_received; } -/* Function for Chart: '/req_cur' */ +/* Function for Chart: '/req_cur' */ static boolean_T SIL_sf_msg_pop_req_cur(void) { boolean_T isPresent; @@ -7233,7 +7269,7 @@ int32_T SIL_traffic_ctrl_In7_SendData(const mavlink_mission_current_t return isSent; } -/* Function for Chart: '/req_cur' */ +/* Function for Chart: '/req_cur' */ static void SIL_sf_msg_send_cur(void) { SIL_traffic_ctrl_In7_SendData(&SIL_DW.cur_msgData); @@ -7250,13 +7286,13 @@ int32_T SIL_proc_set_cur_SendData(const uint16_T *data_toSend) return isSent; } -/* Function for Chart: '/req_cur' */ +/* Function for Chart: '/req_cur' */ static void SIL_sf_msg_send_set_cur(void) { SIL_proc_set_cur_SendData(&SIL_DW.set_cur_msgData); } -/* Function for Chart: '/req_cur' */ +/* Function for Chart: '/req_cur' */ static void SIL_sf_msg_discard_req_cur(void) { if (SIL_DW.req_cur_isValid) { @@ -7303,7 +7339,7 @@ Msg_CommandAck *SIL_Chart_send_ack_RecvMsg(void) return msg_received; } -/* Function for Chart: '/Chart_send_ack' */ +/* Function for Chart: '/Chart_send_ack' */ static boolean_T SIL_sf_msg_pop_ack(void) { boolean_T isPresent; @@ -7382,13 +7418,13 @@ int32_T SIL_traffic_ctrl_In9_SendData(const mavlink_command_ack_t *data_toSend) return isSent; } -/* Function for Chart: '/Chart_send_ack' */ +/* Function for Chart: '/Chart_send_ack' */ static void SIL_sf_msg_send_send_ack(void) { SIL_traffic_ctrl_In9_SendData(&SIL_DW.send_ack_msgData); } -/* Function for Chart: '/Chart_send_ack' */ +/* Function for Chart: '/Chart_send_ack' */ static void SIL_sf_msg_discard_ack(void) { if (SIL_DW.ack_isValid) { @@ -7455,7 +7491,7 @@ int32_T SIL_traffic_ctrl_In3_SendData(const mavlink_param_value_t *data_toSend) return isSent; } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static void SIL_sf_msg_send_msg_d(void) { SIL_traffic_ctrl_In3_SendData(&SIL_DW.msg_msgData_e); @@ -7478,7 +7514,7 @@ Msg_uint16 *SIL_proc_param_value_In3_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static boolean_T SIL_sf_msg_pop_param_set(void) { boolean_T isPresent; @@ -7517,7 +7553,7 @@ Msg_uint16 *SIL_proc_param_value_In1_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static boolean_T SIL_sf_msg_pop_param_req_read(void) { boolean_T isPresent; @@ -7556,7 +7592,7 @@ Msg_uint16 *SIL_proc_param_value_In2_RecvMsg(void) return msg_received; } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static boolean_T SIL_sf_msg_pop_param_req_lst(void) { boolean_T isPresent; @@ -7578,7 +7614,7 @@ static boolean_T SIL_sf_msg_pop_param_req_lst(void) return isPresent; } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static void SIL_sf_msg_discard_param_req_read(void) { if (SIL_DW.param_req_read_isValid) { @@ -7586,7 +7622,7 @@ static void SIL_sf_msg_discard_param_req_read(void) } } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static void SIL_sf_msg_discard_param_req_lst(void) { if (SIL_DW.param_req_lst_isValid) { @@ -7594,7 +7630,7 @@ static void SIL_sf_msg_discard_param_req_lst(void) } } -/* Function for Chart: '/proc_param_value' */ +/* Function for Chart: '/proc_param_value' */ static void SIL_sf_msg_discard_param_set(void) { if (SIL_DW.param_set_isValid) { @@ -7642,7 +7678,7 @@ Msg_mavlink_mission_ack_t *SIL_merge_ack_In1_RecvMsg(void) return msg_received; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static boolean_T SIL_sf_msg_pop_ack1(void) { boolean_T isPresent; @@ -7699,7 +7735,7 @@ int32_T SIL_traffic_ctrl_In6_SendMsg(const Msg_mavlink_mission_ack_t *msg_toSend return isSent; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_forward_ack1_ack(void) { if (SIL_DW.ack1_isValid) { @@ -7726,7 +7762,7 @@ Msg_mavlink_mission_ack_t *SIL_merge_ack_In2_RecvMsg(void) return msg_received; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static boolean_T SIL_sf_msg_pop_ack2(void) { boolean_T isPresent; @@ -7748,7 +7784,7 @@ static boolean_T SIL_sf_msg_pop_ack2(void) return isPresent; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_forward_ack2_ack(void) { if (SIL_DW.ack2_isValid) { @@ -7775,7 +7811,7 @@ Msg_mavlink_mission_ack_t *SIL_merge_ack_In3_RecvMsg(void) return msg_received; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static boolean_T SIL_sf_msg_pop_ack3(void) { boolean_T isPresent; @@ -7797,7 +7833,7 @@ static boolean_T SIL_sf_msg_pop_ack3(void) return isPresent; } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_forward_ack3_ack(void) { if (SIL_DW.ack3_isValid) { @@ -7807,7 +7843,7 @@ static void SIL_sf_msg_forward_ack3_ack(void) } } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_discard_ack1(void) { if (SIL_DW.ack1_isValid) { @@ -7815,7 +7851,7 @@ static void SIL_sf_msg_discard_ack1(void) } } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_discard_ack2(void) { if (SIL_DW.ack2_isValid) { @@ -7823,7 +7859,7 @@ static void SIL_sf_msg_discard_ack2(void) } } -/* Function for Chart: '/merge_ack' */ +/* Function for Chart: '/merge_ack' */ static void SIL_sf_msg_discard_ack3(void) { if (SIL_DW.ack3_isValid) { @@ -7891,7 +7927,7 @@ int32_T SIL_traffic_ctrl_In11_SendData(const mavlink_serial_control_t return isSent; } -/* Function for Chart: '/Chart_send_serial_control' */ +/* Function for Chart: '/Chart_send_serial_control' */ static void SIL_sf_msg_send_send_echo(void) { SIL_traffic_ctrl_In11_SendData(&SIL_DW.send_echo_msgData); @@ -7937,7 +7973,7 @@ Msg_mavlink_command_ack_t *SIL_traffic_ctrl_In9_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_command_ack_queue(void) { boolean_T isPresent; @@ -7999,7 +8035,7 @@ Msg_mavlink_mission_current_t *SIL_traffic_ctrl_In7_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_mission_cur_queue(void) { boolean_T isPresent; @@ -8038,7 +8074,7 @@ Msg_mavlink_mission_count_t *SIL_traffic_ctrl_In4_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_mission_cnt_queue(void) { boolean_T isPresent; @@ -8077,7 +8113,7 @@ Msg_mavlink_mission_item_int_t *SIL_traffic_ctrl_In5_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_mission_item_int_queue(void) { boolean_T isPresent; @@ -8117,7 +8153,7 @@ Msg_mavlink_mission_ack_t *SIL_traffic_ctrl_In6_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_mission_ack_queue(void) { boolean_T isPresent; @@ -8179,7 +8215,7 @@ Msg_mavlink_mission_request_int_t *SIL_traffic_ctrl_In8_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_mission_req_int_queue(void) { boolean_T isPresent; @@ -8242,7 +8278,7 @@ Msg_mavlink_param_value_t *SIL_traffic_ctrl_In3_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_param_val_queue(void) { boolean_T isPresent; @@ -8304,7 +8340,7 @@ Msg_mavlink_autopilot_version_t *SIL_traffic_ctrl_In10_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_ap_ver_queue(void) { boolean_T isPresent; @@ -8366,7 +8402,7 @@ Msg_mavlink_serial_control_t *SIL_traffic_ctrl_In11_RecvMsg(void) return msg_received; } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static boolean_T SIL_sf_msg_pop_serial_echoline(void) { boolean_T isPresent; @@ -8388,7 +8424,7 @@ static boolean_T SIL_sf_msg_pop_serial_echoline(void) return isPresent; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static uint8_T SIL_get_base_mode(void) { uint8_T b_mod; @@ -8400,19 +8436,19 @@ static uint8_T SIL_get_base_mode(void) return b_mod; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static uint32_T SIL_get_mode(void) { return (uint32_T)SIL_B.Merge.mode; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static uint8_T SIL_get_status(void) { return (uint8_T)SIL_B.Merge.state; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static real32_T SIL_get_yaw(real32_T psi1) { real32_T psi; @@ -8424,7 +8460,7 @@ static real32_T SIL_get_yaw(real32_T psi1) return psi; } -/* Function for Chart: '/Chart' */ +/* Function for Chart: '/Chart' */ static uint16_T SIL_get_pwm_by_ch(uint8_T idx) { uint16_T out; @@ -8449,7 +8485,7 @@ void SIL_destroyMsg_ec(const Msg_mavlink_param_value_t *msg) SIL_freeMemPool_bv(&SIL_DW.slMsgMgr_MemPool_mavlink_param_value_t, msg->fData); } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_param_val_queue(void) { if (SIL_DW.param_val_queue_isValid) { @@ -8459,7 +8495,7 @@ static void SIL_sf_msg_discard_param_val_queue(void) } } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_mission_cnt_queue(void) { if (SIL_DW.mission_cnt_queue_isValid) { @@ -8467,7 +8503,7 @@ static void SIL_sf_msg_discard_mission_cnt_queue(void) } } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_mission_item_int_queue(void) { if (SIL_DW.mission_item_int_queue_isValid) { @@ -8477,7 +8513,7 @@ static void SIL_sf_msg_discard_mission_item_int_queue(void) } } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_mission_ack_queue(void) { if (SIL_DW.mission_ack_queue_isValid) { @@ -8485,7 +8521,7 @@ static void SIL_sf_msg_discard_mission_ack_queue(void) } } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_mission_cur_queue(void) { if (SIL_DW.mission_cur_queue_isValid) { @@ -8493,7 +8529,7 @@ static void SIL_sf_msg_discard_mission_cur_queue(void) } } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_mission_req_int_queue(void) { if (SIL_DW.mission_req_int_queue_isValid) { @@ -8513,7 +8549,7 @@ void SIL_destroyMsg_e(const Msg_mavlink_command_ack_t *msg) SIL_freeMemPool_b(&SIL_DW.slMsgMgr_MemPool_mavlink_command_ack_t, msg->fData); } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_command_ack_queue(void) { if (SIL_DW.command_ack_queue_isValid) { @@ -8536,7 +8572,7 @@ void SIL_destroyMsg_ecw3(const Msg_mavlink_autopilot_version_t *msg) msg->fData); } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_ap_ver_queue(void) { if (SIL_DW.ap_ver_queue_isValid) { @@ -8559,7 +8595,7 @@ void SIL_destroyMsg_ecw35w(const Msg_mavlink_serial_control_t *msg) msg->fData); } -/* Function for Chart: '/traffic_ctrl' */ +/* Function for Chart: '/traffic_ctrl' */ static void SIL_sf_msg_discard_serial_echoline(void) { if (SIL_DW.serial_echoline_isValid) { @@ -8569,6 +8605,515 @@ static void SIL_sf_msg_discard_serial_echoline(void) } } +/* Function for Chart: '/rec_ctrl' */ +static void SIL_work(void) +{ + uint8_T tmp; + int32_T i; + switch (SIL_DW.is_a5Hz) { + case SIL_IN_idle_p: + if ((SIL_DW.temporalCounter_i3 >= 39U) && (!SIL_DW.act)) { + SIL_DW.is_a5Hz = SIL_IN_work_dr; + SIL_DW.act = true; + + /* Outport: '/rec_seq' */ + SIL_Y.rec_seq++; + + /* Outputs for Function Call SubSystem: '/rec5Hz' */ + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ + SIL_B.TmpSignalConversionAtBytePackInport1_l[0] = SIL_B.Merge.boot_time; + SIL_B.TmpSignalConversionAtBytePackInport1_l[1] = + SIL_B.BusAssignment_j.sensors_health; + SIL_B.TmpSignalConversionAtBytePackInport1_l[2] = SIL_B.value; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' */ + SIL_B.TmpSignalConversionAtBytePackInport4_b[0] = SIL_B.voltages[0]; + SIL_B.TmpSignalConversionAtBytePackInport4_b[1] = SIL_B.voltages[1]; + SIL_B.TmpSignalConversionAtBytePackInport4_b[2] = SIL_B.voltages[2]; + SIL_B.TmpSignalConversionAtBytePackInport4_b[3] = SIL_B.voltages[3]; + SIL_B.TmpSignalConversionAtBytePackInport4_b[4] = SIL_B.group_voltage_mv_g; + SIL_B.TmpSignalConversionAtBytePackInport4_b[5] = SIL_B.group_current_dA_c; + SIL_B.TmpSignalConversionAtBytePackInport4_b[6] = SIL_B.group_voltage_mv; + SIL_B.TmpSignalConversionAtBytePackInport4_b[7] = SIL_B.group_current_dA; + SIL_B.TmpSignalConversionAtBytePackInport4_b[8] = SIL_B.SFunction.RPM_mea; + SIL_B.TmpSignalConversionAtBytePackInport4_b[9] = SIL_B.SFunction.T5; + SIL_B.TmpSignalConversionAtBytePackInport4_b[10] = SIL_B.SFunction.Kfuel; + SIL_B.TmpSignalConversionAtBytePackInport4_b[11] = SIL_B.SFunction.RPM_des; + SIL_B.TmpSignalConversionAtBytePackInport4_b[12] = + SIL_B.SFunction.RPM_des_ap; + SIL_B.TmpSignalConversionAtBytePackInport4_b[13] = SIL_B.SFunction.RPM_bak; + SIL_B.TmpSignalConversionAtBytePackInport4_b[14] = SIL_B.SFunction.IOState; + SIL_B.TmpSignalConversionAtBytePackInport4_b[15] = + SIL_B.SFunction.SysState; + SIL_B.TmpSignalConversionAtBytePackInport4_b[16] = SIL_B.SFunction.Fault; + SIL_B.TmpSignalConversionAtBytePackInport4_b[17] = SIL_B.low_temp_degC_a; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport5' */ + SIL_B.TmpSignalConversionAtBytePackInport5_h[0] = SIL_B.SFunction.stage_ap; + SIL_B.TmpSignalConversionAtBytePackInport5_h[1] = SIL_B.SFunction.temp_ap; + SIL_B.TmpSignalConversionAtBytePackInport5_h[2] = SIL_B.SFunction.tas_ap; + SIL_B.TmpSignalConversionAtBytePackInport5_h[3] = SIL_B.SFunction.asl_ap; + SIL_B.TmpSignalConversionAtBytePackInport5_h[4] = SIL_B.SFunction.KabMain; + SIL_B.TmpSignalConversionAtBytePackInport5_h[5] = SIL_B.SFunction.KabFire; + SIL_B.TmpSignalConversionAtBytePackInport5_h[6] = SIL_B.SFunction.KDj; + SIL_B.TmpSignalConversionAtBytePackInport5_h[7] = SIL_B.SFunction.T1t; + SIL_B.TmpSignalConversionAtBytePackInport5_h[8] = SIL_B.SFunction.P1t; + SIL_B.TmpSignalConversionAtBytePackInport5_h[9] = SIL_B.SFunction.P3t; + SIL_B.TmpSignalConversionAtBytePackInport5_h[10] = SIL_B.SFunction.P5t; + SIL_B.TmpSignalConversionAtBytePackInport5_h[11] = SIL_B.SFunction.DJS; + SIL_B.TmpSignalConversionAtBytePackInport5_h[12] = SIL_B.SFunction.Vcc; + SIL_B.TmpSignalConversionAtBytePackInport5_h[13] = SIL_B.SFunction.Tbak; + SIL_B.TmpSignalConversionAtBytePackInport5_h[14] = + SIL_B.SFunction.CFuelMode; + SIL_B.TmpSignalConversionAtBytePackInport5_h[15] = SIL_B.SFunction.Cmd; + + /* S-Function (any2byte): '/Byte Pack' */ + + /* Pack: /Byte Pack */ + (void) memcpy(&SIL_B.BytePack_g[0], + &SIL_B.TmpSignalConversionAtBytePackInport1_l[0], + 12); + (void) memcpy(&SIL_B.BytePack_g[12], &SIL_B.Merge.fuel_est, + 4); + (void) memcpy(&SIL_B.BytePack_g[16], &SIL_B.temps[0], + 8); + (void) memcpy(&SIL_B.BytePack_g[24], + &SIL_B.TmpSignalConversionAtBytePackInport4_b[0], + 36); + (void) memcpy(&SIL_B.BytePack_g[60], + &SIL_B.TmpSignalConversionAtBytePackInport5_h[0], + 16); + + /* Sum: '/Sum of Elements' */ + tmp = 0U; + for (i = 0; i < 76; i++) { + tmp = (uint8_T)((uint32_T)tmp + SIL_B.BytePack_g[i]); + + /* SignalConversion: '/OutportBufferFordata' */ + SIL_B.Merge_gk[i + 4] = SIL_B.BytePack_g[i]; + } + + /* SignalConversion: '/OutportBufferFordata' incorporates: + * Constant: '/id' + * Constant: '/sync1' + * Constant: '/sync2' + * Sum: '/Sum of Elements' + */ + SIL_B.Merge_gk[0] = 235U; + SIL_B.Merge_gk[1] = 144U; + SIL_B.Merge_gk[2] = 2U; + SIL_B.Merge_gk[3] = SIL_ConstB.Width_m; + SIL_B.Merge_gk[80] = tmp; + memset(&SIL_B.Merge_gk[81], 0, 179U * sizeof(uint8_T)); + + /* SignalConversion: '/OutportBufferForlen' */ + SIL_B.Merge1_e = SIL_ConstB.Width1_a; + + /* End of Outputs for SubSystem: '/rec5Hz' */ + } + break; + + case SIL_IN_start: + if (SIL_DW.temporalCounter_i3 >= 4U) { + SIL_DW.is_a5Hz = SIL_IN_idle_p; + SIL_DW.temporalCounter_i3 = 0U; + } + break; + + default: + SIL_DW.act = false; + SIL_DW.is_a5Hz = SIL_IN_idle_p; + SIL_DW.temporalCounter_i3 = 0U; + break; + } + + switch (SIL_DW.is_a5Hz1) { + case SIL_IN_idle_p: + if ((SIL_DW.temporalCounter_i4 >= 39U) && (!SIL_DW.act)) { + SIL_DW.is_a5Hz1 = SIL_IN_work_dr; + SIL_DW.act = true; + + /* Outport: '/rec_seq' */ + SIL_Y.rec_seq++; + + /* Outputs for Function Call SubSystem: '/rec5Hz1' */ + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ + SIL_B.TmpSignalConversionAtBytePackInport1[0] = SIL_B.Merge.boot_time; + SIL_B.TmpSignalConversionAtBytePackInport1[1] = + SIL_B.BusAssignment_j.sensors_enabled; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' incorporates: + * Constant: '/Constant1' + * DataTypeConversion: '/Data Type Conversion' + */ + SIL_B.TmpSignalConversionAtBytePackInport2_o[0] = SIL_B.Ps_m; + SIL_B.TmpSignalConversionAtBytePackInport2_o[1] = SIL_B.qbar_h; + SIL_B.TmpSignalConversionAtBytePackInport2_o[2] = SIL_B.Ps1; + SIL_B.TmpSignalConversionAtBytePackInport2_o[3] = SIL_B.Ps2; + SIL_B.TmpSignalConversionAtBytePackInport2_o[4] = SIL_B.Qbar1; + SIL_B.TmpSignalConversionAtBytePackInport2_o[5] = SIL_B.Temp_total; + SIL_B.TmpSignalConversionAtBytePackInport2_o[6] = SIL_B.Gain1_c; + SIL_B.TmpSignalConversionAtBytePackInport2_o[7] = SIL_B.Gain1_n; + SIL_B.TmpSignalConversionAtBytePackInport2_o[8] = SIL_B.Temp_ps1; + SIL_B.TmpSignalConversionAtBytePackInport2_o[9] = SIL_B.Temp_qbar1; + SIL_B.TmpSignalConversionAtBytePackInport2_o[10] = SIL_B.imu_temp_j; + SIL_B.TmpSignalConversionAtBytePackInport2_o[11] = SIL_P.use_deadbandComp; + SIL_B.TmpSignalConversionAtBytePackInport2_o[12] = (real32_T)SIL_B.add_m; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport3' */ + SIL_B.TmpSignalConversionAtBytePackInport3_p[0] = SIL_B.UnitDelay_i; + SIL_B.TmpSignalConversionAtBytePackInport3_p[1] = SIL_B.UnitDelay_i; + SIL_B.TmpSignalConversionAtBytePackInport3_p[2] = SIL_B.good_d; + SIL_B.TmpSignalConversionAtBytePackInport3_p[3] = SIL_B.good_l; + SIL_B.TmpSignalConversionAtBytePackInport3_p[4] = SIL_B.good_g; + SIL_B.TmpSignalConversionAtBytePackInport3_p[5] = SIL_B.good_m; + SIL_B.TmpSignalConversionAtBytePackInport3_p[6] = SIL_B.good; + SIL_B.TmpSignalConversionAtBytePackInport3_p[7] = SIL_B.good_f; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' */ + for (i = 0; i < 5; i++) { + SIL_B.TmpSignalConversionAtBytePackInport4_bx[i] = SIL_B.UnitDelay_f[i]; + } + + SIL_B.TmpSignalConversionAtBytePackInport4_bx[5] = SIL_B.Merge.USE_ADRC; + + /* S-Function (any2byte): '/Byte Pack' */ + + /* Pack: /Byte Pack */ + (void) memcpy(&SIL_B.BytePack[0], + &SIL_B.TmpSignalConversionAtBytePackInport1[0], + 8); + (void) memcpy(&SIL_B.BytePack[8], + &SIL_B.TmpSignalConversionAtBytePackInport2_o[0], + 52); + (void) memcpy(&SIL_B.BytePack[60], + &SIL_B.TmpSignalConversionAtBytePackInport3_p[0], + 16); + (void) memcpy(&SIL_B.BytePack[76], + &SIL_B.TmpSignalConversionAtBytePackInport4_bx[0], + 6); + + /* Sum: '/Sum of Elements' */ + tmp = 0U; + for (i = 0; i < 82; i++) { + tmp = (uint8_T)((uint32_T)tmp + SIL_B.BytePack[i]); + + /* SignalConversion: '/OutportBufferFordata' */ + SIL_B.Merge_gk[i + 4] = SIL_B.BytePack[i]; + } + + /* SignalConversion: '/OutportBufferFordata' incorporates: + * Constant: '/id' + * Constant: '/sync1' + * Constant: '/sync2' + * Sum: '/Sum of Elements' + */ + SIL_B.Merge_gk[0] = 235U; + SIL_B.Merge_gk[1] = 144U; + SIL_B.Merge_gk[2] = 4U; + SIL_B.Merge_gk[3] = SIL_ConstB.Width; + SIL_B.Merge_gk[86] = tmp; + memset(&SIL_B.Merge_gk[87], 0, 173U * sizeof(uint8_T)); + + /* SignalConversion: '/OutportBufferForlen' */ + SIL_B.Merge1_e = SIL_ConstB.Width1; + + /* End of Outputs for SubSystem: '/rec5Hz1' */ + } + break; + + case SIL_IN_start: + if (SIL_DW.temporalCounter_i4 >= 6U) { + SIL_DW.is_a5Hz1 = SIL_IN_idle_p; + SIL_DW.temporalCounter_i4 = 0U; + } + break; + + default: + SIL_DW.act = false; + SIL_DW.is_a5Hz1 = SIL_IN_idle_p; + SIL_DW.temporalCounter_i4 = 0U; + break; + } + + switch (SIL_DW.is_a20Hz) { + case SIL_IN_delay_f: + if (SIL_DW.temporalCounter_i2_f >= 8U) { + SIL_DW.is_a20Hz = SIL_IN_idle_mo; + SIL_DW.temporalCounter_i2_f = 0U; + } + break; + + case SIL_IN_idle_mo: + if ((SIL_DW.temporalCounter_i2_f >= 9U) && (!SIL_DW.act)) { + SIL_DW.is_a20Hz = SIL_IN_work_dr; + SIL_DW.act = true; + + /* Outport: '/rec_seq' */ + SIL_Y.rec_seq++; + + /* Outputs for Function Call SubSystem: '/rec20Hz' */ + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ + SIL_B.TmpSignalConversionAtBytePackInport1_lf[0] = SIL_B.Merge.boot_time; + SIL_B.TmpSignalConversionAtBytePackInport1_lf[1] = + SIL_B.BusAssignment_j.TOW; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' */ + SIL_B.TmpSignalConversionAtBytePackInport2[0] = SIL_B.BusAssignment_j.lat; + SIL_B.TmpSignalConversionAtBytePackInport2[1] = SIL_B.BusAssignment_j.lon; + SIL_B.TmpSignalConversionAtBytePackInport2[2] = SIL_B.LLA_i[0]; + SIL_B.TmpSignalConversionAtBytePackInport2[5] = SIL_B.LLA[0]; + SIL_B.TmpSignalConversionAtBytePackInport2[3] = SIL_B.LLA_i[1]; + SIL_B.TmpSignalConversionAtBytePackInport2[6] = SIL_B.LLA[1]; + SIL_B.TmpSignalConversionAtBytePackInport2[4] = SIL_B.LLA_i[2]; + SIL_B.TmpSignalConversionAtBytePackInport2[7] = SIL_B.LLA[2]; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport3' incorporates: + * UnitDelay: '/Unit Delay' + */ + SIL_B.TmpSignalConversionAtBytePackInport3[0] = SIL_B.Merge.phi_c; + SIL_B.TmpSignalConversionAtBytePackInport3[1] = SIL_B.Merge.tht_c; + SIL_B.TmpSignalConversionAtBytePackInport3[2] = + SIL_DW.UnitDelay_DSTATE.bearing_baseline; + SIL_B.TmpSignalConversionAtBytePackInport3[3] = SIL_B.Merge.p_c; + SIL_B.TmpSignalConversionAtBytePackInport3[4] = SIL_B.Merge.q_c; + SIL_B.TmpSignalConversionAtBytePackInport3[5] = SIL_B.Merge.as_c; + SIL_B.TmpSignalConversionAtBytePackInport3[6] = + SIL_DW.UnitDelay_DSTATE.vert_offset; + SIL_B.TmpSignalConversionAtBytePackInport3[7] = SIL_B.Merge.hdot_c; + SIL_B.TmpSignalConversionAtBytePackInport3[8] = + SIL_DW.UnitDelay_DSTATE.horiz_offset; + SIL_B.TmpSignalConversionAtBytePackInport3[9] = + SIL_DW.UnitDelay_DSTATE.dist_offset; + SIL_B.TmpSignalConversionAtBytePackInport3[10] = SIL_B.Merge.del_c; + SIL_B.TmpSignalConversionAtBytePackInport3[11] = SIL_B.Merge.der_c; + SIL_B.TmpSignalConversionAtBytePackInport3[12] = SIL_B.Merge.dal_c; + SIL_B.TmpSignalConversionAtBytePackInport3[13] = SIL_B.Merge.dar_c; + SIL_B.TmpSignalConversionAtBytePackInport3[14] = SIL_B.Merge.dr_c; + SIL_B.TmpSignalConversionAtBytePackInport3[15] = SIL_B.Merge.throttle_c; + SIL_B.TmpSignalConversionAtBytePackInport3[16] = SIL_B.BusAssignment_j.phi; + SIL_B.TmpSignalConversionAtBytePackInport3[17] = SIL_B.BusAssignment_j.tht; + SIL_B.TmpSignalConversionAtBytePackInport3[18] = SIL_B.BusAssignment_j.p; + SIL_B.TmpSignalConversionAtBytePackInport3[19] = SIL_B.BusAssignment_j.q; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' incorporates: + * DataTypeConversion: '/Data Type Conversion' + */ + SIL_B.TmpSignalConversionAtBytePackInport4[0] = (uint32_T)SIL_B.Merge.mode; + SIL_B.TmpSignalConversionAtBytePackInport4[1] = SIL_B.gps_pos_status_d; + SIL_B.TmpSignalConversionAtBytePackInport4[2] = SIL_B.gps_pos_status; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport5' */ + SIL_B.TmpSignalConversionAtBytePackInport5[0] = SIL_B.Merge.WP_cur; + for (i = 0; i < 7; i++) { + SIL_B.TmpSignalConversionAtBytePackInport5[i + 1] = 0U; + } + + SIL_B.TmpSignalConversionAtBytePackInport5[8] = SIL_B.SFunction.RPM_mea; + SIL_B.TmpSignalConversionAtBytePackInport5[9] = SIL_B.SFunction.Kfuel; + + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport6' incorporates: + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + */ + SIL_B.TmpSignalConversionAtBytePackInport6[0] = SIL_B.Merge.recovery; + SIL_B.TmpSignalConversionAtBytePackInport6[1] = SIL_B.Merge.ECU_CMD; + SIL_B.TmpSignalConversionAtBytePackInport6[2] = SIL_B.Merge.linked; + SIL_B.TmpSignalConversionAtBytePackInport6[3] = SIL_B.Merge.recovery; + SIL_B.TmpSignalConversionAtBytePackInport6[4] = (uint8_T) + SIL_B.BusAssignment_j.gps_fixtype; + SIL_B.TmpSignalConversionAtBytePackInport6[5] = + SIL_B.BusAssignment_j.satnum; + + /* S-Function (any2byte): '/Byte Pack' */ + + /* Pack: /Byte Pack */ + (void) memcpy(&SIL_B.BytePack_k[0], + &SIL_B.TmpSignalConversionAtBytePackInport1_lf[0], + 8); + (void) memcpy(&SIL_B.BytePack_k[8], + &SIL_B.TmpSignalConversionAtBytePackInport2[0], + 64); + (void) memcpy(&SIL_B.BytePack_k[72], + &SIL_B.TmpSignalConversionAtBytePackInport3[0], + 80); + (void) memcpy(&SIL_B.BytePack_k[152], + &SIL_B.TmpSignalConversionAtBytePackInport4[0], + 12); + (void) memcpy(&SIL_B.BytePack_k[164], + &SIL_B.TmpSignalConversionAtBytePackInport5[0], + 20); + (void) memcpy(&SIL_B.BytePack_k[184], + &SIL_B.TmpSignalConversionAtBytePackInport6[0], + 6); + + /* Sum: '/Sum of Elements' */ + tmp = 0U; + for (i = 0; i < 190; i++) { + tmp = (uint8_T)((uint32_T)tmp + SIL_B.BytePack_k[i]); + + /* SignalConversion: '/OutportBufferFordata' */ + SIL_B.Merge_gk[i + 4] = SIL_B.BytePack_k[i]; + } + + /* SignalConversion: '/OutportBufferFordata' incorporates: + * Constant: '/id' + * Constant: '/sync1' + * Constant: '/sync2' + * Sum: '/Sum of Elements' + */ + SIL_B.Merge_gk[0] = 235U; + SIL_B.Merge_gk[1] = 144U; + SIL_B.Merge_gk[2] = 1U; + SIL_B.Merge_gk[3] = SIL_ConstB.Width_b; + SIL_B.Merge_gk[194] = tmp; + memset(&SIL_B.Merge_gk[195], 0, 65U * sizeof(uint8_T)); + + /* SignalConversion: '/OutportBufferForlen' */ + SIL_B.Merge1_e = SIL_ConstB.Width1_i; + + /* End of Outputs for SubSystem: '/rec20Hz' */ + } + break; + + default: + SIL_DW.act = false; + SIL_DW.is_a20Hz = SIL_IN_idle_mo; + SIL_DW.temporalCounter_i2_f = 0U; + break; + } + + switch (SIL_DW.is_a20Hz1) { + case SIL_IN_delay_f: + if (SIL_DW.temporalCounter_i1_m >= 2U) { + SIL_DW.is_a20Hz1 = SIL_IN_idle_mo; + SIL_DW.temporalCounter_i1_m = 0U; + } + break; + + case SIL_IN_idle_mo: + if ((SIL_DW.temporalCounter_i1_m >= 9U) && (!SIL_DW.act)) { + SIL_DW.is_a20Hz1 = SIL_IN_work_dr; + SIL_DW.act = true; + + /* Outport: '/rec_seq' */ + SIL_Y.rec_seq++; + + /* Outputs for Function Call SubSystem: '/rec20Hz1' */ + /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' incorporates: + * UnitDelay: '/Unit Delay' + */ + SIL_B.TmpSignalConversionAtBytePackInport2_or[0] = + SIL_B.BusAssignment_j.qbar; + SIL_B.TmpSignalConversionAtBytePackInport2_or[1] = + SIL_B.BusAssignment_j.baro; + SIL_B.TmpSignalConversionAtBytePackInport2_or[2] = + SIL_B.BusAssignment_j.IAS; + SIL_B.TmpSignalConversionAtBytePackInport2_or[3] = + SIL_B.BusAssignment_j.alpha; + SIL_B.TmpSignalConversionAtBytePackInport2_or[4] = + SIL_B.BusAssignment_j.beta; + SIL_B.TmpSignalConversionAtBytePackInport2_or[5] = + SIL_B.BusAssignment_j.asl_baro; + SIL_B.TmpSignalConversionAtBytePackInport2_or[6] = + SIL_B.BusAssignment_j.msl; + SIL_B.TmpSignalConversionAtBytePackInport2_or[7] = + SIL_B.BusAssignment_j.v_n; + SIL_B.TmpSignalConversionAtBytePackInport2_or[8] = + SIL_B.BusAssignment_j.v_e; + SIL_B.TmpSignalConversionAtBytePackInport2_or[9] = + SIL_B.BusAssignment_j.v_d; + SIL_B.TmpSignalConversionAtBytePackInport2_or[10] = + SIL_DW.UnitDelay_DSTATE.v_g; + SIL_B.TmpSignalConversionAtBytePackInport2_or[11] = + SIL_DW.UnitDelay_DSTATE.psi_t; + SIL_B.TmpSignalConversionAtBytePackInport2_or[12] = + SIL_B.BusAssignment_j.Mach; + SIL_B.TmpSignalConversionAtBytePackInport2_or[13] = + SIL_B.BusAssignment_j.TAS; + SIL_B.TmpSignalConversionAtBytePackInport2_or[26] = SIL_B.Merge.r_c; + SIL_B.TmpSignalConversionAtBytePackInport2_or[27] = + SIL_B.BusAssignment_j.r; + SIL_B.TmpSignalConversionAtBytePackInport2_or[28] = + SIL_B.BusAssignment_j.ay; + SIL_B.TmpSignalConversionAtBytePackInport2_or[29] = SIL_B.Merge.ay_c; + SIL_B.TmpSignalConversionAtBytePackInport2_or[30] = + SIL_B.BusAssignment_j.ax; + SIL_B.TmpSignalConversionAtBytePackInport2_or[31] = + SIL_B.BusAssignment_j.az; + SIL_B.TmpSignalConversionAtBytePackInport2_or[32] = + SIL_B.BusAssignment_j.psi; + SIL_B.TmpSignalConversionAtBytePackInport2_or[14] = SIL_B.eulers[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[17] = SIL_B.vel_ned[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[20] = SIL_B.eulers_f[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[23] = SIL_B.vel_ned_ma[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[33] = SIL_B.Accels_f[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[36] = SIL_B.pqr_i[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[39] = SIL_B.Accels_a[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[42] = SIL_B.pqr_e[0]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[15] = SIL_B.eulers[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[18] = SIL_B.vel_ned[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[21] = SIL_B.eulers_f[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[24] = SIL_B.vel_ned_ma[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[34] = SIL_B.Accels_f[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[37] = SIL_B.pqr_i[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[40] = SIL_B.Accels_a[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[43] = SIL_B.pqr_e[1]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[16] = SIL_B.eulers[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[19] = SIL_B.vel_ned[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[22] = SIL_B.eulers_f[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[25] = SIL_B.vel_ned_ma[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[35] = SIL_B.Accels_f[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[38] = SIL_B.pqr_i[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[41] = SIL_B.Accels_a[2]; + SIL_B.TmpSignalConversionAtBytePackInport2_or[44] = SIL_B.pqr_e[2]; + + /* S-Function (any2byte): '/Byte Pack' */ + + /* Pack: /Byte Pack */ + (void) memcpy(&SIL_B.BytePack_i[0], &SIL_B.Merge.boot_time, + 4); + (void) memcpy(&SIL_B.BytePack_i[4], + &SIL_B.TmpSignalConversionAtBytePackInport2_or[0], + 180); + + /* Sum: '/Sum of Elements' */ + tmp = 0U; + for (i = 0; i < 184; i++) { + tmp = (uint8_T)((uint32_T)tmp + SIL_B.BytePack_i[i]); + + /* SignalConversion: '/OutportBufferFordata' */ + SIL_B.Merge_gk[i + 4] = SIL_B.BytePack_i[i]; + } + + /* SignalConversion: '/OutportBufferFordata' incorporates: + * Constant: '/id' + * Constant: '/sync1' + * Constant: '/sync2' + * Sum: '/Sum of Elements' + */ + SIL_B.Merge_gk[0] = 235U; + SIL_B.Merge_gk[1] = 144U; + SIL_B.Merge_gk[2] = 3U; + SIL_B.Merge_gk[3] = SIL_ConstB.Width_a; + SIL_B.Merge_gk[188] = tmp; + memset(&SIL_B.Merge_gk[189], 0, 71U * sizeof(uint8_T)); + + /* SignalConversion: '/OutportBufferForlen' */ + SIL_B.Merge1_e = SIL_ConstB.Width1_l; + + /* End of Outputs for SubSystem: '/rec20Hz1' */ + } + break; + + default: + SIL_DW.act = false; + SIL_DW.is_a20Hz1 = SIL_IN_idle_mo; + SIL_DW.temporalCounter_i1_m = 0U; + break; + } +} + mavlink_message_t *SIL_allocMemPool_fu0hj(MemPool_mavlink_message_t *memPool) { mavlink_message_t *dataPtr; @@ -8627,7 +9172,7 @@ int32_T SIL_proc_queue_SendData(const mavlink_message_t *data_toSend) return isSent; } -/* Function for Chart: '/push2msgs' */ +/* Function for Chart: '/push2msgs' */ static void SIL_sf_msg_send_msgs(void) { SIL_proc_queue_SendData(&SIL_DW.msgs_msgData_h); @@ -8636,7 +9181,7 @@ static void SIL_sf_msg_send_msgs(void) void SIL_initQueue_k0qncuyo4n2(Queue_mavlink_message_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_message_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_queue_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_queue_at_inport_0' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8647,7 +9192,7 @@ void SIL_initQueue_k0qncuyo4n2(Queue_mavlink_message_t *q, QueuePolicy_T policy, void SIL_initQueue_k0qnc(Queue_mavlink_mission_count_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_mission_count_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8658,7 +9203,7 @@ void SIL_initQueue_k0qnc(Queue_mavlink_mission_count_t *q, QueuePolicy_T policy, void SIL_initQueue_k0qncu(Queue_mavlink_mission_item_int_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_mission_item_int_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8669,7 +9214,7 @@ void SIL_initQueue_k0qncu(Queue_mavlink_mission_item_int_t *q, QueuePolicy_T void SIL_initQueue(Queue_uint16 *q, QueuePolicy_T policy, int32_T capacity, Msg_uint16 *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_req_cur_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_req_cur_at_inport_0' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8680,7 +9225,7 @@ void SIL_initQueue(Queue_uint16 *q, QueuePolicy_T policy, int32_T capacity, void SIL_initQueue_k(Queue_CommandMsg *q, QueuePolicy_T policy, int32_T capacity, Msg_CommandMsg *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_1' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8691,7 +9236,7 @@ void SIL_initQueue_k(Queue_CommandMsg *q, QueuePolicy_T policy, int32_T capacity void SIL_initQueue_k0(Queue_CommandAck *q, QueuePolicy_T policy, int32_T capacity, Msg_CommandAck *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_send_ack_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_send_ack_at_inport_0' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8702,7 +9247,7 @@ void SIL_initQueue_k0(Queue_CommandAck *q, QueuePolicy_T policy, int32_T void SIL_initQueue_k0qn(Queue_mavlink_param_value_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_param_value_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_2' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_2' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8713,7 +9258,7 @@ void SIL_initQueue_k0qn(Queue_mavlink_param_value_t *q, QueuePolicy_T policy, void SIL_initQueue_k0qncuy(Queue_mavlink_mission_ack_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_mission_ack_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_0' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8724,7 +9269,7 @@ void SIL_initQueue_k0qncuy(Queue_mavlink_mission_ack_t *q, QueuePolicy_T policy, void SIL_initQueue_k0qncuyo(Queue_mavlink_mission_current_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_mission_current_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_6' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_6' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8736,7 +9281,7 @@ void SIL_initQueue_k0qncuyo4(Queue_mavlink_mission_request_int_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_mission_request_int_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_7' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_7' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8747,7 +9292,7 @@ void SIL_initQueue_k0qncuyo4(Queue_mavlink_mission_request_int_t *q, void SIL_initQueue_k0q(Queue_mavlink_command_ack_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_command_ack_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_8' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_8' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8758,7 +9303,7 @@ void SIL_initQueue_k0q(Queue_mavlink_command_ack_t *q, QueuePolicy_T policy, void SIL_initQueue_k0qncuyo4n(Queue_mavlink_autopilot_version_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_autopilot_version_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_9' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_9' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -8769,7 +9314,7 @@ void SIL_initQueue_k0qncuyo4n(Queue_mavlink_autopilot_version_t *q, void SIL_initQueue_k0qncuyo4n2e(Queue_mavlink_serial_control_t *q, QueuePolicy_T policy, int32_T capacity, Msg_mavlink_serial_control_t *qPool) { - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_10' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_10' */ q->fPolicy = policy; q->fCapacity = capacity; q->fHead = -1; @@ -9910,33 +10455,45 @@ void SIL_step(void) uint32_T bpIndices_m[3]; real_T fractions_m[3]; uint32_T bpIndices_n[3]; - uint32_T bpIndices_o[3]; - uint32_T bpIndices_p[3]; real_T fractions_n[3]; + uint32_T bpIndices_o[3]; + real_T fractions_o[3]; + uint32_T bpIndices_p[3]; + real_T fractions_p[3]; uint32_T bpIndices_q[3]; + real_T fractions_q[3]; uint32_T bpIndices_r[3]; - real32_T fractions_o[3]; + real_T fractions_r[3]; + uint32_T bpIndices_s[3]; + real_T fractions_s[3]; + uint32_T bpIndices_t[3]; + uint32_T bpIndices_u[3]; + uint32_T bpIndices_v[3]; + real_T fractions_t[3]; + uint32_T bpIndices_w[3]; + uint32_T bpIndices_x[3]; + real32_T fractions_u[3]; Sensors rtb_DataStoreRead; boolean_T rtb_GreaterThan; real_T rtb_Switch; real_T rtb_Abs1; - real_T rtb_add_ne; + real_T rtb_add_pb; real_T rtb_Sum; real_T rtb_VectorConcatenate_k[9]; real_T rtb_Product_ps[3]; real_T rtb_Product_fd[3]; real_T rtb_VectorConcatenate_c[9]; real_T rtb_ZeroOrderHold3[3]; - int8_T s373_iter; + int8_T s302_iter; real_T rtb_parachute; uint16_T rtb_Delay_g[16]; - real_T rtb_table3D_CD_df; - real_T rtb_table2D_delta_Cm; + real_T rtb_table2D_Cmq; + real_T rtb_table3D_Cm_df; + real_T rtb_table3D_Cm_dr; int32_T rtb_BitwiseAND3; int32_T rtb_BitwiseAND4; int32_T rtb_BitwiseAND; int32_T rtb_BitwiseAND1; - real_T rtb_q3dot; int32_T rtb_BitwiseAND2; int32_T rtb_BitwiseAND5; boolean_T rtb_not; @@ -9958,13 +10515,13 @@ void SIL_step(void) real32_T rtb_Product2_cm[3]; int32_T idx; real32_T rtb_table1D_thrAB_map; + real32_T rtb_product_p; real32_T rtb_table3D_Nh; - real32_T rtb_product_g; - real32_T rtb_product_kr; + real32_T rtb_product_b; + real32_T rtb_product_og; real32_T rtb_product1_pw; real32_T rtb_Product2_f; real32_T rtb_Product3_bz; - real32_T rtb_product_j; ENUM_sysauto_level1 rtb_level1_lgx; boolean_T rtb_xbit_cmd; real32_T rtb_Merge_j_de_c; @@ -10670,7 +11227,6 @@ void SIL_step(void) boolean_T rtb_out_ic; real32_T rtb_add_f; real32_T rtb_Sqrt_b; - real32_T rtb_add_es; int32_T rtb_out_dj; uint32_T rtb_out_n5; ENUM_BIT_MODE rtb_MultiportSwitch; @@ -10763,15 +11319,15 @@ void SIL_step(void) /* DataStoreRead: '/Data Store Read' */ rtb_DataStoreRead = SIL_DW.sens; - /* Switch: '/Switch' incorporates: - * Abs: '/Abs' - * Bias: '/Bias' - * Bias: '/Bias1' - * Constant: '/omega_earth2' - * Constant: '/Constant2' - * Constant: '/Constant' - * Math: '/Math Function1' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Bias: '/Bias' + * Bias: '/Bias1' + * Constant: '/omega_earth2' + * Constant: '/Constant2' + * Constant: '/Constant' + * Math: '/Math Function1' + * RelationalOperator: '/Compare' */ if (fabs(X0[0]) > 180.0) { rtb_Switch = rt_modd_snf(X0[0] + 180.0, 360.0) + -180.0; @@ -10779,27 +11335,27 @@ void SIL_step(void) rtb_Switch = X0[0]; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Abs: '/Abs1' */ + /* Abs: '/Abs1' */ rtb_Abs1 = fabs(rtb_Switch); - /* RelationalOperator: '/Compare' incorporates: - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Constant: '/Constant' */ rtb_GreaterThan = (rtb_Abs1 > 90.0); - /* Switch: '/Switch' incorporates: - * Bias: '/Bias' - * Bias: '/Bias1' - * Constant: '/Constant' - * Constant: '/Constant1' - * Gain: '/Gain' - * Product: '/Divide1' - * Switch: '/Switch1' + /* Switch: '/Switch' incorporates: + * Bias: '/Bias' + * Bias: '/Bias1' + * Constant: '/Constant' + * Constant: '/Constant1' + * Gain: '/Gain' + * Product: '/Divide1' + * Switch: '/Switch1' */ if (rtb_GreaterThan) { - /* Signum: '/Sign1' */ + /* Signum: '/Sign1' */ if (rtb_Switch < 0.0) { rtb_Switch = -1.0; } else if (rtb_Switch > 0.0) { @@ -10810,146 +11366,146 @@ void SIL_step(void) rtb_Switch = (rtNaN); } - /* End of Signum: '/Sign1' */ + /* End of Signum: '/Sign1' */ rtb_Switch *= -(rtb_Abs1 + -90.0) + 90.0; idx = 180; } else { idx = 0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_Abs1 = 0.017453292519943295 * rtb_Switch; - /* Trigonometry: '/Trigonometric Function2' incorporates: - * Constant: '/f' - * Product: '/Product2' - * Trigonometry: '/Trigonometric Function1' + /* Trigonometry: '/Trigonometric Function2' incorporates: + * Constant: '/f' + * Product: '/Product2' + * Trigonometry: '/Trigonometric Function1' */ - rtb_add_ne = rt_atan2d_snf(tan(rtb_Abs1) * SIL_ConstB.Sum * SIL_ConstB.Sum, + rtb_add_pb = rt_atan2d_snf(tan(rtb_Abs1) * SIL_ConstB.Sum * SIL_ConstB.Sum, 1.0); - /* Trigonometry: '/Trigonometric Function' incorporates: - * UnitConversion: '/Unit Conversion' - * UnitConversion: '/Unit Conversion' + /* Trigonometry: '/Trigonometric Function' incorporates: + * UnitConversion: '/Unit Conversion' + * UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: rad to: deg Expression: output = (57.2958*input) + (0) */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ - rtb_Sum = sin(57.295779513082323 * rtb_add_ne * 0.017453292519943295); + rtb_Sum = sin(57.295779513082323 * rtb_add_pb * 0.017453292519943295); - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Constant: '/Re' - * Product: '/Product2' - * Product: '/Product3' - * Sum: '/Sum2' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Constant: '/Re' + * Product: '/Product2' + * Product: '/Product3' + * Sum: '/Sum2' */ rtb_Sum = sqrt(4.0680631590769E+13 / (rtb_Sum * rtb_Sum * SIL_ConstB.Sum1 + 1.0)); - /* Trigonometry: '/sincos' */ - rtb_sincos_o1_b_idx_1 = cos(rtb_add_ne); - rtb_add_ne = sin(rtb_add_ne); + /* Trigonometry: '/sincos' */ + rtb_sincos_o1_b_idx_1 = cos(rtb_add_pb); + rtb_add_pb = sin(rtb_add_pb); - /* UnitConversion: '/Unit Conversion' incorporates: - * Constant: '/Constant2' - * Product: '/Product1' - * Product: '/Product3' - * Sum: '/Sum1' - * Trigonometry: '/Trigonometric Function3' - * Trigonometry: '/sincos' - * Trigonometry: '/sincos1' + /* UnitConversion: '/Unit Conversion' incorporates: + * Constant: '/Constant2' + * Product: '/Product1' + * Product: '/Product3' + * Sum: '/Sum1' + * Trigonometry: '/Trigonometric Function3' + * Trigonometry: '/sincos' + * Trigonometry: '/sincos1' */ /* Unit Conversion - from: rad to: deg Expression: output = (57.2958*input) + (0) */ - rtb_add_ne = rt_atan2d_snf(0.0 * sin(rtb_Abs1) + rtb_Sum * rtb_add_ne, 0.0 + rtb_add_pb = rt_atan2d_snf(0.0 * sin(rtb_Abs1) + rtb_Sum * rtb_add_pb, 0.0 * cos(rtb_Abs1) + rtb_Sum * rtb_sincos_o1_b_idx_1) * 57.295779513082323; - /* Sum: '/Sum' incorporates: - * Constant: '/omega_earth2' + /* Sum: '/Sum' incorporates: + * Constant: '/omega_earth2' */ rtb_Sum = (real_T)idx + X0[1]; - /* Switch: '/Switch' incorporates: - * Abs: '/Abs' - * Bias: '/Bias' - * Bias: '/Bias1' - * Constant: '/Constant2' - * Constant: '/Constant' - * Math: '/Math Function1' - * RelationalOperator: '/Compare' + /* Switch: '/Switch' incorporates: + * Abs: '/Abs' + * Bias: '/Bias' + * Bias: '/Bias1' + * Constant: '/Constant2' + * Constant: '/Constant' + * Math: '/Math Function1' + * RelationalOperator: '/Compare' */ if (fabs(rtb_Sum) > 180.0) { rtb_Sum = rt_modd_snf(rtb_Sum + 180.0, 360.0) + -180.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ - rtb_Abs1 = 0.017453292519943295 * rtb_add_ne; + rtb_Abs1 = 0.017453292519943295 * rtb_add_pb; rtb_sincos_o1_b_idx_1 = 0.017453292519943295 * rtb_Sum; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ rtb_sincos_o2_k_idx_0 = cos(rtb_Abs1); rtb_Abs1 = sin(rtb_Abs1); rtb_sincos_o2_k_idx_1_tmp = cos(rtb_sincos_o1_b_idx_1); rtb_sincos_o1_b_idx_1 = sin(rtb_sincos_o1_b_idx_1); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(4)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(4)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[0] = -(rtb_Abs1 * rtb_sincos_o2_k_idx_1_tmp); - /* UnaryMinus: '/Unary Minus' incorporates: - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[1] = -rtb_sincos_o1_b_idx_1; - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(3)*u(4)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(3)*u(4)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[2] = -(rtb_sincos_o2_k_idx_0 * rtb_sincos_o2_k_idx_1_tmp); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(2)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(2)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[3] = -(rtb_Abs1 * rtb_sincos_o1_b_idx_1); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' incorporates: - * Trigonometry: '/sincos' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' incorporates: + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[4] = rtb_sincos_o2_k_idx_1_tmp; - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(2)*u(3)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(2)*u(3)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_k[5] = -(rtb_sincos_o1_b_idx_1 * rtb_sincos_o2_k_idx_0); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ rtb_VectorConcatenate_k[6] = rtb_sincos_o2_k_idx_0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_k[7] = 0.0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ rtb_VectorConcatenate_k[8] = -rtb_Abs1; - /* Math: '/Math Function1' */ + /* Math: '/Math Function1' */ for (idx = 0; idx < 3; idx++) { rtb_VectorConcatenate_jl[3 * idx] = rtb_VectorConcatenate_k[idx]; rtb_VectorConcatenate_jl[1 + 3 * idx] = rtb_VectorConcatenate_k[idx + 3]; @@ -10959,109 +11515,109 @@ void SIL_step(void) memcpy(&rtb_VectorConcatenate_k[0], &rtb_VectorConcatenate_jl[0], 9U * sizeof(real_T)); - /* End of Math: '/Math Function1' */ + /* End of Math: '/Math Function1' */ - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ - rtb_add_ne *= 0.017453292519943295; + rtb_add_pb *= 0.017453292519943295; - /* Trigonometry: '/Trigonometric Function' */ - rtb_add_ne = sin(rtb_add_ne); + /* Trigonometry: '/Trigonometric Function' */ + rtb_add_pb = sin(rtb_add_pb); - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Constant: '/Re' - * Product: '/Product2' - * Product: '/Product3' - * Sum: '/Sum2' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Constant: '/Re' + * Product: '/Product2' + * Product: '/Product3' + * Sum: '/Sum2' */ - rtb_add_ne = sqrt(4.0680631590769E+13 / (rtb_add_ne * rtb_add_ne * + rtb_add_pb = sqrt(4.0680631590769E+13 / (rtb_add_pb * rtb_add_pb * SIL_ConstB.Sum1_a + 1.0)); - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_Abs1 = 0.017453292519943295 * rtb_Switch; rtb_sincos_o1_b_idx_1 = 0.017453292519943295 * rtb_Sum; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ rtb_Switch = cos(rtb_Abs1); rtb_Abs1 = sin(rtb_Abs1); rtb_sincos_o2_k_idx_1_tmp = cos(rtb_sincos_o1_b_idx_1); rtb_sincos_o1_b_idx_1 = sin(rtb_sincos_o1_b_idx_1); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(4)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(4)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[0] = -(rtb_Abs1 * rtb_sincos_o2_k_idx_1_tmp); - /* UnaryMinus: '/Unary Minus' incorporates: - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[1] = -rtb_sincos_o1_b_idx_1; - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(3)*u(4)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(3)*u(4)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[2] = -(rtb_Switch * rtb_sincos_o2_k_idx_1_tmp); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(2)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(2)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[3] = -(rtb_Abs1 * rtb_sincos_o1_b_idx_1); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' incorporates: - * Trigonometry: '/sincos' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' incorporates: + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[4] = rtb_sincos_o2_k_idx_1_tmp; - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(2)*u(3)' - * Trigonometry: '/sincos' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(2)*u(3)' + * Trigonometry: '/sincos' */ rtb_VectorConcatenate_c[5] = -(rtb_sincos_o1_b_idx_1 * rtb_Switch); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ rtb_VectorConcatenate_c[6] = rtb_Switch; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_c[7] = 0.0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ rtb_VectorConcatenate_c[8] = -rtb_Abs1; for (idx = 0; idx < 3; idx++) { - /* Math: '/Math Function' */ + /* Math: '/Math Function' */ rtb_VectorConcatenate_jl[3 * idx] = rtb_VectorConcatenate_c[idx]; rtb_VectorConcatenate_jl[1 + 3 * idx] = rtb_VectorConcatenate_c[idx + 3]; rtb_VectorConcatenate_jl[2 + 3 * idx] = rtb_VectorConcatenate_c[idx + 6]; - /* Product: '/Product1' incorporates: - * UnaryMinus: '/Unary Minus' + /* Product: '/Product1' incorporates: + * UnaryMinus: '/Unary Minus' */ - rtb_Product_fd[idx] = rtb_VectorConcatenate_k[idx + 6] * -rtb_add_ne + + rtb_Product_fd[idx] = rtb_VectorConcatenate_k[idx + 6] * -rtb_add_pb + (rtb_VectorConcatenate_k[idx + 3] * 0.0 + rtb_VectorConcatenate_k[idx] * 0.0); } - /* Math: '/Math Function' */ + /* Math: '/Math Function' */ memcpy(&rtb_VectorConcatenate_c[0], &rtb_VectorConcatenate_jl[0], 9U * sizeof(real_T)); - /* UnaryMinus: '/Unary Minus1' incorporates: - * Constant: '/omega_earth2' + /* UnaryMinus: '/Unary Minus1' incorporates: + * Constant: '/omega_earth2' */ - rtb_add_ne = -X0[2]; + rtb_add_pb = -X0[2]; - /* Sum: '/Sum' incorporates: - * Constant: '/omega_earth2' - * Product: '/Product' - * UnaryMinus: '/Unary Minus1' + /* Sum: '/Sum' incorporates: + * Constant: '/omega_earth2' + * Product: '/Product' + * UnaryMinus: '/Unary Minus1' */ for (idx = 0; idx < 3; idx++) { SIL_B.Sum[idx] = ((rtb_VectorConcatenate_c[idx + 3] * 0.0 + @@ -11070,10 +11626,10 @@ void SIL_step(void) rtb_Product_fd[idx]; } - /* End of Sum: '/Sum' */ + /* End of Sum: '/Sum' */ } - /* Integrator: '/p1' */ + /* Integrator: '/p1' */ if (SIL_DW.p1_IWORK != 0) { SIL_X.p1_CSTATE[0] = SIL_B.Sum[0]; SIL_X.p1_CSTATE[1] = SIL_B.Sum[1]; @@ -11084,48 +11640,48 @@ void SIL_step(void) SIL_B.p1[1] = SIL_X.p1_CSTATE[1]; SIL_B.p1[2] = SIL_X.p1_CSTATE[2]; - /* End of Integrator: '/p1' */ + /* End of Integrator: '/p1' */ - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2 = SIL_B.p1[0] * SIL_B.p1[0]; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3 = SIL_B.p1[1] * SIL_B.p1[1]; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2 = SIL_B.Product2 + SIL_B.Product3; - /* Sqrt: '/sqrt' */ + /* Sqrt: '/sqrt' */ SIL_B.sqrt_f = sqrt(SIL_B.Sum2); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: - * WhileIterator: '/While Iterator' + /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: + * WhileIterator: '/While Iterator' */ - s373_iter = 1; + s302_iter = 1; do { rtb_Abs1 = SIL_DW.Memory_PreviousInput; - if (s373_iter <= 0) { + if (s302_iter <= 0) { rtb_Abs1 = rt_atan2d_snf(SIL_B.p1[2], SIL_ConstB.Sum1_c * SIL_B.sqrt_f); } rtb_Switch = sin(rtb_Abs1); - rtb_add_ne = cos(rtb_Abs1); + rtb_add_pb = cos(rtb_Abs1); rtb_Switch *= SIL_ConstB.Product2_i * SIL_ConstB.Product1_l * rtb_Switch * rtb_Switch; rtb_Switch += SIL_B.p1[2]; SIL_B.TrigonometricFunction4 = rt_atan2d_snf(rtb_Switch, SIL_B.sqrt_f - - rtb_add_ne * rtb_add_ne * rtb_add_ne * SIL_ConstB.Sum1_n * 6.378137E+6); + rtb_add_pb * rtb_add_pb * rtb_add_pb * SIL_ConstB.Sum1_n * 6.378137E+6); SIL_DW.Memory_PreviousInput = rt_atan2d_snf(SIL_ConstB.Sum1_c * sin (SIL_B.TrigonometricFunction4), cos(SIL_B.TrigonometricFunction4)); - s373_iter++; - } while ((rtb_Abs1 != SIL_DW.Memory_PreviousInput) && (s373_iter <= 5)); + s302_iter++; + } while ((rtb_Abs1 != SIL_DW.Memory_PreviousInput) && (s302_iter <= 5)); - /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ + /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ - /* Trigonometry: '/sincos' incorporates: - * Constant: '/Initial Euler Angles' - * SignalConversion: '/TmpSignal ConversionAtsincosInport1' + /* Trigonometry: '/sincos' incorporates: + * Constant: '/Initial Euler Angles' + * SignalConversion: '/TmpSignal ConversionAtsincosInport1' */ rtb_Product_fd[0] = cos(Att0[2]); rtb_Product_ps[0] = sin(Att0[2]); @@ -11134,103 +11690,103 @@ void SIL_step(void) rtb_Product_fd[2] = cos(Att0[0]); rtb_Abs1 = sin(Att0[0]); - /* Fcn: '/Fcn11' */ + /* Fcn: '/Fcn11' */ rtb_VectorConcatenate_c[0] = rtb_Product_fd[1] * rtb_Product_fd[0]; - /* Fcn: '/Fcn21' incorporates: - * Fcn: '/Fcn22' + /* Fcn: '/Fcn21' incorporates: + * Fcn: '/Fcn22' */ rtb_Switch = rtb_Abs1 * rtb_Product_ps[1]; rtb_VectorConcatenate_c[1] = rtb_Switch * rtb_Product_fd[0] - rtb_Product_fd[2] * rtb_Product_ps[0]; - /* Fcn: '/Fcn31' incorporates: - * Fcn: '/Fcn32' + /* Fcn: '/Fcn31' incorporates: + * Fcn: '/Fcn32' */ rtb_sincos_o1_b_idx_1 = rtb_Product_fd[2] * rtb_Product_ps[1]; rtb_VectorConcatenate_c[2] = rtb_sincos_o1_b_idx_1 * rtb_Product_fd[0] + rtb_Abs1 * rtb_Product_ps[0]; - /* Fcn: '/Fcn12' */ + /* Fcn: '/Fcn12' */ rtb_VectorConcatenate_c[3] = rtb_Product_fd[1] * rtb_Product_ps[0]; - /* Fcn: '/Fcn22' */ + /* Fcn: '/Fcn22' */ rtb_VectorConcatenate_c[4] = rtb_Switch * rtb_Product_ps[0] + rtb_Product_fd[2] * rtb_Product_fd[0]; - /* Fcn: '/Fcn32' */ + /* Fcn: '/Fcn32' */ rtb_VectorConcatenate_c[5] = rtb_sincos_o1_b_idx_1 * rtb_Product_ps[0] - rtb_Abs1 * rtb_Product_fd[0]; - /* Fcn: '/Fcn13' */ + /* Fcn: '/Fcn13' */ rtb_VectorConcatenate_c[6] = -rtb_Product_ps[1]; - /* Fcn: '/Fcn23' */ + /* Fcn: '/Fcn23' */ rtb_VectorConcatenate_c[7] = rtb_Abs1 * rtb_Product_fd[1]; - /* Fcn: '/Fcn33' */ + /* Fcn: '/Fcn33' */ rtb_VectorConcatenate_c[8] = rtb_Product_fd[2] * rtb_Product_fd[1]; - /* UnitConversion: '/Unit Conversion' incorporates: - * Constant: '/omega_earth2' + /* UnitConversion: '/Unit Conversion' incorporates: + * Constant: '/omega_earth2' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_sincos_o1_b_idx_1 = 0.017453292519943295 * X0[0]; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ rtb_sincos_o2_k_idx_0 = cos(rtb_sincos_o1_b_idx_1); - /* UnitConversion: '/Unit Conversion' incorporates: - * Constant: '/omega_earth2' - * Trigonometry: '/sincos' + /* UnitConversion: '/Unit Conversion' incorporates: + * Constant: '/omega_earth2' + * Trigonometry: '/sincos' */ rtb_Abs1 = sin(rtb_sincos_o1_b_idx_1); rtb_sincos_o1_b_idx_1 = 0.017453292519943295 * X0[1]; - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ rtb_Switch = cos(rtb_sincos_o1_b_idx_1); rtb_sincos_o1_b_idx_1 = sin(rtb_sincos_o1_b_idx_1); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(4)' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(4)' */ rtb_VectorConcatenate_k[0] = -(rtb_Abs1 * rtb_Switch); - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ rtb_VectorConcatenate_k[1] = -rtb_sincos_o1_b_idx_1; - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(3)*u(4)' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(3)*u(4)' */ rtb_VectorConcatenate_k[2] = -(rtb_sincos_o2_k_idx_0 * rtb_Switch); - /* UnaryMinus: '/Unary Minus' incorporates: - * Product: '/u(1)*u(2)' + /* UnaryMinus: '/Unary Minus' incorporates: + * Product: '/u(1)*u(2)' */ rtb_VectorConcatenate_k[3] = -(rtb_Abs1 * rtb_sincos_o1_b_idx_1); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ rtb_VectorConcatenate_k[4] = rtb_Switch; - /* Product: '/u(2)*u(3)' */ - rtb_add_ne = rtb_sincos_o1_b_idx_1 * rtb_sincos_o2_k_idx_0; + /* Product: '/u(2)*u(3)' */ + rtb_add_pb = rtb_sincos_o1_b_idx_1 * rtb_sincos_o2_k_idx_0; - /* UnaryMinus: '/Unary Minus' */ - rtb_VectorConcatenate_k[5] = -rtb_add_ne; + /* UnaryMinus: '/Unary Minus' */ + rtb_VectorConcatenate_k[5] = -rtb_add_pb; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ rtb_VectorConcatenate_k[6] = rtb_sincos_o2_k_idx_0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: + * Constant: '/Constant' */ rtb_VectorConcatenate_k[7] = 0.0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ rtb_VectorConcatenate_k[8] = -rtb_Abs1; - /* Product: '/Product2' */ + /* Product: '/Product2' */ for (idx = 0; idx < 3; idx++) { for (rtb_out_dj = 0; rtb_out_dj < 3; rtb_out_dj++) { rtb_Product2_k0_tmp = rtb_out_dj + 3 * idx; @@ -11248,14 +11804,14 @@ void SIL_step(void) } } - /* End of Product: '/Product2' */ + /* End of Product: '/Product2' */ - /* Sum: '/Add' */ + /* Sum: '/Add' */ rtb_sincos_o2_f_idx_0 = (rtb_Product2_ihb[0] + rtb_Product2_ihb[4]) + rtb_Product2_ihb[8]; - /* If: '/If' incorporates: - * Sum: '/Add' + /* If: '/If' incorporates: + * Sum: '/Add' */ if (rtmIsMajorTimeStep(SIL_M)) { SIL_DW.If_ActiveSubsystem = (int8_T)!(rtb_sincos_o2_f_idx_0 > 0.0); @@ -11263,26 +11819,26 @@ void SIL_step(void) switch (SIL_DW.If_ActiveSubsystem) { case 0: - /* Outputs for IfAction SubSystem: '/Positive Trace' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Positive Trace' incorporates: + * ActionPort: '/Action Port' */ - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Sum: '/Sum' - * Sum: '/Add' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Sum: '/Sum' + * Sum: '/Add' */ rtb_Abs1 = sqrt(rtb_sincos_o2_f_idx_0 + 1.0); - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Merge_g[0] = 0.5 * rtb_Abs1; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Abs1 *= 2.0; - /* Product: '/Product' incorporates: - * Sum: '/Add' - * Sum: '/Add' - * Sum: '/Add' + /* Product: '/Product' incorporates: + * Sum: '/Add' + * Sum: '/Add' + * Sum: '/Add' */ SIL_B.Merge_g[1] = (rtb_Product2_ihb[7] - rtb_Product2_ihb[5]) / rtb_Abs1; @@ -11291,28 +11847,28 @@ void SIL_step(void) SIL_B.Merge_g[3] = (rtb_Product2_ihb[3] - rtb_Product2_ihb[1]) / rtb_Abs1; - /* End of Outputs for SubSystem: '/Positive Trace' */ + /* End of Outputs for SubSystem: '/Positive Trace' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Negative Trace' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Negative Trace' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/Find Maximum Diagonal Value' */ + /* If: '/Find Maximum Diagonal Value' */ if ((rtb_Product2_ihb[4] > rtb_Product2_ihb[0]) && (rtb_Product2_ihb[4] > rtb_Product2_ihb[8])) { - /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(2,2)' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(2,2)' incorporates: + * ActionPort: '/Action Port' */ - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Sum: '/Add' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Sum: '/Add' */ rtb_Abs1 = sqrt(((rtb_Product2_ihb[4] - rtb_Product2_ihb[0]) - rtb_Product2_ihb[8]) + 1.0); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ if (rtb_Abs1 != 0.0) { rtb_sincos_o2_k_idx_0 = 0.5; @@ -11322,49 +11878,49 @@ void SIL_step(void) rtb_Switch = 1.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Switch = rtb_sincos_o2_k_idx_0 / rtb_Switch; - /* Gain: '/Gain1' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain1' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[1] = (rtb_Product2_ihb[1] + rtb_Product2_ihb[3]) * rtb_Switch; - /* Gain: '/Gain3' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain3' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[3] = (rtb_Product2_ihb[5] + rtb_Product2_ihb[7]) * rtb_Switch; - /* Gain: '/Gain4' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain4' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[0] = (rtb_Product2_ihb[2] - rtb_Product2_ihb[6]) * rtb_Switch; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Merge_g[2] = 0.5 * rtb_Abs1; - /* End of Outputs for SubSystem: '/Maximum Value at DCM(2,2)' */ + /* End of Outputs for SubSystem: '/Maximum Value at DCM(2,2)' */ } else if (rtb_Product2_ihb[8] > rtb_Product2_ihb[0]) { - /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(3,3)' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(3,3)' incorporates: + * ActionPort: '/Action Port' */ - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Sum: '/Add' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Sum: '/Add' */ rtb_Abs1 = sqrt(((rtb_Product2_ihb[8] - rtb_Product2_ihb[0]) - rtb_Product2_ihb[4]) + 1.0); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ if (rtb_Abs1 != 0.0) { rtb_sincos_o2_k_idx_0 = 0.5; @@ -11374,49 +11930,49 @@ void SIL_step(void) rtb_Switch = 1.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Switch = rtb_sincos_o2_k_idx_0 / rtb_Switch; - /* Gain: '/Gain1' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain1' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[1] = (rtb_Product2_ihb[2] + rtb_Product2_ihb[6]) * rtb_Switch; - /* Gain: '/Gain2' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain2' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[2] = (rtb_Product2_ihb[5] + rtb_Product2_ihb[7]) * rtb_Switch; - /* Gain: '/Gain3' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain3' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[0] = (rtb_Product2_ihb[3] - rtb_Product2_ihb[1]) * rtb_Switch; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Merge_g[3] = 0.5 * rtb_Abs1; - /* End of Outputs for SubSystem: '/Maximum Value at DCM(3,3)' */ + /* End of Outputs for SubSystem: '/Maximum Value at DCM(3,3)' */ } else { - /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(1,1)' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Maximum Value at DCM(1,1)' incorporates: + * ActionPort: '/Action Port' */ - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant' - * Sum: '/Add' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant' + * Sum: '/Add' */ rtb_Abs1 = sqrt(((rtb_Product2_ihb[0] - rtb_Product2_ihb[4]) - rtb_Product2_ihb[8]) + 1.0); - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant1' */ if (rtb_Abs1 != 0.0) { rtb_sincos_o2_k_idx_0 = 0.5; @@ -11426,48 +11982,48 @@ void SIL_step(void) rtb_Switch = 1.0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Product' */ + /* Product: '/Product' */ rtb_Switch = rtb_sincos_o2_k_idx_0 / rtb_Switch; - /* Gain: '/Gain1' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain1' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[2] = (rtb_Product2_ihb[1] + rtb_Product2_ihb[3]) * rtb_Switch; - /* Gain: '/Gain2' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain2' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[3] = (rtb_Product2_ihb[2] + rtb_Product2_ihb[6]) * rtb_Switch; - /* Gain: '/Gain3' incorporates: - * Product: '/Product' - * Sum: '/Add' + /* Gain: '/Gain3' incorporates: + * Product: '/Product' + * Sum: '/Add' */ SIL_B.Merge_g[0] = (rtb_Product2_ihb[7] - rtb_Product2_ihb[5]) * rtb_Switch; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Merge_g[1] = 0.5 * rtb_Abs1; - /* End of Outputs for SubSystem: '/Maximum Value at DCM(1,1)' */ + /* End of Outputs for SubSystem: '/Maximum Value at DCM(1,1)' */ } - /* End of If: '/Find Maximum Diagonal Value' */ - /* End of Outputs for SubSystem: '/Negative Trace' */ + /* End of If: '/Find Maximum Diagonal Value' */ + /* End of Outputs for SubSystem: '/Negative Trace' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ } - /* UnitConversion: '/Unit Conversion' incorporates: - * Trigonometry: '/Trigonometric Function2' + /* UnitConversion: '/Unit Conversion' incorporates: + * Trigonometry: '/Trigonometric Function2' */ /* Unit Conversion - from: rad to: deg Expression: output = (57.2958*input) + (0) */ @@ -11475,7 +12031,7 @@ void SIL_step(void) SIL_B.UnitConversion[1] = 57.295779513082323 * rt_atan2d_snf(SIL_B.p1[1], SIL_B.p1[0]); - /* Integrator: '/q' */ + /* Integrator: '/q' */ if (SIL_DW.q_IWORK != 0) { SIL_X.q_CSTATE[0] = SIL_B.Merge_g[0]; SIL_X.q_CSTATE[1] = SIL_B.Merge_g[1]; @@ -11488,260 +12044,260 @@ void SIL_step(void) SIL_B.q[2] = SIL_X.q_CSTATE[2]; SIL_B.q[3] = SIL_X.q_CSTATE[3]; - /* End of Integrator: '/q' */ + /* End of Integrator: '/q' */ - /* Product: '/Product' incorporates: - * Product: '/Product' + /* Product: '/Product' incorporates: + * Product: '/Product' */ rtb_Abs1 = SIL_B.q[0] * SIL_B.q[0]; SIL_B.Product = rtb_Abs1; - /* Product: '/Product1' incorporates: - * Product: '/Product1' + /* Product: '/Product1' incorporates: + * Product: '/Product1' */ rtb_Switch = SIL_B.q[1] * SIL_B.q[1]; SIL_B.Product1 = rtb_Switch; - /* Product: '/Product2' incorporates: - * Product: '/Product2' + /* Product: '/Product2' incorporates: + * Product: '/Product2' */ rtb_sincos_o1_b_idx_1 = SIL_B.q[2] * SIL_B.q[2]; SIL_B.Product2_i = rtb_sincos_o1_b_idx_1; - /* Product: '/Product3' incorporates: - * Product: '/Product3' + /* Product: '/Product3' incorporates: + * Product: '/Product3' */ rtb_sincos_o2_k_idx_1_tmp = SIL_B.q[3] * SIL_B.q[3]; SIL_B.Product3_k = rtb_sincos_o2_k_idx_1_tmp; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_e = ((SIL_B.Product + SIL_B.Product1) + SIL_B.Product2_i) + SIL_B.Product3_k; - /* Sqrt: '/sqrt' */ + /* Sqrt: '/sqrt' */ rtb_parachute = sqrt(SIL_B.Sum_e); - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_n = SIL_B.q[0] / rtb_parachute; - /* Product: '/Product3' incorporates: - * Product: '/Product3' - * Product: '/Product3' + /* Product: '/Product3' incorporates: + * Product: '/Product3' + * Product: '/Product3' */ SIL_B.Product3_h = SIL_B.Product_n * SIL_B.Product_n; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_o = SIL_B.q[1] / rtb_parachute; - /* Product: '/Product2' incorporates: - * Product: '/Product2' - * Product: '/Product2' + /* Product: '/Product2' incorporates: + * Product: '/Product2' + * Product: '/Product2' */ SIL_B.Product2_e = SIL_B.Product1_o * SIL_B.Product1_o; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_h = SIL_B.q[2] / rtb_parachute; - /* Product: '/Product1' incorporates: - * Product: '/Product1' - * Product: '/Product1' + /* Product: '/Product1' incorporates: + * Product: '/Product1' + * Product: '/Product1' */ SIL_B.Product1_m = SIL_B.Product2_h * SIL_B.Product2_h; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_b = SIL_B.q[3] / rtb_parachute; - /* Product: '/Product' incorporates: - * Product: '/Product' - * Product: '/Product' + /* Product: '/Product' incorporates: + * Product: '/Product' + * Product: '/Product' */ SIL_B.Product_o = SIL_B.Product3_b * SIL_B.Product3_b; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.VectorConcatenate[0] = ((SIL_B.Product3_h + SIL_B.Product2_e) - SIL_B.Product1_m) - SIL_B.Product_o; - /* Product: '/Product3' incorporates: - * Product: '/Product3' + /* Product: '/Product3' incorporates: + * Product: '/Product3' */ SIL_B.Product3_m = SIL_B.Product3_b * SIL_B.Product_n; - /* Product: '/Product2' incorporates: - * Product: '/Product2' + /* Product: '/Product2' incorporates: + * Product: '/Product2' */ SIL_B.Product2_k = SIL_B.Product1_o * SIL_B.Product2_h; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_j = SIL_B.Product2_k - SIL_B.Product3_m; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[1] = 2.0 * SIL_B.Sum_j; - /* Product: '/Product1' incorporates: - * Product: '/Product1' + /* Product: '/Product1' incorporates: + * Product: '/Product1' */ SIL_B.Product1_b = SIL_B.Product_n * SIL_B.Product2_h; - /* Product: '/Product2' incorporates: - * Product: '/Product2' + /* Product: '/Product2' incorporates: + * Product: '/Product2' */ SIL_B.Product2_eu = SIL_B.Product1_o * SIL_B.Product3_b; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_l = SIL_B.Product1_b + SIL_B.Product2_eu; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[2] = 2.0 * SIL_B.Sum_l; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_n = SIL_B.Product3_m; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_p = SIL_B.Product2_k; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_d = SIL_B.Product3_n + SIL_B.Product2_p; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[3] = 2.0 * SIL_B.Sum_d; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_a = SIL_B.Product3_h; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_i3 = SIL_B.Product2_e; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_e = SIL_B.Product1_m; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_op = SIL_B.Product_o; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.VectorConcatenate[4] = ((SIL_B.Product3_a - SIL_B.Product2_i3) + SIL_B.Product1_e) - SIL_B.Product_op; - /* Product: '/Product1' incorporates: - * Product: '/Product1' + /* Product: '/Product1' incorporates: + * Product: '/Product1' */ SIL_B.Product1_i = SIL_B.Product_n * SIL_B.Product1_o; - /* Product: '/Product2' incorporates: - * Product: '/Product2' + /* Product: '/Product2' incorporates: + * Product: '/Product2' */ SIL_B.Product2_c = SIL_B.Product2_h * SIL_B.Product3_b; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_dx = SIL_B.Product2_c - SIL_B.Product1_i; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[5] = 2.0 * SIL_B.Sum_dx; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_d = SIL_B.Product1_b; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_iv = SIL_B.Product2_eu; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_i = SIL_B.Product2_iv - SIL_B.Product1_d; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[6] = 2.0 * SIL_B.Sum_i; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_f = SIL_B.Product1_i; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_k3 = SIL_B.Product2_c; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_f = SIL_B.Product1_f + SIL_B.Product2_k3; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.VectorConcatenate[7] = 2.0 * SIL_B.Sum_f; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_o = SIL_B.Product3_h; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_n = SIL_B.Product2_e; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_id = SIL_B.Product1_m; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_d = SIL_B.Product_o; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.VectorConcatenate[8] = ((SIL_B.Product3_o - SIL_B.Product2_n) - SIL_B.Product1_id) + SIL_B.Product_d; - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ - rtb_q3dot = 0.017453292519943295 * SIL_B.UnitConversion[0]; + rtb_table3D_Cm_df = 0.017453292519943295 * SIL_B.UnitConversion[0]; - /* Trigonometry: '/sincos' */ - rtb_sincos_o2_f_idx_0 = cos(rtb_q3dot); + /* Trigonometry: '/sincos' */ + rtb_sincos_o2_f_idx_0 = cos(rtb_table3D_Cm_df); - /* UnitConversion: '/Unit Conversion' incorporates: - * Trigonometry: '/sincos' + /* UnitConversion: '/Unit Conversion' incorporates: + * Trigonometry: '/sincos' */ - rtb_sincos_o2_k_idx_0 = sin(rtb_q3dot); - rtb_q3dot = 0.017453292519943295 * SIL_B.UnitConversion[1]; + rtb_sincos_o2_k_idx_0 = sin(rtb_table3D_Cm_df); + rtb_table3D_Cm_df = 0.017453292519943295 * SIL_B.UnitConversion[1]; - /* Trigonometry: '/sincos' */ - rtb_sincos_o2_f_idx_1 = cos(rtb_q3dot); - rtb_q3dot = sin(rtb_q3dot); + /* Trigonometry: '/sincos' */ + rtb_sincos_o2_f_idx_1 = cos(rtb_table3D_Cm_df); + rtb_table3D_Cm_df = sin(rtb_table3D_Cm_df); - /* Product: '/u(1)*u(4)' */ + /* Product: '/u(1)*u(4)' */ SIL_B.u1u4 = rtb_sincos_o2_k_idx_0 * rtb_sincos_o2_f_idx_1; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_g[0] = -SIL_B.u1u4; - /* UnaryMinus: '/Unary Minus' */ - SIL_B.VectorConcatenate_g[1] = -rtb_q3dot; + /* UnaryMinus: '/Unary Minus' */ + SIL_B.VectorConcatenate_g[1] = -rtb_table3D_Cm_df; - /* Product: '/u(3)*u(4)' */ + /* Product: '/u(3)*u(4)' */ SIL_B.u3u4 = rtb_sincos_o2_f_idx_0 * rtb_sincos_o2_f_idx_1; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_g[2] = -SIL_B.u3u4; - /* Product: '/u(1)*u(2)' */ - SIL_B.u1u2 = rtb_sincos_o2_k_idx_0 * rtb_q3dot; + /* Product: '/u(1)*u(2)' */ + SIL_B.u1u2 = rtb_sincos_o2_k_idx_0 * rtb_table3D_Cm_df; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_g[3] = -SIL_B.u1u2; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ SIL_B.VectorConcatenate_g[4] = rtb_sincos_o2_f_idx_1; - /* Product: '/u(2)*u(3)' */ - SIL_B.u2u3 = rtb_q3dot * rtb_sincos_o2_f_idx_0; + /* Product: '/u(2)*u(3)' */ + SIL_B.u2u3 = rtb_table3D_Cm_df * rtb_sincos_o2_f_idx_0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_g[5] = -SIL_B.u2u3; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' */ SIL_B.VectorConcatenate_g[6] = rtb_sincos_o2_f_idx_0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: + * Constant: '/Constant' */ SIL_B.VectorConcatenate_g[7] = 0.0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_g[8] = -rtb_sincos_o2_k_idx_0; for (idx = 0; idx < 3; idx++) { - /* Math: '/Math Function2' */ + /* Math: '/Math Function2' */ SIL_B.MathFunction2[3 * idx] = SIL_B.VectorConcatenate_g[idx]; SIL_B.MathFunction2[1 + 3 * idx] = SIL_B.VectorConcatenate_g[idx + 3]; SIL_B.MathFunction2[2 + 3 * idx] = SIL_B.VectorConcatenate_g[idx + 6]; - /* Product: '/Product4' */ + /* Product: '/Product4' */ for (rtb_out_dj = 0; rtb_out_dj < 3; rtb_out_dj++) { rtb_Product2_k0_tmp = rtb_out_dj + 3 * idx; SIL_B.Product4[rtb_Product2_k0_tmp] = 0.0; @@ -11757,81 +12313,81 @@ void SIL_step(void) SIL_B.Product4[rtb_Product2_k0_tmp_0]; } - /* End of Product: '/Product4' */ + /* End of Product: '/Product4' */ } if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ SIL_B.sincos_o1 = sin(SIL_B.TrigonometricFunction4); SIL_B.sincos_o2 = cos(SIL_B.TrigonometricFunction4); - /* Product: '/Product2' */ - rtb_add_ne = SIL_B.sincos_o1 * SIL_ConstB.Sum1_n; + /* Product: '/Product2' */ + rtb_add_pb = SIL_B.sincos_o1 * SIL_ConstB.Sum1_n; - /* Sqrt: '/sqrt' incorporates: - * Constant: '/f' - * Product: '/Product1' - * Sum: '/Sum' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/f' + * Product: '/Product1' + * Sum: '/Sum' */ - rtb_Sum = sqrt(1.0 - rtb_add_ne * SIL_B.sincos_o1); + rtb_Sum = sqrt(1.0 - rtb_add_pb * SIL_B.sincos_o1); - /* Product: '/Product3' incorporates: - * Constant: '/Constant1' + /* Product: '/Product3' incorporates: + * Constant: '/Constant1' */ SIL_B.Product3_a1 = 6.378137E+6 / rtb_Sum; - /* Product: '/Product4' */ - SIL_B.Product4_g = rtb_add_ne * SIL_B.Product3_a1; + /* Product: '/Product4' */ + SIL_B.Product4_g = rtb_add_pb * SIL_B.Product3_a1; /* UnitDelay: '/Unit Delay' */ - rtb_add_ne = SIL_DW.UnitDelay_DSTATE_k; + rtb_add_pb = SIL_DW.UnitDelay_DSTATE_k; /* Lookup_n-D: '/1-D Lookup Table' */ - SIL_B.uDLookupTable = look1_binlcpw(rtb_add_ne, SIL_P.wind_level, + SIL_B.uDLookupTable = look1_binlcpw(rtb_add_pb, SIL_P.wind_level, SIL_P.wind_north, 2U); /* Lookup_n-D: '/1-D Lookup Table1' */ - SIL_B.uDLookupTable1 = look1_binlcpw(rtb_add_ne, SIL_P.wind_level, + SIL_B.uDLookupTable1 = look1_binlcpw(rtb_add_pb, SIL_P.wind_level, SIL_P.wind_east, 2U); /* UnitDelay: '/Unit Delay1' */ - rtb_add_ne = SIL_DW.UnitDelay1_DSTATE; + rtb_add_pb = SIL_DW.UnitDelay1_DSTATE; /* Lookup_n-D: '/1-D Lookup Table2' */ - SIL_B.soundspeed_bias = look1_binlcpw(rtb_add_ne, SIL_P.wind_level, + SIL_B.soundspeed_bias = look1_binlcpw(rtb_add_pb, SIL_P.wind_level, SIL_P.soundspeed_bias, 2U); /* Lookup_n-D: '/1-D Lookup Table3' */ - SIL_B.Ps_bias = look1_binlcpw(rtb_add_ne, SIL_P.wind_level, SIL_P.Ps_bias, + SIL_B.Ps_bias = look1_binlcpw(rtb_add_pb, SIL_P.wind_level, SIL_P.Ps_bias, 2U); /* Lookup_n-D: '/1-D Lookup Table4' */ - SIL_B.rho_bias = look1_binlcpw(rtb_add_ne, SIL_P.wind_level, + SIL_B.rho_bias = look1_binlcpw(rtb_add_pb, SIL_P.wind_level, SIL_P.rho_bias, 2U); } - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_m = SIL_B.p1[2] + SIL_B.Product4_g; - /* Product: '/Product5' */ + /* Product: '/Product5' */ SIL_B.Product5 = SIL_B.sincos_o1 * SIL_B.Sum2_m; - /* Product: '/Product6' */ + /* Product: '/Product6' */ SIL_B.Product6 = SIL_B.sincos_o2 * SIL_B.sqrt_f; - /* Sum: '/Sum3' */ + /* Sum: '/Sum3' */ SIL_B.Sum3 = (SIL_B.Product5 - SIL_B.Product3_a1) + SIL_B.Product6; /* Outputs for Atomic SubSystem: '/atmosphere' */ - /* SignalConversion: '/TmpSignal ConversionAtSelectorInport1' */ + /* SignalConversion: '/TmpSignal ConversionAtSelectorInport1' */ SIL_B.TmpSignalConversionAtSelectorInport1[0] = SIL_B.UnitConversion[0]; SIL_B.TmpSignalConversionAtSelectorInport1[1] = SIL_B.UnitConversion[1]; SIL_B.TmpSignalConversionAtSelectorInport1[2] = SIL_B.Sum3; - /* S-Function (saeroatmos): '/S-Function' */ + /* S-Function (saeroatmos): '/S-Function' */ { - /* S-Function Block: /S-Function */ + /* S-Function Block: /S-Function */ real_T *temp_table = (real_T *) &SIL_DW.SFunction_temp_table_i[0]; real_T *pres_table = (real_T *) &SIL_DW.SFunction_pres_table_n[0]; @@ -11841,32 +12397,32 @@ void SIL_step(void) &SIL_B.SFunction_o2, temp_table, pres_table, 1); } - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2_d = SIL_B.TmpSignalConversionAtSelectorInport1[0]; /* DotProduct: '/Dot Product' incorporates: - * UnitConversion: '/Unit Conversion' + * UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_q0dot = 0.017453292519943295 * SIL_B.Selector2_d; - /* Selector: '/Selector1' */ + /* Selector: '/Selector1' */ SIL_B.Selector1_c = SIL_B.TmpSignalConversionAtSelectorInport1[1]; - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_q1dot = 0.017453292519943295 * SIL_B.Selector1_c; - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ SIL_B.Selector_m = SIL_B.TmpSignalConversionAtSelectorInport1[2]; - /* S-Function (saerogravity2): '/WGS84 Gravity S-Function' incorporates: - * Constant: '/Julian Date' + /* S-Function (saerogravity2): '/WGS84 Gravity S-Function' incorporates: + * Constant: '/Julian Date' */ - /* S-Function Block: /WGS84 Gravity S-Function */ + /* S-Function Block: /WGS84 Gravity S-Function */ { int_T i; real_T GM, opt_m2ft, deg2rad; @@ -12015,88 +12571,88 @@ void SIL_step(void) rtb_Delay_g[idx] = SIL_DW.Delay_DSTATE_mu[idx]; } - /* Gain: '/Gain' incorporates: - * Constant: '/Constant BP' + /* Gain: '/Gain' incorporates: + * Constant: '/Constant BP' * Delay: '/Delay' - * Sum: '/subtract' + * Sum: '/subtract' */ - rtb_add_ne = ((real_T)SIL_DW.Delay_DSTATE_mu[5] - 1000.0) * + rtb_add_pb = ((real_T)SIL_DW.Delay_DSTATE_mu[5] - 1000.0) * 0.0010000000002037268; - /* Saturate: '/Saturation' */ - if (rtb_add_ne > 2.0) { + /* Saturate: '/Saturation' */ + if (rtb_add_pb > 2.0) { rtb_sincos_o2_k_idx_0 = 2.0; - } else if (rtb_add_ne < 0.0) { + } else if (rtb_add_pb < 0.0) { rtb_sincos_o2_k_idx_0 = 0.0; } else { - rtb_sincos_o2_k_idx_0 = rtb_add_ne; + rtb_sincos_o2_k_idx_0 = rtb_add_pb; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* If: '/If' */ + /* If: '/If' */ if (rtmIsMajorTimeStep(SIL_M)) { SIL_DW.If_ActiveSubsystem_b = (int8_T)!(rtb_sincos_o2_k_idx_0 > 1.01); } switch (SIL_DW.If_ActiveSubsystem_b) { case 0: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Lookup_n-D: '/1-D Lookup Table' */ + /* Lookup_n-D: '/1-D Lookup Table' */ rtb_Merge_oq = look1_pbinlcapw(rtb_sincos_o2_k_idx_0, rtCP_uDLookupTable_bp01Data, rtCP_uDLookupTable_tableData, &SIL_DW.m_bpIndex_paf, 1U); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 1: - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain' incorporates: + /* Gain: '/Gain' incorporates: * Constant: '/Constant9' */ rtb_Merge_oq = 0.005 * SIL_P.throttle_rate; - /* Sum: '/subtract1' incorporates: - * Gain: '/Gain1' + /* Sum: '/subtract1' incorporates: + * Gain: '/Gain1' * UnitDelay: '/Unit Delay2' */ rtb_sincos_o2_k_idx_0 -= 2.173913043478261E-5 * SIL_DW.UnitDelay2_DSTATE; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain3' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain3' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_sincos_o2_k_idx_0 > rtb_Merge_oq) { rtb_sincos_o2_k_idx_0 = rtb_Merge_oq; } else { if (rtb_sincos_o2_k_idx_0 < -rtb_Merge_oq) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain3' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain3' */ rtb_sincos_o2_k_idx_0 = -rtb_Merge_oq; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* SignalConversion: '/OutportBufferForOut' incorporates: - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/OutportBufferForOut' incorporates: + * UnitDelay: '/Unit Delay' */ rtb_Merge_oq = SIL_DW.UnitDelay_DSTATE_f; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ rtb_sincos_o2_k_idx_0 += SIL_DW.UnitDelay_DSTATE_f; - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (rtb_sincos_o2_k_idx_0 > 1.0) { SIL_DW.UnitDelay_DSTATE_f = 1.0; } else if (rtb_sincos_o2_k_idx_0 < 0.0) { @@ -12105,12 +12661,12 @@ void SIL_step(void) SIL_DW.UnitDelay_DSTATE_f = rtb_sincos_o2_k_idx_0; } - /* End of Saturate: '/saturation' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Saturate: '/saturation' */ + /* End of Outputs for SubSystem: '/Subsystem' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ /* S-Function (sfix_bitop): '/Bitwise AND5' incorporates: * Inport: '/fault' @@ -12120,17 +12676,17 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/atmosphere' */ for (idx = 0; idx < 3; idx++) { - /* Math: '/Math Function1' */ + /* Math: '/Math Function1' */ SIL_B.MathFunction1[3 * idx] = SIL_B.VectorConcatenate[idx]; SIL_B.MathFunction1[1 + 3 * idx] = SIL_B.VectorConcatenate[idx + 3]; SIL_B.MathFunction1[2 + 3 * idx] = SIL_B.VectorConcatenate[idx + 6]; - /* Integrator: '/ub,vb,wb' */ + /* Integrator: '/ub,vb,wb' */ SIL_B.ubvbwb[idx] = SIL_X.ubvbwb_CSTATE[idx]; } - /* Product: '/Product1' incorporates: - * UnitConversion: '/Unit Conversion' + /* Product: '/Product1' incorporates: + * UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: m/s to: m/s Expression: output = (1*input) + (0) */ @@ -12141,47 +12697,47 @@ void SIL_step(void) SIL_B.Product1_i2[idx] += SIL_B.MathFunction1[idx + 6] * SIL_B.ubvbwb[2]; } - /* End of Product: '/Product1' */ + /* End of Product: '/Product1' */ for (idx = 0; idx < 3; idx++) { - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Ve[idx] = 0.0; SIL_B.Ve[idx] += SIL_B.VectorConcatenate_g[idx] * SIL_B.Product1_i2[0]; SIL_B.Ve[idx] += SIL_B.VectorConcatenate_g[idx + 3] * SIL_B.Product1_i2[1]; SIL_B.Ve[idx] += SIL_B.VectorConcatenate_g[idx + 6] * SIL_B.Product1_i2[2]; - /* Selector: '/Selector1' */ + /* Selector: '/Selector1' */ SIL_B.Selector1[idx] = SIL_B.Product4[3 * tmp[idx]]; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.VectorConcatenate_l[idx] = rtCP_Gain1_Gain_my[idx] * SIL_B.Selector1[idx]; } - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2[0] = SIL_B.Product4[7]; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ SIL_B.VectorConcatenate_l[3] = SIL_B.Selector2[0]; - /* Selector: '/Selector3' */ + /* Selector: '/Selector3' */ SIL_B.Selector3[0] = SIL_B.Product4[1]; - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ SIL_B.VectorConcatenate_l[5] = -SIL_B.Selector3[0]; - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2[1] = SIL_B.Product4[8]; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ SIL_B.VectorConcatenate_l[4] = SIL_B.Selector2[1]; - /* Selector: '/Selector3' */ + /* Selector: '/Selector3' */ SIL_B.Selector3[1] = SIL_B.Product4[4]; - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ SIL_B.VectorConcatenate_l[6] = SIL_B.Selector3[1]; - /* If: '/If' */ + /* If: '/If' */ if (rtmIsMajorTimeStep(SIL_M)) { SIL_DW.If_ActiveSubsystem_e = (int8_T)((!(SIL_B.VectorConcatenate_l[2] >= 1.0)) && (!(SIL_B.VectorConcatenate_l[2] <= -1.0))); @@ -12189,14 +12745,14 @@ void SIL_step(void) switch (SIL_DW.If_ActiveSubsystem_e) { case 0: - /* Outputs for IfAction SubSystem: '/AxisRotZeroR3' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AxisRotZeroR3' incorporates: + * ActionPort: '/Action Port' */ - /* Fcn: '/Fcn1' */ + /* Fcn: '/Fcn1' */ SIL_B.Merge_b[0] = rt_atan2d_snf(SIL_B.VectorConcatenate_l[5], SIL_B.VectorConcatenate_l[6]); - /* Fcn: '/Fcn2' */ + /* Fcn: '/Fcn2' */ if (SIL_B.VectorConcatenate_l[2] > 1.0) { rtb_sincos_o2_f_idx_0 = 1.0; } else if (SIL_B.VectorConcatenate_l[2] < -1.0) { @@ -12207,23 +12763,23 @@ void SIL_step(void) SIL_B.Merge_b[1] = asin(rtb_sincos_o2_f_idx_0); - /* End of Fcn: '/Fcn2' */ + /* End of Fcn: '/Fcn2' */ - /* Fcn: '/Fcn3' */ + /* Fcn: '/Fcn3' */ SIL_B.Merge_b[2] = 0.0; - /* End of Outputs for SubSystem: '/AxisRotZeroR3' */ + /* End of Outputs for SubSystem: '/AxisRotZeroR3' */ break; case 1: - /* Outputs for IfAction SubSystem: '/AxisRotDefault' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AxisRotDefault' incorporates: + * ActionPort: '/Action Port' */ - /* Fcn: '/Fcn1' */ + /* Fcn: '/Fcn1' */ SIL_B.Merge_b[0] = rt_atan2d_snf(SIL_B.VectorConcatenate_l[0], SIL_B.VectorConcatenate_l[1]); - /* Fcn: '/Fcn2' */ + /* Fcn: '/Fcn2' */ if (SIL_B.VectorConcatenate_l[2] > 1.0) { rtb_sincos_o2_f_idx_0 = 1.0; } else if (SIL_B.VectorConcatenate_l[2] < -1.0) { @@ -12234,50 +12790,50 @@ void SIL_step(void) SIL_B.Merge_b[1] = asin(rtb_sincos_o2_f_idx_0); - /* End of Fcn: '/Fcn2' */ + /* End of Fcn: '/Fcn2' */ - /* Fcn: '/Fcn3' */ + /* Fcn: '/Fcn3' */ SIL_B.Merge_b[2] = rt_atan2d_snf(SIL_B.VectorConcatenate_l[3], SIL_B.VectorConcatenate_l[4]); - /* End of Outputs for SubSystem: '/AxisRotDefault' */ + /* End of Outputs for SubSystem: '/AxisRotDefault' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* SignalConversion: '/TmpSignal ConversionAtProduct4Inport2' incorporates: - * Constant: '/omega_earth2' - * Constant: '/omega_earth3' + /* SignalConversion: '/TmpSignal ConversionAtProduct4Inport2' incorporates: + * Constant: '/omega_earth2' + * Constant: '/omega_earth3' */ SIL_B.TmpSignalConversionAtProduct4Inport2[0] = 0.0; SIL_B.TmpSignalConversionAtProduct4Inport2[1] = 0.0; SIL_B.TmpSignalConversionAtProduct4Inport2[2] = 7.292115E-5; for (idx = 0; idx < 3; idx++) { - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_nb[idx] = 0.0; SIL_B.Product3_nb[idx] += SIL_B.VectorConcatenate[idx] * SIL_B.TmpSignalConversionAtProduct4Inport2[0]; - /* Math: '/Math Function2' */ + /* Math: '/Math Function2' */ SIL_B.MathFunction2_h[3 * idx] = SIL_B.Product4[idx]; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_nb[idx] += SIL_B.VectorConcatenate[idx + 3] * SIL_B.TmpSignalConversionAtProduct4Inport2[1]; - /* Math: '/Math Function2' */ + /* Math: '/Math Function2' */ SIL_B.MathFunction2_h[1 + 3 * idx] = SIL_B.Product4[idx + 3]; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_nb[idx] += SIL_B.VectorConcatenate[idx + 6] * SIL_B.TmpSignalConversionAtProduct4Inport2[2]; - /* Math: '/Math Function2' */ + /* Math: '/Math Function2' */ SIL_B.MathFunction2_h[2 + 3 * idx] = SIL_B.Product4[idx + 6]; } - /* Product: '/Product3' */ + /* Product: '/Product3' */ for (idx = 0; idx < 3; idx++) { SIL_B.Product3_ad[idx] = 0.0; SIL_B.Product3_ad[idx] += SIL_B.MathFunction2_h[idx] * SIL_B.ubvbwb[0]; @@ -12285,38 +12841,38 @@ void SIL_step(void) SIL_B.Product3_ad[idx] += SIL_B.MathFunction2_h[idx + 6] * SIL_B.ubvbwb[2]; } - /* End of Product: '/Product3' */ + /* End of Product: '/Product3' */ - /* UnitConversion: '/Unit Conversion' */ + /* UnitConversion: '/Unit Conversion' */ /* Unit Conversion - from: deg to: rad Expression: output = (0.0174533*input) + (0) */ rtb_parachute = 0.017453292519943295 * SIL_B.UnitConversion[0]; - /* Trigonometry: '/sine' */ - rtb_table3D_CD_df = sin(rtb_parachute); + /* Trigonometry: '/sine' */ + rtb_table2D_Cmq = sin(rtb_parachute); - /* Product: '/Product' */ - SIL_B.Product_p = rtb_table3D_CD_df * rtb_table3D_CD_df * SIL_ConstB.Sum2; + /* Product: '/Product' */ + SIL_B.Product_p = rtb_table2D_Cmq * rtb_table2D_Cmq * SIL_ConstB.Sum2; - /* Sum: '/Sum2' incorporates: - * Constant: '/f2' + /* Sum: '/Sum2' incorporates: + * Constant: '/f2' */ SIL_B.Sum2_j = 1.0 - SIL_B.Product_p; - /* Product: '/N' incorporates: - * Constant: '/f4' - * Sqrt: '/sqrt' + /* Product: '/N' incorporates: + * Constant: '/f4' + * Sqrt: '/sqrt' */ SIL_B.N = 6.378137E+6 / sqrt(SIL_B.Sum2_j); - /* Sum: '/Sum4' */ + /* Sum: '/Sum4' */ SIL_B.Sum4 = SIL_B.N + SIL_B.Sum3; - /* Product: '/w1' */ + /* Product: '/w1' */ SIL_B.w1 = SIL_B.Product3_ad[1] / SIL_B.Sum4; - /* Math: '/Math Function' incorporates: - * Constant: '/f3' + /* Math: '/Math Function' incorporates: + * Constant: '/f3' */ if (SIL_B.Sum2_j < 0.0) { rtb_sincos_o2_f_idx_0 = -rt_powd_snf(-SIL_B.Sum2_j, 1.5); @@ -12324,36 +12880,36 @@ void SIL_step(void) rtb_sincos_o2_f_idx_0 = rt_powd_snf(SIL_B.Sum2_j, 1.5); } - /* End of Math: '/Math Function' */ + /* End of Math: '/Math Function' */ - /* Product: '/M' incorporates: - * Constant: '/f1' + /* Product: '/M' incorporates: + * Constant: '/f1' */ SIL_B.M = 6.378137E+6 * SIL_ConstB.Sum_d / rtb_sincos_o2_f_idx_0; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.Sum1 = SIL_B.M + SIL_B.Sum3; - /* Product: '/w2' */ + /* Product: '/w2' */ SIL_B.w2 = SIL_B.Product3_ad[0] / SIL_B.Sum1; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain = -SIL_B.w2; - /* Product: '/w3' incorporates: - * Trigonometry: '/tan' + /* Product: '/w3' incorporates: + * Trigonometry: '/tan' */ SIL_B.w3 = SIL_B.w1 * tan(rtb_parachute); - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1 = -SIL_B.w3; - /* SignalConversion: '/TmpSignal ConversionAtProduct2Inport2' */ + /* SignalConversion: '/TmpSignal ConversionAtProduct2Inport2' */ SIL_B.TmpSignalConversionAtProduct2Inport2[0] = SIL_B.w1; SIL_B.TmpSignalConversionAtProduct2Inport2[1] = SIL_B.Gain; SIL_B.TmpSignalConversionAtProduct2Inport2[2] = SIL_B.Gain1; for (idx = 0; idx < 3; idx++) { - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_hc[idx] = 0.0; SIL_B.Product2_hc[idx] += SIL_B.Product4[idx] * SIL_B.TmpSignalConversionAtProduct2Inport2[0]; @@ -12362,14 +12918,14 @@ void SIL_step(void) SIL_B.Product2_hc[idx] += SIL_B.Product4[idx + 6] * SIL_B.TmpSignalConversionAtProduct2Inport2[2]; - /* Sum: '/Sum3' */ + /* Sum: '/Sum3' */ SIL_B.Sum3_d[idx] = SIL_B.Product3_nb[idx] + SIL_B.Product2_hc[idx]; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_g[idx] = SIL_B.Sum3_d[idx]; } - /* Integrator: '/p,q,r ' */ + /* Integrator: '/p,q,r ' */ if (SIL_DW.pqr_IWORK != 0) { SIL_X.pqr_CSTATE[0] = SIL_B.Sum2_g[0]; SIL_X.pqr_CSTATE[1] = SIL_B.Sum2_g[1]; @@ -12379,23 +12935,23 @@ void SIL_step(void) SIL_B.pqr[0] = SIL_X.pqr_CSTATE[0]; /* Sum: '/Sum2' incorporates: - * UnitConversion: '/Unit Conversion' + * UnitConversion: '/Unit Conversion' */ SIL_B.VWb[0] = SIL_B.ubvbwb[0] + SIL_B.WindVelocity_g[0]; - /* Integrator: '/p,q,r ' */ + /* Integrator: '/p,q,r ' */ SIL_B.pqr[1] = SIL_X.pqr_CSTATE[1]; /* Sum: '/Sum2' incorporates: - * UnitConversion: '/Unit Conversion' + * UnitConversion: '/Unit Conversion' */ SIL_B.VWb[1] = SIL_B.ubvbwb[1] + SIL_B.WindVelocity_g[1]; - /* Integrator: '/p,q,r ' */ + /* Integrator: '/p,q,r ' */ SIL_B.pqr[2] = SIL_X.pqr_CSTATE[2]; /* Sum: '/Sum2' incorporates: - * UnitConversion: '/Unit Conversion' + * UnitConversion: '/Unit Conversion' */ SIL_B.VWb[2] = SIL_B.ubvbwb[2] + SIL_B.WindVelocity_g[2]; @@ -12415,37 +12971,37 @@ void SIL_step(void) SIL_B.Sum1_f = SIL_B.Sum_k + SIL_B.Product2_iz; /* Sqrt: '/Airspeed' */ - rtb_table3D_CD_df = sqrt(SIL_B.Sum1_f); + rtb_table2D_Cmq = sqrt(SIL_B.Sum1_f); /* Product: '/Product3' */ - SIL_B.Product3_f = rtb_table3D_CD_df / SIL_B.a; + SIL_B.Product3_f = rtb_table2D_Cmq / SIL_B.a; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { /* Constant: '/Constant1' */ SIL_B.mass = SIL_P.mass0; } - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ if (SIL_DW.Integrator_IWORK != 0) { SIL_X.Integrator_CSTATE = SIL_B.mass; } SIL_B.Integrator = SIL_X.Integrator_CSTATE; - /* End of Integrator: '/Integrator' */ + /* End of Integrator: '/Integrator' */ if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { /* Outputs for Enabled SubSystem: '/launch' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ /* Inport: '/launch_trigger' */ if (SIL_U.launch_trigger > 0.0) { - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ SIL_B.boost_time = SIL_DW.UnitDelay_DSTATE_p; - /* Sum: '/Sum4' incorporates: - * Constant: '/Constant1' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum4' incorporates: + * Constant: '/Constant1' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_p = 0.005 + SIL_B.boost_time; } @@ -12457,69 +13013,69 @@ void SIL_step(void) * Constant: '/Constant BP1' */ if ((uint32_T)rtb_BitwiseAND7 != 0U) { - rtb_add_ne = 1000.0; + rtb_add_pb = 1000.0; } else { - rtb_add_ne = SIL_B.boost_time; + rtb_add_pb = SIL_B.boost_time; } /* End of Switch: '/Switch1' */ - /* Lookup_n-D: '/table1D_mass' */ - SIL_B.table1D_mass = look1_binlxpw(rtb_add_ne, rtCP_table1D_mass_bp01Data, + /* Lookup_n-D: '/table1D_mass' */ + SIL_B.table1D_mass = look1_binlxpw(rtb_add_pb, rtCP_table1D_mass_bp01Data, rtCP_table1D_mass_tableData, 8U); } /* Sum: '/Sum' */ SIL_B.mass_e = SIL_B.Integrator + SIL_B.table1D_mass; - /* Switch: '/if' incorporates: - * Constant: '/Param_force_CG' - * Constant: '/Param_force_CG_pos_m' + /* Switch: '/if' incorporates: + * Constant: '/Param_force_CG' + * Constant: '/Param_force_CG_pos_m' */ if (force_CG != 0.0) { - SIL_B.if_p[0] = force_CG_pos_m[0]; - SIL_B.if_p[1] = force_CG_pos_m[1]; - SIL_B.if_p[2] = force_CG_pos_m[2]; + SIL_B.if_k[0] = force_CG_pos_m[0]; + SIL_B.if_k[1] = force_CG_pos_m[1]; + SIL_B.if_k[2] = force_CG_pos_m[2]; } else { - /* Sum: '/subtract1' incorporates: - * Constant: '/value1' - * Lookup_n-D: '/table1D_CGz' + /* Sum: '/subtract1' incorporates: + * Constant: '/value1' + * Lookup_n-D: '/table1D_CGz' */ SIL_B.subtract1 = 0.08 - look1_binlxpw(SIL_B.mass_e, rtCP_table1D_CGz_bp01Data, rtCP_table1D_CGz_tableData, 5U); - /* Sum: '/subtract' incorporates: - * Constant: '/value' - * Lookup_n-D: '/table1D_CGx' + /* Sum: '/subtract' incorporates: + * Constant: '/value' + * Lookup_n-D: '/table1D_CGx' */ - SIL_B.subtract_d = 2.56 - look1_binlxpw(SIL_B.mass_e, + SIL_B.subtract_o = 2.56 - look1_binlxpw(SIL_B.mass_e, rtCP_table1D_CGx_bp01Data, rtCP_table1D_CGx_tableData, 5U); - /* Sum: '/add' incorporates: - * Constant: '/Param_CG_bias_m' + /* Sum: '/add' incorporates: + * Constant: '/Param_CG_bias_m' */ - SIL_B.add_j[0] = SIL_B.subtract_d + CG_bias_m[0]; - SIL_B.if_p[0] = SIL_B.add_j[0]; + SIL_B.add_ht[0] = SIL_B.subtract_o + CG_bias_m[0]; + SIL_B.if_k[0] = SIL_B.add_ht[0]; - /* Sum: '/add' incorporates: - * Constant: '/Param_CG_bias_m' - * Lookup_n-D: '/table1D_CGy' + /* Sum: '/add' incorporates: + * Constant: '/Param_CG_bias_m' + * Lookup_n-D: '/table1D_CGy' */ - SIL_B.add_j[1] = look1_binlxpw(SIL_B.mass_e, rtCP_table1D_CGy_bp01Data, + SIL_B.add_ht[1] = look1_binlxpw(SIL_B.mass_e, rtCP_table1D_CGy_bp01Data, rtCP_table1D_CGy_tableData, 5U) + CG_bias_m[1]; - SIL_B.if_p[1] = SIL_B.add_j[1]; + SIL_B.if_k[1] = SIL_B.add_ht[1]; - /* Sum: '/add' incorporates: - * Constant: '/Param_CG_bias_m' + /* Sum: '/add' incorporates: + * Constant: '/Param_CG_bias_m' */ - SIL_B.add_j[2] = SIL_B.subtract1 + CG_bias_m[2]; - SIL_B.if_p[2] = SIL_B.add_j[2]; + SIL_B.add_ht[2] = SIL_B.subtract1 + CG_bias_m[2]; + SIL_B.if_k[2] = SIL_B.add_ht[2]; } - /* End of Switch: '/if' */ + /* End of Switch: '/if' */ /* Outputs for Enabled SubSystem: '/enable_gear' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if ((rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) && rtmIsMajorTimeStep(SIL_M)) { @@ -12529,47 +13085,47 @@ void SIL_step(void) } } else { if (SIL_DW.enable_gear_MODE) { - /* Disable for Atomic SubSystem: '/Left Main Gear Geometry Forces and Moments' */ + /* Disable for Atomic SubSystem: '/Left Main Gear Geometry Forces and Moments' */ SIL_GearGeometryForcesandMoments_Disable(SIL_B.LocalForcestoBodyAxes_a, SIL_B.Sum_in, &rtb_q0dot, &SIL_DW.LeftMainGearGeometryForcesandMoments); - /* End of Disable for SubSystem: '/Left Main Gear Geometry Forces and Moments' */ + /* End of Disable for SubSystem: '/Left Main Gear Geometry Forces and Moments' */ - /* Disable for Atomic SubSystem: '/Nose Gear Geometry Forces and Moments' */ + /* Disable for Atomic SubSystem: '/Nose Gear Geometry Forces and Moments' */ SIL_NoseGearGeometryForcesandMoments_Disable (SIL_B.LocalForcestoBodyAxes_d, SIL_B.Sum_lo, &rtb_q0dot, &SIL_DW.NoseGearGeometryForcesandMoments); - /* End of Disable for SubSystem: '/Nose Gear Geometry Forces and Moments' */ + /* End of Disable for SubSystem: '/Nose Gear Geometry Forces and Moments' */ - /* Disable for Atomic SubSystem: '/Right Main Gear Geometry Forces and Moments' */ + /* Disable for Atomic SubSystem: '/Right Main Gear Geometry Forces and Moments' */ SIL_RightMainGearGeometryForcesandMoments_Disable (SIL_B.LocalForcestoBodyAxes, SIL_B.Sum_jz, &rtb_q0dot, &SIL_DW.RightMainGearGeometryForcesandMoments); - /* End of Disable for SubSystem: '/Right Main Gear Geometry Forces and Moments' */ + /* End of Disable for SubSystem: '/Right Main Gear Geometry Forces and Moments' */ - /* Disable for Outport: '/FM' */ + /* Disable for Outport: '/FM' */ for (idx = 0; idx < 6; idx++) { SIL_B.Sum_cq[idx] = 0.0; } - /* End of Disable for Outport: '/FM' */ + /* End of Disable for Outport: '/FM' */ SIL_DW.enable_gear_MODE = false; } } } if (SIL_DW.enable_gear_MODE) { - /* Sum: '/Subtract1' */ - SIL_B.Subtract1_o[0] = SIL_ConstB.Selector1[0] - SIL_B.if_p[0]; - SIL_B.Subtract1_o[1] = SIL_ConstB.Selector1[1] - SIL_B.if_p[1]; - SIL_B.Subtract1_o[2] = SIL_ConstB.Selector1[2] - SIL_B.if_p[2]; + /* Sum: '/Subtract1' */ + SIL_B.Subtract1_o[0] = SIL_ConstB.Selector1[0] - SIL_B.if_k[0]; + SIL_B.Subtract1_o[1] = SIL_ConstB.Selector1[1] - SIL_B.if_k[1]; + SIL_B.Subtract1_o[2] = SIL_ConstB.Selector1[2] - SIL_B.if_k[2]; - /* Outputs for Atomic SubSystem: '/Left Main Gear Geometry Forces and Moments' */ + /* Outputs for Atomic SubSystem: '/Left Main Gear Geometry Forces and Moments' */ /* Constant: '/Constant5' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ SIL_GearGeometryForcesandMoments(SIL_M, SIL_B.Product4, SIL_B.Sum3, SIL_B.pqr, SIL_B.Ve, SIL_B.Merge_b[0], SIL_B.Subtract1_o, 1.0, 0.0, @@ -12579,16 +13135,16 @@ void SIL_step(void) &SIL_DW.LeftMainGearGeometryForcesandMoments, 100.0, 0.2, 3000.0, 20000.0, 0.06, 1.0); - /* End of Outputs for SubSystem: '/Left Main Gear Geometry Forces and Moments' */ + /* End of Outputs for SubSystem: '/Left Main Gear Geometry Forces and Moments' */ - /* Sum: '/Subtract' */ - SIL_B.Subtract_j[0] = SIL_ConstB.Selector[0] - SIL_B.if_p[0]; - SIL_B.Subtract_j[1] = SIL_ConstB.Selector[1] - SIL_B.if_p[1]; - SIL_B.Subtract_j[2] = SIL_ConstB.Selector[2] - SIL_B.if_p[2]; + /* Sum: '/Subtract' */ + SIL_B.Subtract_j[0] = SIL_ConstB.Selector[0] - SIL_B.if_k[0]; + SIL_B.Subtract_j[1] = SIL_ConstB.Selector[1] - SIL_B.if_k[1]; + SIL_B.Subtract_j[2] = SIL_ConstB.Selector[2] - SIL_B.if_k[2]; - /* Outputs for Atomic SubSystem: '/Nose Gear Geometry Forces and Moments' */ + /* Outputs for Atomic SubSystem: '/Nose Gear Geometry Forces and Moments' */ /* Constant: '/Constant6' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ SIL_NoseGearGeometryForcesandMoments(SIL_M, SIL_B.Product4, SIL_B.Sum3, SIL_B.pqr, SIL_B.Ve, SIL_B.Merge_b[0], SIL_B.Subtract_j, 0.0, 0.0, @@ -12598,16 +13154,16 @@ void SIL_step(void) &SIL_DW.NoseGearGeometryForcesandMoments, 100.0, 0.2, 3000.0, 20000.0, 0.06, 1.0); - /* End of Outputs for SubSystem: '/Nose Gear Geometry Forces and Moments' */ + /* End of Outputs for SubSystem: '/Nose Gear Geometry Forces and Moments' */ - /* Sum: '/Subtract2' */ - SIL_B.Subtract2[0] = SIL_ConstB.Selector2[0] - SIL_B.if_p[0]; - SIL_B.Subtract2[1] = SIL_ConstB.Selector2[1] - SIL_B.if_p[1]; - SIL_B.Subtract2[2] = SIL_ConstB.Selector2[2] - SIL_B.if_p[2]; + /* Sum: '/Subtract2' */ + SIL_B.Subtract2[0] = SIL_ConstB.Selector2[0] - SIL_B.if_k[0]; + SIL_B.Subtract2[1] = SIL_ConstB.Selector2[1] - SIL_B.if_k[1]; + SIL_B.Subtract2[2] = SIL_ConstB.Selector2[2] - SIL_B.if_k[2]; - /* Outputs for Atomic SubSystem: '/Right Main Gear Geometry Forces and Moments' */ + /* Outputs for Atomic SubSystem: '/Right Main Gear Geometry Forces and Moments' */ /* Constant: '/Constant5' incorporates: - * Constant: '/Constant' + * Constant: '/Constant' */ SIL_RightMainGearGeometryForcesandMoments(SIL_M, SIL_B.Product4, SIL_B.Sum3, SIL_B.pqr, SIL_B.Ve, SIL_B.Merge_b[0], SIL_B.Subtract2, 1.0, @@ -12617,9 +13173,9 @@ void SIL_step(void) &SIL_DW.RightMainGearGeometryForcesandMoments, 100.0, 0.2, 3000.0, 20000.0, 0.06, 1.0); - /* End of Outputs for SubSystem: '/Right Main Gear Geometry Forces and Moments' */ + /* End of Outputs for SubSystem: '/Right Main Gear Geometry Forces and Moments' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_cq[0] = (SIL_B.LocalForcestoBodyAxes_d[0] + SIL_B.LocalForcestoBodyAxes_a[0]) + SIL_B.LocalForcestoBodyAxes[0]; @@ -12636,40 +13192,40 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/enable_gear' */ - /* Product: '/product' incorporates: - * Lookup_n-D: '/table1D_Ixy' + /* Product: '/product' incorporates: + * Lookup_n-D: '/table1D_Ixy' */ SIL_B.product = -look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Ixy_bp01Data, rtCP_table1D_Ixy_tableData, 5U); - /* Product: '/product' incorporates: - * Lookup_n-D: '/table1D_Ixz' + /* Product: '/product' incorporates: + * Lookup_n-D: '/table1D_Ixz' */ - SIL_B.product_c = -look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Ixz_bp01Data, + SIL_B.product_b = -look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Ixz_bp01Data, rtCP_table1D_Ixz_tableData, 5U); - /* Product: '/product' incorporates: - * Lookup_n-D: '/table1D_Iyz' + /* Product: '/product' incorporates: + * Lookup_n-D: '/table1D_Iyz' */ - SIL_B.product_g = -look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Iyz_bp01Data, + SIL_B.product_j = -look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Iyz_bp01Data, rtCP_table1D_Iyz_tableData, 5U); - /* Sum: '/add' incorporates: - * Constant: '/Param_InertiaMoments_bias_kg_m2' - * Lookup_n-D: '/table1D_Ixx' - * Lookup_n-D: '/table1D_Iyy' - * Lookup_n-D: '/table1D_Izz' + /* Sum: '/add' incorporates: + * Constant: '/Param_InertiaMoments_bias_kg_m2' + * Lookup_n-D: '/table1D_Ixx' + * Lookup_n-D: '/table1D_Iyy' + * Lookup_n-D: '/table1D_Izz' */ rtb_VectorConcatenate_c[0] = look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Ixx_bp01Data, rtCP_table1D_Ixx_tableData, 5U); rtb_VectorConcatenate_c[3] = SIL_B.product; - rtb_VectorConcatenate_c[6] = SIL_B.product_c; + rtb_VectorConcatenate_c[6] = SIL_B.product_b; rtb_VectorConcatenate_c[1] = SIL_B.product; rtb_VectorConcatenate_c[4] = look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Iyy_bp01Data, rtCP_table1D_Iyy_tableData, 5U); - rtb_VectorConcatenate_c[7] = SIL_B.product_g; - rtb_VectorConcatenate_c[2] = SIL_B.product_c; - rtb_VectorConcatenate_c[5] = SIL_B.product_g; + rtb_VectorConcatenate_c[7] = SIL_B.product_j; + rtb_VectorConcatenate_c[2] = SIL_B.product_b; + rtb_VectorConcatenate_c[5] = SIL_B.product_j; rtb_VectorConcatenate_c[8] = look1_binlxpw(SIL_B.mass_e, rtCP_table1D_Izz_bp01Data, rtCP_table1D_Izz_tableData, 5U); for (idx = 0; idx < 9; idx++) { @@ -12677,33 +13233,33 @@ void SIL_step(void) InertiaMoments_bias_kg_m2[idx]; } - /* End of Sum: '/add' */ + /* End of Sum: '/add' */ for (idx = 0; idx < 3; idx++) { - /* Concatenate: '/Matrix Concatenation' incorporates: - * Constant: '/Constant2' + /* Concatenate: '/Matrix Concatenation' incorporates: + * Constant: '/Constant2' */ SIL_B.MatrixConcatenation[6 * idx] = SIL_B.add[3 * idx]; SIL_B.MatrixConcatenation[3 + 6 * idx] = 0.0; - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2_j[3 * idx] = SIL_B.MatrixConcatenation[6 * idx]; - /* Concatenate: '/Matrix Concatenation' incorporates: - * Constant: '/Constant2' + /* Concatenate: '/Matrix Concatenation' incorporates: + * Constant: '/Constant2' */ SIL_B.MatrixConcatenation[1 + 6 * idx] = SIL_B.add[3 * idx + 1]; SIL_B.MatrixConcatenation[4 + 6 * idx] = 0.0; - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2_j[1 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 1]; - /* Concatenate: '/Matrix Concatenation' incorporates: - * Constant: '/Constant2' + /* Concatenate: '/Matrix Concatenation' incorporates: + * Constant: '/Constant2' */ SIL_B.MatrixConcatenation[2 + 6 * idx] = SIL_B.add[3 * idx + 2]; SIL_B.MatrixConcatenation[5 + 6 * idx] = 0.0; - /* Selector: '/Selector2' */ + /* Selector: '/Selector2' */ SIL_B.Selector2_j[2 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 2]; } @@ -12714,7 +13270,7 @@ void SIL_step(void) SIL_B.u2rhoV2 = 0.5 * SIL_B.Product4_a; /* Product: '/Product2' incorporates: - * Constant: '/Const_RefArea' + * Constant: '/Const_RefArea' */ SIL_B.Product2_b = SIL_B.u2rhoV2 * 0.919; @@ -12724,19 +13280,30 @@ void SIL_step(void) /* Product: '/product' incorporates: * Constant: '/value' */ - SIL_B.product_j = rtb_sincos_o2_k_idx_0 * 57.29; + SIL_B.product_h = rtb_sincos_o2_k_idx_0 * 57.29; /* Saturate: '/saturation' */ - if (SIL_B.product_j > 24.0) { + if (SIL_B.product_h > 24.0) { SIL_B.saturation = 24.0; - } else if (SIL_B.product_j < -4.0) { + } else if (SIL_B.product_h < -4.0) { SIL_B.saturation = -4.0; } else { - SIL_B.saturation = SIL_B.product_j; + SIL_B.saturation = SIL_B.product_h; } /* End of Saturate: '/saturation' */ + /* Saturate: '/saturation' */ + if (SIL_B.saturation > 4.0) { + SIL_B.saturation_a = 4.0; + } else if (SIL_B.saturation < -2.0) { + SIL_B.saturation_a = -2.0; + } else { + SIL_B.saturation_a = SIL_B.saturation; + } + + /* End of Saturate: '/saturation' */ + /* Product: '/product' incorporates: * Constant: '/value' * Sqrt: '/Sqrt' @@ -12746,32 +13313,56 @@ void SIL_step(void) /* Saturate: '/saturation' */ if (SIL_B.product_n > 12.0) { - SIL_B.saturation_c = 12.0; + SIL_B.saturation_b = 12.0; } else if (SIL_B.product_n < -12.0) { - SIL_B.saturation_c = -12.0; + SIL_B.saturation_b = -12.0; } else { - SIL_B.saturation_c = SIL_B.product_n; + SIL_B.saturation_b = SIL_B.product_n; } /* End of Saturate: '/saturation' */ - /* Lookup_n-D: '/table3D_CL_aos' */ - bpIndices[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_aos_bp01Data, - 11U, &rtb_sincos_o2_f_idx_0); + /* Saturate: '/saturation' */ + if (SIL_B.saturation_b > 5.0) { + SIL_B.saturation_i = 5.0; + } else if (SIL_B.saturation_b < -5.0) { + SIL_B.saturation_i = -5.0; + } else { + SIL_B.saturation_i = SIL_B.saturation_b; + } + + /* End of Saturate: '/saturation' */ + + /* Lookup_n-D: '/table3D_CL_base_delta' */ + bpIndices[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_CL_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); fractions[0U] = rtb_sincos_o2_f_idx_0; - bpIndices[1U] = plook_binx(SIL_B.saturation_c, rtCP_table3D_CL_aos_bp02Data, - 8U, &rtb_sincos_o2_f_idx_0); + bpIndices[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_CL_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); fractions[1U] = rtb_sincos_o2_f_idx_0; - bpIndices[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_aos_bp03Data, - 10U, &rtb_sincos_o2_f_idx_0); + bpIndices[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_CL_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); fractions[2U] = rtb_sincos_o2_f_idx_0; - rtb_table2D_delta_Cm = intrp3d_l_pw(bpIndices, fractions, + rtb_table3D_Cm_df = intrp3d_l_pw(bpIndices, fractions, + rtCP_table3D_CL_base_delta_tableData, rtCP_table3D_CL_base_delta_dimSizes); + + /* Lookup_n-D: '/table3D_CL_aos' */ + bpIndices_0[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_aos_bp01Data, + 11U, &rtb_sincos_o2_f_idx_0); + fractions_0[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_0[1U] = plook_binx(SIL_B.saturation_b, + rtCP_table3D_CL_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); + fractions_0[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_0[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_aos_bp03Data, + 10U, &rtb_sincos_o2_f_idx_0); + fractions_0[2U] = rtb_sincos_o2_f_idx_0; + rtb_parachute = intrp3d_l_pw(bpIndices_0, fractions_0, rtCP_table3D_CL_aos_tableData, rtCP_table3D_CL_aos_dimSizes); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Sum = 1.86426965605034E-5 * (real_T)(int16_T)rtb_Delay_g[3]; @@ -12781,7 +13372,7 @@ void SIL_step(void) SIL_B.dal = rtb_Sum / SIL_P.k_dal; } - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ /* Limited Integrator */ if (SIL_DW.Integrator_IWORK_a != 0) { SIL_X.Integrator_CSTATE_k = SIL_B.dal; @@ -12797,7 +13388,7 @@ void SIL_step(void) SIL_B.Integrator_p = SIL_X.Integrator_CSTATE_k; - /* End of Integrator: '/Integrator' */ + /* End of Integrator: '/Integrator' */ /* Backlash: '/Backlash3' incorporates: * Backlash: '/Backlash4' @@ -12818,7 +13409,7 @@ void SIL_step(void) SIL_B.NOT3 = ((uint32_T)rtb_BitwiseAND3 == 0U); /* Outputs for Enabled SubSystem: '/Enabled Subsystem3' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (SIL_B.NOT3) { @@ -12834,9 +13425,9 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/Enabled Subsystem3' */ - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Sum = 1.86426965605034E-5 * (real_T)(int16_T)rtb_Delay_g[4]; @@ -12847,16 +13438,16 @@ void SIL_step(void) } /* Outputs for Enabled SubSystem: '/Enabled Subsystem3' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (SIL_DW.EnabledSubsystem3_MODE) { - /* Inport: '/In1' */ + /* Inport: '/In1' */ SIL_B.In1_m = SIL_B.Backlash3; } /* End of Outputs for SubSystem: '/Enabled Subsystem3' */ - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ /* Limited Integrator */ if (SIL_DW.Integrator_IWORK_c != 0) { SIL_X.Integrator_CSTATE_i = SIL_B.dar; @@ -12872,7 +13463,7 @@ void SIL_step(void) SIL_B.Integrator_j = SIL_X.Integrator_CSTATE_i; - /* End of Integrator: '/Integrator' */ + /* End of Integrator: '/Integrator' */ /* Backlash: '/Backlash4' */ if (SIL_B.Integrator_j < SIL_DW.PrevY_i - rtb_sincos_o2_f_idx_0) { @@ -12889,7 +13480,7 @@ void SIL_step(void) SIL_B.NOT4 = ((uint32_T)rtb_BitwiseAND4 == 0U); /* Outputs for Enabled SubSystem: '/Enabled Subsystem4' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (SIL_B.NOT4) { @@ -12907,10 +13498,10 @@ void SIL_step(void) } /* Outputs for Enabled SubSystem: '/Enabled Subsystem4' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (SIL_DW.EnabledSubsystem4_MODE) { - /* Inport: '/In1' */ + /* Inport: '/In1' */ SIL_B.In1_i = SIL_B.Backlash4; } @@ -12922,28 +13513,28 @@ void SIL_step(void) /* Gain: '/Gain2' */ SIL_B.da = 0.5 * SIL_B.Sum2_k; - /* Product: '/product' incorporates: - * Constant: '/value' + /* Product: '/product' incorporates: + * Constant: '/value' */ - SIL_B.product_cy = SIL_B.da * 57.3; + SIL_B.product_i = SIL_B.da * 57.3; /* Lookup_n-D: '/table3D_CL_da' */ - bpIndices_0[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_da_bp01Data, + bpIndices_1[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_0[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_0[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_CL_da_bp02Data, + fractions_1[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_1[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_CL_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_0[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_0[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_da_bp03Data, + fractions_1[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_1[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_0[2U] = rtb_sincos_o2_f_idx_0; - rtb_parachute = intrp3d_l_pw(bpIndices_0, fractions_0, + fractions_1[2U] = rtb_sincos_o2_f_idx_0; + rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_1, fractions_1, rtCP_table3D_CL_da_tableData, rtCP_table3D_CL_da_dimSizes); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Sum = 1.3316211828930997E-5 * (real_T)(int16_T)rtb_Delay_g[0]; @@ -12953,7 +13544,7 @@ void SIL_step(void) SIL_B.del = rtb_Sum / SIL_P.k_del; } - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ /* Limited Integrator */ if (SIL_DW.Integrator_IWORK_j != 0) { SIL_X.Integrator_CSTATE_g = SIL_B.del; @@ -12969,7 +13560,7 @@ void SIL_step(void) SIL_B.Integrator_a = SIL_X.Integrator_CSTATE_g; - /* End of Integrator: '/Integrator' */ + /* End of Integrator: '/Integrator' */ /* Backlash: '/Backlash' incorporates: * Backlash: '/Backlash1' @@ -12990,7 +13581,7 @@ void SIL_step(void) SIL_B.NOT = ((uint32_T)rtb_BitwiseAND == 0U); /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (SIL_B.NOT) { @@ -13006,9 +13597,9 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Sum = 1.3316211828930997E-5 * (real_T)(int16_T)rtb_Delay_g[1]; @@ -13019,16 +13610,16 @@ void SIL_step(void) } /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (SIL_DW.EnabledSubsystem_MODE) { - /* Inport: '/In1' */ + /* Inport: '/In1' */ SIL_B.In1_o = SIL_B.Backlash; } /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ /* Limited Integrator */ if (SIL_DW.Integrator_IWORK_ay != 0) { SIL_X.Integrator_CSTATE_d = SIL_B.der; @@ -13044,7 +13635,7 @@ void SIL_step(void) SIL_B.Integrator_g = SIL_X.Integrator_CSTATE_d; - /* End of Integrator: '/Integrator' */ + /* End of Integrator: '/Integrator' */ /* Backlash: '/Backlash1' */ if (SIL_B.Integrator_g < SIL_DW.PrevY_bo - rtb_sincos_o2_f_idx_0) { @@ -13061,7 +13652,7 @@ void SIL_step(void) SIL_B.NOT1 = ((uint32_T)rtb_BitwiseAND1 == 0U); /* Outputs for Enabled SubSystem: '/Enabled Subsystem1' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { if (SIL_B.NOT1) { @@ -13079,10 +13670,10 @@ void SIL_step(void) } /* Outputs for Enabled SubSystem: '/Enabled Subsystem1' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (SIL_DW.EnabledSubsystem1_MODE) { - /* Inport: '/In1' */ + /* Inport: '/In1' */ SIL_B.In1_d = SIL_B.Backlash1; } @@ -13094,33 +13685,33 @@ void SIL_step(void) /* Gain: '/Gain' */ SIL_B.de = 0.5 * SIL_B.Sum_g; - /* Product: '/product' incorporates: - * Constant: '/value' + /* Product: '/product' incorporates: + * Constant: '/value' */ - SIL_B.product_a = SIL_B.de * 57.3; + SIL_B.product_c = SIL_B.de * 57.3; /* Lookup_n-D: '/table3D_CL_de' */ - bpIndices_1[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_de_bp01Data, + bpIndices_2[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_de_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_1[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_1[1U] = plook_binx(SIL_B.product_a, rtCP_table3D_CL_de_bp02Data, + fractions_2[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_2[1U] = plook_binx(SIL_B.product_c, rtCP_table3D_CL_de_bp02Data, 9U, &rtb_sincos_o2_f_idx_0); - fractions_1[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_1[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_de_bp03Data, + fractions_2[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_2[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_de_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_1[2U] = rtb_sincos_o2_f_idx_0; - rtb_q3dot = intrp3d_l_pw(bpIndices_1, fractions_1, + fractions_2[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_2, fractions_2, rtCP_table3D_CL_de_tableData, rtCP_table3D_CL_de_dimSizes); /* Product: '/product' incorporates: - * Constant: '/Param_CLdeUncertGain' + * Constant: '/Param_CLdeUncertGain' */ - SIL_B.product_h = rtb_q3dot * CLdeUncertGain; + SIL_B.product_m = rtb_Sum * CLdeUncertGain; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Sum = 1.3316211828930997E-5 * (real_T)(int16_T)rtb_Delay_g[2]; @@ -13130,24 +13721,24 @@ void SIL_step(void) rtb_sincos_o2_f_idx_0 = rtb_Sum / SIL_P.k_dr; /* Backlash: '/Backlash2' */ - rtb_q3dot = SIL_P.deadband_dr / 2.0; - if (rtb_sincos_o2_f_idx_0 < SIL_DW.PrevY_p - rtb_q3dot) { - SIL_B.Backlash2 = rtb_sincos_o2_f_idx_0 + rtb_q3dot; - } else if (rtb_sincos_o2_f_idx_0 <= SIL_DW.PrevY_p + rtb_q3dot) { + rtb_Sum = SIL_P.deadband_dr / 2.0; + if (rtb_sincos_o2_f_idx_0 < SIL_DW.PrevY_p - rtb_Sum) { + SIL_B.Backlash2 = rtb_sincos_o2_f_idx_0 + rtb_Sum; + } else if (rtb_sincos_o2_f_idx_0 <= SIL_DW.PrevY_p + rtb_Sum) { SIL_B.Backlash2 = SIL_DW.PrevY_p; } else { - SIL_B.Backlash2 = rtb_sincos_o2_f_idx_0 - rtb_q3dot; + SIL_B.Backlash2 = rtb_sincos_o2_f_idx_0 - rtb_Sum; } /* End of Backlash: '/Backlash2' */ /* Outputs for Enabled SubSystem: '/Enabled Subsystem2' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ /* Logic: '/NOT2' */ if ((uint32_T)rtb_BitwiseAND2 == 0U) { /* Outport: '/dr' incorporates: - * Inport: '/In1' + * Inport: '/In1' */ SIL_Y.dr = SIL_B.Backlash2; } @@ -13155,41 +13746,43 @@ void SIL_step(void) /* End of Logic: '/NOT2' */ /* End of Outputs for SubSystem: '/Enabled Subsystem2' */ - /* Product: '/product' incorporates: - * Constant: '/value' + /* Product: '/product' incorporates: + * Constant: '/value' * Outport: '/dr' */ - SIL_B.product_m = SIL_Y.dr * 57.3; + SIL_B.product_b5 = SIL_Y.dr * 57.3; } /* Lookup_n-D: '/table3D_CL_dr' */ - bpIndices_2[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_dr_bp01Data, + bpIndices_3[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_2[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_2[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_CL_dr_bp02Data, + fractions_3[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_3[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_CL_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_2[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_2[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_dr_bp03Data, + fractions_3[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_3[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_2[2U] = rtb_sincos_o2_f_idx_0; - rtb_q3dot = intrp3d_l_pw(bpIndices_2, fractions_2, + fractions_3[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_3, fractions_3, rtCP_table3D_CL_dr_tableData, rtCP_table3D_CL_dr_dimSizes); /* Lookup_n-D: '/table3D_CL_df' */ - bpIndices_3[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_df_bp01Data, + bpIndices_4[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CL_df_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_3[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_3[1U] = plook_binx(0.0, rtCP_table3D_CL_df_bp02Data, 4U, + fractions_4[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_4[1U] = plook_binx(0.0, rtCP_table3D_CL_df_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); - fractions_3[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_3[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_df_bp03Data, + fractions_4[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_4[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CL_df_bp03Data, 1U, &rtb_sincos_o2_f_idx_0); - fractions_3[2U] = rtb_sincos_o2_f_idx_0; - rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_3, fractions_3, + fractions_4[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_4, fractions_4, rtCP_table3D_CL_df_tableData, rtCP_table3D_CL_df_dimSizes); - /* Lookup_n-D: '/table2D_CLq' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + /* DotProduct: '/Dot Product' incorporates: + * Lookup_n-D: '/table2D_CLq' + */ + rtb_q0dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_CLq_bp01Data, rtCP_table2D_CLq_bp02Data, rtCP_table2D_CLq_tableData, rtCP_table2D_CLq_maxIndex, 12U); @@ -13199,261 +13792,234 @@ void SIL_step(void) SIL_B.pqr_n[2] = SIL_B.pqr[2] + SIL_B.WindAngularRates_a[2]; /* Saturate: '/saturation' */ - if (rtb_table3D_CD_df <= 0.01) { - SIL_B.saturation_e = 0.01; + if (rtb_table2D_Cmq <= 0.01) { + SIL_B.saturation_g = 0.01; } else { - SIL_B.saturation_e = rtb_table3D_CD_df; + SIL_B.saturation_g = rtb_table2D_Cmq; } /* End of Saturate: '/saturation' */ - /* Product: '/product' incorporates: - * Constant: '/value' - * Constant: '/Const_RefLen' + /* Product: '/product' incorporates: + * Constant: '/value' + * Constant: '/Const_RefLen' */ - SIL_B.product_p = SIL_B.pqr_n[1] * 0.659 / SIL_B.saturation_e / 2.0; + SIL_B.product_g = SIL_B.pqr_n[1] * 0.659 / SIL_B.saturation_g / 2.0; /* Product: '/product1' incorporates: - * Constant: '/Param_CLqUncertGain' + * Constant: '/Param_CLqUncertGain' */ - SIL_B.product1 = rtb_q1dot * SIL_B.product_p * CLqUncertGain; + SIL_B.product1 = rtb_q0dot * SIL_B.product_g * CLqUncertGain; /* Product: '/product2' incorporates: * Constant: '/value' - * Constant: '/Param_CLaUncertGain' + * Constant: '/Param_CLaUncertGain' */ SIL_B.product2 = CLaUncertGain * SIL_B.saturation * 0.0611; - /* Saturate: '/saturation' */ - if (SIL_B.saturation > 4.0) { - SIL_B.saturation_a = 4.0; - } else if (SIL_B.saturation < -2.0) { - SIL_B.saturation_a = -2.0; - } else { - SIL_B.saturation_a = SIL_B.saturation; - } - - /* End of Saturate: '/saturation' */ - - /* Saturate: '/saturation' */ - if (SIL_B.Product3_f > 1.2) { - SIL_B.saturation_k = 1.2; - } else if (SIL_B.Product3_f < 0.2) { - SIL_B.saturation_k = 0.2; - } else { - SIL_B.saturation_k = SIL_B.Product3_f; - } - - /* End of Saturate: '/saturation' */ - - /* Lookup_n-D: '/table2D_delta_CL' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation_a, SIL_B.saturation_k, - rtCP_table2D_delta_CL_bp01Data, rtCP_table2D_delta_CL_bp02Data, - rtCP_table2D_delta_CL_tableData, rtCP_table2D_delta_CL_maxIndex, 5U); - /* Sum: '/add' incorporates: - * Constant: '/Param_CL0UncertVal' + * Constant: '/Param_CL0UncertVal' * Lookup_n-D: '/table2D_CL_base' */ - SIL_B.add_g = ((((((((look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + SIL_B.add_h = ((((((((look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_CL_base_bp01Data, rtCP_table2D_CL_base_bp02Data, rtCP_table2D_CL_base_tableData, rtCP_table2D_CL_base_maxIndex, 16U) + - rtb_table2D_delta_Cm) + rtb_parachute) + - SIL_B.product_h) + rtb_q3dot) + rtb_sincos_o2_f_idx_1) + - SIL_B.product1) + CL0UncertVal) + SIL_B.product2) + - rtb_q1dot; + rtb_table3D_Cm_df) + rtb_parachute) + + rtb_sincos_o2_f_idx_1) + SIL_B.product_m) + rtb_Sum) + + rtb_q1dot) + SIL_B.product1) + CL0UncertVal) + + SIL_B.product2; + + /* Lookup_n-D: '/table3D_CY_base_delta' */ + bpIndices_5[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_CY_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_5[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_5[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_CY_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_5[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_5[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_CY_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); + fractions_5[2U] = rtb_sincos_o2_f_idx_0; + + /* DotProduct: '/Dot Product' incorporates: + * Lookup_n-D: '/table3D_CY_base_delta' + */ + rtb_q0dot = intrp3d_l_pw(bpIndices_5, fractions_5, + rtCP_table3D_CY_base_delta_tableData, rtCP_table3D_CY_base_delta_dimSizes); /* Lookup_n-D: '/table3D_CY_aos' */ - bpIndices_4[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_aos_bp01Data, + bpIndices_6[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_aos_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_4[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_4[1U] = plook_binx(SIL_B.saturation_c, + fractions_6[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_6[1U] = plook_binx(SIL_B.saturation_b, rtCP_table3D_CY_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); - fractions_4[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_4[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_aos_bp03Data, + fractions_6[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_6[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_aos_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_4[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_4, fractions_4, + fractions_6[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_6, fractions_6, rtCP_table3D_CY_aos_tableData, rtCP_table3D_CY_aos_dimSizes); /* Lookup_n-D: '/table3D_CY_da' */ - bpIndices_5[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_da_bp01Data, + bpIndices_7[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_5[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_5[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_CY_da_bp02Data, + fractions_7[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_7[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_CY_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_5[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_5[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_da_bp03Data, + fractions_7[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_7[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_5[2U] = rtb_sincos_o2_f_idx_0; - rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_5, fractions_5, + fractions_7[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_7, fractions_7, rtCP_table3D_CY_da_tableData, rtCP_table3D_CY_da_dimSizes); - /* Product: '/product' incorporates: - * Constant: '/Param_CYdaUncertGain' - */ - SIL_B.product_m4 = CYdaUncertGain * rtb_sincos_o2_f_idx_1; - - /* StateSpace: '/Internal' */ - SIL_B.Internal = 0.0; - SIL_B.Internal += SIL_B.product_m4; - /* Lookup_n-D: '/table3D_CY_dr' */ - bpIndices_6[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_dr_bp01Data, + bpIndices_8[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CY_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_6[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_6[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_CY_dr_bp02Data, + fractions_8[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_8[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_CY_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_6[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_6[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_dr_bp03Data, + fractions_8[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_8[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CY_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_6[2U] = rtb_sincos_o2_f_idx_0; - rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_6, fractions_6, + fractions_8[2U] = rtb_sincos_o2_f_idx_0; + rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_8, fractions_8, rtCP_table3D_CY_dr_tableData, rtCP_table3D_CY_dr_dimSizes); + /* Product: '/product' incorporates: + * Constant: '/Param_CYdrUncertGain' + */ + SIL_B.product_iw = rtb_sincos_o2_f_idx_1 * CYdrUncertGain; + + /* Product: '/product' incorporates: + * Constant: '/value' + * Constant: '/Const_RefSpan' + */ + SIL_B.product_k = SIL_B.pqr_n[0] * 1.7 / SIL_B.saturation_g / 2.0; + /* Product: '/product1' incorporates: - * Constant: '/Param_CYdrUncertGain' - */ - SIL_B.product1_p = rtb_sincos_o2_f_idx_1 * CYdrUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_d = 0.0; - SIL_B.Internal_d += SIL_B.product1_p; - - /* Product: '/product' incorporates: - * Constant: '/value' - * Constant: '/Const_RefSpan' - */ - SIL_B.product_k = SIL_B.pqr_n[0] * 1.7 / SIL_B.saturation_e / 2.0; - - /* Product: '/product2' incorporates: - * Constant: '/Param_CYpUncertGain' + * Constant: '/Param_CYpUncertGain' * Lookup_n-D: '/table2D_CYp' */ - SIL_B.product2_p = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + SIL_B.product1_g = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_CYp_bp01Data, rtCP_table2D_CYp_bp02Data, rtCP_table2D_CYp_tableData, rtCP_table2D_CYp_maxIndex, 12U) * SIL_B.product_k * CYpUncertGain; - /* StateSpace: '/Internal' */ - SIL_B.Internal_p = 0.0; - SIL_B.Internal_p += SIL_B.product2_p; - - /* Product: '/product' incorporates: - * Constant: '/value' - * Constant: '/Const_RefSpan' + /* Product: '/product' incorporates: + * Constant: '/value' + * Constant: '/Const_RefSpan' */ - SIL_B.product_e = SIL_B.pqr_n[2] * 1.7 / SIL_B.saturation_e / 2.0; + SIL_B.product_bo = SIL_B.pqr_n[2] * 1.7 / SIL_B.saturation_g / 2.0; - /* Product: '/product3' incorporates: - * Constant: '/Param_CYrUncertGain' + /* Product: '/product2' incorporates: + * Constant: '/Param_CYrUncertGain' * Lookup_n-D: '/table2D_CYr' */ - SIL_B.product3 = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + SIL_B.product2_n = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_CYr_bp01Data, rtCP_table2D_CYr_bp02Data, rtCP_table2D_CYr_tableData, rtCP_table2D_CYr_maxIndex, 12U) * - SIL_B.product_e * CYrUncertGain; + SIL_B.product_bo * CYrUncertGain; - /* StateSpace: '/Internal' */ - SIL_B.Internal_c = 0.0; - SIL_B.Internal_c += SIL_B.product3; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_p2 = 0.0; - - /* Product: '/product5' incorporates: - * Constant: '/value1' - * Constant: '/Param_CYbUncertGain' + /* Product: '/product3' incorporates: + * Constant: '/value' + * Constant: '/Param_CYbUncertGain' */ - SIL_B.product5 = CYbUncertGain * SIL_B.saturation_c * -0.021; - - /* Product: '/product6' incorporates: - * Lookup_n-D: '/table2D_delta_CYb' - */ - SIL_B.product6 = SIL_B.saturation_c * look2_binlxpw(SIL_B.saturation_a, - SIL_B.saturation_k, rtCP_table2D_delta_CYb_bp01Data, - rtCP_table2D_delta_CYb_bp02Data, rtCP_table2D_delta_CYb_tableData, - rtCP_table2D_delta_CYb_maxIndex, 5U); + SIL_B.product3 = CYbUncertGain * SIL_B.saturation_b * -0.021; /* Sum: '/add' incorporates: - * Constant: '/Param_CY0UncertVal' + * Constant: '/Param_CY0UncertVal' */ - SIL_B.add_a = (((((((rtb_q1dot + SIL_B.Internal) + SIL_B.Internal_d) + - SIL_B.Internal_p) + SIL_B.Internal_c) + CY0UncertVal) + - SIL_B.Internal_p2) + SIL_B.product5) + SIL_B.product6; + SIL_B.add_d = ((((((rtb_q0dot + rtb_q1dot) + rtb_Sum) + SIL_B.product_iw) + + SIL_B.product1_g) + SIL_B.product2_n) + CY0UncertVal) + + SIL_B.product3; - /* Lookup_n-D: '/table2D_CD_base' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + /* DotProduct: '/Dot Product' incorporates: + * Lookup_n-D: '/table2D_CD_base' + */ + rtb_q0dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_CD_base_bp01Data, rtCP_table2D_CD_base_bp02Data, rtCP_table2D_CD_base_tableData, rtCP_table2D_CD_base_maxIndex, 16U); + /* Lookup_n-D: '/table3D_CD_base_delta' */ + bpIndices_9[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_CD_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_9[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_9[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_CD_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_9[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_9[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_CD_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); + fractions_9[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_9, fractions_9, + rtCP_table3D_CD_base_delta_tableData, rtCP_table3D_CD_base_delta_dimSizes); + /* Lookup_n-D: '/table3D_CD_aos' */ - bpIndices_7[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_aos_bp01Data, + bpIndices_a[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_aos_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_7[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_7[1U] = plook_binx(SIL_B.saturation_c, + fractions_a[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_a[1U] = plook_binx(SIL_B.saturation_b, rtCP_table3D_CD_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); - fractions_7[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_7[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_aos_bp03Data, + fractions_a[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_a[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_aos_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_7[2U] = rtb_sincos_o2_f_idx_0; - rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_7, fractions_7, + fractions_a[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_a, fractions_a, rtCP_table3D_CD_aos_tableData, rtCP_table3D_CD_aos_dimSizes); /* Lookup_n-D: '/table3D_CD_da' */ - bpIndices_8[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_da_bp01Data, + bpIndices_b[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_8[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_8[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_CD_da_bp02Data, + fractions_b[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_b[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_CD_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_8[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_8[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_da_bp03Data, + fractions_b[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_b[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_8[2U] = rtb_sincos_o2_f_idx_0; - rtb_q3dot = intrp3d_l_pw(bpIndices_8, fractions_8, + fractions_b[2U] = rtb_sincos_o2_f_idx_0; + rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_b, fractions_b, rtCP_table3D_CD_da_tableData, rtCP_table3D_CD_da_dimSizes); /* Lookup_n-D: '/table3D_CD_de' */ - bpIndices_9[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_de_bp01Data, + bpIndices_c[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_de_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_9[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_9[1U] = plook_binx(SIL_B.product_a, rtCP_table3D_CD_de_bp02Data, + fractions_c[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_c[1U] = plook_binx(SIL_B.product_c, rtCP_table3D_CD_de_bp02Data, 9U, &rtb_sincos_o2_f_idx_0); - fractions_9[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_9[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_de_bp03Data, + fractions_c[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_c[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_de_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_9[2U] = rtb_sincos_o2_f_idx_0; - rtb_Sum = intrp3d_l_pw(bpIndices_9, fractions_9, + fractions_c[2U] = rtb_sincos_o2_f_idx_0; + rtb_table3D_Cm_dr = intrp3d_l_pw(bpIndices_c, fractions_c, rtCP_table3D_CD_de_tableData, rtCP_table3D_CD_de_dimSizes); /* Lookup_n-D: '/table3D_CD_dr' */ - bpIndices_a[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_dr_bp01Data, + bpIndices_d[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_a[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_a[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_CD_dr_bp02Data, + fractions_d[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_d[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_CD_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_a[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_a[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_dr_bp03Data, + fractions_d[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_d[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_a[2U] = rtb_sincos_o2_f_idx_0; - rtb_table2D_delta_Cm = intrp3d_l_pw(bpIndices_a, fractions_a, + fractions_d[2U] = rtb_sincos_o2_f_idx_0; + rtb_table3D_Cm_df = intrp3d_l_pw(bpIndices_d, fractions_d, rtCP_table3D_CD_dr_tableData, rtCP_table3D_CD_dr_dimSizes); /* Lookup_n-D: '/table3D_CD_df' */ - bpIndices_b[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_df_bp01Data, + bpIndices_e[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_CD_df_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_b[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_b[1U] = plook_binx(0.0, rtCP_table3D_CD_df_bp02Data, 4U, + fractions_e[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_e[1U] = plook_binx(0.0, rtCP_table3D_CD_df_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); - fractions_b[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_b[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_df_bp03Data, + fractions_e[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_e[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_CD_df_bp03Data, 1U, &rtb_sincos_o2_f_idx_0); - fractions_b[2U] = rtb_sincos_o2_f_idx_0; - rtb_table3D_CD_df = intrp3d_l_pw(bpIndices_b, fractions_b, + fractions_e[2U] = rtb_sincos_o2_f_idx_0; + rtb_table2D_Cmq = intrp3d_l_pw(bpIndices_e, fractions_e, rtCP_table3D_CD_df_tableData, rtCP_table3D_CD_df_dimSizes); /* Outputs for Enabled SubSystem: '/Enabled Subsystem6' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if ((rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) && rtmIsMajorTimeStep(SIL_M)) { @@ -13469,7 +14035,7 @@ void SIL_step(void) } if (SIL_DW.EnabledSubsystem6_MODE) { - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ SIL_B.Integrator_jc = SIL_X.Integrator_CSTATE_f; } @@ -13477,33 +14043,27 @@ void SIL_step(void) /* Lookup_n-D: '/1-D Lookup Table' */ rtb_parachute = look1_pbinlcapw(SIL_B.Integrator_jc, SIL_P.dt_parachute, - SIL_P.CD_parachute, &SIL_DW.m_bpIndex_j, 6U); - - /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table2D_delta_CD' - */ - rtb_q0dot = look2_binlxpw(SIL_B.saturation_a, SIL_B.saturation_k, - rtCP_table2D_delta_CD_bp01Data, rtCP_table2D_delta_CD_bp02Data, - rtCP_table2D_delta_CD_tableData, rtCP_table2D_delta_CD_maxIndex, 5U); + SIL_P.CD_parachute, &SIL_DW.m_bpIndex_ja, 6U); /* Sum: '/add' incorporates: - * Constant: '/Param_CD0UncertVal' + * Constant: '/Param_CD0UncertVal' */ - SIL_B.add_gm = (((((((rtb_q1dot + rtb_sincos_o2_f_idx_1) + rtb_q3dot) + - rtb_Sum) + rtb_table2D_delta_Cm) + rtb_table3D_CD_df) + - CD0UncertVal) + rtb_parachute) + rtb_q0dot; + SIL_B.add_a = (((((((rtb_q0dot + rtb_q1dot) + rtb_Sum) + + rtb_sincos_o2_f_idx_1) + rtb_table3D_Cm_dr) + + rtb_table3D_Cm_df) + rtb_table2D_Cmq) + CD0UncertVal) + + rtb_parachute; /* SwitchCase: '/Switch Case' incorporates: * Inport: '/coeff_in' */ if (rtmIsMajorTimeStep(SIL_M)) { - s373_iter = 0; + s302_iter = 0; SIL_DW.SwitchCase_ActiveSubsystem = 0; } else { - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem; } - switch (s373_iter) { + switch (s302_iter) { case 0: /* Outputs for IfAction SubSystem: '/in half-body' incorporates: * ActionPort: '/Action Port' @@ -13511,23 +14071,23 @@ void SIL_step(void) /* Product: '/Divide' incorporates: * Inport: '/coeff_in' */ - SIL_B.Merge1 = SIL_B.add_g / SIL_B.add_gm; + SIL_B.Merge1 = SIL_B.add_h / SIL_B.add_a; /* Trigonometry: '/Trigonometric Function2' */ rtb_sincos_o2_f_idx_0 = sin(rtb_sincos_o2_k_idx_0); - rtb_q3dot = cos(rtb_sincos_o2_k_idx_0); + rtb_table3D_Cm_df = cos(rtb_sincos_o2_k_idx_0); /* Product: '/Product' incorporates: * Inport: '/coeff_in' * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product_h = SIL_B.add_gm * rtb_q3dot; + SIL_B.Product_h = SIL_B.add_a * rtb_table3D_Cm_df; /* Product: '/Product1' incorporates: * Inport: '/coeff_in' * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product1_az = SIL_B.add_g * rtb_sincos_o2_f_idx_0; + SIL_B.Product1_az = SIL_B.add_h * rtb_sincos_o2_f_idx_0; /* Sum: '/Sum' */ SIL_B.CX = SIL_B.Product1_az - SIL_B.Product_h; @@ -13536,13 +14096,13 @@ void SIL_step(void) * Inport: '/coeff_in' * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product2_cg = SIL_B.add_g * rtb_q3dot; + SIL_B.Product2_cg = SIL_B.add_h * rtb_table3D_Cm_df; /* Product: '/Product3' incorporates: * Inport: '/coeff_in' * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product3_c = SIL_B.add_gm * rtb_sincos_o2_f_idx_0; + SIL_B.Product3_c = SIL_B.add_a * rtb_sincos_o2_f_idx_0; /* Sum: '/Sum1' */ SIL_B.CZ = (0.0 - SIL_B.Product2_cg) - SIL_B.Product3_c; @@ -13551,7 +14111,7 @@ void SIL_step(void) * Inport: '/coeff_in' */ SIL_B.Merge_h[0] = SIL_B.CX; - SIL_B.Merge_h[1] = SIL_B.add_a; + SIL_B.Merge_h[1] = SIL_B.add_d; SIL_B.Merge_h[2] = SIL_B.CZ; /* End of Outputs for SubSystem: '/in half-body' */ @@ -13561,20 +14121,20 @@ void SIL_step(void) /* Outputs for IfAction SubSystem: '/in body axis' incorporates: * ActionPort: '/Action Port' */ - SIL_B.Merge_h[0] = SIL_B.add_gm; - SIL_B.Merge_h[1] = SIL_B.add_a; - SIL_B.Merge_h[2] = SIL_B.add_g; + SIL_B.Merge_h[0] = SIL_B.add_a; + SIL_B.Merge_h[1] = SIL_B.add_d; + SIL_B.Merge_h[2] = SIL_B.add_h; /* Trigonometry: '/Trigonometric Function2' incorporates: * Inport: '/coeff_in' */ rtb_sincos_o2_f_idx_0 = sin(rtb_sincos_o2_k_idx_0); - rtb_q3dot = cos(rtb_sincos_o2_k_idx_0); + rtb_table3D_Cm_df = cos(rtb_sincos_o2_k_idx_0); /* Product: '/Product' incorporates: * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product_m2 = SIL_B.Merge_h[2] * rtb_q3dot; + SIL_B.Product_m2 = SIL_B.Merge_h[2] * rtb_table3D_Cm_df; /* Product: '/Product1' incorporates: * Trigonometry: '/Trigonometric Function2' @@ -13587,7 +14147,7 @@ void SIL_step(void) /* Product: '/Product2' incorporates: * Trigonometry: '/Trigonometric Function2' */ - SIL_B.Product2_g = SIL_B.Merge_h[0] * rtb_q3dot; + SIL_B.Product2_g = SIL_B.Merge_h[0] * rtb_table3D_Cm_df; /* Product: '/Product3' incorporates: * Trigonometry: '/Trigonometric Function2' @@ -13610,19 +14170,19 @@ void SIL_step(void) SIL_B.Product_j[0] = SIL_B.Product2_b * SIL_B.Merge_h[0]; /* Sum: '/Sum' */ - SIL_B.Sum_jo[0] = SIL_B.if_p[0]; + SIL_B.Sum_jo[0] = SIL_B.if_k[0]; /* Product: '/Product' */ SIL_B.Product_j[1] = SIL_B.Product2_b * SIL_B.Merge_h[1]; /* Sum: '/Sum' */ - SIL_B.Sum_jo[1] = SIL_B.if_p[1]; + SIL_B.Sum_jo[1] = SIL_B.if_k[1]; /* Product: '/Product' */ SIL_B.Product_j[2] = SIL_B.Product2_b * SIL_B.Merge_h[2]; /* Sum: '/Sum' */ - SIL_B.Sum_jo[2] = SIL_B.if_p[2]; + SIL_B.Sum_jo[2] = SIL_B.if_k[2]; /* Product: '/j x k' */ SIL_B.jxk = SIL_B.Product_j[1] * SIL_B.Sum_jo[2]; @@ -13647,118 +14207,102 @@ void SIL_step(void) SIL_B.Sum_p[1] = SIL_B.kxi - SIL_B.ixk; SIL_B.Sum_p[2] = SIL_B.ixj - SIL_B.jxi; - /* Lookup_n-D: '/table3D_Cl_aos' */ - bpIndices_c[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_aos_bp01Data, - 11U, &rtb_sincos_o2_f_idx_0); - fractions_c[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_c[1U] = plook_binx(SIL_B.saturation_c, - rtCP_table3D_Cl_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); - fractions_c[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_c[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_aos_bp03Data, - 10U, &rtb_sincos_o2_f_idx_0); - fractions_c[2U] = rtb_sincos_o2_f_idx_0; + /* Lookup_n-D: '/table3D_Cl_base_delta' */ + bpIndices_f[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_Cl_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_f[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_f[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_Cl_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_f[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_f[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_Cl_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); + fractions_f[2U] = rtb_sincos_o2_f_idx_0; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table3D_Cl_aos' + * Lookup_n-D: '/table3D_Cl_base_delta' */ - rtb_q0dot = intrp3d_l_pw(bpIndices_c, fractions_c, + rtb_q0dot = intrp3d_l_pw(bpIndices_f, fractions_f, + rtCP_table3D_Cl_base_delta_tableData, rtCP_table3D_Cl_base_delta_dimSizes); + + /* Lookup_n-D: '/table3D_Cl_aos' */ + bpIndices_g[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_aos_bp01Data, + 11U, &rtb_sincos_o2_f_idx_0); + fractions_g[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_g[1U] = plook_binx(SIL_B.saturation_b, + rtCP_table3D_Cl_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); + fractions_g[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_g[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_aos_bp03Data, + 10U, &rtb_sincos_o2_f_idx_0); + fractions_g[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_g, fractions_g, rtCP_table3D_Cl_aos_tableData, rtCP_table3D_Cl_aos_dimSizes); /* Lookup_n-D: '/table3D_Cl_da' */ - bpIndices_d[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_da_bp01Data, + bpIndices_h[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_d[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_d[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_Cl_da_bp02Data, + fractions_h[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_h[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_Cl_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_d[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_d[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_da_bp03Data, + fractions_h[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_h[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_d[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_d, fractions_d, + fractions_h[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_h, fractions_h, rtCP_table3D_Cl_da_tableData, rtCP_table3D_Cl_da_dimSizes); /* Product: '/product' incorporates: - * Constant: '/Param_CldaUncertGain' + * Constant: '/Param_CldaUncertGain' */ - SIL_B.product_ga = rtb_q1dot * CldaUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_m = 0.0; - SIL_B.Internal_m += SIL_B.product_ga; + SIL_B.product_kc = rtb_Sum * CldaUncertGain; /* Lookup_n-D: '/table3D_Cl_dr' */ - bpIndices_e[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_dr_bp01Data, + bpIndices_i[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cl_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_e[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_e[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_Cl_dr_bp02Data, + fractions_i[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_i[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_Cl_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_e[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_e[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_dr_bp03Data, + fractions_i[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_i[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cl_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_e[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_e, fractions_e, + fractions_i[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_i, fractions_i, rtCP_table3D_Cl_dr_tableData, rtCP_table3D_Cl_dr_dimSizes); /* Product: '/product1' incorporates: - * Constant: '/Param_CldrUncertGain' + * Constant: '/Param_CldrUncertGain' */ - SIL_B.product1_e = rtb_q1dot * CldrUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_a = 0.0; - SIL_B.Internal_a += SIL_B.product1_e; - - /* Lookup_n-D: '/table2D_Clp' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, - rtCP_table2D_Clp_bp01Data, rtCP_table2D_Clp_bp02Data, - rtCP_table2D_Clp_tableData, rtCP_table2D_Clp_maxIndex, 12U); + SIL_B.product1_i = rtb_Sum * CldrUncertGain; /* Product: '/product2' incorporates: - * Constant: '/Param_ClpUncertGain' + * Constant: '/Param_ClpUncertGain' + * Lookup_n-D: '/table2D_Clp' */ - SIL_B.product2_n = rtb_q1dot * SIL_B.product_k * ClpUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_o = 0.0; - SIL_B.Internal_o += SIL_B.product2_n; - - /* Lookup_n-D: '/table2D_Clr' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, - rtCP_table2D_Clr_bp01Data, rtCP_table2D_Clr_bp02Data, - rtCP_table2D_Clr_tableData, rtCP_table2D_Clr_maxIndex, 12U); + SIL_B.product2_i = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + rtCP_table2D_Clp_bp01Data, rtCP_table2D_Clp_bp02Data, + rtCP_table2D_Clp_tableData, rtCP_table2D_Clp_maxIndex, 12U) * + SIL_B.product_k * ClpUncertGain; /* Product: '/product3' incorporates: - * Constant: '/Param_ClrUncertGain' + * Constant: '/Param_ClrUncertGain' + * Lookup_n-D: '/table2D_Clr' */ - SIL_B.product3_p = rtb_q1dot * SIL_B.product_e * ClrUncertGain; + SIL_B.product3_f = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + rtCP_table2D_Clr_bp01Data, rtCP_table2D_Clr_bp02Data, + rtCP_table2D_Clr_tableData, rtCP_table2D_Clr_maxIndex, 12U) * + SIL_B.product_bo * ClrUncertGain; - /* StateSpace: '/Internal' */ - SIL_B.Internal_d2 = 0.0; - SIL_B.Internal_d2 += SIL_B.product3_p; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_ag = 0.0; - - /* Product: '/product5' incorporates: - * Constant: '/value1' - * Constant: '/Param_ClbUncertGain' + /* Product: '/product4' incorporates: + * Constant: '/value' + * Constant: '/Param_ClbUncertGain' */ - SIL_B.product5_l = ClbUncertGain * SIL_B.saturation_c * -0.00174; - - /* Lookup_n-D: '/table2D_delta_Clb' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation_a, SIL_B.saturation_k, - rtCP_table2D_delta_Clb_bp01Data, rtCP_table2D_delta_Clb_bp02Data, - rtCP_table2D_delta_Clb_tableData, rtCP_table2D_delta_Clb_maxIndex, 5U); - - /* Product: '/product6' */ - SIL_B.product6_h = SIL_B.saturation_c * rtb_q1dot; + SIL_B.product4 = ClbUncertGain * SIL_B.saturation_b * -0.00174; /* Sum: '/add' incorporates: - * Constant: '/Param_Cl0UncertVal' + * Constant: '/Param_Cl0UncertVal' */ - SIL_B.add_d = (((((((rtb_q0dot + SIL_B.Internal_m) + SIL_B.Internal_a) + - SIL_B.Internal_o) + SIL_B.Internal_d2) + Cl0UncertVal) + - SIL_B.Internal_ag) + SIL_B.product5_l) + SIL_B.product6_h; + SIL_B.add_dy = ((((((rtb_q0dot + rtb_q1dot) + SIL_B.product_kc) + + SIL_B.product1_i) + SIL_B.product2_i) + SIL_B.product3_f) + + Cl0UncertVal) + SIL_B.product4; /* DotProduct: '/Dot Product' incorporates: * Lookup_n-D: '/table2D_Cm_base' @@ -13767,239 +14311,221 @@ void SIL_step(void) rtCP_table2D_Cm_base_bp01Data, rtCP_table2D_Cm_base_bp02Data, rtCP_table2D_Cm_base_tableData, rtCP_table2D_Cm_base_maxIndex, 16U); + /* Lookup_n-D: '/table3D_Cm_base_delta' */ + bpIndices_j[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_Cm_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_j[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_j[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_Cm_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_j[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_j[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_Cm_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); + fractions_j[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_j, fractions_j, + rtCP_table3D_Cm_base_delta_tableData, rtCP_table3D_Cm_base_delta_dimSizes); + /* Lookup_n-D: '/table3D_Cm_aos' */ - bpIndices_f[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_aos_bp01Data, + bpIndices_k[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_aos_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_f[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_f[1U] = plook_binx(SIL_B.saturation_c, + fractions_k[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_k[1U] = plook_binx(SIL_B.saturation_b, rtCP_table3D_Cm_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); - fractions_f[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_f[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_aos_bp03Data, + fractions_k[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_k[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_aos_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_f[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_f, fractions_f, + fractions_k[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_k, fractions_k, rtCP_table3D_Cm_aos_tableData, rtCP_table3D_Cm_aos_dimSizes); /* Lookup_n-D: '/table3D_Cm_da' */ - bpIndices_g[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_da_bp01Data, + bpIndices_l[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_g[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_g[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_Cm_da_bp02Data, + fractions_l[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_l[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_Cm_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_g[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_g[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_da_bp03Data, + fractions_l[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_l[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_g[2U] = rtb_sincos_o2_f_idx_0; - rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_g, fractions_g, + fractions_l[2U] = rtb_sincos_o2_f_idx_0; + rtb_sincos_o2_f_idx_1 = intrp3d_l_pw(bpIndices_l, fractions_l, rtCP_table3D_Cm_da_tableData, rtCP_table3D_Cm_da_dimSizes); /* Lookup_n-D: '/table3D_Cm_de' */ - bpIndices_h[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_de_bp01Data, + bpIndices_m[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_de_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_h[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_h[1U] = plook_binx(SIL_B.product_a, rtCP_table3D_Cm_de_bp02Data, + fractions_m[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_m[1U] = plook_binx(SIL_B.product_c, rtCP_table3D_Cm_de_bp02Data, 9U, &rtb_sincos_o2_f_idx_0); - fractions_h[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_h[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_de_bp03Data, + fractions_m[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_m[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_de_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_h[2U] = rtb_sincos_o2_f_idx_0; - rtb_q3dot = intrp3d_l_pw(bpIndices_h, fractions_h, + fractions_m[2U] = rtb_sincos_o2_f_idx_0; + rtb_table3D_Cm_dr = intrp3d_l_pw(bpIndices_m, fractions_m, rtCP_table3D_Cm_de_tableData, rtCP_table3D_Cm_de_dimSizes); /* Product: '/product' incorporates: - * Constant: '/Param_CmdeUncertGain' + * Constant: '/Param_CmdeUncertGain' */ - SIL_B.product_ja = rtb_q3dot * CmdeUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_oz = 0.0; - SIL_B.Internal_oz += SIL_B.product_ja; + SIL_B.product_ck = rtb_table3D_Cm_dr * CmdeUncertGain; /* Lookup_n-D: '/table3D_Cm_dr' */ - bpIndices_i[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_dr_bp01Data, + bpIndices_n[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_i[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_i[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_Cm_dr_bp02Data, + fractions_n[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_n[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_Cm_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_i[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_i[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_dr_bp03Data, + fractions_n[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_n[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_i[2U] = rtb_sincos_o2_f_idx_0; - rtb_q3dot = intrp3d_l_pw(bpIndices_i, fractions_i, + fractions_n[2U] = rtb_sincos_o2_f_idx_0; + rtb_table3D_Cm_dr = intrp3d_l_pw(bpIndices_n, fractions_n, rtCP_table3D_Cm_dr_tableData, rtCP_table3D_Cm_dr_dimSizes); /* Lookup_n-D: '/table3D_Cm_df' */ - bpIndices_j[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_df_bp01Data, + bpIndices_o[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cm_df_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_j[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_j[1U] = plook_binx(0.0, rtCP_table3D_Cm_df_bp02Data, 4U, + fractions_o[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_o[1U] = plook_binx(0.0, rtCP_table3D_Cm_df_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); - fractions_j[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_j[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_df_bp03Data, + fractions_o[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_o[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cm_df_bp03Data, 1U, &rtb_sincos_o2_f_idx_0); - fractions_j[2U] = rtb_sincos_o2_f_idx_0; - rtb_Sum = intrp3d_l_pw(bpIndices_j, fractions_j, + fractions_o[2U] = rtb_sincos_o2_f_idx_0; + rtb_table3D_Cm_df = intrp3d_l_pw(bpIndices_o, fractions_o, rtCP_table3D_Cm_df_tableData, rtCP_table3D_Cm_df_dimSizes); /* Product: '/product1' incorporates: - * Constant: '/Param_CmqUncertGain' + * Constant: '/Param_CmqUncertGain' * Lookup_n-D: '/table2D_Cmq' */ - SIL_B.product1_k = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + SIL_B.product1_o = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, rtCP_table2D_Cmq_bp01Data, rtCP_table2D_Cmq_bp02Data, rtCP_table2D_Cmq_tableData, rtCP_table2D_Cmq_maxIndex, 12U) * - SIL_B.product_p * CmqUncertGain; + SIL_B.product_g * CmqUncertGain; - /* StateSpace: '/Internal' */ - SIL_B.Internal_i = 0.0; - SIL_B.Internal_i += SIL_B.product1_k; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_n = 0.0; - - /* Product: '/product3' incorporates: - * Constant: '/value1' - * Constant: '/Param_CmaUncertGain' + /* Product: '/product2' incorporates: + * Constant: '/value' + * Constant: '/Param_CmaUncertGain' */ - SIL_B.product3_d = CmaUncertGain * SIL_B.saturation * -0.00698; + SIL_B.product2_p = CmaUncertGain * SIL_B.saturation * -0.00698; /* Sum: '/add' incorporates: - * Constant: '/Param_Cm0UncertVal' - * Lookup_n-D: '/table2D_delta_Cm' + * Constant: '/Param_Cm0UncertVal' */ - SIL_B.add_a4 = (((((((((rtb_q0dot + rtb_q1dot) + rtb_sincos_o2_f_idx_1) + - SIL_B.Internal_oz) + rtb_q3dot) + rtb_Sum) + - SIL_B.Internal_i) + Cm0UncertVal) + SIL_B.Internal_n) + - SIL_B.product3_d) + look2_binlxpw(SIL_B.saturation_a, - SIL_B.saturation_k, rtCP_table2D_delta_Cm_bp01Data, - rtCP_table2D_delta_Cm_bp02Data, rtCP_table2D_delta_Cm_tableData, - rtCP_table2D_delta_Cm_maxIndex, 5U); + SIL_B.add_dp = ((((((((rtb_q0dot + rtb_q1dot) + rtb_Sum) + + rtb_sincos_o2_f_idx_1) + SIL_B.product_ck) + + rtb_table3D_Cm_dr) + rtb_table3D_Cm_df) + + SIL_B.product1_o) + Cm0UncertVal) + SIL_B.product2_p; /* Lookup_n-D: '/table3D_Cn_aos' */ - bpIndices_k[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_aos_bp01Data, + bpIndices_p[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_aos_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_k[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_k[1U] = plook_binx(SIL_B.saturation_c, + fractions_p[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_p[1U] = plook_binx(SIL_B.saturation_b, rtCP_table3D_Cn_aos_bp02Data, 8U, &rtb_sincos_o2_f_idx_0); - fractions_k[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_k[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_aos_bp03Data, + fractions_p[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_p[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_aos_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_k[2U] = rtb_sincos_o2_f_idx_0; + fractions_p[2U] = rtb_sincos_o2_f_idx_0; /* DotProduct: '/Dot Product' incorporates: * Lookup_n-D: '/table3D_Cn_aos' */ - rtb_q0dot = intrp3d_l_pw(bpIndices_k, fractions_k, + rtb_q0dot = intrp3d_l_pw(bpIndices_p, fractions_p, rtCP_table3D_Cn_aos_tableData, rtCP_table3D_Cn_aos_dimSizes); + /* Lookup_n-D: '/table3D_Cn_base_delta' */ + bpIndices_q[0U] = plook_binx(SIL_B.saturation_a, + rtCP_table3D_Cn_base_delta_bp01Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_q[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_q[1U] = plook_binx(SIL_B.saturation_i, + rtCP_table3D_Cn_base_delta_bp02Data, 4U, &rtb_sincos_o2_f_idx_0); + fractions_q[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_q[2U] = plook_binx(SIL_B.Product3_f, + rtCP_table3D_Cn_base_delta_bp03Data, 7U, &rtb_sincos_o2_f_idx_0); + fractions_q[2U] = rtb_sincos_o2_f_idx_0; + rtb_q1dot = intrp3d_l_pw(bpIndices_q, fractions_q, + rtCP_table3D_Cn_base_delta_tableData, rtCP_table3D_Cn_base_delta_dimSizes); + /* Lookup_n-D: '/table3D_Cn_da' */ - bpIndices_l[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_da_bp01Data, + bpIndices_r[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_da_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_l[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_l[1U] = plook_binx(SIL_B.product_cy, rtCP_table3D_Cn_da_bp02Data, + fractions_r[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_r[1U] = plook_binx(SIL_B.product_i, rtCP_table3D_Cn_da_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_l[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_l[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_da_bp03Data, + fractions_r[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_r[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_da_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_l[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_l, fractions_l, + fractions_r[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_r, fractions_r, rtCP_table3D_Cn_da_tableData, rtCP_table3D_Cn_da_dimSizes); /* Product: '/product' incorporates: - * Constant: '/Param_CndaUncertGain' + * Constant: '/Param_CndaUncertGain' */ - SIL_B.product_kh = rtb_q1dot * CndaUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_f = 0.0; - SIL_B.Internal_f += SIL_B.product_kh; + SIL_B.product_mx = rtb_Sum * CndaUncertGain; /* Lookup_n-D: '/table3D_Cn_dr' */ - bpIndices_m[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_dr_bp01Data, + bpIndices_s[0U] = plook_binx(SIL_B.saturation, rtCP_table3D_Cn_dr_bp01Data, 11U, &rtb_sincos_o2_f_idx_0); - fractions_m[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_m[1U] = plook_binx(SIL_B.product_m, rtCP_table3D_Cn_dr_bp02Data, + fractions_s[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_s[1U] = plook_binx(SIL_B.product_b5, rtCP_table3D_Cn_dr_bp02Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_m[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_m[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_dr_bp03Data, + fractions_s[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_s[2U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Cn_dr_bp03Data, 10U, &rtb_sincos_o2_f_idx_0); - fractions_m[2U] = rtb_sincos_o2_f_idx_0; - rtb_q1dot = intrp3d_l_pw(bpIndices_m, fractions_m, + fractions_s[2U] = rtb_sincos_o2_f_idx_0; + rtb_Sum = intrp3d_l_pw(bpIndices_s, fractions_s, rtCP_table3D_Cn_dr_tableData, rtCP_table3D_Cn_dr_dimSizes); /* Product: '/product1' incorporates: - * Constant: '/Param_CndrUncertGain' + * Constant: '/Param_CndrUncertGain' */ - SIL_B.product1_h = rtb_q1dot * CndrUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_cp = 0.0; - SIL_B.Internal_cp += SIL_B.product1_h; - - /* Lookup_n-D: '/table2D_Cnp' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, - rtCP_table2D_Cnp_bp01Data, rtCP_table2D_Cnp_bp02Data, - rtCP_table2D_Cnp_tableData, rtCP_table2D_Cnp_maxIndex, 12U); + SIL_B.product1_j = rtb_Sum * CndrUncertGain; /* Product: '/product2' incorporates: - * Constant: '/Param_CnpUncertGain' + * Constant: '/Param_CnpUncertGain' + * Lookup_n-D: '/table2D_Cnp' */ - SIL_B.product2_h = rtb_q1dot * SIL_B.product_k * CnpUncertGain; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_h = 0.0; - SIL_B.Internal_h += SIL_B.product2_h; - - /* Lookup_n-D: '/table2D_Cnr' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, - rtCP_table2D_Cnr_bp01Data, rtCP_table2D_Cnr_bp02Data, - rtCP_table2D_Cnr_tableData, rtCP_table2D_Cnr_maxIndex, 12U); + SIL_B.product2_ng = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + rtCP_table2D_Cnp_bp01Data, rtCP_table2D_Cnp_bp02Data, + rtCP_table2D_Cnp_tableData, rtCP_table2D_Cnp_maxIndex, 12U) * + SIL_B.product_k * CnpUncertGain; /* Product: '/product3' incorporates: - * Constant: '/Param_CnrUncertGain' + * Constant: '/Param_CnrUncertGain' + * Lookup_n-D: '/table2D_Cnr' */ - SIL_B.product3_i = rtb_q1dot * SIL_B.product_e * CnrUncertGain; + SIL_B.product3_g = look2_binlxpw(SIL_B.saturation, SIL_B.Product3_f, + rtCP_table2D_Cnr_bp01Data, rtCP_table2D_Cnr_bp02Data, + rtCP_table2D_Cnr_tableData, rtCP_table2D_Cnr_maxIndex, 12U) * + SIL_B.product_bo * CnrUncertGain; - /* StateSpace: '/Internal' */ - SIL_B.Internal_if = 0.0; - SIL_B.Internal_if += SIL_B.product3_i; - - /* StateSpace: '/Internal' */ - SIL_B.Internal_l = 0.0; - - /* Product: '/product5' incorporates: - * Constant: '/value1' - * Constant: '/Param_CnbUncertGain' + /* Product: '/product4' incorporates: + * Constant: '/value' + * Constant: '/Param_CnbUncertGain' */ - SIL_B.product5_i = CnbUncertGain * SIL_B.saturation_c * 0.0048; - - /* Lookup_n-D: '/table2D_delta_Cnb' */ - rtb_q1dot = look2_binlxpw(SIL_B.saturation_a, SIL_B.saturation_k, - rtCP_table2D_delta_Cnb_bp01Data, rtCP_table2D_delta_Cnb_bp02Data, - rtCP_table2D_delta_Cnb_tableData, rtCP_table2D_delta_Cnb_maxIndex, 5U); - - /* Product: '/product6' */ - SIL_B.product6_e = SIL_B.saturation_c * rtb_q1dot; + SIL_B.product4_j = CnbUncertGain * SIL_B.saturation_b * 0.0026; /* Sum: '/add' incorporates: - * Constant: '/Param_Cn0UncertVal' + * Constant: '/Param_Cn0UncertVal' */ - SIL_B.add_n = (((((((rtb_q0dot + SIL_B.Internal_f) + SIL_B.Internal_cp) + - SIL_B.Internal_h) + SIL_B.Internal_if) + Cn0UncertVal) + - SIL_B.Internal_l) + SIL_B.product5_i) + SIL_B.product6_e; + SIL_B.add_c = ((((((rtb_q0dot + rtb_q1dot) + SIL_B.product_mx) + + SIL_B.product1_j) + SIL_B.product2_ng) + SIL_B.product3_g) + + Cn0UncertVal) + SIL_B.product4_j; /* Product: '/Product1' incorporates: - * Constant: '/Const_RefLen' - * Constant: '/Const_RefSpan' + * Constant: '/Const_RefLen' + * Constant: '/Const_RefSpan' */ SIL_B.Product1_h[0] = 1.7 * SIL_B.Product2_b; SIL_B.Product1_h[1] = 0.659 * SIL_B.Product2_b; SIL_B.Product1_h[2] = 1.7 * SIL_B.Product2_b; /* Product: '/Product3' */ - SIL_B.Product3_mg[0] = SIL_B.add_d * SIL_B.Product1_h[0]; - SIL_B.Product3_mg[1] = SIL_B.add_a4 * SIL_B.Product1_h[1]; - SIL_B.Product3_mg[2] = SIL_B.add_n * SIL_B.Product1_h[2]; + SIL_B.Product3_mg[0] = SIL_B.add_dy * SIL_B.Product1_h[0]; + SIL_B.Product3_mg[1] = SIL_B.add_dp * SIL_B.Product1_h[1]; + SIL_B.Product3_mg[2] = SIL_B.add_c * SIL_B.Product1_h[2]; /* Sum: '/Sum1' */ SIL_B.Sum1_a[0] = SIL_B.Sum_p[0] + SIL_B.Product3_mg[0]; @@ -14007,16 +14533,15 @@ void SIL_step(void) SIL_B.Sum1_a[2] = SIL_B.Sum_p[2] + SIL_B.Product3_mg[2]; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table2D_thrustAB' + * Lookup_n-D: '/table2D_thrustAB' */ - rtb_q0dot = look2_pbinlcapw(SIL_B.Product3_f, SIL_B.Sum3, + rtb_q0dot = look2_binlxpw(SIL_B.Product3_f, SIL_B.Sum3, rtCP_table2D_thrustAB_bp01Data, rtCP_table2D_thrustAB_bp02Data, - rtCP_table2D_thrustAB_tableData, SIL_DW.m_bpIndex_anb, - rtCP_table2D_thrustAB_maxIndex, 10U); + rtCP_table2D_thrustAB_tableData, rtCP_table2D_thrustAB_maxIndex, 10U); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { /* Outputs for Enabled SubSystem: '/Enabled Subsystem5' incorporates: - * EnablePort: '/Enable' + * EnablePort: '/Enable' */ if (rtmIsMajorTimeStep(SIL_M)) { /* Logic: '/NOT5' */ @@ -14026,7 +14551,7 @@ void SIL_step(void) } } else { if (SIL_DW.EnabledSubsystem5_MODE) { - /* Disable for Outport: '/Out1' */ + /* Disable for Outport: '/Out1' */ SIL_B.In1 = 0.0; SIL_DW.EnabledSubsystem5_MODE = false; } @@ -14036,7 +14561,7 @@ void SIL_step(void) } if (SIL_DW.EnabledSubsystem5_MODE) { - /* Inport: '/In1' */ + /* Inport: '/In1' */ SIL_B.In1 = rtb_Merge_oq; } @@ -14045,79 +14570,73 @@ void SIL_step(void) /* Gain: '/Gain4' */ rtb_Sum = 0.5 * SIL_B.In1; - /* Lookup_n-D: '/table1D_thrAB_map' */ + /* Lookup_n-D: '/table1D_thrAB_map' */ SIL_B.table1D_thrAB_map = look1_binlxpw(rtb_Sum, rtCP_table1D_thrAB_map_bp01Data, rtCP_table1D_thrAB_map_tableData, 2U); - /* Lookup_n-D: '/table1D_thr_map' */ + /* Lookup_n-D: '/table1D_thr_map' */ SIL_B.table1D_thr_map = look1_binlxpw(rtb_Sum, rtCP_table1D_thr_map_bp01Data, rtCP_table1D_thr_map_tableData, 2U); } - /* Product: '/product1' */ + /* Product: '/product1' */ rtb_Merge_oq = rtb_q0dot * SIL_B.table1D_thrAB_map; - /* Lookup_n-D: '/table3D_thrust' */ - bpIndices_n[0U] = plook_bincpa(SIL_B.Product3_f, - rtCP_table3D_thrust_bp01Data, 9U, &rtb_sincos_o2_f_idx_0, - &SIL_DW.m_bpIndex_db[0U]); + /* Lookup_n-D: '/table3D_thrust' */ + bpIndices_t[0U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_thrust_bp01Data, + 9U, &rtb_sincos_o2_f_idx_0); rtb_Sum_lv[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_n[1U] = plook_bincpa(SIL_B.Sum3, rtCP_table3D_thrust_bp02Data, 15U, - &rtb_sincos_o2_f_idx_0, &SIL_DW.m_bpIndex_db[1U]); + bpIndices_t[1U] = plook_binx(SIL_B.Sum3, rtCP_table3D_thrust_bp02Data, 15U, + &rtb_sincos_o2_f_idx_0); rtb_Sum_lv[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_n[2U] = plook_bincpa(SIL_B.table1D_thr_map, - rtCP_table3D_thrust_bp03Data, 11U, &rtb_sincos_o2_f_idx_0, - &SIL_DW.m_bpIndex_db[2U]); + bpIndices_t[2U] = plook_binx(SIL_B.table1D_thr_map, + rtCP_table3D_thrust_bp03Data, 11U, &rtb_sincos_o2_f_idx_0); rtb_Sum_lv[2U] = rtb_sincos_o2_f_idx_0; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table3D_thrust' + * Lookup_n-D: '/table3D_thrust' */ - rtb_q0dot = intrp3d_la_pw(bpIndices_n, rtb_Sum_lv, - rtCP_table3D_thrust_tableData, rtCP_table3D_thrust_dimSizes, - rtCP_table3D_thrust_maxIndex); + rtb_q0dot = intrp3d_l_pw(bpIndices_t, rtb_Sum_lv, + rtCP_table3D_thrust_tableData, rtCP_table3D_thrust_dimSizes); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Sum: '/subtract' incorporates: - * Constant: '/value' + /* Sum: '/subtract' incorporates: + * Constant: '/value' */ SIL_B.subtract = 1.0 - SIL_B.table1D_thrAB_map; } - /* Sum: '/add' incorporates: - * Product: '/product2' + /* Sum: '/add' incorporates: + * Product: '/product2' */ rtb_Merge_oq += rtb_q0dot * SIL_B.subtract; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table2D_cftAB' + * Lookup_n-D: '/table2D_cftAB' */ - rtb_q0dot = look2_pbinlcapw(SIL_B.Product3_f, SIL_B.Sum3, + rtb_q0dot = look2_binlxpw(SIL_B.Product3_f, SIL_B.Sum3, rtCP_table2D_cftAB_bp01Data, rtCP_table2D_cftAB_bp02Data, - rtCP_table2D_cftAB_tableData, SIL_DW.m_bpIndex_il, - rtCP_table2D_cftAB_maxIndex_b, 10U); + rtCP_table2D_cftAB_tableData, rtCP_table2D_cftAB_maxIndex_e, 10U); - /* Product: '/product' */ + /* Product: '/product' */ rtb_Sum = rtb_q0dot * SIL_B.table1D_thrAB_map; - /* Lookup_n-D: '/table3D_cft' */ - bpIndices_o[0U] = plook_bincpa(SIL_B.Product3_f, rtCP_table3D_cft_bp01Data, - 9U, &rtb_sincos_o2_f_idx_0, &SIL_DW.m_bpIndex_g0[0U]); + /* Lookup_n-D: '/table3D_cft' */ + bpIndices_u[0U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_cft_bp01Data, 9U, + &rtb_sincos_o2_f_idx_0); rtb_ZeroOrderHold3[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_o[1U] = plook_bincpa(SIL_B.Sum3, rtCP_table3D_cft_bp02Data, 15U, - &rtb_sincos_o2_f_idx_0, &SIL_DW.m_bpIndex_g0[1U]); + bpIndices_u[1U] = plook_binx(SIL_B.Sum3, rtCP_table3D_cft_bp02Data, 15U, + &rtb_sincos_o2_f_idx_0); rtb_ZeroOrderHold3[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_o[2U] = plook_bincpa(SIL_B.table1D_thr_map, - rtCP_table3D_cft_bp03Data, 11U, &rtb_sincos_o2_f_idx_0, - &SIL_DW.m_bpIndex_g0[2U]); + bpIndices_u[2U] = plook_binx(SIL_B.table1D_thr_map, + rtCP_table3D_cft_bp03Data, 11U, &rtb_sincos_o2_f_idx_0); rtb_ZeroOrderHold3[2U] = rtb_sincos_o2_f_idx_0; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table3D_cft' + * Lookup_n-D: '/table3D_cft' */ - rtb_q0dot = intrp3d_la_pw(bpIndices_o, rtb_ZeroOrderHold3, - rtCP_table3D_cft_tableData, rtCP_table3D_cft_dimSizes_c, - rtCP_table3D_cft_maxIndex_h); + rtb_q0dot = intrp3d_l_pw(bpIndices_u, rtb_ZeroOrderHold3, + rtCP_table3D_cft_tableData, rtCP_table3D_cft_dimSizes_d); if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { /* Switch: '/Switch' incorporates: @@ -14128,16 +14647,16 @@ void SIL_step(void) /* Outputs for Atomic SubSystem: '/For_each_thrust1' */ /* Selector: '/Selector' incorporates: - * Constant: '/Param_ThrustUncertGain' - * Product: '/product' + * Constant: '/Param_ThrustUncertGain' + * Product: '/product' */ SIL_B.Selector_p = rtb_Merge_oq * ThrustUncertGain; /* Selector: '/Selector1' incorporates: - * Constant: '/value' - * Product: '/product1' - * Product: '/product' - * Sum: '/add' + * Constant: '/value' + * Product: '/product1' + * Product: '/product' + * Sum: '/add' */ SIL_B.Selector1_c2 = (rtb_q0dot * SIL_B.subtract + rtb_Sum) * 0.00027777777777777778; @@ -14157,7 +14676,7 @@ void SIL_step(void) rtb_Sum_ft[1] = sin(engine_att_rad[1]); rtb_sincos_o2_f_idx_0 = cos(engine_att_rad[1]); rtb_Sum_ft[2] = sin(engine_att_rad[2]); - rtb_q3dot = cos(engine_att_rad[2]); + rtb_table3D_Cm_df = cos(engine_att_rad[2]); /* Fcn: '/Fcn11' */ rtb_VectorConcatenate_k[0] = rtb_sincos_o2_f_idx_0 * rtb_Merge2; @@ -14166,13 +14685,13 @@ void SIL_step(void) * Fcn: '/Fcn22' */ rtb_Sum = rtb_Sum_ft[2] * rtb_Sum_ft[1]; - rtb_VectorConcatenate_k[1] = rtb_Sum * rtb_Merge2 - rtb_q3dot * + rtb_VectorConcatenate_k[1] = rtb_Sum * rtb_Merge2 - rtb_table3D_Cm_df * rtb_Sum_ft[0]; /* Fcn: '/Fcn31' incorporates: * Fcn: '/Fcn32' */ - rtb_Merge_oq = rtb_q3dot * rtb_Sum_ft[1]; + rtb_Merge_oq = rtb_table3D_Cm_df * rtb_Sum_ft[1]; rtb_VectorConcatenate_k[2] = rtb_Merge_oq * rtb_Merge2 + rtb_Sum_ft[2] * rtb_Sum_ft[0]; @@ -14180,8 +14699,8 @@ void SIL_step(void) rtb_VectorConcatenate_k[3] = rtb_sincos_o2_f_idx_0 * rtb_Sum_ft[0]; /* Fcn: '/Fcn22' */ - rtb_VectorConcatenate_k[4] = rtb_Sum * rtb_Sum_ft[0] + rtb_q3dot * - rtb_Merge2; + rtb_VectorConcatenate_k[4] = rtb_Sum * rtb_Sum_ft[0] + + rtb_table3D_Cm_df * rtb_Merge2; /* Fcn: '/Fcn32' */ rtb_VectorConcatenate_k[5] = rtb_Merge_oq * rtb_Sum_ft[0] - @@ -14194,13 +14713,13 @@ void SIL_step(void) rtb_VectorConcatenate_k[7] = rtb_Sum_ft[2] * rtb_sincos_o2_f_idx_0; /* Fcn: '/Fcn33' */ - rtb_VectorConcatenate_k[8] = rtb_q3dot * rtb_sincos_o2_f_idx_0; + rtb_VectorConcatenate_k[8] = rtb_table3D_Cm_df * rtb_sincos_o2_f_idx_0; /* Product: '/Product' */ rt_invd3x3_snf(rtb_VectorConcatenate_k, rtb_VectorConcatenate_c); for (idx = 0; idx < 3; idx++) { /* Sum: '/Sum' */ - rtb_Sum_ft[idx] = engine_pos_m[idx] - SIL_B.if_p[idx]; + rtb_Sum_ft[idx] = engine_pos_m[idx] - SIL_B.if_k[idx]; /* Product: '/Product' incorporates: * SignalConversion: '/TmpSignal ConversionAtProductInport2' @@ -14284,18 +14803,18 @@ void SIL_step(void) * ActionPort: '/Action Port' */ /* Trigonometry: '/sincos' incorporates: - * Constant: '/Param_booster_att_rad' + * Constant: '/Param_booster_att_rad' * Selector: '/Selector3' */ rtb_Sum_by[0] = sin(booster_att_rad[0]); rtb_sincos_o2_f_idx_0 = cos(booster_att_rad[0]); rtb_Sum_by[1] = sin(booster_att_rad[1]); - rtb_q3dot = cos(booster_att_rad[1]); + rtb_table3D_Cm_df = cos(booster_att_rad[1]); rtb_Sum_by[2] = sin(booster_att_rad[2]); rtb_sincos_o2_f_idx_1 = cos(booster_att_rad[2]); /* Fcn: '/Fcn11' */ - rtb_VectorConcatenate_k[0] = rtb_q3dot * rtb_sincos_o2_f_idx_0; + rtb_VectorConcatenate_k[0] = rtb_table3D_Cm_df * rtb_sincos_o2_f_idx_0; /* Fcn: '/Fcn21' incorporates: * Fcn: '/Fcn22' @@ -14312,7 +14831,7 @@ void SIL_step(void) rtb_Sum_by[2] * rtb_Sum_by[0]; /* Fcn: '/Fcn12' */ - rtb_VectorConcatenate_k[3] = rtb_q3dot * rtb_Sum_by[0]; + rtb_VectorConcatenate_k[3] = rtb_table3D_Cm_df * rtb_Sum_by[0]; /* Fcn: '/Fcn22' */ rtb_VectorConcatenate_k[4] = rtb_Sum * rtb_Sum_by[0] + @@ -14326,27 +14845,27 @@ void SIL_step(void) rtb_VectorConcatenate_k[6] = -rtb_Sum_by[1]; /* Fcn: '/Fcn23' */ - rtb_VectorConcatenate_k[7] = rtb_Sum_by[2] * rtb_q3dot; + rtb_VectorConcatenate_k[7] = rtb_Sum_by[2] * rtb_table3D_Cm_df; /* Fcn: '/Fcn33' */ - rtb_VectorConcatenate_k[8] = rtb_sincos_o2_f_idx_1 * rtb_q3dot; + rtb_VectorConcatenate_k[8] = rtb_sincos_o2_f_idx_1 * rtb_table3D_Cm_df; /* Product: '/Product' */ rt_invd3x3_snf(rtb_VectorConcatenate_k, rtb_VectorConcatenate_c); /* SignalConversion: '/TmpSignal ConversionAtProductInport2' incorporates: - * Constant: '/Param_BoosterUncertGain' - * Lookup_n-D: '/table1D_thrust' - * Product: '/product' + * Constant: '/Param_BoosterUncertGain' + * Lookup_n-D: '/table1D_thrust' + * Product: '/product' */ - rtb_Sum = BoosterUncertGain * look1_binlxpw(rtb_add_ne, + rtb_Sum = BoosterUncertGain * look1_binlxpw(rtb_add_pb, rtCP_table1D_thrust_bp01Data, rtCP_table1D_thrust_tableData, 7U); for (idx = 0; idx < 3; idx++) { /* Sum: '/Sum' incorporates: - * Constant: '/Param_booster_pos_m' + * Constant: '/Param_booster_pos_m' * Selector: '/Selector2' */ - rtb_Sum_by[idx] = booster_pos_m[idx] - SIL_B.if_p[idx]; + rtb_Sum_by[idx] = booster_pos_m[idx] - SIL_B.if_k[idx]; /* Product: '/Product' */ SIL_B.Merge_i[idx] = 0.0; @@ -14506,7 +15025,7 @@ void SIL_step(void) * Gain: '/gain1' * Gain: '/gain2' */ - SIL_B.sin_l = sin(6.2831853071795862 * rtb_add_ne * SIL_P.disturb_freq); + SIL_B.sin_l = sin(6.2831853071795862 * rtb_add_pb * SIL_P.disturb_freq); /* Abs: '/abs' */ SIL_B.abs_f = fabs(SIL_B.sin_l); @@ -14520,83 +15039,83 @@ void SIL_step(void) /* Product: '/product' incorporates: * Constant: '/Constant' */ - SIL_B.product_m4o = rtb_q0dot * SIL_P.disturb_fy * SIL_B.sin_l; + SIL_B.product_m4 = rtb_q0dot * SIL_P.disturb_fy * SIL_B.sin_l; /* Outputs for Atomic SubSystem: '/disturb' */ - /* Outputs for Atomic SubSystem: '/If Action Subsystem' */ - /* Sum: '/Sum' incorporates: + /* Outputs for Atomic SubSystem: '/If Action Subsystem' */ + /* Sum: '/Sum' incorporates: * Constant: '/Constant1' */ - SIL_B.Sum_b[0] = SIL_P.disturb_pos[0] - SIL_B.if_p[0]; - SIL_B.Sum_b[1] = SIL_P.disturb_pos[1] - SIL_B.if_p[1]; - SIL_B.Sum_b[2] = SIL_P.disturb_pos[2] - SIL_B.if_p[2]; + SIL_B.Sum_b[0] = SIL_P.disturb_pos[0] - SIL_B.if_k[0]; + SIL_B.Sum_b[1] = SIL_P.disturb_pos[1] - SIL_B.if_k[1]; + SIL_B.Sum_b[2] = SIL_P.disturb_pos[2] - SIL_B.if_k[2]; - /* Product: '/Element product' incorporates: - * Constant: '/Constant1' - * Inport: '/disturb_fx' - * Inport: '/disturb_fy' + /* Product: '/Element product' incorporates: + * Constant: '/Constant1' + * Inport: '/disturb_fx' + * Inport: '/disturb_fy' */ SIL_B.Elementproduct[0] = SIL_B.Sum_b[1] * 0.0; SIL_B.Elementproduct[1] = SIL_B.Sum_b[2] * SIL_B.product1_f; - SIL_B.Elementproduct[2] = SIL_B.Sum_b[0] * SIL_B.product_m4o; - SIL_B.Elementproduct[3] = SIL_B.Sum_b[2] * SIL_B.product_m4o; + SIL_B.Elementproduct[2] = SIL_B.Sum_b[0] * SIL_B.product_m4; + SIL_B.Elementproduct[3] = SIL_B.Sum_b[2] * SIL_B.product_m4; SIL_B.Elementproduct[4] = SIL_B.Sum_b[0] * 0.0; SIL_B.Elementproduct[5] = SIL_B.Sum_b[1] * SIL_B.product1_f; /* Sum: '/Add' incorporates: - * Inport: '/disturb_fx' - * Inport: '/disturb_fy' + * Inport: '/disturb_fx' + * Inport: '/disturb_fy' */ SIL_B.Add[0] = (((SIL_B.Product_j[0] + SIL_B.Merge_hd[0]) + SIL_B.Merge_i[0]) + SIL_B.product1_f) + SIL_B.Sum_cq[0]; SIL_B.Add[1] = (((SIL_B.Product_j[1] + SIL_B.Merge_hd[1]) + SIL_B.Merge_i[1]) - + SIL_B.product_m4o) + SIL_B.Sum_cq[1]; + + SIL_B.product_m4) + SIL_B.Sum_cq[1]; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ /* End of Outputs for SubSystem: '/disturb' */ SIL_B.Add[2] = ((SIL_B.Product_j[2] + SIL_B.Merge_hd[2]) + SIL_B.Merge_i[2]) + SIL_B.Sum_cq[2]; /* Outputs for Atomic SubSystem: '/disturb' */ - /* Outputs for Atomic SubSystem: '/If Action Subsystem' */ + /* Outputs for Atomic SubSystem: '/If Action Subsystem' */ for (idx = 0; idx < 3; idx++) { - /* Sum: '/Add3' */ + /* Sum: '/Add3' */ SIL_B.Add3[idx] = SIL_B.Elementproduct[idx] - SIL_B.Elementproduct[idx + 3]; /* Sum: '/Add' */ SIL_B.Add[idx + 3] = (((SIL_B.Sum1_a[idx] + SIL_B.Merge1_k[idx]) + SIL_B.Merge1_b[idx]) + SIL_B.Add3[idx]) + SIL_B.Sum_cq[idx + 3]; - /* Selector: '/Selector1' */ + /* Selector: '/Selector1' */ SIL_B.Selector1_h[3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 3]; SIL_B.Selector1_h[1 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 4]; SIL_B.Selector1_h[2 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 5]; } - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ /* End of Outputs for SubSystem: '/disturb' */ for (idx = 0; idx < 3; idx++) { - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_f[idx] = 0.0; SIL_B.Product_f[idx] += SIL_B.Selector1_h[idx] * SIL_B.pqr[0]; - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ SIL_B.Selector[3 * idx] = SIL_B.MatrixConcatenation[6 * idx]; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_f[idx] += SIL_B.Selector1_h[idx + 3] * SIL_B.pqr[1]; - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ SIL_B.Selector[1 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 1]; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_f[idx] += SIL_B.Selector1_h[idx + 6] * SIL_B.pqr[2]; - /* Selector: '/Selector' */ + /* Selector: '/Selector' */ SIL_B.Selector[2 + 3 * idx] = SIL_B.MatrixConcatenation[6 * idx + 2]; } - /* Product: '/Product' */ + /* Product: '/Product' */ for (idx = 0; idx < 3; idx++) { SIL_B.Product_jv[idx] = 0.0; SIL_B.Product_jv[idx] += SIL_B.Selector[idx] * SIL_B.pqr[0]; @@ -14604,56 +15123,56 @@ void SIL_step(void) SIL_B.Product_jv[idx] += SIL_B.Selector[idx + 6] * SIL_B.pqr[2]; } - /* End of Product: '/Product' */ + /* End of Product: '/Product' */ - /* Product: '/j x k' */ + /* Product: '/j x k' */ SIL_B.jxk_p = SIL_B.pqr[1] * SIL_B.Product_jv[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ SIL_B.kxi_e = SIL_B.pqr[2] * SIL_B.Product_jv[0]; - /* Product: '/i x j' */ + /* Product: '/i x j' */ SIL_B.ixj_i = SIL_B.pqr[0] * SIL_B.Product_jv[1]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ SIL_B.kxj_a = SIL_B.pqr[2] * SIL_B.Product_jv[1]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ SIL_B.ixk_l = SIL_B.pqr[0] * SIL_B.Product_jv[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ SIL_B.jxi_c = SIL_B.pqr[1] * SIL_B.Product_jv[0]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_pn[0] = SIL_B.jxk_p - SIL_B.kxj_a; SIL_B.Sum_pn[1] = SIL_B.kxi_e - SIL_B.ixk_l; SIL_B.Sum_pn[2] = SIL_B.ixj_i - SIL_B.jxi_c; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_o[0] = (SIL_B.Add[3] - SIL_B.Product_f[0]) - SIL_B.Sum_pn[0]; SIL_B.Sum2_o[1] = (SIL_B.Add[4] - SIL_B.Product_f[1]) - SIL_B.Sum_pn[1]; SIL_B.Sum2_o[2] = (SIL_B.Add[5] - SIL_B.Product_f[2]) - SIL_B.Sum_pn[2]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf(SIL_B.Sum2_o, SIL_B.Selector2_j, SIL_B.Product2_bi); - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ SIL_B.Reshape[0] = SIL_B.Product2_bi[0]; - /* Product: '/Divide' */ + /* Product: '/Divide' */ SIL_B.Accels[0] = SIL_B.Add[0] / SIL_B.mass_e; - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ SIL_B.Reshape[1] = SIL_B.Product2_bi[1]; - /* Product: '/Divide' */ + /* Product: '/Divide' */ SIL_B.Accels[1] = SIL_B.Add[1] / SIL_B.mass_e; - /* Reshape: '/Reshape' */ + /* Reshape: '/Reshape' */ SIL_B.Reshape[2] = SIL_B.Product2_bi[2]; - /* Product: '/Divide' */ + /* Product: '/Divide' */ SIL_B.Accels[2] = SIL_B.Add[2] / SIL_B.mass_e; /* DotProduct: '/Dot Product' incorporates: @@ -14704,8 +15223,8 @@ void SIL_step(void) if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { /* Outputs for Atomic SubSystem: '/dummy_INS' */ - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ if (SIL_DW.temporalCounter_i1_d < MAX_uint32_T) { SIL_DW.temporalCounter_i1_d++; @@ -14741,33 +15260,33 @@ void SIL_step(void) } } - /* End of Chart: '/tick' */ + /* End of Chart: '/tick' */ - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled_l) { - /* DataTypeConversion: '/Data Type Conversion2' */ + /* DataTypeConversion: '/Data Type Conversion2' */ SIL_B.DataTypeConversion2[0] = (real32_T)SIL_B.Ve[0]; SIL_B.DataTypeConversion2[1] = (real32_T)SIL_B.Ve[1]; SIL_B.DataTypeConversion2[2] = (real32_T)SIL_B.Ve[2]; - /* DataTypeConversion: '/Data Type Conversion3' */ + /* DataTypeConversion: '/Data Type Conversion3' */ SIL_B.DataTypeConversion3 = (real32_T)SIL_B.v_g; - /* DataTypeConversion: '/Data Type Conversion4' incorporates: - * Gain: '/Gain' + /* DataTypeConversion: '/Data Type Conversion4' incorporates: + * Gain: '/Gain' */ SIL_B.DataTypeConversion4 = (real32_T)(57.295779513082323 * SIL_B.psi_t); - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.OutportBuffer_InsertedFor_gps_vel_status_at_inport_0 = 128U; } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ if (SIL_DW.temporalCounter_i1_e < MAX_uint32_T) { SIL_DW.temporalCounter_i1_e++; @@ -14803,56 +15322,56 @@ void SIL_step(void) } } - /* End of Chart: '/tick' */ + /* End of Chart: '/tick' */ - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled_i) { - /* SignalConversion: '/Signal Copy' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* SignalConversion: '/Signal Copy' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ SIL_B.SignalCopy_f = (real32_T)SIL_B.Merge_b[0]; - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.Merge_h4 = 0U; - /* SignalConversion: '/OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0' */ + /* SignalConversion: '/OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0' */ SIL_B.OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0 = SIL_B.Merge_h4; } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ SIL_tick(0.095, &SIL_B.enabled_n, &SIL_DW.sf_tick_f); - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled_n) { - /* SignalConversion: '/Signal Copy' */ + /* SignalConversion: '/Signal Copy' */ SIL_B.SignalCopy = SIL_B.UnitConversion[0]; - /* SignalConversion: '/Signal Copy1' */ + /* SignalConversion: '/Signal Copy1' */ SIL_B.SignalCopy1 = SIL_B.UnitConversion[1]; - /* SignalConversion: '/Signal Copy2' */ + /* SignalConversion: '/Signal Copy2' */ SIL_B.SignalCopy2 = SIL_B.Sum3; - /* Constant: '/Constant' */ + /* Constant: '/Constant' */ SIL_B.OutportBuffer_InsertedFor_gps_pos_status_at_inport_0 = 128U; - /* Constant: '/Constant1' */ + /* Constant: '/Constant1' */ SIL_B.OutportBuffer_InsertedFor_satnum_used_at_inport_0 = 9U; } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* Saturate: '/Saturation' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Saturate: '/Saturation' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ if ((real32_T)SIL_B.SignalCopy > 89.9F) { rtb_Sum1_o = 89.9F; @@ -14862,12 +15381,12 @@ void SIL_step(void) rtb_Sum1_o = (real32_T)SIL_B.SignalCopy; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_dw = 0.0174532924F * rtb_Sum1_o; - /* Chart: '/check_gps_valid' */ + /* Chart: '/check_gps_valid' */ if (SIL_DW.temporalCounter_i1_c < 511U) { SIL_DW.temporalCounter_i1_c++; } @@ -14967,32 +15486,32 @@ void SIL_step(void) } } - /* End of Chart: '/check_gps_valid' */ + /* End of Chart: '/check_gps_valid' */ - /* Logic: '/Logical Operator' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * S-Function (sfix_bitop): '/Bitwise AND' + /* Logic: '/Logical Operator' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * S-Function (sfix_bitop): '/Bitwise AND' */ SIL_B.LogicalOperator = (SIL_B.valid_c && SIL_B.enabled_l && ((SIL_B.OutportBuffer_InsertedFor_gps_vel_status_at_inport_0 & 63U) == 0U)); - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Constant: '/Constant' - * Gain: '/Gain' - * Product: '/Product' - * UnitDelay: '/Unit Delay' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Constant: '/Constant' + * Gain: '/Gain' + * Product: '/Product' + * UnitDelay: '/Unit Delay' */ rtb_DataTypeConversion1_gh = (uint32_T)fmodf(5000.0F * (real32_T) SIL_DW.UnitDelay_DSTATE_ok, 4.2949673E+9F); - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ SIL_tick_m(0.045000000000000005, &SIL_B.enabled_m, &SIL_DW.sf_tick_o); - /* Chart: '/status_mgr' */ + /* Chart: '/status_mgr' */ if (SIL_DW.is_active_c14_ins_lib == 0U) { SIL_DW.is_active_c14_ins_lib = 1U; SIL_DW.is_c14_ins_lib = SIL_IN_Step0; @@ -15049,46 +15568,46 @@ void SIL_step(void) } } - /* End of Chart: '/status_mgr' */ + /* End of Chart: '/status_mgr' */ - /* Fcn: '/Fcn11' */ + /* Fcn: '/Fcn11' */ rtb_VectorConcatenate_h[0] = 1; - /* Fcn: '/Fcn21' */ + /* Fcn: '/Fcn21' */ rtb_VectorConcatenate_h[1] = 0; - /* Fcn: '/Fcn31' */ + /* Fcn: '/Fcn31' */ rtb_VectorConcatenate_h[2] = 0; - /* Fcn: '/Fcn12' */ + /* Fcn: '/Fcn12' */ rtb_VectorConcatenate_h[3] = 0; - /* Fcn: '/Fcn22' */ + /* Fcn: '/Fcn22' */ rtb_VectorConcatenate_h[4] = 1; - /* Fcn: '/Fcn32' */ + /* Fcn: '/Fcn32' */ rtb_VectorConcatenate_h[5] = 0; - /* Fcn: '/Fcn13' */ + /* Fcn: '/Fcn13' */ rtb_VectorConcatenate_h[6] = 0; - /* Fcn: '/Fcn23' */ + /* Fcn: '/Fcn23' */ rtb_VectorConcatenate_h[7] = 0; - /* Fcn: '/Fcn33' */ + /* Fcn: '/Fcn33' */ rtb_VectorConcatenate_h[8] = 1; - /* Sum: '/Sum' incorporates: - * Constant: '/wl_ins' - * Gain: '/Gain' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Sum: '/Sum7' - * ZeroOrderHold: '/Zero-Order Hold' + /* Sum: '/Sum' incorporates: + * Constant: '/wl_ins' + * Gain: '/Gain' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Sum: '/Sum7' + * ZeroOrderHold: '/Zero-Order Hold' */ rtb_ZeroOrderHold3[0] = (0.0 - SIL_P.IMUloc[2]) * SIL_B.pqr[1] - -(0.0 - SIL_P.IMUloc[1]) * SIL_B.pqr[2]; @@ -15097,27 +15616,27 @@ void SIL_step(void) rtb_ZeroOrderHold3[2] = -(0.0 - SIL_P.IMUloc[1]) * SIL_B.pqr[0] - (0.0 - SIL_P.IMUloc[0]) * SIL_B.pqr[1]; - /* Sum: '/Sum' incorporates: - * Constant: '/wl_ins' - * Gain: '/Gain' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Product: '/i x j' - * Product: '/j x k' - * Product: '/k x i' - * Product: '/i x k' - * Product: '/j x i' - * Product: '/k x j' - * Sum: '/Sum7' - * Sum: '/Sum' - * Sum: '/Sum' - * ZeroOrderHold: '/Zero-Order Hold' - * ZeroOrderHold: '/Zero-Order Hold1' - * ZeroOrderHold: '/Zero-Order Hold3' + /* Sum: '/Sum' incorporates: + * Constant: '/wl_ins' + * Gain: '/Gain' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Product: '/i x j' + * Product: '/j x k' + * Product: '/k x i' + * Product: '/i x k' + * Product: '/j x i' + * Product: '/k x j' + * Sum: '/Sum7' + * Sum: '/Sum' + * Sum: '/Sum' + * ZeroOrderHold: '/Zero-Order Hold' + * ZeroOrderHold: '/Zero-Order Hold1' + * ZeroOrderHold: '/Zero-Order Hold3' */ rtb_Product_ps[0] = ((SIL_B.pqr[1] * rtb_ZeroOrderHold3[2] - SIL_B.pqr[2] * rtb_ZeroOrderHold3[1]) + SIL_B.Accels[0]) + ((0.0 - @@ -15132,10 +15651,10 @@ void SIL_step(void) SIL_P.IMUloc[1]) * SIL_B.Reshape[0] - (0.0 - SIL_P.IMUloc[0]) * SIL_B.Reshape[1]); - /* Sum: '/Sum4' incorporates: - * Constant: '/Measurement bias' - * Constant: '/Scale factors & Cross-coupling errors' - * Product: '/Product' + /* Sum: '/Sum4' incorporates: + * Constant: '/Measurement bias' + * Constant: '/Scale factors & Cross-coupling errors' + * Product: '/Product' */ for (idx = 0; idx < 3; idx++) { rtb_Sum_lv[idx] = ((SIL_P.AccelScaleMatrix[idx + 3] * rtb_Product_ps[1] @@ -15144,10 +15663,10 @@ void SIL_step(void) + SIL_P.AccelBias[idx]; } - /* End of Sum: '/Sum4' */ + /* End of Sum: '/Sum4' */ - /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport2' incorporates: - * Gain: '/Gain1' + /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport2' incorporates: + * Gain: '/Gain1' */ SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[0] = 0.11892055711480939; @@ -15156,13 +15675,13 @@ void SIL_step(void) SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[2] = 0.11892055711480939; - /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport3' incorporates: - * Constant: '/a2' - * Gain: '/Gain2' - * Product: '/Divide7' - * Product: '/Divide8' - * Sum: '/Add1' - * Sum: '/Add2' + /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport3' incorporates: + * Constant: '/a2' + * Gain: '/Gain2' + * Product: '/Divide7' + * Product: '/Divide8' + * Sum: '/Add1' + * Sum: '/Add2' */ SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3[0] = 1.0; SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3[1] = @@ -15170,38 +15689,38 @@ void SIL_step(void) SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3[2] = 0.29198455679856639; for (idx = 0; idx < 3; idx++) { - /* DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* DiscreteTransferFcn: '/Discrete Transfer Fcn' */ rtb_out_dj = idx << 1; - rtb_add_ne = SIL_DW.DiscreteTransferFcn_states[rtb_out_dj + 1]; + rtb_add_pb = SIL_DW.DiscreteTransferFcn_states[rtb_out_dj + 1]; SIL_DW.DiscreteTransferFcn_tmp[idx] = (rtb_Sum_lv[idx] - SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3[1] * - SIL_DW.DiscreteTransferFcn_states[rtb_out_dj]) - rtb_add_ne * + SIL_DW.DiscreteTransferFcn_states[rtb_out_dj]) - rtb_add_pb * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3[2]; - rtb_add_ne = (SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[0] * + rtb_add_pb = (SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[0] * SIL_DW.DiscreteTransferFcn_tmp[idx] + SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[1] * SIL_DW.DiscreteTransferFcn_states[rtb_out_dj]) + - rtb_add_ne * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[2]; + rtb_add_pb * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2[2]; - /* Saturate: '/Saturation' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' + /* Saturate: '/Saturation' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' */ - if (rtb_add_ne > 80.0) { - rtb_add_ne = 80.0; + if (rtb_add_pb > 80.0) { + rtb_add_pb = 80.0; } else { - if (rtb_add_ne < -80.0) { - rtb_add_ne = -80.0; + if (rtb_add_pb < -80.0) { + rtb_add_pb = -80.0; } } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Gain: '/gain' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* Gain: '/gain' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ - scale = 0.101936802F * (real32_T)rtb_add_ne; + scale = 0.101936802F * (real32_T)rtb_add_pb; - /* RateLimiter: '/Rate Limiter' */ + /* RateLimiter: '/Rate Limiter' */ absxk = scale - SIL_DW.PrevY_e[idx]; if (absxk > 1.6F) { scale = SIL_DW.PrevY_e[idx] + 1.6F; @@ -15213,14 +15732,14 @@ void SIL_step(void) SIL_DW.PrevY_e[idx] = scale; - /* End of RateLimiter: '/Rate Limiter' */ + /* End of RateLimiter: '/Rate Limiter' */ - /* Gain: '/gain' */ + /* Gain: '/gain' */ rtb_Product2_cm[idx] = scale; } - /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport2' incorporates: - * Gain: '/Gain1' + /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport2' incorporates: + * Gain: '/Gain1' */ /* Unit Conversion - from: m/s^2 to: gn Expression: output = (0.101972*input) + (0) */ @@ -15231,13 +15750,13 @@ void SIL_step(void) SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[2] = 0.11892055711480939; - /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport3' incorporates: - * Constant: '/a2' - * Gain: '/Gain2' - * Product: '/Divide7' - * Product: '/Divide8' - * Sum: '/Add1' - * Sum: '/Add2' + /* SignalConversion: '/TmpSignal ConversionAtDiscrete Transfer FcnInport3' incorporates: + * Constant: '/a2' + * Gain: '/Gain2' + * Product: '/Divide7' + * Product: '/Divide8' + * Sum: '/Add1' + * Sum: '/Add2' */ SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3_n[0] = 1.0; SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3_n[1] = @@ -15245,7 +15764,7 @@ void SIL_step(void) SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3_n[2] = 0.29198455679856639; for (idx = 0; idx < 3; idx++) { - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.accel[idx] = 0.0F; SIL_B.accel[idx] += (real32_T)rtb_VectorConcatenate_h[idx] * rtb_Product2_cm[0]; @@ -15254,58 +15773,58 @@ void SIL_step(void) SIL_B.accel[idx] += (real32_T)rtb_VectorConcatenate_h[idx + 6] * rtb_Product2_cm[2]; - /* DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: - * Constant: '/Measurement bias' - * Constant: '/Scale factors & Cross-coupling errors ' - * Constant: '/g-sensitive bias' - * Product: '/Product' - * Product: '/Product1' - * Sum: '/Sum4' - * UnitConversion: '/Unit Conversion' - * ZeroOrderHold: '/Zero-Order Hold' + /* DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: + * Constant: '/Measurement bias' + * Constant: '/Scale factors & Cross-coupling errors ' + * Constant: '/g-sensitive bias' + * Product: '/Product' + * Product: '/Product1' + * Sum: '/Sum4' + * UnitConversion: '/Unit Conversion' + * ZeroOrderHold: '/Zero-Order Hold' */ rtb_out_dj = idx << 1; - rtb_add_ne = SIL_DW.DiscreteTransferFcn_states_e[rtb_out_dj + 1]; + rtb_add_pb = SIL_DW.DiscreteTransferFcn_states_e[rtb_out_dj + 1]; SIL_DW.DiscreteTransferFcn_tmp_f[idx] = (((((SIL_P.GyroScaleMatrix[idx + 3] * SIL_B.pqr[1] + SIL_P.GyroScaleMatrix[idx] * SIL_B.pqr[0]) + SIL_P.GyroScaleMatrix[idx + 6] * SIL_B.pqr[2]) + SIL_P.GyroBias[idx]) + 0.10197162129779282 * SIL_B.Accels[idx] * SIL_P.GyroGBias[idx]) - SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3_n[1] * - SIL_DW.DiscreteTransferFcn_states_e[rtb_out_dj]) - rtb_add_ne * + SIL_DW.DiscreteTransferFcn_states_e[rtb_out_dj]) - rtb_add_pb * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport3_n[2]; - rtb_add_ne = (SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[0] + rtb_add_pb = (SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[0] * SIL_DW.DiscreteTransferFcn_tmp_f[idx] + SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[1] * SIL_DW.DiscreteTransferFcn_states_e[rtb_out_dj]) + - rtb_add_ne * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[2]; + rtb_add_pb * SIL_B.TmpSignalConversionAtDiscreteTransferFcnInport2_b[2]; - /* UnitConversion: '/Unit Conversion' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' + /* UnitConversion: '/Unit Conversion' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' */ - rtb_Product_ps[idx] = rtb_add_ne; + rtb_Product_ps[idx] = rtb_add_pb; - /* Saturate: '/Saturation' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' + /* Saturate: '/Saturation' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' */ - if (rtb_add_ne > 7.0) { - /* UnitConversion: '/Unit Conversion' */ + if (rtb_add_pb > 7.0) { + /* UnitConversion: '/Unit Conversion' */ rtb_Product_ps[idx] = 7.0; } else { - if (rtb_add_ne < -7.0) { - /* UnitConversion: '/Unit Conversion' */ + if (rtb_add_pb < -7.0) { + /* UnitConversion: '/Unit Conversion' */ rtb_Product_ps[idx] = -7.0; } } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ } - /* Gain: '/Gain' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ scale = 57.2957802F * (real32_T)rtb_Product_ps[0]; - /* RateLimiter: '/Rate Limiter1' */ + /* RateLimiter: '/Rate Limiter1' */ absxk = scale - SIL_DW.PrevY_k[0]; if (absxk > 10.0F) { scale = SIL_DW.PrevY_k[0] + 10.0F; @@ -15317,13 +15836,13 @@ void SIL_step(void) SIL_DW.PrevY_k[0] = scale; - /* Gain: '/Gain' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Product2_cm[0] = scale; scale = 57.2957802F * (real32_T)rtb_Product_ps[1]; - /* RateLimiter: '/Rate Limiter1' */ + /* RateLimiter: '/Rate Limiter1' */ absxk = scale - SIL_DW.PrevY_k[1]; if (absxk > 10.0F) { scale = SIL_DW.PrevY_k[1] + 10.0F; @@ -15335,13 +15854,13 @@ void SIL_step(void) SIL_DW.PrevY_k[1] = scale; - /* Gain: '/Gain' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* Gain: '/Gain' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Product2_cm[1] = scale; scale = 57.2957802F * (real32_T)rtb_Product_ps[2]; - /* RateLimiter: '/Rate Limiter1' */ + /* RateLimiter: '/Rate Limiter1' */ absxk = scale - SIL_DW.PrevY_k[2]; if (absxk > 10.0F) { scale = SIL_DW.PrevY_k[2] + 10.0F; @@ -15353,7 +15872,7 @@ void SIL_step(void) SIL_DW.PrevY_k[2] = scale; - /* Product: '/Product1' */ + /* Product: '/Product1' */ for (idx = 0; idx < 3; idx++) { SIL_B.Gain1_a[idx] = 0.0F; SIL_B.Gain1_a[idx] += (real32_T)rtb_VectorConcatenate_h[idx] * @@ -15363,9 +15882,9 @@ void SIL_step(void) SIL_B.Gain1_a[idx] += (real32_T)rtb_VectorConcatenate_h[idx + 6] * scale; } - /* End of Product: '/Product1' */ + /* End of Product: '/Product1' */ - /* Chart: '/IMU_bias_fix' */ + /* Chart: '/IMU_bias_fix' */ if (SIL_DW.is_active_c11_ins_lib == 0U) { SIL_DW.is_active_c11_ins_lib = 1U; SIL_DW.is_c11_ins_lib = SIL_IN_NoBias; @@ -15387,11 +15906,11 @@ void SIL_step(void) SIL_DW.N0[0] /= SIL_DW.cnt_a; absxk = fabsf(SIL_DW.N0[0]); if (absxk > 1.29246971E-26F) { - rtb_DataTypeConversion_e2 = 1.0F; + rtb_product_p = 1.0F; scale = absxk; } else { t = absxk / 1.29246971E-26F; - rtb_DataTypeConversion_e2 = t * t; + rtb_product_p = t * t; } SIL_DW.pqr0[0] /= SIL_DW.cnt_a; @@ -15400,12 +15919,11 @@ void SIL_step(void) absxk = fabsf(SIL_DW.N0[1]); if (absxk > scale) { t = scale / absxk; - rtb_DataTypeConversion_e2 = rtb_DataTypeConversion_e2 * t * t + - 1.0F; + rtb_product_p = rtb_product_p * t * t + 1.0F; scale = absxk; } else { t = absxk / scale; - rtb_DataTypeConversion_e2 += t * t; + rtb_product_p += t * t; } SIL_DW.pqr0[1] /= SIL_DW.cnt_a; @@ -15414,18 +15932,17 @@ void SIL_step(void) absxk = fabsf(SIL_DW.N0[2]); if (absxk > scale) { t = scale / absxk; - rtb_DataTypeConversion_e2 = rtb_DataTypeConversion_e2 * t * t + - 1.0F; + rtb_product_p = rtb_product_p * t * t + 1.0F; scale = absxk; } else { t = absxk / scale; - rtb_DataTypeConversion_e2 += t * t; + rtb_product_p += t * t; } SIL_DW.pqr0[2] /= SIL_DW.cnt_a; SIL_B.Gain1_a[2] -= SIL_DW.pqr0[2]; - rtb_DataTypeConversion_e2 = scale * sqrtf(rtb_DataTypeConversion_e2); - SIL_DW.scaleN = 1.0F / rtb_DataTypeConversion_e2; + rtb_product_p = scale * sqrtf(rtb_product_p); + SIL_DW.scaleN = 1.0F / rtb_product_p; SIL_B.accel[0] *= SIL_DW.scaleN; SIL_B.accel[1] *= SIL_DW.scaleN; SIL_B.accel[2] *= SIL_DW.scaleN; @@ -15442,46 +15959,46 @@ void SIL_step(void) } } - /* End of Chart: '/IMU_bias_fix' */ + /* End of Chart: '/IMU_bias_fix' */ - /* Product: '/Product3' incorporates: - * Constant: '/Constant12' + /* Product: '/Product3' incorporates: + * Constant: '/Constant12' */ SIL_B.accel[0] *= 9.80665F; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_a[0] *= 0.0174532924F; - /* Product: '/Product3' incorporates: - * Constant: '/Constant12' + /* Product: '/Product3' incorporates: + * Constant: '/Constant12' */ SIL_B.accel[1] *= 9.80665F; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_a[1] *= 0.0174532924F; - /* Product: '/Product3' incorporates: - * Constant: '/Constant12' + /* Product: '/Product3' incorporates: + * Constant: '/Constant12' */ SIL_B.accel[2] *= 9.80665F; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_a[2] *= 0.0174532924F; - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ SIL_tick_m(0.061666666666666668, &SIL_B.enabled_a, &SIL_DW.sf_tick_m); - /* Outputs for Enabled SubSystem: '/cal_mag_hdg' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/cal_mag_hdg' incorporates: + * EnablePort: '/Enable' */ - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled_a) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Product: '/Product' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Product: '/Product' */ for (idx = 0; idx < 3; idx++) { SIL_B.DataTypeConversion1_m[idx] = (real32_T)((SIL_B.Product4[idx + 3] @@ -15489,9 +16006,9 @@ void SIL_step(void) 20.0); } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* Product: '/Product2' */ + /* Product: '/Product2' */ for (idx = 0; idx < 3; idx++) { rtb_Product2_cm[idx] = (real32_T)rtb_VectorConcatenate_h[idx + 6] * SIL_B.DataTypeConversion1_m[2] + ((real32_T) @@ -15500,42 +16017,42 @@ void SIL_step(void) SIL_B.DataTypeConversion1_m[0]); } - /* End of Product: '/Product2' */ + /* End of Product: '/Product2' */ - /* Sum: '/Sum' incorporates: - * Gain: '/Gain' - * Trigonometry: '/Trigonometric Function' + /* Sum: '/Sum' incorporates: + * Gain: '/Gain' + * Trigonometry: '/Trigonometric Function' */ SIL_B.OutportBufferFormag_hdg = rt_atan2f_snf(-rtb_Product2_cm[1], rtb_Product2_cm[0]); - /* Chart: '/inpi' */ + /* Chart: '/inpi' */ if (SIL_B.OutportBufferFormag_hdg > 3.1415926535897931) { - /* SignalConversion: '/OutportBufferFormag_hdg' */ + /* SignalConversion: '/OutportBufferFormag_hdg' */ SIL_B.OutportBufferFormag_hdg -= 6.28318548F; } else { if (SIL_B.OutportBufferFormag_hdg < -3.1415926535897931) { - /* SignalConversion: '/OutportBufferFormag_hdg' */ + /* SignalConversion: '/OutportBufferFormag_hdg' */ SIL_B.OutportBufferFormag_hdg += 6.28318548F; } } - /* End of Chart: '/inpi' */ + /* End of Chart: '/inpi' */ } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* End of Outputs for SubSystem: '/cal_mag_hdg' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/cal_mag_hdg' */ - /* Logic: '/Logical Operator1' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * S-Function (sfix_bitop): '/Bitwise AND1' + /* Logic: '/Logical Operator1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * S-Function (sfix_bitop): '/Bitwise AND1' */ SIL_B.hdg_ariv = (SIL_B.valid_c && SIL_B.enabled_i && ((SIL_B.OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0 & 63U) == 0U)); - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.is_active_c10_ins_lib == 0U) { SIL_DW.is_active_c10_ins_lib = 1U; SIL_DW.is_c10_ins_lib = SIL_IN_useMag; @@ -15581,16 +16098,16 @@ void SIL_step(void) } } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* SignalConversion: '/TmpSignal ConversionAt SFunction Inport27' incorporates: - * Chart: '/EKF14s' + /* SignalConversion: '/TmpSignal ConversionAt SFunction Inport27' incorporates: + * Chart: '/EKF14s' */ SIL_B.TmpSignalConversionAtSFunctionInport27[0] = SIL_B.Merge_b[2]; SIL_B.TmpSignalConversionAtSFunctionInport27[1] = SIL_B.Merge_b[1]; SIL_B.TmpSignalConversionAtSFunctionInport27[2] = SIL_B.Merge_b[0]; - /* Chart: '/EKF14s' */ + /* Chart: '/EKF14s' */ if (SIL_B.reset) { SIL_InitStates(); SIL_InitCovariance(); @@ -15624,20 +16141,20 @@ void SIL_step(void) } } - /* If: '/If' incorporates: - * Inport: '/LLA_in' - * Logic: '/Logical Operator2' - * UnitDelay: '/Unit Delay' + /* If: '/If' incorporates: + * Inport: '/LLA_in' + * Logic: '/Logical Operator2' + * UnitDelay: '/Unit Delay' */ - s373_iter = SIL_DW.If_ActiveSubsystem_i; + s302_iter = SIL_DW.If_ActiveSubsystem_i; SIL_DW.If_ActiveSubsystem_i = (int8_T)((!SIL_B.valid_c) || (!SIL_B.enabled_n)); switch (SIL_DW.If_ActiveSubsystem_i) { case 0: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ SIL_B.UnitDelay_d[0] = SIL_DW.UnitDelay_DSTATE_l3[0]; SIL_B.UnitDelay_d[1] = SIL_DW.UnitDelay_DSTATE_l3[1]; SIL_B.UnitDelay_d[2] = SIL_DW.UnitDelay_DSTATE_l3[2]; @@ -15645,42 +16162,42 @@ void SIL_step(void) SIL_DW.UnitDelay_DSTATE_l3[1] = SIL_B.SignalCopy1; SIL_DW.UnitDelay_DSTATE_l3[2] = SIL_B.SignalCopy2; - /* SignalConversion: '/OutportBufferForLLA_out' incorporates: - * Inport: '/LLA_in' - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/OutportBufferForLLA_out' incorporates: + * Inport: '/LLA_in' + * UnitDelay: '/Unit Delay' */ rtb_Merge_bs_idx_0 = SIL_DW.UnitDelay_DSTATE_l3[0]; rtb_Merge_bs_idx_1 = SIL_DW.UnitDelay_DSTATE_l3[1]; rtb_Merge_bs_idx_2 = SIL_DW.UnitDelay_DSTATE_l3[2]; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; case 1: - if (SIL_DW.If_ActiveSubsystem_i != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_i != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * UnitDelay: '/Unit Delay' + /* InitializeConditions for If: '/If' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_l[0] = 0.0; SIL_DW.UnitDelay_DSTATE_l[1] = 0.0; SIL_DW.UnitDelay_DSTATE_l[2] = 0.0; - /* End of InitializeConditions for SubSystem: '/If Action Subsystem1' */ + /* End of InitializeConditions for SubSystem: '/If Action Subsystem1' */ } - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/MATLAB Function' */ + /* MATLAB Function: '/MATLAB Function' */ rtb_Merge_bs_idx_1 = SIL_B.UnitDelay_d[0] * 3.1415926535897931 / 180.0; rtb_Merge_bs_idx_2 = sin(rtb_Merge_bs_idx_1); - /* SignalConversion: '/OutportBufferForLLA' incorporates: - * MATLAB Function: '/MATLAB Function' - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/OutportBufferForLLA' incorporates: + * MATLAB Function: '/MATLAB Function' + * UnitDelay: '/Unit Delay' */ rtb_Merge_bs_idx_0 = SIL_DW.UnitDelay_DSTATE_l[0] / (6.3354393272928195E+6 / rt_powd_snf(1.0 - rtb_Merge_bs_idx_2 * @@ -15693,36 +16210,36 @@ void SIL_step(void) 180.0 / 3.1415926535897931 + SIL_B.UnitDelay_d[1]; rtb_Merge_bs_idx_2 = SIL_B.UnitDelay_d[2] - SIL_DW.UnitDelay_DSTATE_l[2]; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * Product: '/Product' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * Product: '/Product' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_l[0] += SIL_B.velocity_NED[0] * 0.005F; SIL_DW.UnitDelay_DSTATE_l[1] += SIL_B.velocity_NED[1] * 0.005F; SIL_DW.UnitDelay_DSTATE_l[2] += SIL_B.velocity_NED[2] * 0.005F; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Outputs for Enabled SubSystem: '/ps_proc' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/ps_proc' incorporates: + * EnablePort: '/Enable' */ - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled_m) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Sum: '/Sum' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Sum: '/Sum' */ SIL_B.DataTypeConversion1_n = (real32_T)(SIL_B.Po + look1_binlcpw (SIL_B.Sum3, SIL_P.wind_level, SIL_P.Ps_sens_bias, 2U)); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (SIL_B.DataTypeConversion1_n > 103000.0F) { SIL_B.Saturation = 103000.0F; } else if (SIL_B.DataTypeConversion1_n < 5474.9F) { @@ -15731,14 +16248,14 @@ void SIL_step(void) SIL_B.Saturation = SIL_B.DataTypeConversion1_n; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.alt_pres = SIL_B.Saturation; - /* S-Function (saeropalt): '/S-Function' */ + /* S-Function (saeropalt): '/S-Function' */ - /* S-Function Block: /S-Function */ + /* S-Function Block: /S-Function */ { real_T *temp_table = (real_T *) &SIL_DW.SFunction_temp_table[0]; real_T *pres_table = (real_T *) &SIL_DW.SFunction_pres_table[0]; @@ -15746,15 +16263,15 @@ void SIL_step(void) pres_table, 1); } - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ SIL_B.alt_pres_c = (real32_T)SIL_B.SFunction_c; } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* End of Outputs for SubSystem: '/ps_proc' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/ps_proc' */ - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ if (SIL_DW.temporalCounter_i1_i < MAX_uint32_T) { SIL_DW.temporalCounter_i1_i++; @@ -15790,24 +16307,24 @@ void SIL_step(void) } } - /* End of Chart: '/tick' */ + /* End of Chart: '/tick' */ - /* Outputs for Enabled SubSystem: '/qbar_proc' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/qbar_proc' incorporates: + * EnablePort: '/Enable' */ - /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Enabled Subsystem' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.enabled) { - /* DataTypeConversion: '/Data Type Conversion1' incorporates: - * Lookup_n-D: '/1-D Lookup Table1' - * Sum: '/Sum' + /* DataTypeConversion: '/Data Type Conversion1' incorporates: + * Lookup_n-D: '/1-D Lookup Table1' + * Sum: '/Sum' */ SIL_B.DataTypeConversion1 = (real32_T)(SIL_B.product_o + look2_binlcpw (SIL_B.Sum3, SIL_B.Product3_f, SIL_P.wind_level, SIL_P.mach_level, SIL_P.qbar_sens_bias, rtCP_uDLookupTable1_maxIndex, 3U)); - /* Chart: '/zero_set' */ + /* Chart: '/zero_set' */ if (SIL_DW.is_active_c13_ins_lib == 0U) { SIL_DW.is_active_c13_ins_lib = 1U; SIL_DW.is_c13_ins_lib = SIL_IN_Init_f; @@ -15836,9 +16353,9 @@ void SIL_step(void) } } - /* End of Chart: '/zero_set' */ + /* End of Chart: '/zero_set' */ - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (SIL_B.qbar_j > 103421.0F) { SIL_B.qbar = 103421.0F; } else if (SIL_B.qbar_j < 0.01F) { @@ -15847,43 +16364,43 @@ void SIL_step(void) SIL_B.qbar = SIL_B.qbar_j; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Sqrt: '/Sqrt' incorporates: - * Gain: '/Gain' + /* Sqrt: '/Sqrt' incorporates: + * Gain: '/Gain' */ SIL_B.IAS = sqrtf(1.63265312F * SIL_B.qbar); } - /* End of Outputs for SubSystem: '/Enabled Subsystem' */ - /* End of Outputs for SubSystem: '/qbar_proc' */ + /* End of Outputs for SubSystem: '/Enabled Subsystem' */ + /* End of Outputs for SubSystem: '/qbar_proc' */ - /* Chart: '/tick' incorporates: - * Constant: '/dt' + /* Chart: '/tick' incorporates: + * Constant: '/dt' */ SIL_tick(0.995, &SIL_B.enabled_e, &SIL_DW.sf_tick_j); - /* Sum: '/Sum' incorporates: - * Constant: '/Constant2' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant2' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_ok++; /* End of Outputs for SubSystem: '/dummy_INS' */ - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ SIL_B.UnitDelay_i = SIL_DW.UnitDelay_DSTATE_fe; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_bm = SIL_DW.UnitDelay_DSTATE_b; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_b = SIL_DW.UnitDelay_DSTATE_oi; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_j = SIL_DW.UnitDelay_DSTATE_er; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_g = SIL_DW.UnitDelay_DSTATE_c; /* Logic: '/not' incorporates: @@ -15902,17 +16419,17 @@ void SIL_step(void) if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_iu = SIL_DW.UnitDelay_DSTATE_jh; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_ga = SIL_DW.UnitDelay_DSTATE_a; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ rtb_UnitDelay_k0 = SIL_DW.UnitDelay_DSTATE_okq; /* Outputs for Atomic SubSystem: '/kb3_autopilot' */ - /* Chart: '/valid_checking' incorporates: + /* Chart: '/valid_checking' incorporates: * UnitDelay: '/Unit Delay2' */ if (SIL_DW.temporalCounter_i1_hd < 255U) { @@ -15960,41 +16477,41 @@ void SIL_step(void) } } - /* End of Chart: '/valid_checking' */ + /* End of Chart: '/valid_checking' */ - /* Outputs for Iterator SubSystem: '/parse_to_msg_queue' incorporates: - * ForIterator: '/For Iterator' + /* Outputs for Iterator SubSystem: '/parse_to_msg_queue' incorporates: + * ForIterator: '/For Iterator' */ /* Inport: '/data_len' */ for (idx = 0; idx < SIL_U.data_len; idx++) { - /* Selector: '/Selector' incorporates: + /* Selector: '/Selector' incorporates: * Inport: '/data_in' */ SIL_B.mav_char_in = SIL_U.data_in[idx]; - /* S-Function (mav_parser): '/mav_parser' */ + /* S-Function (mav_parser): '/mav_parser' */ mav_parser_Outputs_wrapper(&SIL_B.mav_char_in, &SIL_B.mav_found, &SIL_B.mav_message, &SIL_B.mav_status, &rtCP_mav_parser_P1, 1); - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.mav_found) { - /* Outputs for IfAction SubSystem: '/process_new_message' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/process_new_message' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/push2msgs' */ + /* Chart: '/push2msgs' */ SIL_DW.msgs_msgData_h = SIL_B.mav_message; SIL_sf_msg_send_msgs(); - /* End of Outputs for SubSystem: '/process_new_message' */ + /* End of Outputs for SubSystem: '/process_new_message' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ } /* End of Inport: '/data_len' */ - /* End of Outputs for SubSystem: '/parse_to_msg_queue' */ + /* End of Outputs for SubSystem: '/parse_to_msg_queue' */ - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (rtb_DataStoreRead.baro > 120000.0F) { absxk = 120000.0F; } else if (rtb_DataStoreRead.baro < 100.0F) { @@ -16003,56 +16520,56 @@ void SIL_step(void) absxk = rtb_DataStoreRead.baro; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* Saturate: '/saturation1' */ + /* Saturate: '/saturation1' */ if (rtb_DataStoreRead.qbar <= 1.0F) { - rtb_DataTypeConversion_e2 = 1.0F; + rtb_product_p = 1.0F; } else { - rtb_DataTypeConversion_e2 = rtb_DataStoreRead.qbar; + rtb_product_p = rtb_DataStoreRead.qbar; } - /* End of Saturate: '/saturation1' */ + /* End of Saturate: '/saturation1' */ - /* Product: '/divide2' incorporates: - * Sum: '/add' + /* Product: '/divide2' incorporates: + * Sum: '/add' */ - absxk = (rtb_DataTypeConversion_e2 + absxk) / absxk; + absxk = (rtb_product_p + absxk) / absxk; - /* Math: '/pow' incorporates: - * Constant: '/Constant BP2' + /* Math: '/pow' incorporates: + * Constant: '/Constant BP2' */ absxk = powf(absxk, 0.285714298F); - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Product: '/product1' - * Sum: '/subtract' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Product: '/product1' + * Sum: '/subtract' */ scale = sqrtf((absxk - 1.0F) * 5.0F); - /* If: '/If' incorporates: - * Inport: '/Mach_in' + /* If: '/If' incorporates: + * Inport: '/Mach_in' */ SIL_DW.If_ActiveSubsystem_m = (int8_T)!(scale > 1.0F); switch (SIL_DW.If_ActiveSubsystem_m) { case 0: - /* Outputs for IfAction SubSystem: '/supersonic' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/supersonic' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/add' incorporates: - * Constant: '/Constant BP' - * Product: '/Divide' + /* Sum: '/add' incorporates: + * Constant: '/Constant BP' + * Product: '/Divide' */ rtb_add_f = rtb_DataStoreRead.qbar / rtb_DataStoreRead.baro + 1.0F; - /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: - * WhileIterator: '/While Iterator' + /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: + * WhileIterator: '/While Iterator' */ idx = 1; - /* InitializeConditions for Delay: '/Delay' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad = 1U; do { if (SIL_DW.icLoad != 0) { @@ -16084,28 +16601,28 @@ void SIL_step(void) idx++; } while ((absxk > 0.01F) && (idx <= 5)); - /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ + /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ - /* SignalConversion: '/OutportBufferForMach_out' */ + /* SignalConversion: '/OutportBufferForMach_out' */ rtb_add_f = SIL_B.Gain_n; - /* End of Outputs for SubSystem: '/supersonic' */ + /* End of Outputs for SubSystem: '/supersonic' */ break; case 1: - /* Outputs for IfAction SubSystem: '/subsonic' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/subsonic' incorporates: + * ActionPort: '/Action Port' */ rtb_add_f = scale; - /* End of Outputs for SubSystem: '/subsonic' */ + /* End of Outputs for SubSystem: '/subsonic' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Saturate: '/saturation' incorporates: - * UnitDelay: '/Unit Delay' + /* Saturate: '/saturation' incorporates: + * UnitDelay: '/Unit Delay' */ if (SIL_DW.UnitDelay_DSTATE_o <= 0.0F) { rtb_DataTypeConversion_e2 = 0.0F; @@ -16113,10 +16630,10 @@ void SIL_step(void) rtb_DataTypeConversion_e2 = SIL_DW.UnitDelay_DSTATE_o; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* Saturate: '/saturation' incorporates: - * UnitDelay: '/Unit Delay' + /* Saturate: '/saturation' incorporates: + * UnitDelay: '/Unit Delay' */ if (SIL_DW.UnitDelay_DSTATE_d <= 0.0F) { absxk = 0.0F; @@ -16124,155 +16641,153 @@ void SIL_step(void) absxk = SIL_DW.UnitDelay_DSTATE_d; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* MATLAB Function: '/dummy_atmo_temp' incorporates: - * DataTypeConversion: '/Data Type Conversion3' + /* MATLAB Function: '/dummy_atmo_temp' incorporates: + * DataTypeConversion: '/Data Type Conversion3' */ if (rtb_DataStoreRead.asl_baro <= 11000.0F) { - rtb_add_ne = (-0.0065 * rtb_DataStoreRead.asl_baro / 288.15 + 1.0) * + rtb_add_pb = (-0.0065 * rtb_DataStoreRead.asl_baro / 288.15 + 1.0) * 288.15; } else if (rtb_DataStoreRead.asl_baro <= 20000.0F) { - rtb_add_ne = 216.65; + rtb_add_pb = 216.65; } else if (rtb_DataStoreRead.asl_baro <= 32000.0F) { - rtb_add_ne = ((rtb_DataStoreRead.asl_baro - 20000.0) * 0.001 / 216.65 + + rtb_add_pb = ((rtb_DataStoreRead.asl_baro - 20000.0) * 0.001 / 216.65 + 1.0) * 216.65; } else if (rtb_DataStoreRead.asl_baro <= 47000.0F) { - rtb_add_ne = ((rtb_DataStoreRead.asl_baro - 32000.0) * 0.0028 / 228.65 + + rtb_add_pb = ((rtb_DataStoreRead.asl_baro - 32000.0) * 0.0028 / 228.65 + 1.0) * 228.65; } else if (rtb_DataStoreRead.asl_baro <= 51000.0F) { - rtb_add_ne = 270.65; + rtb_add_pb = 270.65; } else if (rtb_DataStoreRead.asl_baro <= 71000.0F) { - rtb_add_ne = ((rtb_DataStoreRead.asl_baro - 51000.0) * -0.0028 / 270.65 + rtb_add_pb = ((rtb_DataStoreRead.asl_baro - 51000.0) * -0.0028 / 270.65 + 1.0) * 270.65; } else if (rtb_DataStoreRead.asl_baro <= 84852.0458449057) { - rtb_add_ne = ((rtb_DataStoreRead.asl_baro - 71000.0) * -0.002 / 214.65 + + rtb_add_pb = ((rtb_DataStoreRead.asl_baro - 71000.0) * -0.002 / 214.65 + 1.0) * 214.65; } else { - rtb_add_ne = 186.94590831019; + rtb_add_pb = 186.94590831019; } - /* Product: '/divide' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Constant: '/Constant BP' - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion4' - * MATLAB Function: '/dummy_atmo_temp' - * Product: '/divide' - * Product: '/product' - * Product: '/divide' - * Product: '/product' - * Sum: '/add' - * Sum: '/add' + /* Product: '/divide' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Constant: '/Constant BP' + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion4' + * MATLAB Function: '/dummy_atmo_temp' + * Product: '/divide' + * Product: '/product' + * Product: '/divide' + * Product: '/product' + * Sum: '/add' + * Sum: '/add' */ absxk = (0.2F * rtb_DataTypeConversion_e2 * rtb_DataTypeConversion_e2 + - 1.0F) * (real32_T)(rtb_add_ne + SIL_P.Toffset) / (0.2F * absxk * + 1.0F) * (real32_T)(rtb_add_pb + SIL_P.Toffset) / (0.2F * absxk * absxk + 1.0F) / 288.15F; - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (absxk <= 0.01F) { absxk = 0.01F; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* Sqrt: '/sqrt' */ + /* Sqrt: '/sqrt' */ absxk = sqrtf(absxk); - /* Product: '/product' incorporates: - * Constant: '/Constant BP1' + /* Product: '/product' incorporates: + * Constant: '/Constant BP1' */ absxk *= 340.29F; - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (rtb_DataStoreRead.baro <= 1.0F) { - rtb_DataTypeConversion_e2 = 1.0F; + rtb_product_p = 1.0F; } else { - rtb_DataTypeConversion_e2 = rtb_DataStoreRead.baro; + rtb_product_p = rtb_DataStoreRead.baro; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* Product: '/product' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Product: '/divide' - * Sqrt: '/sqrt' + /* Product: '/product' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Product: '/divide' + * Sqrt: '/sqrt' */ - scale = 340.294098F * rtb_add_f * sqrtf(rtb_DataTypeConversion_e2 / - 101325.0F); + scale = 340.294098F * rtb_add_f * sqrtf(rtb_product_p / 101325.0F); - /* Product: '/product' incorporates: - * Constant: '/Constant BP' + /* Product: '/product' incorporates: + * Constant: '/Constant BP' */ t = scale * scale * 0.6125F; - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (t <= 1.0F) { t = 1.0F; } - /* End of Saturate: '/saturation' */ + /* End of Saturate: '/saturation' */ - /* Saturate: '/saturation1' */ + /* Saturate: '/saturation1' */ if (rtb_DataStoreRead.qbar <= 0.0F) { - rtb_DataTypeConversion_e2 = 0.0F; + rtb_product_p = 0.0F; } else { - rtb_DataTypeConversion_e2 = rtb_DataStoreRead.qbar; + rtb_product_p = rtb_DataStoreRead.qbar; } - /* End of Saturate: '/saturation1' */ + /* End of Saturate: '/saturation1' */ - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Constant: '/Constant BP2' - * Constant: '/Constant BP3' - * Math: '/pow' - * Product: '/divide2' - * Product: '/product1' - * Sum: '/add' - * Sum: '/subtract' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Constant: '/Constant BP2' + * Constant: '/Constant BP3' + * Math: '/pow' + * Product: '/divide2' + * Product: '/product1' + * Sum: '/add' + * Sum: '/subtract' */ - rtb_table1D_thrAB_map = sqrtf((powf((rtb_DataTypeConversion_e2 + 101325.0F) - / 101325.0F, 0.285714298F) - 1.0F) * 5.0F); + rtb_table1D_thrAB_map = sqrtf((powf((rtb_product_p + 101325.0F) / + 101325.0F, 0.285714298F) - 1.0F) * 5.0F); - /* Product: '/product' incorporates: - * Constant: '/Constant BP4' + /* Product: '/product' incorporates: + * Constant: '/Constant BP4' */ - rtb_DataTypeConversion_e2 = rtb_table1D_thrAB_map * 340.294098F; + rtb_product_p = rtb_table1D_thrAB_map * 340.294098F; - /* If: '/If' incorporates: - * Inport: '/CAS_in' + /* If: '/If' incorporates: + * Inport: '/CAS_in' */ - SIL_DW.If_ActiveSubsystem_g = (int8_T)!(rtb_DataTypeConversion_e2 > - 340.294098F); + SIL_DW.If_ActiveSubsystem_g = (int8_T)!(rtb_product_p > 340.294098F); switch (SIL_DW.If_ActiveSubsystem_g) { case 0: - /* Outputs for IfAction SubSystem: '/supersonic' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/supersonic' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/add' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Product: '/Divide' + /* Sum: '/add' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Product: '/Divide' */ - rtb_add_es = rtb_DataStoreRead.qbar / 101325.0F + 1.0F; + rtb_DataTypeConversion_e2 = rtb_DataStoreRead.qbar / 101325.0F + 1.0F; - /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: - * WhileIterator: '/While Iterator' + /* Outputs for Iterator SubSystem: '/While Iterator Subsystem' incorporates: + * WhileIterator: '/While Iterator' */ idx = 1; - /* InitializeConditions for Delay: '/Delay' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_m = 1U; do { if (SIL_DW.icLoad_m != 0) { - SIL_DW.Delay_DSTATE_i = rtb_DataTypeConversion_e2; + SIL_DW.Delay_DSTATE_i = rtb_product_p; } rtb_abs_g = SIL_DW.Delay_DSTATE_i / 340.294098F; @@ -16288,7 +16803,7 @@ void SIL_step(void) rtb_Sqrt_b = powf(rtb_Sqrt_b, 2.5F); } - rtb_Sqrt_b *= rtb_add_es; + rtb_Sqrt_b *= rtb_DataTypeConversion_e2; if (rtb_Sqrt_b <= 0.0F) { rtb_Sqrt_b = 0.0F; } @@ -16302,28 +16817,28 @@ void SIL_step(void) idx++; } while ((rtb_abs_g > 0.1F) && (idx <= 5)); - /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ + /* End of Outputs for SubSystem: '/While Iterator Subsystem' */ - /* SignalConversion: '/OutportBufferForCAS_out' */ + /* SignalConversion: '/OutportBufferForCAS_out' */ rtb_table1D_thrAB_map = SIL_B.Gain_le; - /* End of Outputs for SubSystem: '/supersonic' */ + /* End of Outputs for SubSystem: '/supersonic' */ break; case 1: - /* Outputs for IfAction SubSystem: '/subsonic' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/subsonic' incorporates: + * ActionPort: '/Action Port' */ - rtb_table1D_thrAB_map = rtb_DataTypeConversion_e2; + rtb_table1D_thrAB_map = rtb_product_p; - /* End of Outputs for SubSystem: '/subsonic' */ + /* End of Outputs for SubSystem: '/subsonic' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Product: '/product' + /* BusAssignment: '/Bus Assignment' incorporates: + * Product: '/product' */ SIL_B.BusAssignment_j = rtb_DataStoreRead; SIL_B.BusAssignment_j.Mach = rtb_add_f; @@ -16333,8 +16848,8 @@ void SIL_step(void) SIL_B.BusAssignment_j.IAS = rtb_table1D_thrAB_map; SIL_B.BusAssignment_j.EAS = scale; - /* Chart: '/Chart' incorporates: - * Constant: '/Constant2' + /* Chart: '/Chart' incorporates: + * Constant: '/Constant2' */ if (SIL_DW.temporalCounter_i1_o < 1023U) { SIL_DW.temporalCounter_i1_o++; @@ -16367,10 +16882,10 @@ void SIL_step(void) idx = 1; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: - * UnitDelay: '/Unit Delay' + /* Chart: '/Chart' incorporates: + * UnitDelay: '/Unit Delay' */ if (SIL_DW.temporalCounter_i1_pv < 1023U) { SIL_DW.temporalCounter_i1_pv++; @@ -16399,9 +16914,9 @@ void SIL_step(void) idx |= 2U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_ex < 1023U) { SIL_DW.temporalCounter_i1_ex++; } @@ -16429,9 +16944,9 @@ void SIL_step(void) idx |= 4U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_p < 1023U) { SIL_DW.temporalCounter_i1_p++; } @@ -16459,10 +16974,10 @@ void SIL_step(void) idx |= 8U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: - * UnitDelay: '/Unit Delay' + /* Chart: '/Chart' incorporates: + * UnitDelay: '/Unit Delay' */ if (SIL_DW.temporalCounter_i1_n < 1023U) { SIL_DW.temporalCounter_i1_n++; @@ -16491,9 +17006,9 @@ void SIL_step(void) idx |= 16U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_eq < 1023U) { SIL_DW.temporalCounter_i1_eq++; } @@ -16521,10 +17036,10 @@ void SIL_step(void) idx |= 32U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: - * Constant: '/Constant3' + /* Chart: '/Chart' incorporates: + * Constant: '/Constant3' */ if (SIL_DW.temporalCounter_i1_kc < 255U) { SIL_DW.temporalCounter_i1_kc++; @@ -16557,9 +17072,9 @@ void SIL_step(void) rtb_out_dj = 1; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_je < 255U) { SIL_DW.temporalCounter_i1_je++; } @@ -16587,9 +17102,9 @@ void SIL_step(void) rtb_out_dj |= 2U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_jb < 255U) { SIL_DW.temporalCounter_i1_jb++; } @@ -16617,9 +17132,9 @@ void SIL_step(void) rtb_out_dj |= 4U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_k < 255U) { SIL_DW.temporalCounter_i1_k++; } @@ -16647,9 +17162,9 @@ void SIL_step(void) rtb_out_dj |= 8U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_iw < 255U) { SIL_DW.temporalCounter_i1_iw++; } @@ -16677,9 +17192,9 @@ void SIL_step(void) rtb_out_dj |= 16U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_f2 < 255U) { SIL_DW.temporalCounter_i1_f2++; } @@ -16707,9 +17222,9 @@ void SIL_step(void) rtb_out_dj |= 32U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_b < 255U) { SIL_DW.temporalCounter_i1_b++; } @@ -16737,9 +17252,9 @@ void SIL_step(void) rtb_out_dj |= 64U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_n0 < 255U) { SIL_DW.temporalCounter_i1_n0++; } @@ -16767,9 +17282,9 @@ void SIL_step(void) rtb_out_dj |= 128U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_a < 255U) { SIL_DW.temporalCounter_i1_a++; } @@ -16797,9 +17312,9 @@ void SIL_step(void) rtb_out_dj |= 256U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_ji < 255U) { SIL_DW.temporalCounter_i1_ji++; } @@ -16827,9 +17342,9 @@ void SIL_step(void) rtb_out_dj |= 512U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_ja < 255U) { SIL_DW.temporalCounter_i1_ja++; } @@ -16857,9 +17372,9 @@ void SIL_step(void) rtb_out_dj |= 1024U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_i1 < 255U) { SIL_DW.temporalCounter_i1_i1++; } @@ -16887,16 +17402,16 @@ void SIL_step(void) rtb_out_dj |= 2048U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (rtb_not) { rtb_out_dj |= 4096U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_ms < 255U) { SIL_DW.temporalCounter_i1_ms++; } @@ -16924,9 +17439,9 @@ void SIL_step(void) rtb_out_dj |= 8192U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_o1 < 255U) { SIL_DW.temporalCounter_i1_o1++; } @@ -16954,9 +17469,9 @@ void SIL_step(void) rtb_out_dj |= 16384U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_n2 < 255U) { SIL_DW.temporalCounter_i1_n2++; } @@ -16984,9 +17499,9 @@ void SIL_step(void) rtb_out_dj |= 32768U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_mf < 255U) { SIL_DW.temporalCounter_i1_mf++; } @@ -17018,9 +17533,9 @@ void SIL_step(void) rtb_out_n5 = rtb_out_dj | 65536U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_l < 255U) { SIL_DW.temporalCounter_i1_l++; } @@ -17048,13 +17563,13 @@ void SIL_step(void) rtb_out_n5 |= 131072U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: - * Chart: '/Chart' - * Chart: '/Chart' - * Chart: '/Chart' - * Chart: '/Chart' + /* Chart: '/Chart' incorporates: + * Chart: '/Chart' + * Chart: '/Chart' + * Chart: '/Chart' + * Chart: '/Chart' * DataStoreRead: '/Data Store Read' */ rtb_out_n5 = (uint32_T)(SIL_DW.CC.recovery & 2) << 17 | rtb_out_n5 | @@ -17062,7 +17577,7 @@ void SIL_step(void) & 8) << 17 | (uint32_T)(SIL_DW.CC.recovery & 32) << 16 | (uint32_T) (SIL_B.ByteUnpack_o11[2] & 19) << 22; - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_kg < 255U) { SIL_DW.temporalCounter_i1_kg++; } @@ -17090,10 +17605,10 @@ void SIL_step(void) rtb_out_n5 |= 268435456U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: - * UnitDelay: '/Unit Delay' + /* Chart: '/Chart' incorporates: + * UnitDelay: '/Unit Delay' */ if (SIL_DW.temporalCounter_i1_g < 255U) { SIL_DW.temporalCounter_i1_g++; @@ -17122,54 +17637,54 @@ void SIL_step(void) rtb_out_n5 |= 536870912U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: + /* Chart: '/Chart' incorporates: * DataStoreRead: '/Data Store Read' */ if (SIL_DW.CC.enable_rec) { rtb_out_n5 |= 1073741824U; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ SIL_B.BusAssignment_j.sensors_present = MAX_uint32_T; - /* Chart: '/Chart' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * Selector: '/select' + /* Chart: '/Chart' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * Selector: '/select' */ if (SIL_B.BusAssignment_j.analog_inputs[SIL_P.door_idx] < SIL_P.door_level) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_j.sensors_enabled = idx | 64U; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_j.sensors_enabled = (uint32_T)idx; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/Chart' incorporates: + /* Chart: '/Chart' incorporates: * DataStoreRead: '/Data Store Read' */ if (SIL_DW.CC.linked) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_j.sensors_health = rtb_out_n5 | 2147483648U; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_j.sensors_health = rtb_out_n5; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* Chart: '/check_conn' incorporates: - * Constant: '/Constant' + /* Chart: '/check_conn' incorporates: + * Constant: '/Constant' * UnitDelay: '/Unit Delay1' */ if (SIL_DW.temporalCounter_i1_f < MAX_uint32_T) { @@ -17204,9 +17719,9 @@ void SIL_step(void) } } - /* End of Chart: '/check_conn' */ + /* End of Chart: '/check_conn' */ - /* Chart: '/valid_checking' incorporates: + /* Chart: '/valid_checking' incorporates: * Inport: '/sbus_in' */ if (SIL_DW.temporalCounter_i1_b5 < 255U) { @@ -17254,76 +17769,76 @@ void SIL_step(void) } } - /* End of Chart: '/valid_checking' */ + /* End of Chart: '/valid_checking' */ - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (SIL_B.BusAssignment_j.TAS <= 100.0F) { rtb_table1D_thrAB_map = 100.0F; } else { rtb_table1D_thrAB_map = SIL_B.BusAssignment_j.TAS; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Lookup_n-D: '/1-D Lookup Table' */ + /* Lookup_n-D: '/1-D Lookup Table' */ t = look1_iflf_pbinlcapw(rtb_table1D_thrAB_map, rtCP_uDLookupTable_bp01Data_l, rtCP_uDLookupTable_tableData_i, &SIL_DW.m_bpIndex_b, 2U); - /* Product: '/Product' incorporates: - * Constant: '/Constant1' + /* Product: '/Product' incorporates: + * Constant: '/Constant1' */ scale = t * SIL_P.max_de; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (SIL_B.BusAssignment_j.TAS <= 100.0F) { absxk = 100.0F; } else { absxk = SIL_B.BusAssignment_j.TAS; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Lookup_n-D: '/1-D Lookup Table' */ + /* Lookup_n-D: '/1-D Lookup Table' */ rtb_DataTypeConversion_e2 = look1_iflf_pbinlcapw(absxk, rtCP_uDLookupTable_bp01Data_g, rtCP_uDLookupTable_tableData_a, &SIL_DW.m_bpIndex_kw, 2U); - /* Product: '/Product' incorporates: - * Constant: '/Constant1' + /* Product: '/Product' incorporates: + * Constant: '/Constant1' */ rtb_DataTypeConversion_e2 *= SIL_P.max_da; - /* Product: '/Product1' incorporates: - * Constant: '/Constant2' + /* Product: '/Product1' incorporates: + * Constant: '/Constant2' */ t *= SIL_P.min_de; /* UnitDelay: '/Unit Delay' */ SIL_B.UnitDelay = SIL_DW.UnitDelay_DSTATE; - /* Lookup_n-D: '/max_rpm' */ - rtb_add_es = look1_iflf_binlcpw(SIL_B.UnitDelay.abs_alt, SIL_P.h_thr2rpm, - SIL_P.max_rpm, 7U); + /* Lookup_n-D: '/max_rpm' */ + rtb_product_p = look1_iflf_binlcpw(SIL_B.UnitDelay.abs_alt, + SIL_P.h_thr2rpm, SIL_P.max_rpm, 7U); - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant13' - * Constant: '/Constant6' - * Constant: '/Constant' - * Constant: '/Constant BP1' - * Constant: '/Constant BP2' - * Constant: '/Constant BP3' - * Constant: '/Constant BP4' - * Constant: '/Constant BP5' - * Constant: '/Constant BP6' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant13' + * Constant: '/Constant6' + * Constant: '/Constant' + * Constant: '/Constant BP1' + * Constant: '/Constant BP2' + * Constant: '/Constant BP3' + * Constant: '/Constant BP4' + * Constant: '/Constant BP5' + * Constant: '/Constant BP6' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' * DataStoreRead: '/Data Store Read' - * Lookup_n-D: '/min_rpm' - * MinMax: '/Max' - * MinMax: '/Min' - * UnitDelay: '/Unit Delay' + * Lookup_n-D: '/min_rpm' + * MinMax: '/Max' + * MinMax: '/Min' + * UnitDelay: '/Unit Delay' */ rtb_BusAssignment = SIL_DW.CC; rtb_BusAssignment.linked = SIL_P.linked_default; @@ -17340,275 +17855,275 @@ void SIL_step(void) rtb_BusAssignment.da_stim = 0.0F; rtb_BusAssignment.dr_stim = 0.0F; rtb_BusAssignment.max_q = SIL_P.max_q; - rtb_BusAssignment.max_rpm = fminf(rtb_add_es, SIL_P.max_rpm_lim); + rtb_BusAssignment.max_rpm = fminf(rtb_product_p, SIL_P.max_rpm_lim); rtb_BusAssignment.min_rpm = fmaxf(look1_iflf_binlcpw (SIL_B.UnitDelay.abs_alt, SIL_P.h_thr2rpm, SIL_P.min_rpm, 7U), SIL_P.min_rpm_lim); - /* If: '/If1' incorporates: + /* If: '/If1' incorporates: * Inport: '/sbus_in' - * Inport: '/In1' + * Inport: '/In1' */ SIL_DW.If1_ActiveSubsystem_j = (int8_T)((!SIL_B.valid_n) || rtb_BusAssignment.rc.connected || (!rtb_BusAssignment.enable_rc)); switch (SIL_DW.If1_ActiveSubsystem_j) { case 0: - /* Outputs for IfAction SubSystem: '/valid' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/valid' incorporates: + * ActionPort: '/Action Port' */ SIL_valid(&rtb_BusAssignment, SIL_U.sbus_in.id, SIL_U.sbus_in.channels, &rtb_Merge1); - /* End of Outputs for SubSystem: '/valid' */ + /* End of Outputs for SubSystem: '/valid' */ break; case 1: - /* Outputs for IfAction SubSystem: '/invalid' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/invalid' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge1 = rtb_BusAssignment; - /* End of Outputs for SubSystem: '/invalid' */ + /* End of Outputs for SubSystem: '/invalid' */ break; } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (rtb_GreaterThan) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ rtb_Merge = rtb_Merge1; rtb_Merge.linked = true; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge = rtb_Merge1; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { rtb_Sum1_o = 6125.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.qbar; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (SIL_B.UnitDelay.v_gv <= 100.0F) { dy = 100.0F; } else { dy = SIL_B.UnitDelay.v_gv; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Product: '/product' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Sc_Iyy' - * Product: '/qbarSc' + /* Product: '/product' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Sc_Iyy' + * Product: '/qbarSc' */ - rtb_product_g = rtb_Sum1_o * SIL_P.RefArea / SIL_P.m / dy * SIL_P.CLa; + rtb_product_b = rtb_Sum1_o * SIL_P.RefArea / SIL_P.m / dy * SIL_P.CLa; - /* Lookup_n-D: '/IAS_lookup' */ + /* Lookup_n-D: '/IAS_lookup' */ scale = look1_iflf_pbinlcapw(SIL_B.UnitDelay.abs_alt, SIL_P.alt_lst, SIL_P.tas_gl, &SIL_DW.m_bpIndex_df, 5U); - /* Lookup_n-D: '/1-D Lookup Table' */ + /* Lookup_n-D: '/1-D Lookup Table' */ t = look1_iflf_pbinlcapw(SIL_B.UnitDelay.abs_alt, SIL_P.alt_lst, SIL_P.tas_qc, &SIL_DW.m_bpIndex_di, 5U); - /* SwitchCase: '/Switch Case' incorporates: + /* SwitchCase: '/Switch Case' incorporates: * DataStoreRead: '/Data Store Read' - * Inport: '/as_c' - * Inport: '/ias' - * Inport: '/as_c' - * Inport: '/tas' - * Inport: '/tas_gl' - * SignalConversion: '/C2_in_BusSelector' + * Inport: '/as_c' + * Inport: '/ias' + * Inport: '/as_c' + * Inport: '/tas' + * Inport: '/tas_gl' + * SignalConversion: '/C2_in_BusSelector' */ switch (SIL_DW.CC.AS_SEL) { case ENUM_AS_SEL_QC_TAS: - /* Outputs for IfAction SubSystem: '/climb_char' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/climb_char' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/sens_BusSelector' */ + /* SignalConversion: '/sens_BusSelector' */ rtb_DataTypeConversion_e2 = SIL_B.BusAssignment_j.TAS; - /* End of Outputs for SubSystem: '/climb_char' */ + /* End of Outputs for SubSystem: '/climb_char' */ break; case ENUM_AS_SEL_GLIDE_TAS: - /* Outputs for IfAction SubSystem: '/dec_char' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/dec_char' incorporates: + * ActionPort: '/Action Port' */ t = scale; - /* SignalConversion: '/sens_BusSelector' incorporates: - * Inport: '/tas_gl' + /* SignalConversion: '/sens_BusSelector' incorporates: + * Inport: '/tas_gl' */ rtb_DataTypeConversion_e2 = SIL_B.BusAssignment_j.TAS; - /* End of Outputs for SubSystem: '/dec_char' */ + /* End of Outputs for SubSystem: '/dec_char' */ break; case ENUM_AS_SEL_MACH: - /* Outputs for IfAction SubSystem: '/Mach' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Mach' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/product' */ + /* Product: '/product' */ t = SIL_DW.CC.as_c * SIL_B.BusAssignment_j.SoundSpeed; - /* SignalConversion: '/sens_BusSelector' */ + /* SignalConversion: '/sens_BusSelector' */ rtb_DataTypeConversion_e2 = SIL_B.BusAssignment_j.TAS; - /* End of Outputs for SubSystem: '/Mach' */ + /* End of Outputs for SubSystem: '/Mach' */ break; case ENUM_AS_SEL_TAS: - /* Outputs for IfAction SubSystem: '/TAS' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/TAS' incorporates: + * ActionPort: '/Action Port' */ t = SIL_DW.CC.as_c; rtb_DataTypeConversion_e2 = SIL_B.BusAssignment_j.TAS; - /* End of Outputs for SubSystem: '/TAS' */ + /* End of Outputs for SubSystem: '/TAS' */ break; default: - /* Outputs for IfAction SubSystem: '/IAS' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/IAS' incorporates: + * ActionPort: '/Action Port' */ t = SIL_DW.CC.as_c; rtb_DataTypeConversion_e2 = SIL_B.BusAssignment_j.IAS; - /* End of Outputs for SubSystem: '/IAS' */ + /* End of Outputs for SubSystem: '/IAS' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { rtb_Sum1_o = 6125.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.qbar; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Product: '/qbarSc' incorporates: - * Constant: '/Constant' - * Constant: '/Sc_Iyy' - * Constant: '/Sc_Iyy' - * Product: '/qbarSc' + /* Product: '/qbarSc' incorporates: + * Constant: '/Constant' + * Constant: '/Sc_Iyy' + * Constant: '/Sc_Iyy' + * Product: '/qbarSc' */ scale = SIL_P.RefArea * SIL_P.RefSpan; rtb_table3D_Nh = scale * rtb_Sum1_o / SIL_P.Ixx; - /* Product: '/product' incorporates: - * Lookup_n-D: '/Clda' + /* Product: '/product' incorporates: + * Lookup_n-D: '/Clda' */ - rtb_product_kr = rtb_table3D_Nh * look1_iflf_binlxpw + rtb_product_og = rtb_table3D_Nh * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Clda_lst, 10U); - /* Product: '/product1' incorporates: - * Constant: '/Constant2' - * Lookup_n-D: '/Clp' - * Product: '/Divide1' + /* Product: '/product1' incorporates: + * Constant: '/Constant2' + * Lookup_n-D: '/Clp' + * Product: '/Divide1' */ rtb_product1_pw = SIL_P.RefSpan / 2.0F * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Clp_lst, 10U) * (rtb_table3D_Nh / absxk); - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { rtb_Sum1_o = 6125.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.qbar; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Product: '/qbarSc' incorporates: - * Constant: '/Constant' - * Constant: '/Sc_Iyy' + /* Product: '/qbarSc' incorporates: + * Constant: '/Constant' + * Constant: '/Sc_Iyy' */ rtb_table3D_Nh = SIL_P.RefArea * SIL_P.RefLen * rtb_Sum1_o / SIL_P.Iyy; - /* Product: '/Product2' incorporates: - * Lookup_n-D: '/Cmde1' + /* Product: '/Product2' incorporates: + * Lookup_n-D: '/Cmde1' */ rtb_Product2_f = rtb_table3D_Nh * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Cmde_lst, 10U); - /* Product: '/Product3' incorporates: - * Constant: '/Constant3' - * Lookup_n-D: '/Cmq' - * Product: '/Divide1' + /* Product: '/Product3' incorporates: + * Constant: '/Constant3' + * Lookup_n-D: '/Cmq' + * Product: '/Divide1' */ rtb_Product3_bz = SIL_P.RefLen / 2.0F * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Cmq_lst, 10U) * (rtb_table3D_Nh / rtb_table1D_thrAB_map); - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { rtb_Sum1_o = 6125.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.qbar; } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Product: '/qbarSc' incorporates: - * Constant: '/Constant' + /* Product: '/qbarSc' incorporates: + * Constant: '/Constant' */ rtb_table3D_Nh = scale * rtb_Sum1_o / SIL_P.Izz; - /* Product: '/product' incorporates: - * Lookup_n-D: '/Cndr' + /* Product: '/product' incorporates: + * Lookup_n-D: '/Cndr' */ - rtb_product_j = rtb_table3D_Nh * look1_iflf_binlxpw + rtb_Sqrt_b = rtb_table3D_Nh * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Cndr_lst, 10U); - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (SIL_B.BusAssignment_j.TAS <= 100.0F) { rtb_Sum1_o = 100.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.TAS; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Product: '/product1' incorporates: - * Constant: '/Constant2' - * Lookup_n-D: '/Clp' - * Product: '/Divide1' + /* Product: '/product1' incorporates: + * Constant: '/Constant2' + * Lookup_n-D: '/Clp' + * Product: '/Divide1' */ rtb_table3D_Nh = SIL_P.RefSpan / 2.0F * look1_iflf_binlxpw (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.Cnr_lst, 10U) * (rtb_table3D_Nh / rtb_Sum1_o); - /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: - * Constant: '/Constant11' - * Constant: '/Constant12' + /* S-Function (sfix_look1_dyn): '/Lookup Table Dynamic' incorporates: + * Constant: '/Constant11' + * Constant: '/Constant12' */ - /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' + /* Dynamic Look-Up Table Block: '/Lookup Table Dynamic' * Input0 Data Type: Floating Point real32_T * Input1 Data Type: Floating Point real32_T * Input2 Data Type: Floating Point real32_T @@ -17619,47 +18134,41 @@ void SIL_step(void) LookUp_real32_T_real32_T( &(rtb_LookupTableDynamic), &SIL_P.max_thrust[0], SIL_B.UnitDelay.abs_alt, &SIL_P.h_thr2rpm[0], 7U); - /* Outputs for IfAction SubSystem: '/AS' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AS' incorporates: + * ActionPort: '/Action Port' */ - /* Outputs for IfAction SubSystem: '/as2tht' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/as2tht' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * Sum: '/Sum' - * Sum: '/Sum' - * Sum: '/err_hdot' - * SwitchCase: '/Switch Case' + /* SwitchCase: '/Switch Case' incorporates: + * Sum: '/Sum' + * Sum: '/Sum' + * Sum: '/err_hdot' + * SwitchCase: '/Switch Case' */ scale = t - rtb_DataTypeConversion_e2; - /* End of Outputs for SubSystem: '/as2tht' */ - /* End of Outputs for SubSystem: '/AS' */ + /* End of Outputs for SubSystem: '/as2tht' */ + /* End of Outputs for SubSystem: '/AS' */ - /* Lookup_n-D: '/table2D_cftAB' */ - absxk = look2_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, - SIL_B.BusAssignment_j.asl_baro, rtCP_table2D_cftAB_bp01Data_n, - rtCP_table2D_cftAB_bp02Data_m, rtCP_table2D_cftAB_tableData_n, - SIL_DW.m_bpIndex_ay, rtCP_table2D_cftAB_maxIndex, 10U); - - /* Lookup_n-D: '/P22' */ - t = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, + /* Lookup_n-D: '/P22' */ + absxk = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.P22_lst, &SIL_DW.m_bpIndex_me, 10U); - /* Lookup_n-D: '/P12' */ - rtb_abs_g = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, - SIL_P.P12_lst, &SIL_DW.m_bpIndex_e, 10U); - - /* Lookup_n-D: '/P21' */ + /* Lookup_n-D: '/P12' */ rtb_DataTypeConversion_e2 = look1_iflf_pbinlcapw - (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.P21_lst, - &SIL_DW.m_bpIndex_pc, 10U); + (SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.P12_lst, + &SIL_DW.m_bpIndex_eh, 10U); - /* Lookup_n-D: '/P11' */ - rtb_Sqrt_b = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, + /* Lookup_n-D: '/P21' */ + t = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, + SIL_P.P21_lst, &SIL_DW.m_bpIndex_pc, 10U); + + /* Lookup_n-D: '/P11' */ + rtb_abs_g = look1_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst, SIL_P.P11_lst, &SIL_DW.m_bpIndex_gj, 10U); - /* Chart: '/proc_cmd' */ + /* Chart: '/proc_cmd' */ SIL_DW.cmd_isValid = false; SIL_DW.cmd2_isValid = false; if (SIL_DW.is_active_c19_kb3_autopilot == 0U) { @@ -17709,9 +18218,9 @@ void SIL_step(void) SIL_sf_msg_discard_cmd(); SIL_sf_msg_discard_cmd2(); - /* End of Chart: '/proc_cmd' */ + /* End of Chart: '/proc_cmd' */ - /* Chart: '/proc_set_ cur' */ + /* Chart: '/proc_set_ cur' */ SIL_DW.set_cur_isValid = false; if (SIL_DW.is_active_c14_C2_proc_comm == 0U) { SIL_DW.is_active_c14_C2_proc_comm = 1U; @@ -17734,178 +18243,178 @@ void SIL_step(void) SIL_sf_msg_discard_set_cur(); - /* End of Chart: '/proc_set_ cur' */ + /* End of Chart: '/proc_set_ cur' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (SIL_B.WP_cur < 65535) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_k = rtb_Merge; rtb_Merge_k.WP_cur = SIL_B.WP_cur; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_k = rtb_Merge; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (SIL_B.id > 0) { - /* Outputs for IfAction SubSystem: '/proc_params' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/proc_params' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/In1' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/In1' */ switch (SIL_B.id) { case 889: - /* Outputs for IfAction SubSystem: '/base_asl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/base_asl' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.params_i[0] > 1.5F) { - /* Outputs for IfAction SubSystem: '/set_base_alt' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_base_alt' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.base_asl = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/set_base_alt' */ + /* End of Outputs for SubSystem: '/set_base_alt' */ } else if (SIL_B.params_i[0] > 0.5F) { - /* Outputs for IfAction SubSystem: '/set_base_alt_baro' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_base_alt_baro' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.base_asl_baro = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/set_base_alt_baro' */ + /* End of Outputs for SubSystem: '/set_base_alt_baro' */ } else { - /* Outputs for IfAction SubSystem: '/set_cur_base_alt' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_cur_base_alt' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.base_asl = SIL_B.BusAssignment_j.msl; rtb_Merge_b.base_asl_baro = SIL_B.BusAssignment_j.asl_baro; - /* End of Outputs for SubSystem: '/set_cur_base_alt' */ + /* End of Outputs for SubSystem: '/set_cur_base_alt' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/base_asl' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/base_asl' */ break; case 22: - /* Outputs for IfAction SubSystem: '/takeoff_tht' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/takeoff_tht' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Gain: '/Gain1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Gain: '/Gain1' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.takeoff_tht = 0.0174532924F * SIL_B.params_i[0]; - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/takeoff_tht' */ + /* End of Outputs for SubSystem: '/takeoff_tht' */ break; case 16: - /* Outputs for IfAction SubSystem: '/dist_trans' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/dist_trans' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.dist_trans = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/dist_trans' */ + /* End of Outputs for SubSystem: '/dist_trans' */ break; case 400: - /* Outputs for IfAction SubSystem: '/armed_dissarmed' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/armed_dissarmed' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * If: '/If' + /* If: '/If' incorporates: + * If: '/If' */ if (SIL_B.params_i[0] > 0.5F) { - /* Outputs for IfAction SubSystem: '/arm' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/arm' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_Merge_k.rc.throttle_cmd < 0.1F) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant1' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant1' + * Constant: '/Constant2' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.armed = true; rtb_Merge_b.throttle_c = 0.0F; rtb_Merge_b.enable_rec = true; - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_Subsystem1(&rtb_Merge_k, &rtb_Merge_b, &rtb_Merge1_hc); - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/arm' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/arm' */ } else { - /* Outputs for IfAction SubSystem: '/disarm' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/disarm' incorporates: + * ActionPort: '/Action Port' */ if (rtb_Merge_k.rc.throttle_cmd < 0.1F) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * BusAssignment: '/Bus Assignment' - * Constant: '/Constant' - * Constant: '/Constant BP' - * Constant: '/Constant BP1' - * Constant: '/Constant1' - * SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' + /* If: '/If' incorporates: + * BusAssignment: '/Bus Assignment' + * Constant: '/Constant' + * Constant: '/Constant BP' + * Constant: '/Constant BP1' + * Constant: '/Constant1' + * SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.armed = false; @@ -17913,29 +18422,29 @@ void SIL_step(void) rtb_Merge_b.ECU_CMD = 69U; rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' */ + /* If: '/If' */ SIL_Subsystem1(&rtb_Merge_k, &rtb_Merge_b, &rtb_Merge1_hc); - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ } - /* End of Outputs for SubSystem: '/disarm' */ + /* End of Outputs for SubSystem: '/disarm' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/armed_dissarmed' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/armed_dissarmed' */ break; case 20001: - /* Outputs for IfAction SubSystem: '/way_point_jump' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/way_point_jump' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -17957,9 +18466,9 @@ void SIL_step(void) (uint16_T)-(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T) rtb_Sum1_o); - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -17977,136 +18486,136 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* SwitchCase: '/Switch Case' incorporates: - * DataTypeConversion: '/Data Type Conversion1' + /* SwitchCase: '/Switch Case' incorporates: + * DataTypeConversion: '/Data Type Conversion1' */ if ((rtb_Sum1_o < 0.0F ? (int32_T)(uint8_T)-(int8_T)(uint8_T) -rtb_Sum1_o : (int32_T)(uint8_T)rtb_Sum1_o) == 1) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (!rtb_Merge_k.linked) { - /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_Subsystem1_e(&rtb_Merge_k, rtb_DataTypeConversion_k, &rtb_Merge_b); - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_Subsystem1_e(&rtb_Merge_k, rtb_DataTypeConversion_k, &rtb_Merge_b); - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/way_point_jump' */ + /* End of Outputs for SubSystem: '/way_point_jump' */ break; case 20003: - /* Outputs for IfAction SubSystem: '/toplevel_sw' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/toplevel_sw' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ if ((!rtb_Merge_k.armed) || (rtb_Merge_k.level1_lgx == standby)) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.params_i[0] > 1.5F) { - /* Outputs for IfAction SubSystem: '/operation' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/operation' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.xbit_cmd = false; rtb_Merge_b.standby_cmd = false; - /* End of Outputs for SubSystem: '/operation' */ + /* End of Outputs for SubSystem: '/operation' */ } else if (SIL_B.params_i[0] > 0.5F) { - /* Outputs for IfAction SubSystem: '/xbit' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/xbit' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.xbit_cmd = true; rtb_Merge_b.standby_cmd = true; - /* End of Outputs for SubSystem: '/xbit' */ + /* End of Outputs for SubSystem: '/xbit' */ } else { - /* Outputs for IfAction SubSystem: '/standby' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/standby' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.xbit_cmd = false; rtb_Merge_b.standby_cmd = true; - /* End of Outputs for SubSystem: '/standby' */ + /* End of Outputs for SubSystem: '/standby' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_IfActionSubsystem1(&rtb_Merge_k, &rtb_Merge_b, &rtb_Merge1_hc); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/toplevel_sw' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/toplevel_sw' */ break; case 178: - /* Outputs for IfAction SubSystem: '/change_speed' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/change_speed' incorporates: + * ActionPort: '/Action Port' */ - /* Outputs for Atomic SubSystem: '/set_speed' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* Outputs for Atomic SubSystem: '/set_speed' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18124,138 +18633,138 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* SwitchCase: '/Switch Case' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Inport: '/In1' + /* SwitchCase: '/Switch Case' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Inport: '/In1' */ switch (rtb_Sum1_o < 0.0F ? (int32_T)(uint8_T)-(int8_T)(uint8_T) -rtb_Sum1_o : (int32_T)(uint8_T)rtb_Sum1_o) { case 0: - /* Outputs for IfAction SubSystem: '/set_as' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_as' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (SIL_B.params_i[1] > 0.0F) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.as_c = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/set_as' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/set_as' */ break; case 1: - /* Outputs for IfAction SubSystem: '/set_gs' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_gs' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if (SIL_B.params_i[1] > 0.0F) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.gs_c = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/set_gs' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/set_gs' */ break; case 2: - /* Outputs for IfAction SubSystem: '/set_hdot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_hdot' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ if ((SIL_B.params_i[1] > -10.0F) && (SIL_B.params_i[1] < 10.0F)) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.hdot_c = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/set_hdot' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/set_hdot' */ break; default: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/set_speed' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/set_speed' */ - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.params_i[2] > -0.9F) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.throttle_c = SIL_B.params_i[2]; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/change_speed' */ + /* End of Outputs for SubSystem: '/change_speed' */ break; case 180: - /* Outputs for IfAction SubSystem: '/set_parameter' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_parameter' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18273,20 +18782,20 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* SwitchCase: '/Switch Case' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Inport: '/In1' + /* SwitchCase: '/Switch Case' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Inport: '/In1' */ switch (rtb_Sum1_o < 0.0F ? (int32_T)(uint8_T)-(int8_T)(uint8_T) -rtb_Sum1_o : (int32_T)(uint8_T)rtb_Sum1_o) { case 1: - /* Outputs for IfAction SubSystem: '/AFCS_vert' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AFCS_vert' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18304,24 +18813,24 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 4.2949673E+9F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Merge_b.AFCS_VERT = (ENUM_AFCS_VERT)(rtb_Sum1_o < 0.0F ? -(int32_T)(uint32_T)-rtb_Sum1_o : (int32_T)(uint32_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/AFCS_vert' */ + /* End of Outputs for SubSystem: '/AFCS_vert' */ break; case 2: - /* Outputs for IfAction SubSystem: '/AS_SEL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AS_SEL' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18339,24 +18848,24 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 4.2949673E+9F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Merge_b.AS_SEL = (ENUM_AS_SEL)(rtb_Sum1_o < 0.0F ? -(int32_T) (uint32_T)-rtb_Sum1_o : (int32_T)(uint32_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/AS_SEL' */ + /* End of Outputs for SubSystem: '/AS_SEL' */ break; case 3: - /* Outputs for IfAction SubSystem: '/AT' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AT' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18374,48 +18883,48 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 4.2949673E+9F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Merge_b.AT = (ENUM_AT)(rtb_Sum1_o < 0.0F ? -(int32_T)(uint32_T) -rtb_Sum1_o : (int32_T)(uint32_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/AT' */ + /* End of Outputs for SubSystem: '/AT' */ break; case 4: - /* Outputs for IfAction SubSystem: '/alt' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/alt' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.h_c = SIL_B.params_i[1]; - /* End of Outputs for SubSystem: '/alt' */ + /* End of Outputs for SubSystem: '/alt' */ break; case 101: - /* Outputs for IfAction SubSystem: '/rec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/rec' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.enable_rec = (SIL_B.params_i[1] != 0.0F); - /* End of Outputs for SubSystem: '/rec' */ + /* End of Outputs for SubSystem: '/rec' */ break; case 102: - /* Outputs for IfAction SubSystem: '/BMU' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/BMU' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18433,21 +18942,21 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.p500w_enable = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) rtb_Sum1_o); - /* End of Outputs for SubSystem: '/BMU' */ + /* End of Outputs for SubSystem: '/BMU' */ break; case 103: - /* Outputs for IfAction SubSystem: '/ECU' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ECU' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18469,13 +18978,13 @@ void SIL_step(void) rtb_recovery_c = MAX_uint8_T; } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.ECU_CMD = rtb_recovery_c; - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[2]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18489,36 +18998,36 @@ void SIL_step(void) if (rtb_Sum1_o < 65536.0F) { if (rtb_Sum1_o >= 0.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ECU_RPM = (uint16_T)rtb_Sum1_o; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ECU_RPM = 0U; } } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ECU_RPM = MAX_uint16_T; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Chart: '/Chart' - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * Chart: '/Chart' + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.armed = ((rtb_recovery_c != 115) && rtb_Merge_k.armed); - /* End of Outputs for SubSystem: '/ECU' */ + /* End of Outputs for SubSystem: '/ECU' */ break; case 104: - /* Outputs for IfAction SubSystem: '/CCM' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/CCM' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18532,20 +19041,20 @@ void SIL_step(void) if (rtb_Sum1_o < 256.0F) { if (rtb_Sum1_o >= 0.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_ch = (uint8_T)rtb_Sum1_o; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_ch = 0U; } } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_ch = MAX_uint8_T; } - /* End of DataTypeConversion: '/Data Type Conversion1' */ + /* End of DataTypeConversion: '/Data Type Conversion1' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[2]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18559,20 +19068,20 @@ void SIL_step(void) if (rtb_Sum1_o < 256.0F) { if (rtb_Sum1_o >= 0.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_sw = (uint8_T)rtb_Sum1_o; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_sw = 0U; } } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_sw = MAX_uint8_T; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion2' */ + /* DataTypeConversion: '/Data Type Conversion2' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[3]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18586,33 +19095,33 @@ void SIL_step(void) if (rtb_Sum1_o < 65536.0F) { if (rtb_Sum1_o >= 0.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_period = (uint16_T)rtb_Sum1_o; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_period = 0U; } } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.ccm_period = MAX_uint16_T; } - /* End of DataTypeConversion: '/Data Type Conversion2' */ - /* End of Outputs for SubSystem: '/CCM' */ + /* End of DataTypeConversion: '/Data Type Conversion2' */ + /* End of Outputs for SubSystem: '/CCM' */ break; case 106: - /* Outputs for IfAction SubSystem: '/actuators' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/actuators' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ for (idx = 0; idx < 5; idx++) { rtb_Gain1_o0[idx] = SIL_B.params_i[idx + 1] * 0.0174532924F; } - /* End of Gain: '/Gain1' */ + /* End of Gain: '/Gain1' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.dar_c = rtb_Gain1_o0[0]; rtb_Merge_b.der_c = rtb_Gain1_o0[1]; @@ -18620,88 +19129,88 @@ void SIL_step(void) rtb_Merge_b.dal_c = rtb_Gain1_o0[3]; rtb_Merge_b.del_c = rtb_Gain1_o0[4]; - /* End of Outputs for SubSystem: '/actuators' */ + /* End of Outputs for SubSystem: '/actuators' */ break; case 107: - /* Outputs for IfAction SubSystem: '/recovery' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/recovery' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ if (SIL_B.params_i[1] == 107.0F) { - /* Outputs for IfAction SubSystem: '/force_recovery' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/force_recovery' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * S-Function (sfix_bitop): '/Bitwise OR' + /* BusAssignment: '/Bus Assignment' incorporates: + * S-Function (sfix_bitop): '/Bitwise OR' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.recovery = (uint8_T)(rtb_Merge_k.recovery | 3); - /* End of Outputs for SubSystem: '/force_recovery' */ + /* End of Outputs for SubSystem: '/force_recovery' */ } else { - /* Outputs for IfAction SubSystem: '/normal_recovery' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/normal_recovery' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * S-Function (sfix_bitop): '/Bitwise OR' + /* BusAssignment: '/Bus Assignment' incorporates: + * S-Function (sfix_bitop): '/Bitwise OR' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.recovery = (uint8_T)(rtb_Merge_k.recovery | 1); - /* End of Outputs for SubSystem: '/normal_recovery' */ + /* End of Outputs for SubSystem: '/normal_recovery' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/recovery' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/recovery' */ break; case 108: - /* Outputs for IfAction SubSystem: '/cut' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/cut' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Inport: '/In1' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Inport: '/In1' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ if ((SIL_B.params_i[1] == 108.0F) && (rtb_Merge_k.recovery == 31)) { - /* Outputs for IfAction SubSystem: '/recovery' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/recovery' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * S-Function (sfix_bitop): '/Bitwise OR' + /* BusAssignment: '/Bus Assignment' incorporates: + * S-Function (sfix_bitop): '/Bitwise OR' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.recovery = (uint8_T)(rtb_Merge_k.recovery | 32); - /* End of Outputs for SubSystem: '/recovery' */ + /* End of Outputs for SubSystem: '/recovery' */ } else { - /* Outputs for IfAction SubSystem: '/pass_through' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/pass_through' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/pass_through' */ + /* End of Outputs for SubSystem: '/pass_through' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/cut' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/cut' */ break; case 5: - /* Outputs for IfAction SubSystem: '/CSAS_YAW' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/CSAS_YAW' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18719,24 +19228,24 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 4.2949673E+9F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Merge_b.CSAS_yaw = (ENUM_CSAS_YAW)(rtb_Sum1_o < 0.0F ? -(int32_T) (uint32_T)-rtb_Sum1_o : (int32_T)(uint32_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/CSAS_YAW' */ + /* End of Outputs for SubSystem: '/CSAS_YAW' */ break; case 6: - /* Outputs for IfAction SubSystem: '/USE_ADRC' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/USE_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18754,49 +19263,49 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 4.2949673E+9F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' */ rtb_Merge_b.USE_ADRC = (uint8_T)(rtb_Sum1_o < 0.0F ? -(int32_T) (uint32_T)-rtb_Sum1_o : (int32_T)(uint32_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/USE_ADRC' */ + /* End of Outputs for SubSystem: '/USE_ADRC' */ break; default: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/set_parameter' */ + /* End of Outputs for SubSystem: '/set_parameter' */ break; case 20004: - /* Outputs for IfAction SubSystem: '/actuator_cmd' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/actuator_cmd' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' */ + /* If: '/If' */ if (!rtb_Merge_k.armed) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_Sum1_o = floorf(SIL_B.params_i[0]); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; @@ -18804,42 +19313,42 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.actuator_startup = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T)(uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T) (uint8_T)rtb_Sum1_o); - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_IfActionSubsystem1(&rtb_Merge_k, &rtb_Merge_b, &rtb_Merge1_hc); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/actuator_cmd' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/actuator_cmd' */ break; case 20005: - /* Outputs for IfAction SubSystem: '/sdas_cmd' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sdas_cmd' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * SignalConversion: '/TmpHiddenBufferAtBus AssignmentInport1' + /* BusAssignment: '/Bus Assignment' incorporates: + * SignalConversion: '/TmpHiddenBufferAtBus AssignmentInport1' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18857,14 +19366,14 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.SDAS_MOS[0] = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) rtb_Sum1_o); - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[1]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18882,14 +19391,14 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.SDAS_MOS[1] = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) rtb_Sum1_o); - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[2]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18907,14 +19416,14 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.SDAS_MOS[2] = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) rtb_Sum1_o); - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[3]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -18932,125 +19441,125 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_b.SDAS_MOS[3] = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) rtb_Sum1_o); - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/sdas_cmd' */ + /* End of Outputs for SubSystem: '/sdas_cmd' */ break; case 20006: - /* Outputs for IfAction SubSystem: '/trim_alpha' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/trim_alpha' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ if (rtb_Merge_k.level1_lgx == standby) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_table1D_thrAB_map = rtb_Merge_k.trim_aoa + SIL_B.BusAssignment_j.alpha; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * Sum: '/Sum' */ if (rtb_table1D_thrAB_map > 3.14159274F) { rtb_table1D_thrAB_map -= 6.28318548F; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ rtb_Sum1_o = rtb_Merge_k.trim_aos + SIL_B.BusAssignment_j.beta; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant' + * RelationalOperator: '/Compare' + * Sum: '/Sum' */ if (rtb_Sum1_o > 3.14159274F) { rtb_Sum1_o -= 6.28318548F; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ if (rtb_table1D_thrAB_map < -3.14159274F) { - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' - * Sum: '/Sum1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' + * Sum: '/Sum1' */ rtb_Merge_b.trim_aoa = 6.28318548F + rtb_table1D_thrAB_map; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.trim_aoa = rtb_table1D_thrAB_map; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/Compare' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/Compare' */ if (rtb_Sum1_o < -3.14159274F) { - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' - * Sum: '/Sum1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' + * Sum: '/Sum1' */ rtb_Merge_b.trim_aos = 6.28318548F + rtb_Sum1_o; } else { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b.trim_aos = rtb_Sum1_o; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ SIL_IfActionSubsystem1(&rtb_Merge_k, &rtb_Merge_b, &rtb_Merge1_hc); - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/trim_alpha' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/trim_alpha' */ break; case 20007: - /* Outputs for IfAction SubSystem: '/bit_mode' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/bit_mode' incorporates: + * ActionPort: '/Action Port' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -19068,12 +19577,12 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* MultiPortSwitch: '/Multiport Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * DataTypeConversion: '/Data Type Conversion' + /* MultiPortSwitch: '/Multiport Switch' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * DataTypeConversion: '/Data Type Conversion' */ switch (rtb_Sum1_o < 0.0F ? (int32_T)(uint8_T)-(int8_T)(uint8_T) -rtb_Sum1_o : (int32_T)(uint8_T)rtb_Sum1_o) { @@ -19094,28 +19603,28 @@ void SIL_step(void) break; } - /* End of MultiPortSwitch: '/Multiport Switch' */ + /* End of MultiPortSwitch: '/Multiport Switch' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.BIT_MODE = rtb_MultiportSwitch; - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/bit_mode' */ + /* End of Outputs for SubSystem: '/bit_mode' */ break; case 20008: - /* Outputs for IfAction SubSystem: '/act_sweep' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/act_sweep' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ rtb_table1D_thrAB_map = fabsf(SIL_B.params_i[0]); if (rtb_table1D_thrAB_map < 8.388608E+6F) { if (rtb_table1D_thrAB_map >= 0.5F) { @@ -19133,12 +19642,12 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 256.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' - * Gain: '/Gain' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Gain: '/Gain1' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Gain: '/Gain1' */ rtb_Merge_b.act_sw_chan = (uint8_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint8_T)-(int8_T)(uint8_T)-rtb_Sum1_o : (int32_T)(uint8_T) @@ -19148,96 +19657,96 @@ void SIL_step(void) rtb_Merge_b.act_sw_freq1 = 6.28318548F * SIL_B.params_i[3]; rtb_Merge_b.act_sw_k = 6.28318548F * SIL_B.params_i[4]; - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* End of Outputs for SubSystem: '/act_sweep' */ + /* End of Outputs for SubSystem: '/act_sweep' */ break; case 20009: - /* Outputs for IfAction SubSystem: '/set_fuel_est' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_fuel_est' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 0U; - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b = rtb_Merge_k; rtb_Merge_b.fuel_est = SIL_B.params_i[0]; - /* End of Outputs for SubSystem: '/set_fuel_est' */ + /* End of Outputs for SubSystem: '/set_fuel_est' */ break; default: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_ack_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge1_hc = 3U; rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Chart: '/proc_cmd' */ + /* Chart: '/proc_cmd' */ if (SIL_B.ack_ej) { SIL_DW.ack_msgData_o.id = SIL_B.id; SIL_DW.ack_msgData_o.rslt = rtb_Merge1_hc; SIL_sf_msg_send_ack(); } - /* End of Chart: '/proc_cmd' */ - /* End of Outputs for SubSystem: '/proc_params' */ + /* End of Chart: '/proc_cmd' */ + /* End of Outputs for SubSystem: '/proc_params' */ } else { - /* Outputs for IfAction SubSystem: '/no_cmd' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/no_cmd' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b = rtb_Merge_k; - /* End of Outputs for SubSystem: '/no_cmd' */ + /* End of Outputs for SubSystem: '/no_cmd' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If1' incorporates: - * Inport: '/In1' + /* If: '/If1' incorporates: + * Inport: '/In1' * UnitDelay: '/Unit Delay2' */ SIL_DW.If1_ActiveSubsystem_i = (int8_T)((!SIL_B.valid_l) || rtb_Merge_b.rc.connected || (!rtb_Merge_b.enable_rc)); switch (SIL_DW.If1_ActiveSubsystem_i) { case 0: - /* Outputs for IfAction SubSystem: '/valid' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/valid' incorporates: + * ActionPort: '/Action Port' */ SIL_valid(&rtb_Merge_b, SIL_DW.UnitDelay2_3_DSTATE, SIL_DW.UnitDelay2_1_DSTATE, &rtb_Merge1_b); - /* End of Outputs for SubSystem: '/valid' */ + /* End of Outputs for SubSystem: '/valid' */ break; case 1: - /* Outputs for IfAction SubSystem: '/invalid' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/invalid' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge1_b = rtb_Merge_b; - /* End of Outputs for SubSystem: '/invalid' */ + /* End of Outputs for SubSystem: '/invalid' */ break; } - /* End of If: '/If1' */ + /* End of If: '/If1' */ - /* Chart: '/TopLevelSwitch' */ + /* Chart: '/TopLevelSwitch' */ if (SIL_DW.is_active_c24_kb3_autopilot == 0U) { SIL_DW.is_active_c24_kb3_autopilot = 1U; SIL_DW.is_c24_kb3_autopilot = SIL_IN_standby; @@ -19306,20 +19815,20 @@ void SIL_step(void) } } - /* End of Chart: '/TopLevelSwitch' */ + /* End of Chart: '/TopLevelSwitch' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment = rtb_Merge1_b; SIL_B.BusAssignment.level1_lgx = rtb_level1_lgx; SIL_B.BusAssignment.xbit_cmd = rtb_xbit_cmd; SIL_B.BusAssignment.standby_cmd = rtb_not; - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_g; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_g; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' */ if (SIL_P.force_sysauto_level) { rtb_level1_lgx = operational; @@ -19327,9 +19836,9 @@ void SIL_step(void) rtb_level1_lgx = SIL_B.BusAssignment.level1_lgx; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_level1_lgx) { case xbit: SIL_DW.SwitchCase_ActiveSubsystem_g = 0; @@ -19344,51 +19853,51 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_g) && (s373_iter == 2)) + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_g) && (s302_iter == 2)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ if (SIL_DW.SwitchCase_ActiveSubsystem_gm == 2) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ if (SIL_DW.SwitchCase_ActiveSubsystem_ar == 2) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_gz = -1; } SIL_DW.SwitchCase_ActiveSubsystem_ar = -1; - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_h = -1; } SIL_DW.SwitchCase_ActiveSubsystem_gm = -1; - /* End of Disable for SwitchCase: '/Switch Case' */ + /* End of Disable for SwitchCase: '/Switch Case' */ } switch (SIL_DW.SwitchCase_ActiveSubsystem_g) { case 0: - /* Outputs for IfAction SubSystem: '/xbit' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/xbit' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (SIL_B.BusAssignment.BIT_MODE) { case ENUM_BIT_MODE_STAB: - /* Outputs for IfAction SubSystem: '/stab' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/stab' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant2' */ rtb_merged = SIL_B.BusAssignment; rtb_merged.mode = ENUM_mode_STABILIZED; @@ -19407,29 +19916,29 @@ void SIL_step(void) rtb_merged.throttle_c = SIL_B.BusAssignment.rc.throttle_cmd; rtb_merged.use_mix = true; - /* End of Outputs for SubSystem: '/stab' */ + /* End of Outputs for SubSystem: '/stab' */ break; case ENUM_BIT_MODE_MANUAL: - /* Outputs for IfAction SubSystem: '/manual' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/manual' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant2' - * Gain: '/gain' - * Gain: '/gain1' - * Gain: '/gain2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant2' + * Gain: '/gain' + * Gain: '/gain1' + * Gain: '/gain2' */ rtb_merged = SIL_B.BusAssignment; rtb_merged.mode = ENUM_mode_MANUAL; @@ -19449,15 +19958,15 @@ void SIL_step(void) rtb_merged.throttle_c = SIL_B.BusAssignment.rc.throttle_cmd; rtb_merged.use_mix = true; - /* End of Outputs for SubSystem: '/manual' */ + /* End of Outputs for SubSystem: '/manual' */ break; case ENUM_BIT_MODE_ACT_SWEEP: - /* Outputs for IfAction SubSystem: '/act_sweep' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/act_sweep' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/sweep_generator' incorporates: - * Constant: '/Constant4' + /* Chart: '/sweep_generator' incorporates: + * Constant: '/Constant4' */ if (SIL_DW.is_active_c26_kb3_autopilot == 0U) { SIL_DW.is_active_c26_kb3_autopilot = 1U; @@ -19494,65 +20003,65 @@ void SIL_step(void) } } - /* End of Chart: '/sweep_generator' */ + /* End of Chart: '/sweep_generator' */ - /* If: '/If' incorporates: - * Constant: '/Constant3' + /* If: '/If' incorporates: + * Constant: '/Constant3' */ if (SIL_P.act_sw_mode > 0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_pitch_at_inport_0' incorporates: - * Constant: '/Constant16' + /* SignalConversion: '/OutportBuffer_InsertedFor_pitch_at_inport_0' incorporates: + * Constant: '/Constant16' */ rtb_Merge_oi = ENUM_CSAS_PITCH_Q_CTRL; - /* SignalConversion: '/OutportBuffer_InsertedFor_roll_at_inport_0' incorporates: - * Constant: '/Constant17' + /* SignalConversion: '/OutportBuffer_InsertedFor_roll_at_inport_0' incorporates: + * Constant: '/Constant17' */ rtb_Merge1_j = ENUM_CSAS_ROLL_ROLLRATE_CTRL; - /* SignalConversion: '/OutportBuffer_InsertedFor_yaw_at_inport_0' incorporates: - * Constant: '/Constant18' + /* SignalConversion: '/OutportBuffer_InsertedFor_yaw_at_inport_0' incorporates: + * Constant: '/Constant18' */ rtb_Merge2_c = ENUM_CSAS_YAW_R_CTRL; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_pitch_at_inport_0' incorporates: - * Constant: '/Constant16' + /* SignalConversion: '/OutportBuffer_InsertedFor_pitch_at_inport_0' incorporates: + * Constant: '/Constant16' */ rtb_Merge_oi = ENUM_CSAS_PITCH_OFF; - /* SignalConversion: '/OutportBuffer_InsertedFor_roll_at_inport_0' incorporates: - * Constant: '/Constant17' + /* SignalConversion: '/OutportBuffer_InsertedFor_roll_at_inport_0' incorporates: + * Constant: '/Constant17' */ rtb_Merge1_j = ENUM_CSAS_ROLL_OFF; - /* SignalConversion: '/OutportBuffer_InsertedFor_yaw_at_inport_0' incorporates: - * Constant: '/Constant18' + /* SignalConversion: '/OutportBuffer_InsertedFor_yaw_at_inport_0' incorporates: + * Constant: '/Constant18' */ rtb_Merge2_c = ENUM_CSAS_YAW_OFF; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant19' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant19' + * Constant: '/Constant2' */ rtb_merged = SIL_B.BusAssignment; rtb_merged.mode = ENUM_mode_MANUAL; @@ -19572,26 +20081,26 @@ void SIL_step(void) rtb_merged.dr_stim = SIL_B.acts[2]; rtb_merged.act_sw_chan = SIL_B.chan_out; - /* End of Outputs for SubSystem: '/act_sweep' */ + /* End of Outputs for SubSystem: '/act_sweep' */ break; default: - /* Outputs for IfAction SubSystem: '/idle' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/idle' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' - * Constant: '/Constant1' - * Constant: '/Constant10' - * Constant: '/Constant12' - * Constant: '/Constant13' - * Constant: '/Constant14' - * Constant: '/Constant15' - * Constant: '/Constant16' - * Constant: '/Constant17' - * Constant: '/Constant18' - * Constant: '/Constant19' - * Constant: '/Constant2' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' + * Constant: '/Constant1' + * Constant: '/Constant10' + * Constant: '/Constant12' + * Constant: '/Constant13' + * Constant: '/Constant14' + * Constant: '/Constant15' + * Constant: '/Constant16' + * Constant: '/Constant17' + * Constant: '/Constant18' + * Constant: '/Constant19' + * Constant: '/Constant2' */ rtb_merged = SIL_B.BusAssignment; rtb_merged.mode = ENUM_mode_BIT; @@ -19607,21 +20116,21 @@ void SIL_step(void) rtb_merged.AFCS_VERT = ENUM_AFCS_VERT_OFF; rtb_merged.use_mix = false; - /* End of Outputs for SubSystem: '/idle' */ + /* End of Outputs for SubSystem: '/idle' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/xbit' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/xbit' */ break; case 1: - /* Outputs for IfAction SubSystem: '/standby' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/standby' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/standby_emergency' incorporates: - * Constant: '/Constant' - * S-Function (sfix_bitop): '/Bitwise AND1' + /* Chart: '/standby_emergency' incorporates: + * Constant: '/Constant' + * S-Function (sfix_bitop): '/Bitwise AND1' */ if (SIL_DW.temporalCounter_i1_h < 8191U) { SIL_DW.temporalCounter_i1_h++; @@ -19762,14 +20271,14 @@ void SIL_step(void) } } - /* End of Chart: '/standby_emergency' */ + /* End of Chart: '/standby_emergency' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' - * Constant: '/Constant4' - * Constant: '/Constant5' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' + * Constant: '/Constant4' + * Constant: '/Constant5' */ rtb_merged = SIL_B.BusAssignment; rtb_merged.mode = SIL_B.mode_j; @@ -19793,27 +20302,27 @@ void SIL_step(void) rtb_merged.AS_SEL = ENUM_AS_SEL_IAS; rtb_merged.as_c = SIL_P.emergency_ias; - /* End of Outputs for SubSystem: '/standby' */ + /* End of Outputs for SubSystem: '/standby' */ break; case 2: - /* Outputs for IfAction SubSystem: '/operational' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/operational' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Chart: '/Chart' - * Constant: '/Constant BP' + /* BusAssignment: '/Bus Assignment' incorporates: + * Chart: '/Chart' + * Constant: '/Constant BP' */ rtb_BusAssignment_g = SIL_B.BusAssignment; rtb_BusAssignment_g.level2_lgx = AUTO; rtb_BusAssignment_g.use_mix = true; - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_gm; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_gm; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' */ if (SIL_P.force_sysauto_level) { tmp_3 = AUTO; @@ -19821,9 +20330,9 @@ void SIL_step(void) tmp_3 = rtb_BusAssignment_g.level2_lgx; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (tmp_3) { case MANUAL: SIL_DW.SwitchCase_ActiveSubsystem_gm = 0; @@ -19838,55 +20347,55 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_gm) && (s373_iter == + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_gm) && (s302_iter == 2)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ if (SIL_DW.SwitchCase_ActiveSubsystem_ar == 2) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_gz = -1; } SIL_DW.SwitchCase_ActiveSubsystem_ar = -1; - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_h = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_gm) { case 0: - /* Outputs for IfAction SubSystem: '/manual' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/manual' incorporates: + * ActionPort: '/Action Port' */ SIL_manual(&rtb_BusAssignment_g, &rtb_merged); - /* End of Outputs for SubSystem: '/manual' */ + /* End of Outputs for SubSystem: '/manual' */ break; case 1: - /* Outputs for IfAction SubSystem: '/semi auto' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/semi auto' incorporates: + * ActionPort: '/Action Port' */ SIL_manual(&rtb_BusAssignment_g, &rtb_merged); - /* End of Outputs for SubSystem: '/semi auto' */ + /* End of Outputs for SubSystem: '/semi auto' */ break; case 2: - /* Outputs for IfAction SubSystem: '/auto' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/auto' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Chart: '/Chart' + /* BusAssignment: '/Bus Assignment' incorporates: + * Chart: '/Chart' */ SIL_B.BusAssignment_e = rtb_BusAssignment_g; SIL_B.BusAssignment_e.level3_auto_lgx = ENUM_auto_level3_mission; - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_ar; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_ar; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant2' */ if (SIL_P.force_sysauto_level) { tmp_4 = ENUM_auto_level3_mission; @@ -19894,10 +20403,10 @@ void SIL_step(void) tmp_4 = SIL_B.BusAssignment_e.level3_auto_lgx; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/C2_in_Inport_1' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/C2_in_Inport_1' */ switch (tmp_4) { case ENUM_auto_level3_loiter: @@ -19913,60 +20422,60 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_ar) && (s373_iter == + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_ar) && (s302_iter == 2)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_gz = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_ar) { case 0: - /* Outputs for IfAction SubSystem: '/hold' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/hold' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b1 = SIL_B.BusAssignment_e; - /* End of Outputs for SubSystem: '/hold' */ + /* End of Outputs for SubSystem: '/hold' */ break; case 1: - /* Outputs for IfAction SubSystem: '/RTB' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/RTB' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b1 = SIL_B.BusAssignment_e; - /* End of Outputs for SubSystem: '/RTB' */ + /* End of Outputs for SubSystem: '/RTB' */ break; case 2: - if (SIL_DW.SwitchCase_ActiveSubsystem_ar != s373_iter) { - /* SystemReset for IfAction SubSystem: '/mission' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_ar != s302_iter) { + /* SystemReset for IfAction SubSystem: '/mission' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Chart: '/mission_proc' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Chart: '/mission_proc' */ SIL_DW.is_active_c48_mission_proc = 0U; SIL_DW.is_c48_mission_proc = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.last_WP = 1U; SIL_B.mission_mode = 0U; - /* End of SystemReset for SubSystem: '/mission' */ + /* End of SystemReset for SubSystem: '/mission' */ } - /* Outputs for IfAction SubSystem: '/mission' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/mission_proc' */ + /* Chart: '/mission_proc' */ if (SIL_DW.is_active_c48_mission_proc == 0U) { SIL_DW.is_active_c48_mission_proc = 1U; SIL_B.cur_np = SIL_B.BusAssignment_e.WP_cur; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ while (SIL_B.is_mission) { rtb_out_n5 = SIL_B.cur_np + 1U; if (rtb_out_n5 > 65535U) { @@ -19975,21 +20484,21 @@ void SIL_step(void) SIL_B.cur_np = (uint16_T)rtb_out_n5; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ } SIL_B.mission_mode = 0U; SIL_B.ac = SIL_B.DataTypeConversion_b; - /* Outputs for Function Call SubSystem: '/valid_test' */ + /* Outputs for Function Call SubSystem: '/valid_test' */ SIL_valid_test(&SIL_B.BusAssignment_e, SIL_B.command_j, &SIL_B.Merge_p); - /* End of Outputs for SubSystem: '/valid_test' */ + /* End of Outputs for SubSystem: '/valid_test' */ if (SIL_B.Merge_p) { SIL_B.last_WP = SIL_B.cur_np; SIL_DW.is_c48_mission_proc = SIL_IN_Idle_ht; @@ -20011,11 +20520,11 @@ void SIL_step(void) SIL_B.cur_np = (uint16_T)rtb_out_n5; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ while (SIL_B.is_mission) { SIL_DW.cmd_msgData.id = SIL_B.command_j; for (idx = 0; idx < 7; idx++) { @@ -20030,11 +20539,11 @@ void SIL_step(void) SIL_B.cur_np = (uint16_T)rtb_out_n5; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ } SIL_DW.is_c48_mission_proc = SIL_IN_wait; @@ -20042,11 +20551,11 @@ void SIL_step(void) if (SIL_B.BusAssignment_e.WP_cur != SIL_B.last_WP) { SIL_B.cur_np = SIL_B.BusAssignment_e.WP_cur; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ while (SIL_B.is_mission) { rtb_out_n5 = SIL_B.cur_np + 1U; if (rtb_out_n5 > 65535U) { @@ -20055,21 +20564,21 @@ void SIL_step(void) SIL_B.cur_np = (uint16_T)rtb_out_n5; - /* Outputs for Function Call SubSystem: '/get_WP' */ + /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, SIL_B.params, &SIL_B.DataTypeConversion_b); - /* End of Outputs for SubSystem: '/get_WP' */ + /* End of Outputs for SubSystem: '/get_WP' */ } SIL_B.mission_mode = 0U; SIL_B.ac = SIL_B.DataTypeConversion_b; - /* Outputs for Function Call SubSystem: '/valid_test' */ + /* Outputs for Function Call SubSystem: '/valid_test' */ SIL_valid_test(&SIL_B.BusAssignment_e, SIL_B.command_j, &SIL_B.Merge_p); - /* End of Outputs for SubSystem: '/valid_test' */ + /* End of Outputs for SubSystem: '/valid_test' */ if (SIL_B.Merge_p) { SIL_B.last_WP = SIL_B.cur_np; SIL_DW.is_c48_mission_proc = SIL_IN_Idle_ht; @@ -20079,10 +20588,10 @@ void SIL_step(void) } } - /* End of Chart: '/mission_proc' */ + /* End of Chart: '/mission_proc' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ SIL_B.BusAssignment_g = SIL_B.BusAssignment_e; SIL_B.BusAssignment_g.WP_cur = SIL_B.last_WP; @@ -20090,10 +20599,10 @@ void SIL_step(void) SIL_B.mission_mode; SIL_B.BusAssignment_g.autocont = SIL_B.ac; - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/C2_in' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/C2_in' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_gz; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_gz; switch (SIL_B.BusAssignment_g.level4_lgx) { case ENUM_mission_level4_TAKEOFF: SIL_DW.SwitchCase_ActiveSubsystem_gz = 0; @@ -20114,28 +20623,28 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_gz) { case 0: - if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s373_iter) { - /* SystemReset for IfAction SubSystem: '/takeoff' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s302_iter) { + /* SystemReset for IfAction SubSystem: '/takeoff' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Chart: '/takeoff_task' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Chart: '/takeoff_task' */ SIL_DW.temporalCounter_i1_j = 0U; SIL_DW.is_active_c28_kb3_autopilot = 0U; SIL_DW.is_c28_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemReset for SubSystem: '/takeoff' */ + /* End of SystemReset for SubSystem: '/takeoff' */ } - /* Outputs for IfAction SubSystem: '/takeoff' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/takeoff' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/takeoff_task' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant3' + /* Chart: '/takeoff_task' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant3' */ if (SIL_DW.temporalCounter_i1_j < MAX_uint32_T) { SIL_DW.temporalCounter_i1_j++; @@ -20234,10 +20743,10 @@ void SIL_step(void) } } - /* End of Chart: '/takeoff_task' */ + /* End of Chart: '/takeoff_task' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' */ rtb_Merge_b1 = SIL_B.BusAssignment_g; rtb_Merge_b1.mode = SIL_B.mode_k; @@ -20257,28 +20766,28 @@ void SIL_step(void) rtb_Merge_b1.max_q = SIL_B.max_q_out; rtb_Merge_b1.as_c = SIL_P.ias_takeoff; - /* End of Outputs for SubSystem: '/takeoff' */ + /* End of Outputs for SubSystem: '/takeoff' */ break; case 1: - if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s373_iter) { - /* SystemReset for IfAction SubSystem: '/landing' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s302_iter) { + /* SystemReset for IfAction SubSystem: '/landing' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Chart: '/landing_task' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Chart: '/landing_task' */ SIL_DW.temporalCounter_i1_ei = 0U; SIL_DW.is_active_c25_kb3_autopilot = 0U; SIL_DW.is_c25_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemReset for SubSystem: '/landing' */ + /* End of SystemReset for SubSystem: '/landing' */ } - /* Outputs for IfAction SubSystem: '/landing' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/landing' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/landing_task' */ + /* Chart: '/landing_task' */ if (SIL_DW.temporalCounter_i1_ei < 255U) { SIL_DW.temporalCounter_i1_ei++; } @@ -20302,35 +20811,35 @@ void SIL_step(void) rtb_recovery_c = SIL_B.BusAssignment_g.recovery; } - /* End of Chart: '/landing_task' */ + /* End of Chart: '/landing_task' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b1 = SIL_B.BusAssignment_g; rtb_Merge_b1.WP_cur = SIL_B.WP_out_k; rtb_Merge_b1.recovery = rtb_recovery_c; - /* End of Outputs for SubSystem: '/landing' */ + /* End of Outputs for SubSystem: '/landing' */ break; case 2: - if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s373_iter) { - /* SystemReset for IfAction SubSystem: '/waypoint' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_gz != s302_iter) { + /* SystemReset for IfAction SubSystem: '/waypoint' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Chart: '/Chart' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Chart: '/Chart' */ SIL_DW.temporalCounter_i1_oc = 0U; SIL_DW.is_active_c29_kb3_autopilot = 0U; SIL_DW.is_c29_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemReset for SubSystem: '/waypoint' */ + /* End of SystemReset for SubSystem: '/waypoint' */ } - /* Outputs for IfAction SubSystem: '/waypoint' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/waypoint' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_oc < 255U) { SIL_DW.temporalCounter_i1_oc++; } @@ -20375,9 +20884,9 @@ void SIL_step(void) } } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_b1 = SIL_B.BusAssignment_g; rtb_Merge_b1.mode = SIL_B.mode; rtb_Merge_b1.AFCS_LAT = SIL_B.AFCS_LNAV; @@ -20385,63 +20894,63 @@ void SIL_step(void) rtb_Merge_b1.WP_cur = SIL_B.WP_out; rtb_Merge_b1.AT = SIL_B.AT_out; - /* End of Outputs for SubSystem: '/waypoint' */ + /* End of Outputs for SubSystem: '/waypoint' */ break; case 3: - /* Outputs for IfAction SubSystem: '/idle' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/idle' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_b1 = SIL_B.BusAssignment_g; - /* End of Outputs for SubSystem: '/idle' */ + /* End of Outputs for SubSystem: '/idle' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/mission' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/mission' */ break; } - /* Logic: '/not1' */ + /* Logic: '/not1' */ rtb_GreaterThan = !rtb_Merge_b1.linked; - /* If: '/If' */ - s373_iter = SIL_DW.If_ActiveSubsystem_h; + /* If: '/If' */ + s302_iter = SIL_DW.If_ActiveSubsystem_h; - /* Abs: '/abs' incorporates: - * Abs: '/abs2' + /* Abs: '/abs' incorporates: + * Abs: '/abs2' */ rtb_Sum1_o = fabsf(SIL_B.BusAssignment_j.phi); - /* If: '/If' incorporates: - * Abs: '/abs' - * Abs: '/abs1' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Inport: '/In1' - * Logic: '/AND' - * Logic: '/AND1' - * Logic: '/AND2' - * Logic: '/AND3' - * Logic: '/not' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * S-Function (sfix_bitop): '/Bitwise AND' + /* If: '/If' incorporates: + * Abs: '/abs' + * Abs: '/abs1' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Inport: '/In1' + * Logic: '/AND' + * Logic: '/AND1' + * Logic: '/AND2' + * Logic: '/AND3' + * Logic: '/not' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * S-Function (sfix_bitop): '/Bitwise AND' */ if (((rtb_Merge_b1.landed_state == ENUM_LANDED_STATE_IN_AIR) && (rtb_Sum1_o > 2.09439516F) && rtb_GreaterThan) || @@ -20462,102 +20971,102 @@ void SIL_step(void) switch (SIL_DW.If_ActiveSubsystem_h) { case 0: - if (SIL_DW.If_ActiveSubsystem_h != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_h != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * UnitDelay: '/Unit Delay' + /* InitializeConditions for If: '/If' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_g = 0.0; - /* End of InitializeConditions for SubSystem: '/If Action Subsystem2' */ + /* End of InitializeConditions for SubSystem: '/If Action Subsystem2' */ } - /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem2' incorporates: + * ActionPort: '/Action Port' */ - /* UnitDelay: '/Unit Delay' */ - rtb_add_ne = SIL_DW.UnitDelay_DSTATE_g; + /* UnitDelay: '/Unit Delay' */ + rtb_add_pb = SIL_DW.UnitDelay_DSTATE_g; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_g++; - /* If: '/If' incorporates: - * Inport: '/In1' + /* If: '/If' incorporates: + * Inport: '/In1' */ - if (rtb_add_ne == 10.0) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + if (rtb_add_pb == 10.0) { + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' */ rtb_merged = rtb_Merge_b1; rtb_merged.recovery = 1U; - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_merged = rtb_Merge_b1; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Action Subsystem2' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Action Subsystem2' */ break; case 1: - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant BP' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant BP' */ rtb_merged = rtb_Merge_b1; rtb_merged.throttle_c = 1.1F; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ break; case 2: - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ rtb_merged = rtb_Merge_b1; - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ break; } - /* End of Outputs for SubSystem: '/auto' */ + /* End of Outputs for SubSystem: '/auto' */ break; } - /* End of Outputs for SubSystem: '/operational' */ + /* End of Outputs for SubSystem: '/operational' */ break; } - /* If: '/If' incorporates: - * Inport: '/C2_In' + /* If: '/If' incorporates: + * Inport: '/C2_In' */ - s373_iter = SIL_DW.If_ActiveSubsystem_bj; + s302_iter = SIL_DW.If_ActiveSubsystem_bj; SIL_DW.If_ActiveSubsystem_bj = (int8_T)(rtb_merged.recovery == 0); switch (SIL_DW.If_ActiveSubsystem_bj) { case 0: - if (SIL_DW.If_ActiveSubsystem_bj != s373_iter) { - /* SystemReset for IfAction SubSystem: '/recovery' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_bj != s302_iter) { + /* SystemReset for IfAction SubSystem: '/recovery' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for If: '/If' incorporates: - * Chart: '/landing_task' - * Chart: '/Chart' + /* SystemReset for If: '/If' incorporates: + * Chart: '/landing_task' + * Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ov = 0U; SIL_DW.is_active_c21_kb3_autopilot = 0U; @@ -20571,27 +21080,27 @@ void SIL_step(void) SIL_DW.is_active_c22_kb3_autopilot = 0U; SIL_DW.is_c22_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemReset for SubSystem: '/recovery' */ + /* End of SystemReset for SubSystem: '/recovery' */ } - /* Outputs for IfAction SubSystem: '/recovery' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/recovery' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/gain' incorporates: - * Math: '/square' - * Math: '/square1' - * Math: '/square2' - * Sqrt: '/sqrt' - * Sum: '/add' + /* Gain: '/gain' incorporates: + * Math: '/square' + * Math: '/square1' + * Math: '/square2' + * Sqrt: '/sqrt' + * Sum: '/add' */ rtb_table1D_thrAB_map = sqrtf((SIL_B.BusAssignment_j.ax * SIL_B.BusAssignment_j.ax + SIL_B.BusAssignment_j.ay * SIL_B.BusAssignment_j.ay) + SIL_B.BusAssignment_j.az * SIL_B.BusAssignment_j.az) * 0.10204082F; - /* Chart: '/landing_task' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Chart: '/landing_task' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' */ if (SIL_DW.temporalCounter_i1_ov < 1023U) { SIL_DW.temporalCounter_i1_ov++; @@ -20718,7 +21227,7 @@ void SIL_step(void) rtb_ECU_RPM_out = rtb_merged.ECU_RPM; SIL_B.max_de_out = 0.0873F; SIL_B.min_de_out = -0.1745F; - SIL_B.max_da_out = 0.0873F; + SIL_B.max_da_out = SIL_P.recovery_max_da; SIL_B.max_dr_out = 0.01F; } else { rtb_recovery_c = rtb_merged.recovery; @@ -20750,9 +21259,9 @@ void SIL_step(void) } } - /* End of Chart: '/landing_task' */ + /* End of Chart: '/landing_task' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_i = rtb_merged; SIL_B.BusAssignment_i.mode = SIL_B.mode_c; SIL_B.BusAssignment_i.AFCS_LAT = SIL_B.AFCS_LNAV_h; @@ -20775,11 +21284,11 @@ void SIL_step(void) SIL_B.BusAssignment_i.max_dr = SIL_B.max_dr_out; SIL_B.BusAssignment_i.ECU_RPM = rtb_ECU_RPM_out; - /* S-Function (sfix_bitop): '/Bitwise AND' */ + /* S-Function (sfix_bitop): '/Bitwise AND' */ SIL_B.BitwiseAND = SIL_B.BusAssignment_j.sensors_enabled & 64U; - /* Chart: '/Chart' incorporates: - * Constant: '/Constant' + /* Chart: '/Chart' incorporates: + * Constant: '/Constant' */ if (SIL_DW.temporalCounter_i1_dm < 4095U) { SIL_DW.temporalCounter_i1_dm++; @@ -20799,38 +21308,11 @@ void SIL_step(void) } else { switch (SIL_DW.is_c22_kb3_autopilot) { case SIL_IN_Idle_ht: - if ((SIL_B.BusAssignment_i.recovery & 2U) != 0U) { - SIL_DW.is_c22_kb3_autopilot = SIL_IN_parachute; - SIL_DW.temporalCounter_i2 = 0U; - SIL_B.recovery_out = 3U; - SIL_DW.is_parachute = SIL_IN_one; - SIL_DW.temporalCounter_i1_dm = 0U; - SIL_B.ch_out = 3U; - SIL_B.peroid_out = 50U; - SIL_B.sw_out = 1U; - } else { - SIL_B.recovery_out = SIL_B.BusAssignment_i.recovery; - SIL_B.ch_out = SIL_B.BusAssignment_i.ccm_ch; - SIL_B.peroid_out = SIL_B.BusAssignment_i.ccm_period; - SIL_B.sw_out = SIL_B.BusAssignment_i.ccm_sw; - } + SIL_Idle(); break; case SIL_IN_Idle1: - if ((SIL_B.BusAssignment_i.recovery & 32U) != 0U) { - SIL_DW.is_c22_kb3_autopilot = SIL_IN_cut; - SIL_B.recovery_out = 63U; - SIL_DW.is_cut = SIL_IN_one; - SIL_DW.temporalCounter_i1_dm = 0U; - SIL_B.ch_out = 4U; - SIL_B.peroid_out = 50U; - SIL_B.sw_out = 1U; - } else { - SIL_B.recovery_out = SIL_B.BusAssignment_i.recovery; - SIL_B.ch_out = SIL_B.BusAssignment_i.ccm_ch; - SIL_B.peroid_out = SIL_B.BusAssignment_i.ccm_period; - SIL_B.sw_out = SIL_B.BusAssignment_i.ccm_sw; - } + SIL_Idle1(); break; case SIL_IN_Idle2: @@ -21091,38 +21573,38 @@ void SIL_step(void) } } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_n = SIL_B.BusAssignment_i; rtb_Merge_n.recovery = SIL_B.recovery_out; rtb_Merge_n.ccm_ch = SIL_B.ch_out; rtb_Merge_n.ccm_period = SIL_B.peroid_out; rtb_Merge_n.ccm_sw = SIL_B.sw_out; - /* End of Outputs for SubSystem: '/recovery' */ + /* End of Outputs for SubSystem: '/recovery' */ break; case 1: - /* Outputs for IfAction SubSystem: '/pass_through' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/pass_through' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_n = rtb_merged; - /* End of Outputs for SubSystem: '/pass_through' */ + /* End of Outputs for SubSystem: '/pass_through' */ break; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_Merge_n.use_mission_traj) { - /* Outputs for IfAction SubSystem: '/update_mission_traj' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/update_mission_traj' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/mav' */ + /* MATLAB Function: '/mav' */ rtb_recovery_c = 0U; - rtb_add_ne = 0.0; + rtb_add_pb = 0.0; rtb_Sum = 0.0; rtb_table1D_thrAB_map = 0.0F; rtb_Sum1_o = 0.0F; @@ -21140,7 +21622,7 @@ void SIL_step(void) } if ((cur_np <= dummyMissionCount) && (cur_np > 0)) { - rtb_add_ne = (real_T)dummyMission[cur_np - 1].latlon[0] * 1.0E-7; + rtb_add_pb = (real_T)dummyMission[cur_np - 1].latlon[0] * 1.0E-7; rtb_Sum = (real_T)dummyMission[cur_np - 1].latlon[1] * 1.0E-7; rtb_table1D_thrAB_map = dummyMission[cur_np - 1].params[4]; idx = MAV_MAV_FRAME_GLOBAL_RELATIVE_ALT; @@ -21176,7 +21658,7 @@ void SIL_step(void) } } - rtb_sincos_o2_f_idx_0 = cos(rtb_add_ne * 3.1415926535897931 / 180.0); + rtb_sincos_o2_f_idx_0 = cos(rtb_add_pb * 3.1415926535897931 / 180.0); rtb_Merge_oq = 111699.749 - 1132.978 * rtb_sincos_o2_f_idx_0; rtb_sincos_o2_f_idx_0 *= 111321.543; rtb_ECU_RPM_out = (uint16_T)(cur_np - 1); @@ -21206,7 +21688,7 @@ void SIL_step(void) dy = (real32_T)((rtb_Sum - (real_T)dummyMission[rtb_ECU_RPM_out - 1].latlon[1] * 1.0E-7) * rtb_sincos_o2_f_idx_0); - heading = (real32_T)((rtb_add_ne - (real_T) + heading = (real32_T)((rtb_add_pb - (real_T) dummyMission[rtb_ECU_RPM_out - 1].latlon[0] * 1.0E-7) * rtb_Merge_oq); dist = sqrtf(dy * dy + heading * heading); @@ -21237,7 +21719,7 @@ void SIL_step(void) dy = (real32_T)(((real_T)dummyMission[cur_np - 1].latlon[1] * 1.0E-7 - rtb_Sum) * rtb_sincos_o2_f_idx_0); heading = (real32_T)(((real_T)dummyMission[cur_np - 1].latlon[0] * - 1.0E-7 - rtb_add_ne) * rtb_Merge_oq); + 1.0E-7 - rtb_add_pb) * rtb_Merge_oq); dist2 = sqrtf(dy * dy + heading * heading); heading = rt_atan2f_snf(dy, heading); elevation_baseline2 = rt_atan2f_snf(elevation_baseline2 - @@ -21280,10 +21762,10 @@ void SIL_step(void) } } - /* BusAssignment: '/Bus Assignment' incorporates: - * MATLAB Function: '/mav' + /* BusAssignment: '/Bus Assignment' incorporates: + * MATLAB Function: '/mav' */ - rtb_Merge_n.traj.lat1 = rtb_add_ne; + rtb_Merge_n.traj.lat1 = rtb_add_pb; rtb_Merge_n.traj.lon1 = rtb_Sum; rtb_Merge_n.traj.h1 = rtb_table1D_thrAB_map; rtb_Merge_n.traj.azimuth = rtb_Sum1_o; @@ -21296,91 +21778,91 @@ void SIL_step(void) rtb_Merge_n.traj.ve_c = 0.0F; rtb_Merge_n.traj.hdot_c = 0.0F; - /* End of Outputs for SubSystem: '/update_mission_traj' */ + /* End of Outputs for SubSystem: '/update_mission_traj' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Outputs for Atomic SubSystem: '/update_nav_info' */ - /* Outputs for IfAction SubSystem: '/case_circle' incorporates: - * ActionPort: '/Action Port' + /* Outputs for Atomic SubSystem: '/update_nav_info' */ + /* Outputs for IfAction SubSystem: '/case_circle' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * MATLAB Function: '/nav_circle' - * Math: '/Math Function' - * Math: '/Math Function1' - * Sum: '/Sum' + /* SwitchCase: '/Switch Case' incorporates: + * MATLAB Function: '/nav_circle' + * Math: '/Math Function' + * Math: '/Math Function1' + * Sum: '/Sum' */ rtb_Sum1_o = SIL_B.BusAssignment_j.v_n * SIL_B.BusAssignment_j.v_n + SIL_B.BusAssignment_j.v_e * SIL_B.BusAssignment_j.v_e; - /* End of Outputs for SubSystem: '/case_circle' */ + /* End of Outputs for SubSystem: '/case_circle' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_table1D_thrAB_map = rtb_Sum1_o; - /* Saturate: '/Saturation' incorporates: - * Sum: '/Sum' + /* Saturate: '/Saturation' incorporates: + * Sum: '/Sum' */ if (rtb_Sum1_o <= 0.001F) { rtb_table1D_thrAB_map = 0.001F; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* BusCreator: '/Bus Creator' incorporates: - * Gain: '/Gain' - * Math: '/Math Function2' - * Sqrt: '/Sqrt' - * Sum: '/Sum1' + /* BusCreator: '/Bus Creator' incorporates: + * Gain: '/Gain' + * Math: '/Math Function2' + * Sqrt: '/Sqrt' + * Sum: '/Sum1' * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.v_gv = sqrtf(-SIL_B.BusAssignment_j.v_d * -SIL_B.BusAssignment_j.v_d + rtb_table1D_thrAB_map); - /* If: '/If' incorporates: - * Constant: '/Constant' - * RelationalOperator: '/GreaterThan' + /* If: '/If' incorporates: + * Constant: '/Constant' + * RelationalOperator: '/GreaterThan' */ if (SIL_B.BusAssignment_j.gps_fixtype >= ENUM_GPS_FIXTYPE_FIX_3D) { - /* Outputs for IfAction SubSystem: '/use_gps_alt' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/use_gps_alt' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBufferForASL' */ + /* SignalConversion: '/OutportBufferForASL' */ radius = SIL_B.BusAssignment_j.msl; - /* BusCreator: '/Bus Creator' incorporates: - * SignalConversion: '/sens_BusSelector' - * Sum: '/Sum' + /* BusCreator: '/Bus Creator' incorporates: + * SignalConversion: '/sens_BusSelector' + * Sum: '/Sum' * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.rel_alt = SIL_B.BusAssignment_j.msl - rtb_Merge_n.base_asl; - /* End of Outputs for SubSystem: '/use_gps_alt' */ + /* End of Outputs for SubSystem: '/use_gps_alt' */ } else { - /* Outputs for IfAction SubSystem: '/use_baro_alt' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/use_baro_alt' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ radius = SIL_B.BusAssignment_j.asl_baro - rtb_Merge_n.base_asl_baro; - /* BusCreator: '/Bus Creator' incorporates: - * SignalConversion: '/OutportBufferForAGL' + /* BusCreator: '/Bus Creator' incorporates: + * SignalConversion: '/OutportBufferForAGL' * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.rel_alt = radius; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ radius += rtb_Merge_n.base_asl; - /* End of Outputs for SubSystem: '/use_baro_alt' */ + /* End of Outputs for SubSystem: '/use_baro_alt' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_l; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_l; switch (rtb_Merge_n.traj.mode) { case 2: SIL_DW.SwitchCase_ActiveSubsystem_l = 0; @@ -21397,15 +21879,15 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_l) { case 0: - /* Outputs for IfAction SubSystem: '/case_circle' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/case_circle' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/nav_circle' */ - rtb_add_ne = cos(SIL_B.BusAssignment_j.lat * 3.1415926535897931 / 180.0); - dist2 = (real32_T)((111699.749 - 1132.978 * rtb_add_ne) * + /* MATLAB Function: '/nav_circle' */ + rtb_add_pb = cos(SIL_B.BusAssignment_j.lat * 3.1415926535897931 / 180.0); + dist2 = (real32_T)((111699.749 - 1132.978 * rtb_add_pb) * (rtb_Merge_n.traj.lat1 - SIL_B.BusAssignment_j.lat)); heading = (real32_T)((rtb_Merge_n.traj.lon1 - SIL_B.BusAssignment_j.lon) - * (111321.543 * rtb_add_ne)); + * (111321.543 * rtb_add_pb)); SIL_B.vert_offset = rtb_Merge_n.traj.h1 - radius; if (rtb_Merge_n.traj.radius > 1.0F) { rtb_GreaterThan = true; @@ -21428,14 +21910,14 @@ void SIL_step(void) if (rtb_GreaterThan) { SIL_B.bearing_base = SIL_B.bearing - 1.57079637F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.omega_des = sqrtf(SIL_B.BusAssignment_j.v_n * SIL_B.BusAssignment_j.v_n + SIL_B.BusAssignment_j.v_e * SIL_B.BusAssignment_j.v_e) / dy; } else { SIL_B.bearing_base = SIL_B.bearing + 1.57079637F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.omega_des = -sqrtf(rtb_Sum1_o) / dy; } @@ -21466,63 +21948,63 @@ void SIL_step(void) SIL_B.horiz_offset = -SIL_B.horiz_offset; } - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_circle' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_circle' */ SIL_B.rdot = SIL_B.BusAssignment_j.v_n * cosf(SIL_B.bearing_base) + SIL_B.BusAssignment_j.v_e * sinf(SIL_B.bearing_base); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_circle' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_circle' */ SIL_B.elevation_base = 0.0F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_circle' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_circle' */ SIL_B.dist_offset = dy * rtb_Sum1_o; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_circle' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_circle' */ SIL_B.elevation = rt_atan2f_snf(SIL_B.vert_offset, SIL_B.dist); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_circle' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_circle' */ SIL_B.ht_diff = SIL_B.vert_offset; - /* End of Outputs for SubSystem: '/case_circle' */ + /* End of Outputs for SubSystem: '/case_circle' */ break; case 1: - if (SIL_DW.SwitchCase_ActiveSubsystem_l != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/case_corner' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_l != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/case_corner' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * UnitDelay: '/Unit Delay' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_h = 0U; - /* End of InitializeConditions for SubSystem: '/case_corner' */ + /* End of InitializeConditions for SubSystem: '/case_corner' */ - /* SystemReset for IfAction SubSystem: '/case_corner' incorporates: - * ActionPort: '/Action Port' + /* SystemReset for IfAction SubSystem: '/case_corner' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * MATLAB Function: '/nav_corner' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * MATLAB Function: '/nav_corner' */ SIL_DW.stage_not_empty = false; - /* End of SystemReset for SubSystem: '/case_corner' */ + /* End of SystemReset for SubSystem: '/case_corner' */ } - /* Outputs for IfAction SubSystem: '/case_corner' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/case_corner' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/nav_corner' incorporates: - * UnitDelay: '/Unit Delay' + /* MATLAB Function: '/nav_corner' incorporates: + * UnitDelay: '/Unit Delay' */ rtb_sincos_o2_f_idx_0 = cos(SIL_B.BusAssignment_j.lat * 3.1415926535897931 / 180.0); @@ -21588,29 +22070,29 @@ void SIL_step(void) SIL_B.elevation_base = atanf(heading); SIL_B.dist = sqrtf(dist * dist + elevation_baseline * elevation_baseline); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_corner' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_corner' */ SIL_B.omega_des = 0.0F; - /* MATLAB Function: '/nav_corner' */ + /* MATLAB Function: '/nav_corner' */ switch (SIL_DW.stage) { case 0: - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.horiz_offset = lat_s * elevation_baseline2 - lon_s * dist2; SIL_B.dist_offset = lat_s * dist2 + lon_s * elevation_baseline2; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.rdot = dist2 * SIL_B.BusAssignment_j.v_n + elevation_baseline2 * SIL_B.BusAssignment_j.v_e; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.vert_offset = (h_s - SIL_B.dist_offset * tan_angle) * cosf (rtb_Merge_n.traj.elevation_baseline); SIL_B.dist_offset += tan_elv3_tmp; SIL_B.bearing_base = rtb_Merge_n.traj.azimuth; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.elevation_base = rtb_Merge_n.traj.elevation_baseline; if (dist * dist2 + elevation_baseline * elevation_baseline2 < dy) { SIL_DW.stage = 1U; @@ -21618,20 +22100,20 @@ void SIL_step(void) break; case 2: - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.horiz_offset = lat_e * sin_hdg - lon_e * cos_hdg; SIL_B.dist_offset = lat_e * cos_hdg + lon_e * sin_hdg; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.rdot = cos_hdg * SIL_B.BusAssignment_j.v_n + sin_hdg * SIL_B.BusAssignment_j.v_e; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.vert_offset = (SIL_B.dist_offset * tan_elv2 + SIL_B.ht_diff) * cosf(rtb_Merge_n.traj.elevation_baseline2); SIL_B.bearing_base = rtb_Merge_n.traj.heading; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.elevation_base = rtb_Merge_n.traj.elevation_baseline2; break; @@ -21641,11 +22123,11 @@ void SIL_step(void) dist2 = dist2 * rtb_Merge_n.traj.radius + lon_s; SIL_B.bearing_base = rt_atan2f_snf(dist2, dy) - 1.57079637F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.horiz_offset = rtb_Merge_n.traj.radius - sqrtf(dy * dy + dist2 * dist2); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.omega_des = sqrtf(SIL_B.BusAssignment_j.v_n * SIL_B.BusAssignment_j.v_n + SIL_B.BusAssignment_j.v_e * SIL_B.BusAssignment_j.v_e) / rtb_Merge_n.traj.radius; @@ -21654,11 +22136,11 @@ void SIL_step(void) dist2 = lon_s - dist2 * rtb_Merge_n.traj.radius; SIL_B.bearing_base = rt_atan2f_snf(dist2, dy) + 1.57079637F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.horiz_offset = sqrtf(dy * dy + dist2 * dist2) - rtb_Merge_n.traj.radius; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.omega_des = -sqrtf(SIL_B.BusAssignment_j.v_n * SIL_B.BusAssignment_j.v_n + SIL_B.BusAssignment_j.v_e * SIL_B.BusAssignment_j.v_e) / rtb_Merge_n.traj.radius; @@ -21688,40 +22170,40 @@ void SIL_step(void) SIL_B.dist_offset = fabsf(dy) * rtb_Merge_n.traj.radius; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.rdot = cosf(SIL_B.bearing_base) * SIL_B.BusAssignment_j.v_n + sinf(SIL_B.bearing_base) * SIL_B.BusAssignment_j.v_e; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.vert_offset = (SIL_B.ht_diff - SIL_B.dist_offset * heading) * cosf(SIL_B.elevation_base); break; } - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_corner' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_corner' */ SIL_B.bearing = rt_atan2f_snf(elevation_baseline, dist); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_corner' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_corner' */ SIL_B.elevation = rt_atan2f_snf(rtb_Sum1_o, SIL_B.dist); - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_h++; - /* End of Outputs for SubSystem: '/case_corner' */ + /* End of Outputs for SubSystem: '/case_corner' */ break; case 2: - /* Outputs for IfAction SubSystem: '/case_line' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/case_line' incorporates: + * ActionPort: '/Action Port' */ - /* MATLAB Function: '/nav_line' */ + /* MATLAB Function: '/nav_line' */ rtb_sincos_o2_f_idx_0 = cos(SIL_B.BusAssignment_j.lat * 3.1415926535897931 / 180.0); dist = (real32_T)((111699.749 - 1132.978 * rtb_sincos_o2_f_idx_0) * @@ -21734,63 +22216,63 @@ void SIL_step(void) dy = sinf(rtb_Merge_n.traj.azimuth); SIL_B.dist_offset = dist * rtb_Sum1_o + elevation_baseline * dy; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.rdot = rtb_Sum1_o * SIL_B.BusAssignment_j.v_n + dy * SIL_B.BusAssignment_j.v_e; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.elevation_base = rtb_Merge_n.traj.elevation_baseline; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.horiz_offset = dist * dy - elevation_baseline * rtb_Sum1_o; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.bearing = rt_atan2f_snf(elevation_baseline, dist); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.vert_offset = (SIL_B.ht_diff - SIL_B.dist_offset * tanf (rtb_Merge_n.traj.elevation_baseline)) * cosf (rtb_Merge_n.traj.elevation_baseline); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.elevation = rt_atan2f_snf(SIL_B.ht_diff, SIL_B.dist); - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.omega_des = 0.0F; - /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: - * MATLAB Function: '/nav_line' + /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: + * MATLAB Function: '/nav_line' */ SIL_B.bearing_base = rtb_Merge_n.traj.azimuth; - /* End of Outputs for SubSystem: '/case_line' */ + /* End of Outputs for SubSystem: '/case_line' */ break; } - /* Sqrt: '/Sqrt1' */ + /* Sqrt: '/Sqrt1' */ rtb_table1D_thrAB_map = sqrtf(rtb_table1D_thrAB_map); - /* Trigonometry: '/Trigonometric Function' incorporates: + /* Trigonometry: '/Trigonometric Function' incorporates: * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.psi_t = rt_atan2f_snf(SIL_B.BusAssignment_j.v_e, SIL_B.BusAssignment_j.v_n); - /* MATLAB Function: '/nav_point' incorporates: + /* MATLAB Function: '/nav_point' incorporates: * UnitDelay: '/Unit Delay' */ rtb_sincos_o2_f_idx_0 = cos(SIL_B.BusAssignment_j.lat * 3.1415926535897931 @@ -21804,12 +22286,12 @@ void SIL_step(void) SIL_DW.UnitDelay_DSTATE.home_dist = sqrtf(dist * dist + elevation_baseline * elevation_baseline); - /* BusCreator: '/Bus Creator' incorporates: - * Gain: '/Gain' - * Sum: '/Sum' - * Sum: '/Sum1' - * Sum: '/Sum2' - * Trigonometry: '/Trigonometric Function1' + /* BusCreator: '/Bus Creator' incorporates: + * Gain: '/Gain' + * Sum: '/Sum' + * Sum: '/Sum1' + * Sum: '/Sum2' + * Trigonometry: '/Trigonometric Function1' * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.v_g = rtb_table1D_thrAB_map; @@ -21835,12 +22317,12 @@ void SIL_step(void) SIL_DW.UnitDelay_DSTATE.ve_c = rtb_Merge_n.traj.ve_c; SIL_DW.UnitDelay_DSTATE.hdot_c = rtb_Merge_n.traj.hdot_c; - /* End of Outputs for SubSystem: '/update_nav_info' */ + /* End of Outputs for SubSystem: '/update_nav_info' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/C2_in' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/C2_in' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_c; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_c; switch (rtb_Merge_n.AFCS_VERT) { case ENUM_AFCS_VERT_GAMMA2THT: case ENUM_AFCS_VERT_HDOT2THT: @@ -21858,70 +22340,70 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_c) && (s373_iter == 0)) + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_c) && (s302_iter == 0)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ if (SIL_DW.SwitchCase_ActiveSubsystem_d == 1) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_op = -1; } SIL_DW.SwitchCase_ActiveSubsystem_d = -1; - /* End of Disable for SwitchCase: '/Switch Case' */ + /* End of Disable for SwitchCase: '/Switch Case' */ } switch (SIL_DW.SwitchCase_ActiveSubsystem_c) { case 0: - if (SIL_DW.SwitchCase_ActiveSubsystem_c != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/gamma2tht' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_c != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/gamma2tht' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * Delay: '/Delay' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * Delay: '/Delay' */ SIL_DW.icLoad_j = 1U; - /* End of InitializeConditions for SubSystem: '/gamma2tht' */ + /* End of InitializeConditions for SubSystem: '/gamma2tht' */ } - /* Outputs for IfAction SubSystem: '/gamma2tht' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/gamma2tht' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_d; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_d; if (rtb_Merge_n.AFCS_VERT == ENUM_AFCS_VERT_GAMMA2THT) { SIL_DW.SwitchCase_ActiveSubsystem_d = 0; } else { SIL_DW.SwitchCase_ActiveSubsystem_d = 1; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_d) && (s373_iter == + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_d) && (s302_iter == 1)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_op = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_d) { case 0: - /* Outputs for IfAction SubSystem: '/gamma' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/gamma' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/C2_in_BusSelector' */ + /* SignalConversion: '/C2_in_BusSelector' */ rtb_Merge_fz = rtb_Merge_n.gamma_c; - /* End of Outputs for SubSystem: '/gamma' */ + /* End of Outputs for SubSystem: '/gamma' */ break; case 1: - /* Outputs for IfAction SubSystem: '/hdot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/hdot' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/hdot_in' - * SignalConversion: '/C2_in_BusSelector' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/hdot_in' + * SignalConversion: '/C2_in_BusSelector' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_op; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_op; if (rtb_Merge_n.AFCS_VERT == ENUM_AFCS_VERT_HDOT2THT) { SIL_DW.SwitchCase_ActiveSubsystem_op = 0; } else { @@ -21930,63 +22412,63 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_op) { case 0: - /* Outputs for IfAction SubSystem: '/hdot' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/hdot' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_fz = rtb_Merge_n.hdot_c; - /* End of Outputs for SubSystem: '/hdot' */ + /* End of Outputs for SubSystem: '/hdot' */ break; case 1: - if (SIL_DW.SwitchCase_ActiveSubsystem_op != s373_iter) { - /* SystemReset for IfAction SubSystem: '/vnav' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_op != s302_iter) { + /* SystemReset for IfAction SubSystem: '/vnav' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/dH2hdot' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Delay: '/last_hdot_c' + /* SystemReset for Atomic SubSystem: '/dH2hdot' */ + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Delay: '/last_hdot_c' */ SIL_DW.icLoad_o = 1U; - /* End of SystemReset for SubSystem: '/dH2hdot' */ - /* End of SystemReset for SubSystem: '/vnav' */ + /* End of SystemReset for SubSystem: '/dH2hdot' */ + /* End of SystemReset for SubSystem: '/vnav' */ } - /* Outputs for IfAction SubSystem: '/vnav' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/vnav' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/vert' - * SignalConversion: '/AFCS_in_BusSelector' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/vert' + * SignalConversion: '/AFCS_in_BusSelector' * UnitDelay: '/Unit Delay' */ switch (rtb_Merge_n.AFCS_VERT) { case ENUM_AFCS_VERT_H2THT: - /* Outputs for IfAction SubSystem: '/H' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/H' incorporates: + * ActionPort: '/Action Port' */ SIL_H(rtb_Merge_n.h_c, SIL_DW.UnitDelay_DSTATE.abs_alt, &rtb_Merge_cr, &rtb_Merge1_h); - /* End of Outputs for SubSystem: '/H' */ + /* End of Outputs for SubSystem: '/H' */ break; case ENUM_AFCS_VERT_AGL2THT: - /* Outputs for IfAction SubSystem: '/AGL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AGL' incorporates: + * ActionPort: '/Action Port' */ SIL_H(rtb_Merge_n.h_c, SIL_DW.UnitDelay_DSTATE.rel_alt, &rtb_Merge_cr, &rtb_Merge1_h); - /* End of Outputs for SubSystem: '/AGL' */ + /* End of Outputs for SubSystem: '/AGL' */ break; default: - /* Outputs for IfAction SubSystem: '/VNAV' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/VNAV' incorporates: + * ActionPort: '/Action Port' */ - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * UnitDelay: '/Unit Delay' */ if (SIL_DW.UnitDelay_DSTATE.elevation_baseline > 1.5F) { @@ -21997,268 +22479,268 @@ void SIL_step(void) rtb_Sum1_o = SIL_DW.UnitDelay_DSTATE.elevation_baseline; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Product: '/Product' incorporates: - * Trigonometry: '/atan' + /* Product: '/Product' incorporates: + * Trigonometry: '/atan' * UnitDelay: '/Unit Delay' */ rtb_Merge1_h = tanf(rtb_Sum1_o) * SIL_DW.UnitDelay_DSTATE.v_g; rtb_Merge_cr = SIL_DW.UnitDelay_DSTATE.vert_offset; - /* End of Outputs for SubSystem: '/VNAV' */ + /* End of Outputs for SubSystem: '/VNAV' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Outputs for Atomic SubSystem: '/dH2hdot' */ - /* Abs: '/AbsDH' */ + /* Outputs for Atomic SubSystem: '/dH2hdot' */ + /* Abs: '/AbsDH' */ rtb_Merge_fz = fabsf(rtb_Merge_cr); - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Merge_fz <= 0.001F) { rtb_Merge_fz = 0.001F; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Product: '/Product1' incorporates: - * Constant: '/Constant8' - * Constant: '/Constant' + /* Product: '/Product1' incorporates: + * Constant: '/Constant8' + * Constant: '/Constant' */ rtb_MaxHdot = 1.4F * SIL_P.max_az; - /* Product: '/Divide' */ + /* Product: '/Divide' */ rtb_Merge_fz = rtb_MaxHdot / rtb_Merge_fz; - /* Sqrt: '/k' */ + /* Sqrt: '/k' */ rtb_Merge_fz = sqrtf(rtb_Merge_fz); - /* Gain: '/k_min' incorporates: - * Constant: '/Constant Single9' + /* Gain: '/k_min' incorporates: + * Constant: '/Constant Single9' */ rtb_Switch2_fb = 0.1F * SIL_P.w_x; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' */ if (!(rtb_Merge_fz < rtb_Switch2_fb)) { rtb_Switch2_fb = rtb_Merge_fz; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant Single9' - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant Single9' + * RelationalOperator: '/LowerRelop1' */ if (rtb_Merge_fz > SIL_P.w_x) { rtb_Switch2_fb = SIL_P.w_x; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Delay: '/last_hdot_c' incorporates: + /* Delay: '/last_hdot_c' incorporates: * UnitDelay: '/Unit Delay' */ if (SIL_DW.icLoad_o != 0) { SIL_DW.last_hdot_c_DSTATE = SIL_DW.UnitDelay_DSTATE.hdot; } - /* Sum: '/Sum' incorporates: - * Delay: '/last_hdot_c' - * Product: '/Hdot_c' - * Sum: '/Sum2' + /* Sum: '/Sum' incorporates: + * Delay: '/last_hdot_c' + * Product: '/Hdot_c' + * Sum: '/Sum2' */ rtb_Merge_fz = (rtb_Merge_cr * rtb_Switch2_fb + rtb_Merge1_h) - SIL_DW.last_hdot_c_DSTATE; - /* Product: '/Product' incorporates: - * Constant: '/Constant8' - * Constant: '/Constant' + /* Product: '/Product' incorporates: + * Constant: '/Constant8' + * Constant: '/Constant' */ rtb_Sum1_b = SIL_P.max_az * 0.005F; - /* Gain: '/min_az' */ + /* Gain: '/min_az' */ rtb_MinMax = -rtb_Sum1_b; - /* Switch: '/Switch' incorporates: - * Gain: '/min_az' - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * Gain: '/min_az' + * RelationalOperator: '/UpperRelop' */ if (!(rtb_Merge_fz < -rtb_Sum1_b)) { rtb_MinMax = rtb_Merge_fz; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (!(rtb_Merge_fz > rtb_Sum1_b)) { rtb_Sum1_b = rtb_MinMax; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Sum1' incorporates: - * Delay: '/last_hdot_c' + /* Sum: '/Sum1' incorporates: + * Delay: '/last_hdot_c' */ rtb_Sum1_b += SIL_DW.last_hdot_c_DSTATE; - /* Product: '/MaxHdot' */ + /* Product: '/MaxHdot' */ rtb_MaxHdot /= rtb_Switch2_fb; - /* MinMax: '/MinMax' incorporates: - * Constant: '/Constant9' - * Sum: '/Sum3' + /* MinMax: '/MinMax' incorporates: + * Constant: '/Constant9' + * Sum: '/Sum3' */ rtb_MinMax = fminf(rtb_MaxHdot + rtb_Merge1_h, SIL_P.max_hdot); - /* MinMax: '/MinMax1' incorporates: - * Constant: '/Constant10' - * Gain: '/MinHdot' - * Sum: '/Sum4' + /* MinMax: '/MinMax1' incorporates: + * Constant: '/Constant10' + * Gain: '/MinHdot' + * Sum: '/Sum4' */ rtb_Merge_fz = fmaxf(-rtb_MaxHdot + rtb_Merge1_h, SIL_P.min_hdot); - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' */ if (!(rtb_Sum1_b < rtb_Merge_fz)) { rtb_Merge_fz = rtb_Sum1_b; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_Sum1_b > rtb_MinMax) { rtb_Merge_fz = rtb_MinMax; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for Delay: '/last_hdot_c' */ + /* Update for Delay: '/last_hdot_c' */ SIL_DW.icLoad_o = 0U; SIL_DW.last_hdot_c_DSTATE = rtb_Merge_fz; - /* End of Outputs for SubSystem: '/dH2hdot' */ - /* End of Outputs for SubSystem: '/vnav' */ + /* End of Outputs for SubSystem: '/dH2hdot' */ + /* End of Outputs for SubSystem: '/vnav' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Trigonometry: '/Atan2' incorporates: + /* Trigonometry: '/Atan2' incorporates: * UnitDelay: '/Unit Delay' */ rtb_Merge_fz = rt_atan2f_snf(rtb_Merge_fz, SIL_DW.UnitDelay_DSTATE.v_g); - /* End of Outputs for SubSystem: '/hdot' */ + /* End of Outputs for SubSystem: '/hdot' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Sum: '/subtract' incorporates: - * Constant: '/Constant' + /* Sum: '/subtract' incorporates: + * Constant: '/Constant' */ rtb_MaxHdot = SIL_B.BusAssignment_j.IAS - SIL_P.min_ias; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Logic: '/AND' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Logic: '/AND' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' + * Sum: '/Sum' */ if ((!(rtb_MaxHdot > 0.0F)) && (!(rtb_Merge_n.landed_state != ENUM_LANDED_STATE_IN_AIR))) { - /* Gain: '/gain' */ + /* Gain: '/gain' */ u0 = 0.0612244904F * rtb_MaxHdot; - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (u0 < -0.523560226F) { u0 = -0.523560226F; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ rtb_Merge_fz += u0; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Product: '/Product' incorporates: - * Constant: '/Constant BP' - * Product: '/Product' - * Sum: '/Sum' + /* Product: '/Product' incorporates: + * Constant: '/Constant BP' + * Product: '/Product' + * Sum: '/Sum' * UnitDelay: '/Unit Delay' */ - rtb_table1D_thrAB_map = 0.78125F / rtb_product_g * (rtb_Merge_fz - + rtb_table1D_thrAB_map = 0.78125F / rtb_product_b * (rtb_Merge_fz - SIL_DW.UnitDelay_DSTATE.gamma); - /* Delay: '/Delay' incorporates: - * Sum: '/Sum4' + /* Delay: '/Delay' incorporates: + * Sum: '/Sum4' */ if (SIL_DW.icLoad_j != 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant Single' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant Single' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (SIL_B.BusAssignment_j.tht > SIL_P.max_tht) { rtb_Sum1_o = SIL_P.max_tht; } else if (SIL_B.BusAssignment_j.tht < SIL_P.min_tht) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant Single' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant Single' */ rtb_Sum1_o = SIL_P.min_tht; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.tht; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ SIL_DW.Delay_DSTATE_d = rtb_Sum1_o - rtb_table1D_thrAB_map; } - /* Sum: '/Sum1' incorporates: - * Constant: '/Constant' - * Delay: '/Delay' - * Product: '/Product1' - * Product: '/Product2' - * Sum: '/Sum2' + /* Sum: '/Sum1' incorporates: + * Constant: '/Constant' + * Delay: '/Delay' + * Product: '/Product1' + * Product: '/Product2' + * Sum: '/Sum2' */ - rtb_Sum1_p = (rtb_product_g * rtb_table1D_thrAB_map * 0.005F + + rtb_Sum1_p = (rtb_product_b * rtb_table1D_thrAB_map * 0.005F + SIL_DW.Delay_DSTATE_d) + rtb_table1D_thrAB_map; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant Single' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant Single' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Sum1_p > SIL_P.max_tht) { rtb_Sum1_p = SIL_P.max_tht; } else { if (rtb_Sum1_p < SIL_P.min_tht) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant Single' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant Single' */ rtb_Sum1_p = SIL_P.min_tht; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_fb = rtb_Merge_n.de_c; @@ -22389,105 +22871,105 @@ void SIL_step(void) rtb_Merge_g2_min_rpm = rtb_Merge_n.min_rpm; rtb_Merge_g2_CSAS_pitch = ENUM_CSAS_PITCH_THT_CTRL; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Update for Delay: '/Delay' incorporates: - * Sum: '/Sum3' + /* Update for Delay: '/Delay' incorporates: + * Sum: '/Sum3' */ SIL_DW.icLoad_j = 0U; SIL_DW.Delay_DSTATE_d = rtb_Sum1_p - rtb_table1D_thrAB_map; - /* End of Outputs for SubSystem: '/gamma2tht' */ + /* End of Outputs for SubSystem: '/gamma2tht' */ break; case 1: - if (SIL_DW.SwitchCase_ActiveSubsystem_c != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/as2tht' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_c != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/as2tht' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * Delay: '/Delay' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * Delay: '/Delay' */ SIL_DW.icLoad_l = 1U; - /* End of InitializeConditions for SubSystem: '/as2tht' */ + /* End of InitializeConditions for SubSystem: '/as2tht' */ } - /* Outputs for IfAction SubSystem: '/as2tht' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/as2tht' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/inv_g' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Product: '/Product' - * Product: '/Product' + /* Gain: '/inv_g' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Product: '/Product' + * Product: '/Product' */ - rtb_product_g = 2.0F * SIL_P.ksi_v2tht * SIL_P.w_v2tht * scale * + rtb_product_b = 2.0F * SIL_P.ksi_v2tht * SIL_P.w_v2tht * scale * -0.10204082F; - /* Delay: '/Delay' incorporates: - * Sum: '/Sum4' + /* Delay: '/Delay' incorporates: + * Sum: '/Sum4' */ if (SIL_DW.icLoad_l != 0) { - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant Single' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant Single' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (SIL_B.BusAssignment_j.tht > SIL_P.max_tht) { rtb_Sum1_o = SIL_P.max_tht; } else if (SIL_B.BusAssignment_j.tht < SIL_P.min_tht) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant Single' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant Single' */ rtb_Sum1_o = SIL_P.min_tht; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.tht; } - /* End of Switch: '/Switch2' */ - SIL_DW.Delay_DSTATE_ew = rtb_Sum1_o - rtb_product_g; + /* End of Switch: '/Switch2' */ + SIL_DW.Delay_DSTATE_ew = rtb_Sum1_o - rtb_product_b; } - /* Sum: '/Sum1' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant' - * Delay: '/Delay' - * Product: '/Product1' - * Product: '/Product1' - * Product: '/Product2' - * Sum: '/Sum2' + /* Sum: '/Sum1' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant' + * Delay: '/Delay' + * Product: '/Product1' + * Product: '/Product1' + * Product: '/Product2' + * Sum: '/Sum2' */ - rtb_Sum1_p = (SIL_P.w_v2tht / SIL_P.ksi_v2tht / 2.0F * rtb_product_g * - 0.005F + SIL_DW.Delay_DSTATE_ew) + rtb_product_g; + rtb_Sum1_p = (SIL_P.w_v2tht / SIL_P.ksi_v2tht / 2.0F * rtb_product_b * + 0.005F + SIL_DW.Delay_DSTATE_ew) + rtb_product_b; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant' - * Constant: '/Constant Single' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant' + * Constant: '/Constant Single' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Sum1_p > SIL_P.max_tht) { rtb_Sum1_p = SIL_P.max_tht; } else { if (rtb_Sum1_p < SIL_P.min_tht) { - /* Switch: '/Switch' incorporates: - * Constant: '/Constant Single' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant Single' */ rtb_Sum1_p = SIL_P.min_tht; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_fb = rtb_Merge_n.de_c; @@ -22619,20 +23101,20 @@ void SIL_step(void) rtb_Merge_g2_min_rpm = rtb_Merge_n.min_rpm; rtb_Merge_g2_CSAS_pitch = ENUM_CSAS_PITCH_THT_CTRL; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Update for Delay: '/Delay' incorporates: - * Sum: '/Sum3' + /* Update for Delay: '/Delay' incorporates: + * Sum: '/Sum3' */ SIL_DW.icLoad_l = 0U; - SIL_DW.Delay_DSTATE_ew = rtb_Sum1_p - rtb_product_g; + SIL_DW.Delay_DSTATE_ew = rtb_Sum1_p - rtb_product_b; - /* End of Outputs for SubSystem: '/as2tht' */ + /* End of Outputs for SubSystem: '/as2tht' */ break; case 2: - /* Outputs for IfAction SubSystem: '/off' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/off' incorporates: + * ActionPort: '/Action Port' */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_fb = rtb_Merge_n.de_c; @@ -22765,14 +23247,14 @@ void SIL_step(void) rtb_Merge_g2_max_rpm = rtb_Merge_n.max_rpm; rtb_Merge_g2_min_rpm = rtb_Merge_n.min_rpm; - /* End of Outputs for SubSystem: '/off' */ + /* End of Outputs for SubSystem: '/off' */ break; } - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/C2_in_Inport_1' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/C2_in_Inport_1' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_a; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_a; if (rtb_Merge_g2_AFCS_LAT == ENUM_AFCS_LAT_LNAV2PHI) { SIL_DW.SwitchCase_ActiveSubsystem_a = 0; } else { @@ -22781,27 +23263,27 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_a) { case 0: - if (SIL_DW.SwitchCase_ActiveSubsystem_a != s373_iter) { - /* SystemReset for IfAction SubSystem: '/LNAV2PHI' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_a != s302_iter) { + /* SystemReset for IfAction SubSystem: '/LNAV2PHI' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for SwitchCase: '/Switch Case' incorporates: - * Chart: '/psi_err' - * Chart: '/psi_err1' - * Chart: '/psi_err2' + /* SystemReset for SwitchCase: '/Switch Case' incorporates: + * Chart: '/psi_err' + * Chart: '/psi_err1' + * Chart: '/psi_err2' */ SIL_psi_err_Reset(&rtb_out_ei); SIL_psi_err_Reset(&rtb_out_lm); SIL_psi_err_Reset(&rtb_out_fx); - /* End of SystemReset for SubSystem: '/LNAV2PHI' */ + /* End of SystemReset for SubSystem: '/LNAV2PHI' */ } - /* Outputs for IfAction SubSystem: '/LNAV2PHI' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/LNAV2PHI' incorporates: + * ActionPort: '/Action Port' */ - /* Saturate: '/Saturation max_phi' incorporates: - * Constant: '/Constant Single1' + /* Saturate: '/Saturation max_phi' incorporates: + * Constant: '/Constant Single1' */ if (SIL_P.max_phi > 1.04712045F) { rtb_Sum1_o = 1.04712045F; @@ -22811,15 +23293,15 @@ void SIL_step(void) rtb_Sum1_o = SIL_P.max_phi; } - /* End of Saturate: '/Saturation max_phi' */ + /* End of Saturate: '/Saturation max_phi' */ - /* Product: '/Product1' incorporates: - * Constant: '/Constant Single3' - * Trigonometry: '/max_ns' + /* Product: '/Product1' incorporates: + * Constant: '/Constant Single3' + * Trigonometry: '/max_ns' */ rtb_Product1_d = 9.8F * tanf(rtb_Sum1_o); - /* Saturate: '/pos v_g' incorporates: + /* Saturate: '/pos v_g' incorporates: * UnitDelay: '/Unit Delay' */ if (SIL_DW.UnitDelay_DSTATE.v_g <= 1.0F) { @@ -22828,25 +23310,25 @@ void SIL_step(void) rtb_posv_g = SIL_DW.UnitDelay_DSTATE.v_g; } - /* End of Saturate: '/pos v_g' */ + /* End of Saturate: '/pos v_g' */ - /* Gain: '/margin_R' incorporates: - * Math: '/sqare v_g' - * Product: '/max_R' + /* Gain: '/margin_R' incorporates: + * Math: '/sqare v_g' + * Product: '/max_R' */ rtb_Saturationcos = rtb_posv_g * rtb_posv_g / rtb_Product1_d * 1.2F; - /* Product: '/cos_max_dpsi' incorporates: - * Abs: '/AbsDy' - * Gain: '/Gain' - * Sum: '/Subtract' + /* Product: '/cos_max_dpsi' incorporates: + * Abs: '/AbsDy' + * Gain: '/Gain' + * Sum: '/Subtract' * UnitDelay: '/Unit Delay' */ rtb_Saturationcos = (rtb_Saturationcos - fabsf (-SIL_DW.UnitDelay_DSTATE.horiz_offset)) / rtb_Saturationcos; - /* Saturate: '/Saturation cos' */ + /* Saturate: '/Saturation cos' */ if (rtb_Saturationcos > 0.996195257F) { rtb_Saturationcos = 0.996195257F; } else { @@ -22855,20 +23337,20 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation cos' */ + /* End of Saturate: '/Saturation cos' */ - /* Trigonometry: '/max_dpsi' */ + /* Trigonometry: '/max_dpsi' */ rtb_max_dpsi = acosf(rtb_Saturationcos); - /* Product: '/dv2vg' incorporates: - * Constant: '/Constant Single7' - * Gain: '/Gain' - * Product: '/Product' + /* Product: '/dv2vg' incorporates: + * Constant: '/Constant Single7' + * Gain: '/Gain' + * Product: '/Product' * UnitDelay: '/Unit Delay' */ u0 = -SIL_DW.UnitDelay_DSTATE.horiz_offset * SIL_P.w_y / rtb_posv_g; - /* Saturate: '/Saturation sin(psi_c)' */ + /* Saturate: '/Saturation sin(psi_c)' */ if (u0 > 0.9998F) { u0 = 0.9998F; } else { @@ -22877,99 +23359,99 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation sin(psi_c)' */ + /* End of Saturate: '/Saturation sin(psi_c)' */ - /* Trigonometry: '/psi_c' */ + /* Trigonometry: '/psi_c' */ rtb_Saturationcos = asinf(u0); - /* Switch: '/Switch2' incorporates: - * Gain: '/neg' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/neg' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Saturationcos > rtb_max_dpsi) { rtb_Saturationcos = rtb_max_dpsi; } else { if (rtb_Saturationcos < -rtb_max_dpsi) { - /* Switch: '/Switch' incorporates: - * Gain: '/neg' + /* Switch: '/Switch' incorporates: + * Gain: '/neg' */ rtb_Saturationcos = -rtb_max_dpsi; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Sum' incorporates: + /* Sum: '/Sum' incorporates: * UnitDelay: '/Unit Delay' */ rtb_Sum_gh = rtb_Saturationcos + SIL_DW.UnitDelay_DSTATE.bearing_baseline; - /* Sum: '/err_psi' incorporates: + /* Sum: '/err_psi' incorporates: * UnitDelay: '/Unit Delay' */ rtb_err_psi = rtb_Sum_gh - SIL_DW.UnitDelay_DSTATE.psi_t; - /* Chart: '/psi_err' */ + /* Chart: '/psi_err' */ SIL_psi_err(rtb_err_psi, &rtb_out_ei); - /* Product: '/product1' incorporates: - * Constant: '/Constant Single6' - * Product: '/product' - * Sum: '/Sum1' + /* Product: '/product1' incorporates: + * Constant: '/Constant Single6' + * Product: '/product' + * Sum: '/Sum1' * UnitDelay: '/Unit Delay' */ rtb_Saturationcos = (rtb_out_ei * SIL_P.w_as + SIL_DW.UnitDelay_DSTATE.omega_des) * rtb_posv_g; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Saturationcos > rtb_Product1_d) { rtb_Saturationcos = rtb_Product1_d; } else { if (rtb_Saturationcos < -rtb_Product1_d) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain2' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain2' */ rtb_Saturationcos = -rtb_Product1_d; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Trigonometry: '/phi_c' incorporates: - * Constant: '/Constant Single3' + /* Trigonometry: '/phi_c' incorporates: + * Constant: '/Constant Single3' */ rtb_Product1_d = rt_atan2f_snf(rtb_Saturationcos, 9.8F); - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant Single1' - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant Single1' + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Product1_d > SIL_P.max_phi) { rtb_Product1_d = SIL_P.max_phi; } else { if (rtb_Product1_d < -SIL_P.max_phi) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_Product1_d = -SIL_P.max_phi; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant1' */ rtb_posv_g = rtb_MaxHdot; rtb_Saturationcos = rtb_Switch2_fb; @@ -23101,25 +23583,25 @@ void SIL_step(void) rtb_Merge_br_min_rpm = rtb_Merge_g2_min_rpm; rtb_Merge_br_CSAS_roll = ENUM_CSAS_ROLL_ROLL_CTRL; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Sum: '/err_psi1' incorporates: + /* Sum: '/err_psi1' incorporates: * UnitDelay: '/Unit Delay' */ rtb_err_psi1 = SIL_DW.UnitDelay_DSTATE.psi_t - SIL_B.BusAssignment_j.psi; - /* Chart: '/psi_err1' */ + /* Chart: '/psi_err1' */ SIL_psi_err(rtb_err_psi1, &rtb_out_lm); - /* Chart: '/psi_err2' */ + /* Chart: '/psi_err2' */ SIL_psi_err(rtb_Sum_gh, &rtb_out_fx); - /* End of Outputs for SubSystem: '/LNAV2PHI' */ + /* End of Outputs for SubSystem: '/LNAV2PHI' */ break; case 1: - /* Outputs for IfAction SubSystem: '/OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/OFF' incorporates: + * ActionPort: '/Action Port' */ rtb_posv_g = rtb_MaxHdot; rtb_Saturationcos = rtb_Switch2_fb; @@ -23252,14 +23734,14 @@ void SIL_step(void) rtb_Merge_br_max_rpm = rtb_Merge_g2_max_rpm; rtb_Merge_br_min_rpm = rtb_Merge_g2_min_rpm; - /* End of Outputs for SubSystem: '/OFF' */ + /* End of Outputs for SubSystem: '/OFF' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_av; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_av; switch (rtb_Merge_br_CSAS_roll) { case ENUM_CSAS_ROLL_ROLL_CTRL: case ENUM_CSAS_ROLL_ROLLRATE_CTRL: @@ -23275,25 +23757,25 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_av) && (s373_iter == 0)) + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_av) && (s302_iter == 0)) { - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_a = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_av) { case 0: - /* Outputs for IfAction SubSystem: '/ROLL_CTRL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ROLL_CTRL' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ if (rtb_Merge_br_CSAS_roll == ENUM_CSAS_ROLL_ROLL_CTRL) { - /* Gain: '/Gain1' incorporates: - * Constant: '/Constant3' + /* Gain: '/Gain1' incorporates: + * Constant: '/Constant3' */ u0 = 0.285714298F * SIL_P.w_p; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (u0 > 2.0F) { u0 = 2.0F; } else { @@ -23302,13 +23784,13 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Outputs for IfAction SubSystem: '/roll_ctrl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/roll_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* Outputs for Atomic SubSystem: '/phi_ctrl' */ - /* Saturate: '/Saturation' */ + /* Outputs for Atomic SubSystem: '/phi_ctrl' */ + /* Saturate: '/Saturation' */ if (SIL_B.BusAssignment_j.tht > 1.0F) { rtb_Sum1_o = 1.0F; } else if (SIL_B.BusAssignment_j.tht < -1.0F) { @@ -23317,66 +23799,66 @@ void SIL_step(void) rtb_Sum1_o = SIL_B.BusAssignment_j.tht; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Sum: '/Sum' incorporates: - * Product: '/Product' - * Product: '/Product1' - * Product: '/Product2' - * Product: '/Product3' - * Sum: '/Sum3' - * Sum: '/Sum5' - * Trigonometry: '/Trigonometric Function' - * Trigonometry: '/Trigonometric Function1' - * Trigonometry: '/Trigonometric Function2' + /* Sum: '/Sum' incorporates: + * Product: '/Product' + * Product: '/Product1' + * Product: '/Product2' + * Product: '/Product3' + * Sum: '/Sum3' + * Sum: '/Sum5' + * Trigonometry: '/Trigonometric Function' + * Trigonometry: '/Trigonometric Function1' + * Trigonometry: '/Trigonometric Function2' */ rtb_Merge_fz = (rtb_Product1_d - SIL_B.BusAssignment_j.phi) * u0 - (SIL_B.BusAssignment_j.q * sinf(SIL_B.BusAssignment_j.phi) + SIL_B.BusAssignment_j.r * cosf(SIL_B.BusAssignment_j.phi)) * tanf (rtb_Sum1_o); - /* Gain: '/neg1' incorporates: - * Constant: '/Constant7' + /* Gain: '/neg1' incorporates: + * Constant: '/Constant7' */ rtb_Switch_a5 = -SIL_P.max_p; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant7' - * Gain: '/neg1' - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant7' + * Gain: '/neg1' + * RelationalOperator: '/UpperRelop' */ if (!(rtb_Merge_fz < -SIL_P.max_p)) { rtb_Switch_a5 = rtb_Merge_fz; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant7' - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant7' + * RelationalOperator: '/LowerRelop1' */ if (rtb_Merge_fz > SIL_P.max_p) { - /* SignalConversion: '/OutportBufferForp_c' */ + /* SignalConversion: '/OutportBufferForp_c' */ rtb_Switch_a5 = SIL_P.max_p; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/phi_ctrl' */ - /* End of Outputs for SubSystem: '/roll_ctrl' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/phi_ctrl' */ + /* End of Outputs for SubSystem: '/roll_ctrl' */ } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant3' - * Constant: '/Constant5' - * RelationalOperator: '/Compare' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant3' + * Constant: '/Constant5' + * RelationalOperator: '/Compare' + * RelationalOperator: '/Compare' */ - s373_iter = SIL_DW.If_ActiveSubsystem_a; + s302_iter = SIL_DW.If_ActiveSubsystem_a; if (rtb_Merge_br_USE_ADRC == 1) { SIL_DW.If_ActiveSubsystem_a = 0; } else if (rtb_Merge_br_USE_ADRC == 2) { @@ -23387,117 +23869,117 @@ void SIL_step(void) switch (SIL_DW.If_ActiveSubsystem_a) { case 0: - if (SIL_DW.If_ActiveSubsystem_a != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/p_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_a != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/p_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * Delay: '/Delay' - * Delay: '/Delay1' - * DiscreteIntegrator: '/Discrete-Time Integrator' - * DiscreteIntegrator: '/Discrete-Time Integrator1' + /* InitializeConditions for If: '/If' incorporates: + * Delay: '/Delay' + * Delay: '/Delay1' + * DiscreteIntegrator: '/Discrete-Time Integrator' + * DiscreteIntegrator: '/Discrete-Time Integrator1' */ SIL_DW.DiscreteTimeIntegrator_DSTATE = 0.0F; SIL_DW.icLoad_p1 = 1U; SIL_DW.DiscreteTimeIntegrator1_DSTATE = 0.0F; SIL_DW.Delay_DSTATE_j = 0.0F; - /* End of InitializeConditions for SubSystem: '/p_ctrl_ADRC' */ + /* End of InitializeConditions for SubSystem: '/p_ctrl_ADRC' */ } - /* Outputs for IfAction SubSystem: '/p_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/p_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* DiscreteIntegrator: '/Discrete-Time Integrator' */ + /* DiscreteIntegrator: '/Discrete-Time Integrator' */ rtb_Merge_fz = SIL_DW.DiscreteTimeIntegrator_DSTATE; - /* Product: '/Product4' incorporates: - * Constant: '/Constant1' - * DiscreteIntegrator: '/Discrete-Time Integrator' + /* Product: '/Product4' incorporates: + * Constant: '/Constant1' + * DiscreteIntegrator: '/Discrete-Time Integrator' */ rtb_d1a = SIL_DW.DiscreteTimeIntegrator_DSTATE * SIL_P.h_TD; - /* Product: '/Product5' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Product: '/Product5' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' */ rtb_MaxHdot = SIL_P.h_TD * SIL_P.h_TD * SIL_P.r_TD; - /* Abs: '/Abs' incorporates: - * Abs: '/Abs' - * Gain: '/gain' - * Product: '/Product3' + /* Abs: '/Abs' incorporates: + * Abs: '/Abs' + * Gain: '/gain' + * Product: '/Product3' */ - rtb_z1 = fabsf(rtb_product_kr * -rtb_Merge_br_max_da); + rtb_z1 = fabsf(rtb_product_og * -rtb_Merge_br_max_da); - /* Product: '/Product1' incorporates: - * Constant: '/Constant5' - * Sum: '/Sum1' + /* Product: '/Product1' incorporates: + * Constant: '/Constant5' + * Sum: '/Sum1' */ rec_hi.adrc_u0_p = (rtb_Switch_a5 - SIL_B.BusAssignment_j.p) * SIL_P.ADRC_p_wc; - /* Delay: '/Delay1' incorporates: - * Product: '/Product2' + /* Delay: '/Delay1' incorporates: + * Product: '/Product2' */ if (SIL_DW.icLoad_p1 != 0) { - SIL_DW.Delay1_DSTATE = rtb_product_kr * rtb_sqrt_i; + SIL_DW.Delay1_DSTATE = rtb_product_og * rtb_sqrt_i; } - /* Switch: '/Switch2' incorporates: - * Delay: '/Delay1' - * Gain: '/Gain4' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Delay: '/Delay1' + * Gain: '/Gain4' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (SIL_DW.Delay1_DSTATE > rtb_z1) { SIL_DW.Delay1_DSTATE = rtb_z1; } else { if (SIL_DW.Delay1_DSTATE < -rtb_z1) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain4' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain4' */ SIL_DW.Delay1_DSTATE = -rtb_z1; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rec_hi.adrc_pdot_c = rec_hi.adrc_u0_p - SIL_DW.Delay1_DSTATE; - /* Switch: '/Switch2' incorporates: - * Abs: '/Abs' - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Abs: '/Abs' + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rec_hi.adrc_pdot_c > rtb_z1) { rec_hi.adrc_pdot_c = rtb_z1; } else { if (rec_hi.adrc_pdot_c < -rtb_z1) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rec_hi.adrc_pdot_c = -rtb_z1; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Product: '/Divide' */ - rtb_sqrt_i = rec_hi.adrc_pdot_c / rtb_product_kr; + /* Product: '/Divide' */ + rtb_sqrt_i = rec_hi.adrc_pdot_c / rtb_product_og; - /* Sum: '/Add' incorporates: - * DiscreteIntegrator: '/Discrete-Time Integrator1' - * Sum: '/Sum' + /* Sum: '/Add' incorporates: + * DiscreteIntegrator: '/Discrete-Time Integrator1' + * Sum: '/Sum' */ rtb_Switch2_fb = (SIL_DW.DiscreteTimeIntegrator1_DSTATE - rtb_sqrt_i) + rtb_d1a; - /* Signum: '/Sign' */ + /* Signum: '/Sign' */ if (rtb_Switch2_fb < 0.0F) { rtb_z1 = -1.0F; } else if (rtb_Switch2_fb > 0.0F) { @@ -23508,31 +23990,31 @@ void SIL_step(void) rtb_z1 = (rtNaNF); } - /* End of Signum: '/Sign' */ + /* End of Signum: '/Sign' */ - /* Sum: '/Add3' incorporates: - * Abs: '/Abs' - * Gain: '/Gain1' - * Gain: '/Gain5' - * Product: '/Product' - * Product: '/Product1' - * Sqrt: '/Sqrt' - * Sum: '/Add1' - * Sum: '/Add2' + /* Sum: '/Add3' incorporates: + * Abs: '/Abs' + * Gain: '/Gain1' + * Gain: '/Gain5' + * Product: '/Product' + * Product: '/Product1' + * Sqrt: '/Sqrt' + * Sum: '/Add1' + * Sum: '/Add2' */ rtb_z1 = (sqrtf((8.0F * fabsf(rtb_Switch2_fb) + rtb_MaxHdot) * rtb_MaxHdot) - rtb_MaxHdot) * rtb_z1 * 0.5F + rtb_d1a; - /* Sum: '/Add4' */ + /* Sum: '/Add4' */ rtb_d1a = (rtb_d1a + rtb_Switch2_fb) - rtb_z1; - /* Sum: '/Add5' */ + /* Sum: '/Add5' */ rtb_Sum1_b = rtb_Switch2_fb + rtb_MaxHdot; - /* Sum: '/Add6' */ + /* Sum: '/Add6' */ rtb_Switch2_fb -= rtb_MaxHdot; - /* Signum: '/Sign1' */ + /* Signum: '/Sign1' */ if (rtb_Sum1_b < 0.0F) { rtb_Sum1_b = -1.0F; } else if (rtb_Sum1_b > 0.0F) { @@ -23543,9 +24025,9 @@ void SIL_step(void) rtb_Sum1_b = (rtNaNF); } - /* End of Signum: '/Sign1' */ + /* End of Signum: '/Sign1' */ - /* Signum: '/Sign2' */ + /* Signum: '/Sign2' */ if (rtb_Switch2_fb < 0.0F) { rtb_Switch2_fb = -1.0F; } else if (rtb_Switch2_fb > 0.0F) { @@ -23556,16 +24038,16 @@ void SIL_step(void) rtb_Switch2_fb = (rtNaNF); } - /* End of Signum: '/Sign2' */ + /* End of Signum: '/Sign2' */ - /* Sum: '/Add10' incorporates: - * Gain: '/Gain7' - * Product: '/Product2' - * Sum: '/Add9' + /* Sum: '/Add10' incorporates: + * Gain: '/Gain7' + * Product: '/Product2' + * Sum: '/Add9' */ rtb_z1 += (rtb_Sum1_b - rtb_Switch2_fb) * 0.5F * rtb_d1a; - /* Signum: '/Sign3' */ + /* Signum: '/Sign3' */ if (rtb_z1 < 0.0F) { rtb_Switch2_fb = -1.0F; } else if (rtb_z1 > 0.0F) { @@ -23576,26 +24058,26 @@ void SIL_step(void) rtb_Switch2_fb = (rtNaNF); } - /* End of Signum: '/Sign3' */ + /* End of Signum: '/Sign3' */ - /* Product: '/Product6' incorporates: - * Constant: '/Constant' + /* Product: '/Product6' incorporates: + * Constant: '/Constant' */ rtb_MinMax = SIL_P.r_TD * rtb_Switch2_fb; - /* Sum: '/Add7' */ + /* Sum: '/Add7' */ rtb_Sum1_b = rtb_z1 + rtb_MaxHdot; - /* Sum: '/Add8' */ + /* Sum: '/Add8' */ rtb_Merge_g2_der_c = rtb_z1 - rtb_MaxHdot; - /* Sum: '/Add12' incorporates: - * Product: '/Divide' + /* Sum: '/Add12' incorporates: + * Product: '/Divide' */ rtb_Add12 = rtb_z1 / rtb_MaxHdot - rtb_Switch2_fb; - /* Relay: '/Relay' incorporates: - * DiscreteIntegrator: '/Discrete-Time Integrator' + /* Relay: '/Relay' incorporates: + * DiscreteIntegrator: '/Discrete-Time Integrator' */ if (SIL_DW.DiscreteTimeIntegrator_DSTATE >= SIL_P.relay_on) { SIL_DW.Relay_Mode = true; @@ -23611,33 +24093,33 @@ void SIL_step(void) rtb_Sum1_o = -SIL_P.relay_out; } - /* End of Relay: '/Relay' */ + /* End of Relay: '/Relay' */ - /* Sum: '/Sum' incorporates: - * Gain: '/gain1' + /* Sum: '/Sum' incorporates: + * Gain: '/gain1' */ rtb_z1 = SIL_P.use_deadbandComp * rtb_Sum1_o + rtb_sqrt_i; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_z1 > rtb_Merge_br_max_da) { rtb_z1 = rtb_Merge_br_max_da; } else { if (rtb_z1 < -rtb_Merge_br_max_da) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_z1 = -rtb_Merge_br_max_da; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_d1a = rtb_posv_g; rtb_Delay = rtb_Saturationcos; rtb_Merge_o_del_c = rtb_max_dpsi; @@ -23768,55 +24250,55 @@ void SIL_step(void) rtb_Merge_o_min_rpm = rtb_Merge_br_min_rpm; rtb_Merge_o_p_c = rtb_Switch_a5; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* SignalConversion: '/Signal Copy1' incorporates: - * Delay: '/Delay' + /* SignalConversion: '/Signal Copy1' incorporates: + * Delay: '/Delay' */ rec_hi.adrc_p_z1 = SIL_DW.Delay_DSTATE_j; - /* Sum: '/Sum' incorporates: - * Delay: '/Delay' + /* Sum: '/Sum' incorporates: + * Delay: '/Delay' */ rtb_Switch2_fb = SIL_DW.Delay_DSTATE_j - SIL_B.BusAssignment_j.p; - /* Sqrt: '/sqrt' incorporates: - * Constant: '/Constant7' - * Product: '/divide' + /* Sqrt: '/sqrt' incorporates: + * Constant: '/Constant7' + * Product: '/divide' */ - rtb_sqrt_i = sqrtf(rtb_product_kr / SIL_P.ADRC_p_b0); + rtb_sqrt_i = sqrtf(rtb_product_og / SIL_P.ADRC_p_b0); - /* Sum: '/Sum3' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant4' - * Delay: '/Delay' - * Product: '/product' - * Product: '/Product' - * Product: '/Product6' - * Sum: '/Sum2' + /* Sum: '/Sum3' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant4' + * Delay: '/Delay' + * Product: '/product' + * Product: '/Product' + * Product: '/Product6' + * Sum: '/Sum2' */ SIL_DW.Delay_DSTATE_j += ((rec_hi.adrc_pdot_c - rtb_sqrt_i * SIL_P.ADRC_p_beta01 * rtb_Switch2_fb) + SIL_DW.Delay1_DSTATE) * 0.005F; - /* Abs: '/Abs' */ + /* Abs: '/Abs' */ rtb_MaxHdot = fabsf(rtb_Switch2_fb); - /* Sum: '/Sum1' incorporates: - * Constant: '/Constant2' - * Product: '/Product1' + /* Sum: '/Sum1' incorporates: + * Constant: '/Constant2' + * Product: '/Product1' */ rtb_Product1_d = rtb_MaxHdot - SIL_P.ADRC_p_d; - /* Math: '/pow' incorporates: - * Constant: '/Constant1' + /* Math: '/pow' incorporates: + * Constant: '/Constant1' */ rtb_MaxHdot = powf(rtb_MaxHdot, SIL_P.ADRC_p_a); - /* SignalConversion: '/Signal Copy2' */ + /* SignalConversion: '/Signal Copy2' */ rec_hi.adrc_p_z2 = SIL_DW.Delay1_DSTATE; - /* Signum: '/Sign4' */ + /* Signum: '/Sign4' */ if (rtb_Sum1_b < 0.0F) { rtb_Sum1_b = -1.0F; } else if (rtb_Sum1_b > 0.0F) { @@ -23827,9 +24309,9 @@ void SIL_step(void) rtb_Sum1_b = (rtNaNF); } - /* End of Signum: '/Sign4' */ + /* End of Signum: '/Sign4' */ - /* Signum: '/Sign5' */ + /* Signum: '/Sign5' */ if (rtb_Merge_g2_der_c < 0.0F) { rtb_Merge_g2_der_c = -1.0F; } else if (rtb_Merge_g2_der_c > 0.0F) { @@ -23840,35 +24322,35 @@ void SIL_step(void) rtb_Merge_g2_der_c = (rtNaNF); } - /* End of Signum: '/Sign5' */ + /* End of Signum: '/Sign5' */ - /* Update for DiscreteIntegrator: '/Discrete-Time Integrator' incorporates: - * Constant: '/Constant' - * Gain: '/Gain6' - * Gain: '/Gain9' - * Product: '/Product3' - * Sum: '/Add11' - * Sum: '/Add13' + /* Update for DiscreteIntegrator: '/Discrete-Time Integrator' incorporates: + * Constant: '/Constant' + * Gain: '/Gain6' + * Gain: '/Gain9' + * Product: '/Product3' + * Sum: '/Add11' + * Sum: '/Add13' */ SIL_DW.DiscreteTimeIntegrator_DSTATE += ((rtb_Sum1_b - rtb_Merge_g2_der_c) * 0.5F * SIL_P.r_TD * -rtb_Add12 - rtb_MinMax) * 0.005F; - /* Update for Delay: '/Delay1' */ + /* Update for Delay: '/Delay1' */ SIL_DW.icLoad_p1 = 0U; - /* If: '/If' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant1' - * Math: '/pow1' - * Product: '/Divide' - * Product: '/Product' - * Product: '/Product1' - * Sum: '/Sum' + /* If: '/If' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant1' + * Math: '/pow1' + * Product: '/Divide' + * Product: '/Product' + * Product: '/Product1' + * Sum: '/Sum' */ if (rtb_Product1_d > 0.0F) { - /* Signum: '/Sign' */ + /* Signum: '/Sign' */ if (rtb_Switch2_fb < 0.0F) { rtb_Switch2_fb = -1.0F; } else if (rtb_Switch2_fb > 0.0F) { @@ -23879,26 +24361,26 @@ void SIL_step(void) rtb_Switch2_fb = (rtNaNF); } - /* End of Signum: '/Sign' */ + /* End of Signum: '/Sign' */ rtb_Product1_d = rtb_Switch2_fb * rtb_MaxHdot; } else { if ((SIL_P.ADRC_p_d < 0.0F) && (1.0F - SIL_P.ADRC_p_a > floorf(1.0F - SIL_P.ADRC_p_a))) { - /* Math: '/pow1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant1' - * Product: '/Product1' - * Sum: '/Sum' + /* Math: '/pow1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant1' + * Product: '/Product1' + * Sum: '/Sum' */ rtb_Sum1_o = -powf(-SIL_P.ADRC_p_d, 1.0F - SIL_P.ADRC_p_a); } else { - /* Math: '/pow1' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' - * Constant: '/Constant1' - * Product: '/Product1' - * Sum: '/Sum' + /* Math: '/pow1' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' + * Constant: '/Constant1' + * Product: '/Product1' + * Sum: '/Sum' */ rtb_Sum1_o = powf(SIL_P.ADRC_p_d, 1.0F - SIL_P.ADRC_p_a); } @@ -23906,49 +24388,49 @@ void SIL_step(void) rtb_Product1_d = rtb_Switch2_fb / rtb_Sum1_o; } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Update for Delay: '/Delay1' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant6' - * Gain: '/Gain1' - * Product: '/product1' - * Product: '/Product5' - * Product: '/Product7' - * Sum: '/Sum4' + /* Update for Delay: '/Delay1' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant6' + * Gain: '/Gain1' + * Product: '/product1' + * Product: '/Product5' + * Product: '/Product7' + * Sum: '/Sum4' */ SIL_DW.Delay1_DSTATE += -(rtb_sqrt_i * rtb_sqrt_i * SIL_P.ADRC_p_beta02 * rtb_Product1_d) * 0.005F; - /* Update for DiscreteIntegrator: '/Discrete-Time Integrator1' */ + /* Update for DiscreteIntegrator: '/Discrete-Time Integrator1' */ SIL_DW.DiscreteTimeIntegrator1_DSTATE += 0.005F * rtb_Merge_fz; - /* End of Outputs for SubSystem: '/p_ctrl_ADRC' */ + /* End of Outputs for SubSystem: '/p_ctrl_ADRC' */ break; case 1: - if (SIL_DW.If_ActiveSubsystem_a != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/roll_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_a != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/roll_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * Delay: '/Delay2' - * Delay: '/Delay3' - * Delay: '/Delay4' - * Saturate: '/Saturation' + /* InitializeConditions for If: '/If' incorporates: + * Delay: '/Delay2' + * Delay: '/Delay3' + * Delay: '/Delay4' + * Saturate: '/Saturation' */ SIL_DW.Delay2_DSTATE = 0.0F; SIL_DW.Delay4_DSTATE = 0.0F; SIL_DW.Delay3_DSTATE = 0.0F; - /* End of InitializeConditions for SubSystem: '/roll_ctrl_ADRC' */ + /* End of InitializeConditions for SubSystem: '/roll_ctrl_ADRC' */ } - /* Outputs for IfAction SubSystem: '/roll_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/roll_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* Saturate: '/Saturation' incorporates: - * Delay: '/Delay2' + /* Saturate: '/Saturation' incorporates: + * Delay: '/Delay2' */ if (SIL_DW.Delay2_DSTATE > 0.139616057F) { SIL_DW.Delay2_DSTATE = 0.139616057F; @@ -23958,10 +24440,10 @@ void SIL_step(void) } } - /* Sum: '/Sum' incorporates: - * Lookup_n-D: '/roll_kd' - * Lookup_n-D: '/roll_kp' - * MATLAB Function: '/MATLAB Function' + /* Sum: '/Sum' incorporates: + * Lookup_n-D: '/roll_kd' + * Lookup_n-D: '/roll_kp' + * MATLAB Function: '/MATLAB Function' */ rtb_z1 = ((rtb_Product1_d - SIL_B.BusAssignment_j.phi) * look1_iflf_binlxpw(SIL_B.BusAssignment_j.Mach, SIL_P.Ma_lst2, @@ -23970,12 +24452,12 @@ void SIL_step(void) SIL_P.roll_kd_lst, 5U) * SIL_B.BusAssignment_j.p) - SIL_DW.Delay2_DSTATE; - /* Sum: '/Sum6' incorporates: - * Delay: '/Delay3' + /* Sum: '/Sum6' incorporates: + * Delay: '/Delay3' */ rtb_d1a = SIL_B.BusAssignment_j.p - SIL_DW.Delay3_DSTATE; - /* MATLAB Function: '/MATLAB Function4' */ + /* MATLAB Function: '/MATLAB Function4' */ rtb_Sum1_o = fabsf(rtb_d1a); if (rtb_Sum1_o > 1000.0F) { if (rtb_d1a < 0.0F) { @@ -24005,56 +24487,56 @@ void SIL_step(void) dy = rtb_d1a; } - /* Product: '/Product2' incorporates: - * Constant: '/Constant18' - * Product: '/Product1' + /* Product: '/Product2' incorporates: + * Constant: '/Constant18' + * Product: '/Product1' */ - rtb_Merge_o_der_c = rtb_product_kr * SIL_P.roll_b0_gain; + rtb_Merge_o_der_c = rtb_product_og * SIL_P.roll_b0_gain; - /* Sum: '/Sum7' incorporates: - * Constant: '/Constant16' - * Delay: '/Delay3' - * Delay: '/Delay4' - * MATLAB Function: '/MATLAB Function4' - * Product: '/Product2' + /* Sum: '/Sum7' incorporates: + * Constant: '/Constant16' + * Delay: '/Delay3' + * Delay: '/Delay4' + * MATLAB Function: '/MATLAB Function4' + * Product: '/Product2' */ SIL_DW.Delay3_DSTATE += ((rtb_Merge_o_der_c * rtb_z1 + SIL_DW.Delay4_DSTATE) + SIL_P.roll_beta_01 * dy) * 0.005F; - /* Sum: '/Sum8' incorporates: - * Constant: '/Constant17' - * Delay: '/Delay4' - * MATLAB Function: '/MATLAB Function4' + /* Sum: '/Sum8' incorporates: + * Constant: '/Constant17' + * Delay: '/Delay4' + * MATLAB Function: '/MATLAB Function4' */ SIL_DW.Delay4_DSTATE += SIL_P.roll_beta_02 * rtb_d1a * 0.005F; - /* Saturate: '/Saturation' incorporates: - * Delay: '/Delay2' - * Delay: '/Delay4' - * Product: '/Divide' + /* Saturate: '/Saturation' incorporates: + * Delay: '/Delay2' + * Delay: '/Delay4' + * Product: '/Divide' */ SIL_DW.Delay2_DSTATE = SIL_DW.Delay4_DSTATE / rtb_Merge_o_der_c; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_z1 > rtb_Merge_br_max_da) { rtb_z1 = rtb_Merge_br_max_da; } else { if (rtb_z1 < -rtb_Merge_br_max_da) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_z1 = -rtb_Merge_br_max_da; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_d1a = rtb_posv_g; rtb_Delay = rtb_Saturationcos; rtb_Merge_o_del_c = rtb_max_dpsi; @@ -24185,151 +24667,151 @@ void SIL_step(void) rtb_Merge_o_min_rpm = rtb_Merge_br_min_rpm; rtb_Merge_o_p_c = rtb_Switch_a5; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/roll_ctrl_ADRC' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/roll_ctrl_ADRC' */ break; case 2: - if (SIL_DW.If_ActiveSubsystem_a != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/p_ctrl' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_a != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/p_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * Delay: '/Delay' - * UnitDelay: '/Unit Delay' + /* InitializeConditions for If: '/If' incorporates: + * Delay: '/Delay' + * UnitDelay: '/Unit Delay' */ SIL_DW.icLoad_d = 1U; SIL_DW.UnitDelay_DSTATE_j = 0.0F; - /* End of InitializeConditions for SubSystem: '/p_ctrl' */ + /* End of InitializeConditions for SubSystem: '/p_ctrl' */ - /* SystemReset for IfAction SubSystem: '/p_ctrl' incorporates: - * ActionPort: '/Action Port' + /* SystemReset for IfAction SubSystem: '/p_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/theta1' */ - /* SystemReset for If: '/If' */ + /* SystemReset for Atomic SubSystem: '/theta1' */ + /* SystemReset for If: '/If' */ SIL_theta1_Reset(&SIL_DW.theta1_p); - /* End of SystemReset for SubSystem: '/theta1' */ + /* End of SystemReset for SubSystem: '/theta1' */ - /* SystemReset for Atomic SubSystem: '/theta2' */ + /* SystemReset for Atomic SubSystem: '/theta2' */ SIL_theta2_Reset(&SIL_DW.theta2_d); - /* End of SystemReset for SubSystem: '/theta2' */ + /* End of SystemReset for SubSystem: '/theta2' */ - /* SystemReset for Atomic SubSystem: '/theta3' */ + /* SystemReset for Atomic SubSystem: '/theta3' */ SIL_theta2_Reset(&SIL_DW.theta3_d); - /* End of SystemReset for SubSystem: '/theta3' */ - /* End of SystemReset for SubSystem: '/p_ctrl' */ + /* End of SystemReset for SubSystem: '/theta3' */ + /* End of SystemReset for SubSystem: '/p_ctrl' */ } - /* Outputs for IfAction SubSystem: '/p_ctrl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/p_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Product3' incorporates: - * Gain: '/Gain' + /* Product: '/Product3' incorporates: + * Gain: '/Gain' */ - rtb_pdot_max = rtb_product_kr * -rtb_Merge_br_max_da; + rtb_pdot_max = rtb_product_og * -rtb_Merge_br_max_da; - /* Delay: '/Delay' incorporates: - * Product: '/Product2' + /* Delay: '/Delay' incorporates: + * Product: '/Product2' */ if (SIL_DW.icLoad_d != 0) { - SIL_DW.Delay_DSTATE_im = rtb_product_kr * rtb_sqrt_i; + SIL_DW.Delay_DSTATE_im = rtb_product_og * rtb_sqrt_i; } - /* Sum: '/Sum' incorporates: - * Constant: '/Constant1' - * Gain: '/Gain1' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant1' + * Gain: '/Gain1' */ rtb_sqrt_i = -rtb_product1_pw + 1.0F; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant1' - * Gain: '/Gain1' - * Sum: '/Sum' - * Sum: '/Sum2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant1' + * Gain: '/Gain1' + * Sum: '/Sum' + * Sum: '/Sum2' */ if (SIL_P.w_p - (-rtb_product1_pw + 1.0F) > 0.0F) { rtb_sqrt_i = SIL_P.w_p; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SignalConversion: '/Signal Copy' incorporates: - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/Signal Copy' incorporates: + * UnitDelay: '/Unit Delay' */ rec_hi.p_hat = SIL_DW.UnitDelay_DSTATE_j; - /* Gain: '/Gain' incorporates: - * Sum: '/Sum1' - * UnitDelay: '/Unit Delay' + /* Gain: '/Gain' incorporates: + * Sum: '/Sum1' + * UnitDelay: '/Unit Delay' */ rtb_Saturation2_a = -(SIL_DW.UnitDelay_DSTATE_j - SIL_B.BusAssignment_j.p); - /* Gain: '/Gain4' incorporates: - * Delay: '/Delay' - * Product: '/Product2' + /* Gain: '/Gain4' incorporates: + * Delay: '/Delay' + * Product: '/Product2' */ rtb_Saturation_i = rtb_Saturation2_a * SIL_DW.Delay_DSTATE_im * SIL_P.Gamma_L1; - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Saturation_i > 1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_i = 1000.0F; } else { if (rtb_Saturation_i < -1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_i = -1000.0F; } } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Outputs for Atomic SubSystem: '/theta1' */ + /* Outputs for Atomic SubSystem: '/theta1' */ rtb_Switch2_nl = (real32_T) SIL_theta1(rtb_Saturation_i, 3.0F, 1.0F, &SIL_DW.theta1_p, 0.005F); - /* End of Outputs for SubSystem: '/theta1' */ + /* End of Outputs for SubSystem: '/theta1' */ - /* Gain: '/Gain3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' + /* Gain: '/Gain3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' */ rtb_Saturation1_b = SIL_P.Gamma_L1 * rtb_Saturation2_a; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (rtb_Saturation1_b > 1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_b = 1000.0F; } else { if (rtb_Saturation1_b < -1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_b = -1000.0F; } } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Outputs for Atomic SubSystem: '/theta2' */ + /* Outputs for Atomic SubSystem: '/theta2' */ rtb_Switch2_l = (real32_T) SIL_theta2(rtb_Saturation1_b, rtb_pdot_max, 0.0F, &SIL_DW.theta2_d, 0.005F); - /* End of Outputs for SubSystem: '/theta2' */ + /* End of Outputs for SubSystem: '/theta2' */ - /* Product: '/Product1' incorporates: - * Constant: '/Constant5' + /* Product: '/Product1' incorporates: + * Constant: '/Constant5' */ rtb_Saturation2_a *= SIL_B.BusAssignment_j.p; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ rtb_Saturation2_a *= SIL_P.Gamma_L1; - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (rtb_Saturation2_a > 1000.0F) { rtb_Saturation2_a = 1000.0F; } else { @@ -24338,85 +24820,85 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_jg = rtb_product1_pw + rtb_sqrt_i; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_fz = 2.0F * rtb_Sum_jg; - /* Outputs for Atomic SubSystem: '/theta3' */ + /* Outputs for Atomic SubSystem: '/theta3' */ rtb_Switch2_j = (real32_T) SIL_theta2(rtb_Saturation2_a, rtb_Gain1_fz, rtb_Sum_jg, &SIL_DW.theta3_d, 0.005F); - /* End of Outputs for SubSystem: '/theta3' */ + /* End of Outputs for SubSystem: '/theta3' */ - /* Sum: '/Sum2' incorporates: - * Delay: '/Delay' - * Product: '/Product1' - * Product: '/Product2' + /* Sum: '/Sum2' incorporates: + * Delay: '/Delay' + * Product: '/Product1' + * Product: '/Product2' */ rtb_Merge_fz = (rtb_Switch2_nl * SIL_DW.Delay_DSTATE_im + rtb_Switch2_l) + rtb_Switch2_j * SIL_B.BusAssignment_j.p; - /* Sum: '/Sum5' incorporates: - * Constant: '/Constant4' - * Delay: '/Delay' - * Gain: '/dt' - * Product: '/Product' - * Product: '/Product1' - * Sum: '/Sum' + /* Sum: '/Sum5' incorporates: + * Constant: '/Constant4' + * Delay: '/Delay' + * Gain: '/dt' + * Product: '/Product' + * Product: '/Product1' + * Sum: '/Sum' */ rtb_MaxHdot = (rtb_sqrt_i * rtb_Switch_a5 - rtb_Merge_fz) * SIL_P.k_p * 0.005F + SIL_DW.Delay_DSTATE_im; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_MaxHdot > rtb_pdot_max) { rtb_MaxHdot = rtb_pdot_max; } else { if (rtb_MaxHdot < -rtb_pdot_max) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_MaxHdot = -rtb_pdot_max; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* SignalConversion: '/Signal Copy4' */ + /* SignalConversion: '/Signal Copy4' */ rec_hi.pdot_c = rtb_MaxHdot; - /* Product: '/Divide' */ - rtb_z1 = rec_hi.pdot_c / rtb_product_kr; + /* Product: '/Divide' */ + rtb_z1 = rec_hi.pdot_c / rtb_product_og; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_z1 > rtb_Merge_br_max_da) { rtb_z1 = rtb_Merge_br_max_da; } else { if (rtb_z1 < -rtb_Merge_br_max_da) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_z1 = -rtb_Merge_br_max_da; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_d1a = rtb_posv_g; rtb_Delay = rtb_Saturationcos; rtb_Merge_o_del_c = rtb_max_dpsi; @@ -24547,62 +25029,62 @@ void SIL_step(void) rtb_Merge_o_min_rpm = rtb_Merge_br_min_rpm; rtb_Merge_o_p_c = rtb_Switch_a5; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Sum: '/Sum5' incorporates: - * Gain: '/dt' - * Product: '/Product' - * Sum: '/Sum' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum5' incorporates: + * Gain: '/dt' + * Product: '/Product' + * Sum: '/Sum' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_j += (rtb_Merge_fz - rtb_sqrt_i * SIL_DW.UnitDelay_DSTATE_j) * 0.005F; - /* SignalConversion: '/Signal Copy3' */ + /* SignalConversion: '/Signal Copy3' */ rec_hi.p_tht_hat = rtb_Switch2_j; - /* SignalConversion: '/Signal Copy1' */ + /* SignalConversion: '/Signal Copy1' */ rec_hi.p_sigma_hat = rtb_Switch2_l; - /* SignalConversion: '/Signal Copy2' */ + /* SignalConversion: '/Signal Copy2' */ rec_hi.p_omega_hat = rtb_Switch2_nl; - /* Update for Delay: '/Delay' */ + /* Update for Delay: '/Delay' */ SIL_DW.icLoad_d = 0U; SIL_DW.Delay_DSTATE_im = rtb_MaxHdot; - /* End of Outputs for SubSystem: '/p_ctrl' */ + /* End of Outputs for SubSystem: '/p_ctrl' */ break; } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/ROLL_CTRL' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/ROLL_CTRL' */ break; case 1: - /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_sqrt_i > rtb_Merge_br_max_da) { rtb_z1 = rtb_Merge_br_max_da; } else if (rtb_sqrt_i < -rtb_Merge_br_max_da) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_z1 = -rtb_Merge_br_max_da; } else { rtb_z1 = rtb_sqrt_i; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_d1a = rtb_posv_g; rtb_Delay = rtb_Saturationcos; rtb_Merge_o_del_c = rtb_max_dpsi; @@ -24733,16 +25215,16 @@ void SIL_step(void) rtb_Merge_o_max_rpm = rtb_Merge_br_max_rpm; rtb_Merge_o_min_rpm = rtb_Merge_br_min_rpm; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/COMMAND' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/COMMAND' */ break; case 2: - /* Outputs for IfAction SubSystem: '/OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/OFF' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ rtb_d1a = rtb_posv_g; rtb_Delay = rtb_Saturationcos; @@ -24875,16 +25357,16 @@ void SIL_step(void) rtb_Merge_o_min_rpm = rtb_Merge_br_min_rpm; rtb_z1 = 0.0F; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/OFF' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/OFF' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Outputs for Atomic SubSystem: '/pitch' */ - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_avh; + /* Outputs for Atomic SubSystem: '/pitch' */ + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_avh; switch (rtb_Merge_o_CSAS_pitch) { case ENUM_CSAS_PITCH_THT_CTRL: case ENUM_CSAS_PITCH_Q_CTRL: @@ -24900,48 +25382,48 @@ void SIL_step(void) break; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_avh) && (s373_iter == + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_avh) && (s302_iter == 0)) { - /* Disable for SwitchCase: '/Switch Case' */ + /* Disable for SwitchCase: '/Switch Case' */ if (SIL_DW.SwitchCase_ActiveSubsystem_e == 0) { - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_k = -1; } SIL_DW.SwitchCase_ActiveSubsystem_e = -1; - /* End of Disable for SwitchCase: '/Switch Case' */ + /* End of Disable for SwitchCase: '/Switch Case' */ - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_l = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_avh) { case 0: - /* Outputs for IfAction SubSystem: '/THT_Q_CTRL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/THT_Q_CTRL' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_e; + /* SwitchCase: '/Switch Case' */ + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_e; if (rtb_Merge_o_CSAS_pitch == ENUM_CSAS_PITCH_THT_CTRL) { SIL_DW.SwitchCase_ActiveSubsystem_e = 0; } else { SIL_DW.SwitchCase_ActiveSubsystem_e = 1; } - if ((s373_iter != SIL_DW.SwitchCase_ActiveSubsystem_e) && (s373_iter == + if ((s302_iter != SIL_DW.SwitchCase_ActiveSubsystem_e) && (s302_iter == 0)) { - /* Disable for If: '/If' */ + /* Disable for If: '/If' */ SIL_DW.If_ActiveSubsystem_k = -1; } switch (SIL_DW.SwitchCase_ActiveSubsystem_e) { case 0: - /* Outputs for IfAction SubSystem: '/tht_ctrl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/tht_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* Outputs for Atomic SubSystem: '/tht_ctrl' */ - /* Saturate: '/Saturation' */ + /* Outputs for Atomic SubSystem: '/tht_ctrl' */ + /* Saturate: '/Saturation' */ if (SIL_B.BusAssignment_j.phi > 1.0F) { rtb_Product1_d = 1.0F; } else if (SIL_B.BusAssignment_j.phi < -1.0F) { @@ -24950,69 +25432,69 @@ void SIL_step(void) rtb_Product1_d = SIL_B.BusAssignment_j.phi; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Product: '/Divide' incorporates: - * Product: '/Product' - * Product: '/Product2' - * Sum: '/Sum' - * Sum: '/Sum5' - * Trigonometry: '/Trigonometric Function' - * Trigonometry: '/Trigonometric Function1' + /* Product: '/Divide' incorporates: + * Product: '/Product' + * Product: '/Product2' + * Sum: '/Sum' + * Sum: '/Sum5' + * Trigonometry: '/Trigonometric Function' + * Trigonometry: '/Trigonometric Function1' */ rtb_posv_g = ((rtb_Merge_o_tht_c - SIL_B.BusAssignment_j.tht) * 2.0F + SIL_B.BusAssignment_j.r * sinf(rtb_Product1_d)) / cosf (rtb_Product1_d); - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Product1_d = -rtb_Merge_o_max_q; - /* Switch: '/Switch' incorporates: - * Gain: '/Gain3' - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain3' + * RelationalOperator: '/UpperRelop' */ if (!(rtb_posv_g < -rtb_Merge_o_max_q)) { rtb_Product1_d = rtb_posv_g; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (rtb_posv_g > rtb_Merge_o_max_q) { rtb_Product1_d = rtb_Merge_o_max_q; } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/tht_ctrl' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/tht_ctrl' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Inport: '/in' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Inport: '/in' */ - s373_iter = SIL_DW.If_ActiveSubsystem_k; + s302_iter = SIL_DW.If_ActiveSubsystem_k; SIL_DW.If_ActiveSubsystem_k = (int8_T)(SIL_P.use_tht_leadlag == 0); switch (SIL_DW.If_ActiveSubsystem_k) { case 0: - if (SIL_DW.If_ActiveSubsystem_k != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/enable_lead_lag' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_k != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/enable_lead_lag' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' + /* InitializeConditions for If: '/If' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_he = 0.0F; - /* End of InitializeConditions for SubSystem: '/enable_lead_lag' */ + /* End of InitializeConditions for SubSystem: '/enable_lead_lag' */ } - /* Outputs for IfAction SubSystem: '/enable_lead_lag' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/enable_lead_lag' incorporates: + * ActionPort: '/Action Port' */ - /* DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant2' + /* DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: + * Constant: '/Constant1' + * Constant: '/Constant2' */ SIL_DW.DiscreteTransferFcn_tmp_i = rtb_Product1_d - SIL_P.den_tht_leadlag[1] * SIL_DW.DiscreteTransferFcn_states_he; @@ -25020,105 +25502,105 @@ void SIL_step(void) SIL_DW.DiscreteTransferFcn_tmp_i + SIL_P.num_tht_leadlag[1] * SIL_DW.DiscreteTransferFcn_states_he; - /* Switch: '/Switch2' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' - * Gain: '/gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' + * Gain: '/gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Merge_a1 > rtb_Merge_o_max_q) { - /* SignalConversion: '/OutportBufferForout' */ + /* SignalConversion: '/OutportBufferForout' */ rtb_Merge_a1 = rtb_Merge_o_max_q; } else { if (rtb_Merge_a1 < -rtb_Merge_o_max_q) { - /* Switch: '/Switch' incorporates: - * Gain: '/gain' - * SignalConversion: '/OutportBufferForout' + /* Switch: '/Switch' incorporates: + * Gain: '/gain' + * SignalConversion: '/OutportBufferForout' */ rtb_Merge_a1 = -rtb_Merge_o_max_q; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_he = SIL_DW.DiscreteTransferFcn_tmp_i; - /* End of Outputs for SubSystem: '/enable_lead_lag' */ + /* End of Outputs for SubSystem: '/enable_lead_lag' */ break; case 1: - /* Outputs for IfAction SubSystem: '/disable_lead_lag' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/disable_lead_lag' incorporates: + * ActionPort: '/Action Port' */ rtb_Merge_a1 = rtb_Product1_d; - /* End of Outputs for SubSystem: '/disable_lead_lag' */ + /* End of Outputs for SubSystem: '/disable_lead_lag' */ break; } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/tht_ctrl' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/tht_ctrl' */ break; case 1: - /* Outputs for IfAction SubSystem: '/pass_q_c' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/pass_q_c' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/Signal Copy' */ + /* SignalConversion: '/Signal Copy' */ rtb_Merge_a1 = rtb_Merge_o_q_c; - /* End of Outputs for SubSystem: '/pass_q_c' */ + /* End of Outputs for SubSystem: '/pass_q_c' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* If: '/If' incorporates: - * Constant: '/Constant' - * Constant: '/Constant' - * Constant: '/Constant3' - * Constant: '/Constant5' - * RelationalOperator: '/Compare' + /* If: '/If' incorporates: + * Constant: '/Constant' + * Constant: '/Constant' + * Constant: '/Constant3' + * Constant: '/Constant5' + * RelationalOperator: '/Compare' */ - s373_iter = SIL_DW.If_ActiveSubsystem_l; + s302_iter = SIL_DW.If_ActiveSubsystem_l; SIL_DW.If_ActiveSubsystem_l = (int8_T)(rtb_Merge_o_USE_ADRC != 2); switch (SIL_DW.If_ActiveSubsystem_l) { case 0: - if (SIL_DW.If_ActiveSubsystem_l != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/q_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_l != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/q_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * Delay: '/Delay' - * DiscreteIntegrator: '/Discrete-Time Integrator' - * DiscreteIntegrator: '/Discrete-Time Integrator1' + /* InitializeConditions for If: '/If' incorporates: + * Delay: '/Delay' + * DiscreteIntegrator: '/Discrete-Time Integrator' + * DiscreteIntegrator: '/Discrete-Time Integrator1' */ SIL_DW.DiscreteTimeIntegrator1_DSTATE_c = 0.0F; SIL_DW.icLoad_me = 1U; SIL_DW.DiscreteTimeIntegrator_DSTATE_k = 0.0F; - /* End of InitializeConditions for SubSystem: '/q_ctrl_ADRC' */ + /* End of InitializeConditions for SubSystem: '/q_ctrl_ADRC' */ } - /* Outputs for IfAction SubSystem: '/q_ctrl_ADRC' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/q_ctrl_ADRC' incorporates: + * ActionPort: '/Action Port' */ - /* Abs: '/abs' incorporates: - * Product: '/Product3' + /* Abs: '/abs' incorporates: + * Product: '/Product3' */ rtb_Product1_d = fabsf(rtb_Product2_f * rtb_Merge_o_min_de); - /* Switch: '/Switch2' incorporates: - * DiscreteIntegrator: '/Discrete-Time Integrator1' - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * DiscreteIntegrator: '/Discrete-Time Integrator1' + * RelationalOperator: '/LowerRelop1' */ if (!(SIL_DW.DiscreteTimeIntegrator1_DSTATE_c > rtb_Product1_d)) { - /* Switch: '/Switch' incorporates: - * Gain: '/gain' - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * Gain: '/gain' + * RelationalOperator: '/UpperRelop' */ if (SIL_DW.DiscreteTimeIntegrator1_DSTATE_c < -rtb_Product1_d) { rtb_Product1_d = -rtb_Product1_d; @@ -25126,25 +25608,25 @@ void SIL_step(void) rtb_Product1_d = SIL_DW.DiscreteTimeIntegrator1_DSTATE_c; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Sum: '/add1' incorporates: - * Constant: '/Constant5' - * Product: '/Product' - * Sum: '/add' + /* Sum: '/add1' incorporates: + * Constant: '/Constant5' + * Product: '/Product' + * Sum: '/add' */ rtb_add1 = (rtb_Merge_a1 - SIL_B.BusAssignment_j.q) * SIL_P.ADRC_wc_q - rtb_Product1_d; - /* Product: '/Product2' */ + /* Product: '/Product2' */ rtb_Product1_i5 = rtb_Product2_f * rtb_Delay; - /* Delay: '/Delay' incorporates: - * Constant: '/Constant' - * Product: '/Product2' + /* Delay: '/Delay' incorporates: + * Constant: '/Constant' + * Product: '/Product2' */ if (SIL_DW.icLoad_me != 0) { for (idx = 0; idx < 100; idx++) { @@ -25154,31 +25636,31 @@ void SIL_step(void) rtb_Delay = SIL_DW.Delay_DSTATE_k[99U]; - /* MATLAB Function: '/leso' incorporates: - * Constant: '/Constant1' + /* MATLAB Function: '/leso' incorporates: + * Constant: '/Constant1' */ rtb_posv_g = SIL_P.ADRC_wo_q + rtb_Product3_bz; - /* Product: '/Divide' */ + /* Product: '/Divide' */ rtb_de_des_j = rtb_add1 / rtb_Product2_f; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_de_des_j > rtb_Merge_o_max_de) { rtb_de_des_j = rtb_Merge_o_max_de; } else { if (rtb_de_des_j < rtb_Merge_o_min_de) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_de_des_j = rtb_Merge_o_min_de; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Sum2_c = rtb_d1a; rtb_Product1_i5 = rtb_z1; rtb_KP = rtb_Merge_o_del_c; @@ -25309,13 +25791,13 @@ void SIL_step(void) rtb_Merge_e_min_rpm = rtb_Merge_o_min_rpm; rtb_Merge_e_q_c = rtb_Merge_a1; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Update for DiscreteIntegrator: '/Discrete-Time Integrator1' incorporates: - * Constant: '/Constant' - * Delay: '/Delay' - * DiscreteIntegrator: '/Discrete-Time Integrator' - * MATLAB Function: '/leso' + /* Update for DiscreteIntegrator: '/Discrete-Time Integrator1' incorporates: + * Constant: '/Constant' + * Delay: '/Delay' + * DiscreteIntegrator: '/Discrete-Time Integrator' + * MATLAB Function: '/leso' */ SIL_DW.DiscreteTimeIntegrator1_DSTATE_c += (((-(rtb_posv_g * rtb_posv_g) * SIL_DW.DiscreteTimeIntegrator_DSTATE_k + @@ -25323,7 +25805,7 @@ void SIL_step(void) SIL_DW.Delay_DSTATE_k[99U]) + rtb_posv_g * rtb_posv_g * SIL_B.BusAssignment_j.q) * 0.005F; - /* Update for Delay: '/Delay' */ + /* Update for Delay: '/Delay' */ SIL_DW.icLoad_me = 0U; for (idx = 0; idx < 99; idx++) { SIL_DW.Delay_DSTATE_k[idx] = SIL_DW.Delay_DSTATE_k[idx + 1]; @@ -25331,159 +25813,159 @@ void SIL_step(void) SIL_DW.Delay_DSTATE_k[99] = rtb_add1; - /* End of Update for Delay: '/Delay' */ + /* End of Update for Delay: '/Delay' */ - /* Update for DiscreteIntegrator: '/Discrete-Time Integrator' incorporates: - * Constant: '/Constant1' - * MATLAB Function: '/leso' + /* Update for DiscreteIntegrator: '/Discrete-Time Integrator' incorporates: + * Constant: '/Constant1' + * MATLAB Function: '/leso' */ SIL_DW.DiscreteTimeIntegrator_DSTATE_k += ((((-2.0F * SIL_P.ADRC_wo_q - rtb_Product3_bz) * SIL_DW.DiscreteTimeIntegrator_DSTATE_k + rtb_Product1_d) + rtb_Delay) + (2.0F * SIL_P.ADRC_wo_q + rtb_Product3_bz) * SIL_B.BusAssignment_j.q) * 0.005F; - /* End of Outputs for SubSystem: '/q_ctrl_ADRC' */ + /* End of Outputs for SubSystem: '/q_ctrl_ADRC' */ break; case 1: - if (SIL_DW.If_ActiveSubsystem_l != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/q_ctrl' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.If_ActiveSubsystem_l != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/q_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for If: '/If' incorporates: - * Delay: '/Delay' - * UnitDelay: '/Unit Delay' + /* InitializeConditions for If: '/If' incorporates: + * Delay: '/Delay' + * UnitDelay: '/Unit Delay' */ SIL_DW.icLoad_b = 1U; SIL_DW.UnitDelay_DSTATE_n = 0.0F; - /* End of InitializeConditions for SubSystem: '/q_ctrl' */ + /* End of InitializeConditions for SubSystem: '/q_ctrl' */ - /* SystemReset for IfAction SubSystem: '/q_ctrl' incorporates: - * ActionPort: '/Action Port' + /* SystemReset for IfAction SubSystem: '/q_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/theta1' */ - /* SystemReset for If: '/If' */ + /* SystemReset for Atomic SubSystem: '/theta1' */ + /* SystemReset for If: '/If' */ SIL_theta1_Reset(&SIL_DW.theta1); - /* End of SystemReset for SubSystem: '/theta1' */ + /* End of SystemReset for SubSystem: '/theta1' */ - /* SystemReset for Atomic SubSystem: '/theta2' */ + /* SystemReset for Atomic SubSystem: '/theta2' */ SIL_theta2_Reset(&SIL_DW.theta2); - /* End of SystemReset for SubSystem: '/theta2' */ + /* End of SystemReset for SubSystem: '/theta2' */ - /* SystemReset for Atomic SubSystem: '/theta3' */ + /* SystemReset for Atomic SubSystem: '/theta3' */ SIL_theta2_Reset(&SIL_DW.theta3); - /* End of SystemReset for SubSystem: '/theta3' */ - /* End of SystemReset for SubSystem: '/q_ctrl' */ + /* End of SystemReset for SubSystem: '/theta3' */ + /* End of SystemReset for SubSystem: '/q_ctrl' */ } - /* Outputs for IfAction SubSystem: '/q_ctrl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/q_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Product3' */ + /* Product: '/Product3' */ rtb_qdot_max_a = rtb_Product2_f * rtb_Merge_o_min_de; - /* Delay: '/Delay' incorporates: - * Product: '/Product2' + /* Delay: '/Delay' incorporates: + * Product: '/Product2' */ if (SIL_DW.icLoad_b != 0) { SIL_DW.Delay_DSTATE_e = rtb_Product2_f * rtb_Delay; } - /* Sum: '/Sum' incorporates: - * Constant: '/Constant1' - * Gain: '/Gain1' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant1' + * Gain: '/Gain1' */ rtb_Delay = -rtb_Product3_bz + 1.0F; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant4' - * Constant: '/Constant1' - * Gain: '/Gain1' - * Sum: '/Sum' - * Sum: '/Sum2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant4' + * Constant: '/Constant1' + * Gain: '/Gain1' + * Sum: '/Sum' + * Sum: '/Sum2' */ if (7.0F - (-rtb_Product3_bz + 1.0F) > 0.0F) { rtb_Delay = 7.0F; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SignalConversion: '/Signal Copy1' incorporates: - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/Signal Copy1' incorporates: + * UnitDelay: '/Unit Delay' */ rec_hi.q_hat = SIL_DW.UnitDelay_DSTATE_n; - /* Gain: '/Gain' incorporates: - * Sum: '/Sum1' - * UnitDelay: '/Unit Delay' + /* Gain: '/Gain' incorporates: + * Sum: '/Sum1' + * UnitDelay: '/Unit Delay' */ rtb_Saturation2_n = -(SIL_DW.UnitDelay_DSTATE_n - SIL_B.BusAssignment_j.q); - /* Gain: '/Gain4' incorporates: - * Delay: '/Delay' - * Product: '/Product2' + /* Gain: '/Gain4' incorporates: + * Delay: '/Delay' + * Product: '/Product2' */ rtb_Saturation_h = rtb_Saturation2_n * SIL_DW.Delay_DSTATE_e * SIL_P.Gamma_L1; - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Saturation_h > 1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_h = 1000.0F; } else { if (rtb_Saturation_h < -1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_h = -1000.0F; } } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Outputs for Atomic SubSystem: '/theta1' */ + /* Outputs for Atomic SubSystem: '/theta1' */ rtb_Switch2_b = (real32_T) SIL_theta1(rtb_Saturation_h, 3.0F, 1.0F, &SIL_DW.theta1, 0.005F); - /* End of Outputs for SubSystem: '/theta1' */ + /* End of Outputs for SubSystem: '/theta1' */ - /* Gain: '/Gain3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' + /* Gain: '/Gain3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' */ rtb_Saturation1_o = SIL_P.Gamma_L1 * rtb_Saturation2_n; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (rtb_Saturation1_o > 1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_o = 1000.0F; } else { if (rtb_Saturation1_o < -1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_o = -1000.0F; } } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Outputs for Atomic SubSystem: '/theta2' */ + /* Outputs for Atomic SubSystem: '/theta2' */ rtb_Switch2_k = (real32_T) SIL_theta2(rtb_Saturation1_o, rtb_qdot_max_a, 0.0F, &SIL_DW.theta2, 0.005F); - /* End of Outputs for SubSystem: '/theta2' */ + /* End of Outputs for SubSystem: '/theta2' */ - /* Product: '/Product1' incorporates: - * Constant: '/Constant5' + /* Product: '/Product1' incorporates: + * Constant: '/Constant5' */ rtb_Saturation2_n *= SIL_B.BusAssignment_j.q; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ rtb_Saturation2_n *= SIL_P.Gamma_L1; - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (rtb_Saturation2_n > 1000.0F) { rtb_Saturation2_n = 1000.0F; } else { @@ -25492,82 +25974,82 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_n = rtb_Product3_bz + rtb_Delay; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_iz = 2.0F * rtb_Sum_n; - /* Outputs for Atomic SubSystem: '/theta3' */ + /* Outputs for Atomic SubSystem: '/theta3' */ rtb_Switch2_i = (real32_T) SIL_theta2(rtb_Saturation2_n, rtb_Gain1_iz, rtb_Sum_n, &SIL_DW.theta3, 0.005F); - /* End of Outputs for SubSystem: '/theta3' */ + /* End of Outputs for SubSystem: '/theta3' */ - /* Sum: '/Sum2' incorporates: - * Delay: '/Delay' - * Product: '/Product1' - * Product: '/Product2' + /* Sum: '/Sum2' incorporates: + * Delay: '/Delay' + * Product: '/Product1' + * Product: '/Product2' */ rtb_Product1_d = (rtb_Switch2_b * SIL_DW.Delay_DSTATE_e + rtb_Switch2_k) + rtb_Switch2_i * SIL_B.BusAssignment_j.q; - /* Sum: '/Sum5' incorporates: - * Constant: '/Constant4' - * Delay: '/Delay' - * Gain: '/dt' - * Product: '/Product' - * Product: '/Product1' - * Sum: '/Sum' + /* Sum: '/Sum5' incorporates: + * Constant: '/Constant4' + * Delay: '/Delay' + * Gain: '/dt' + * Product: '/Product' + * Product: '/Product1' + * Sum: '/Sum' */ rtb_posv_g = (rtb_Delay * rtb_Merge_a1 - rtb_Product1_d) * 7.0F * 0.005F + SIL_DW.Delay_DSTATE_e; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_posv_g > rtb_qdot_max_a) { rtb_posv_g = rtb_qdot_max_a; } else { if (rtb_posv_g < -rtb_qdot_max_a) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_posv_g = -rtb_qdot_max_a; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* SignalConversion: '/Signal Copy' */ + /* SignalConversion: '/Signal Copy' */ rec_hi.qdot_c = rtb_posv_g; - /* Product: '/Divide' */ + /* Product: '/Divide' */ rtb_de_des_j = rec_hi.qdot_c / rtb_Product2_f; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_de_des_j > rtb_Merge_o_max_de) { rtb_de_des_j = rtb_Merge_o_max_de; } else { if (rtb_de_des_j < rtb_Merge_o_min_de) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_de_des_j = rtb_Merge_o_min_de; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Sum2_c = rtb_d1a; rtb_Product1_i5 = rtb_z1; rtb_KP = rtb_Merge_o_del_c; @@ -25698,59 +26180,59 @@ void SIL_step(void) rtb_Merge_e_min_rpm = rtb_Merge_o_min_rpm; rtb_Merge_e_q_c = rtb_Merge_a1; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Sum: '/Sum5' incorporates: - * Gain: '/dt' - * Product: '/Product' - * Sum: '/Sum' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum5' incorporates: + * Gain: '/dt' + * Product: '/Product' + * Sum: '/Sum' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_n += (rtb_Product1_d - rtb_Delay * SIL_DW.UnitDelay_DSTATE_n) * 0.005F; - /* SignalConversion: '/Signal Copy4' */ + /* SignalConversion: '/Signal Copy4' */ rec_hi.q_tht_hat = rtb_Switch2_i; - /* SignalConversion: '/Signal Copy2' */ + /* SignalConversion: '/Signal Copy2' */ rec_hi.q_sigma_hat = rtb_Switch2_k; - /* SignalConversion: '/Signal Copy3' */ + /* SignalConversion: '/Signal Copy3' */ rec_hi.q_omega_hat = rtb_Switch2_b; - /* Update for Delay: '/Delay' */ + /* Update for Delay: '/Delay' */ SIL_DW.icLoad_b = 0U; SIL_DW.Delay_DSTATE_e = rtb_posv_g; - /* End of Outputs for SubSystem: '/q_ctrl' */ + /* End of Outputs for SubSystem: '/q_ctrl' */ break; } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/THT_Q_CTRL' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/THT_Q_CTRL' */ break; case 1: - /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Delay > rtb_Merge_o_max_de) { rtb_de_des_j = rtb_Merge_o_max_de; } else if (rtb_Delay < rtb_Merge_o_min_de) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_de_des_j = rtb_Merge_o_min_de; } else { rtb_de_des_j = rtb_Delay; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Sum2_c = rtb_d1a; rtb_Product1_i5 = rtb_z1; rtb_KP = rtb_Merge_o_del_c; @@ -25881,16 +26363,16 @@ void SIL_step(void) rtb_Merge_e_max_rpm = rtb_Merge_o_max_rpm; rtb_Merge_e_min_rpm = rtb_Merge_o_min_rpm; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/COMMAND' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/COMMAND' */ break; case 2: - /* Outputs for IfAction SubSystem: '/OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/OFF' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ rtb_Sum2_c = rtb_d1a; rtb_Product1_i5 = rtb_z1; @@ -26023,20 +26505,20 @@ void SIL_step(void) rtb_Merge_e_min_rpm = rtb_Merge_o_min_rpm; rtb_de_des_j = 0.0F; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/OFF' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/OFF' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/pitch' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/pitch' */ - /* SwitchCase: '/Switch Case' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' - * Constant: '/Constant5' + /* SwitchCase: '/Switch Case' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' + * Constant: '/Constant5' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_c0; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_c0; switch (rtb_Merge_e_CSAS_yaw) { case ENUM_CSAS_YAW_DAMPING: SIL_DW.SwitchCase_ActiveSubsystem_c0 = 0; @@ -26058,26 +26540,26 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_c0) { case 0: - if (SIL_DW.SwitchCase_ActiveSubsystem_c0 != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/DAMPING' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_c0 != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/DAMPING' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * DiscreteTransferFcn: '/Discrete Transfer Fcn' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_h[0] = 0.0F; SIL_DW.DiscreteTransferFcn_states_h[1] = 0.0F; - /* End of InitializeConditions for SubSystem: '/DAMPING' */ + /* End of InitializeConditions for SubSystem: '/DAMPING' */ } - /* Outputs for IfAction SubSystem: '/DAMPING' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/DAMPING' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/add' incorporates: - * Constant: '/Constant4' - * DiscreteTransferFcn: '/Discrete Transfer Fcn' - * Gain: '/gain' + /* Sum: '/add' incorporates: + * Constant: '/Constant4' + * DiscreteTransferFcn: '/Discrete Transfer Fcn' + * Gain: '/gain' */ rtb_de_des = ((SIL_P.washout_r_num[0] * SIL_DW.DiscreteTransferFcn_states_h[0] + @@ -26085,26 +26567,26 @@ void SIL_step(void) SIL_DW.DiscreteTransferFcn_states_h[1]) + rtb_Merge_e_dr0_c) + -0.007F * SIL_B.BusAssignment_j.p; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_de_des > rtb_Merge_e_max_dr) { rtb_de_des = rtb_Merge_e_max_dr; } else { if (rtb_de_des < -rtb_Merge_e_max_dr) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_de_des = -rtb_Merge_e_max_dr; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Product2_jc = rtb_de_des_j; rtb_Divide1_bu = rtb_Product1_i5; rtb_Merge_nl_del_c = rtb_KP; @@ -26235,15 +26717,15 @@ void SIL_step(void) rtb_Merge_nl_max_rpm = rtb_Merge_e_max_rpm; rtb_Merge_nl_min_rpm = rtb_Merge_e_min_rpm; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Product: '/Product' incorporates: - * Constant: '/Constant2' + /* Product: '/Product' incorporates: + * Constant: '/Constant2' */ SIL_B.Product_ct = SIL_B.BusAssignment_j.r * 0.25F; - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: - * Constant: '/Constant3' + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' incorporates: + * Constant: '/Constant3' */ rtb_Product1_i5 = (SIL_B.Product_ct - SIL_P.washout_r_den[1] * SIL_DW.DiscreteTransferFcn_states_h[0]) - @@ -26252,33 +26734,33 @@ void SIL_step(void) SIL_DW.DiscreteTransferFcn_states_h[0]; SIL_DW.DiscreteTransferFcn_states_h[0] = rtb_Product1_i5; - /* End of Outputs for SubSystem: '/DAMPING' */ + /* End of Outputs for SubSystem: '/DAMPING' */ break; case 1: - /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: + * ActionPort: '/Action Port' */ - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Sum2_c > rtb_Merge_e_max_dr) { rtb_de_des = rtb_Merge_e_max_dr; } else if (rtb_Sum2_c < -rtb_Merge_e_max_dr) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_de_des = -rtb_Merge_e_max_dr; } else { rtb_de_des = rtb_Sum2_c; } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Product2_jc = rtb_de_des_j; rtb_Divide1_bu = rtb_Product1_i5; rtb_Merge_nl_del_c = rtb_KP; @@ -26409,127 +26891,127 @@ void SIL_step(void) rtb_Merge_nl_max_rpm = rtb_Merge_e_max_rpm; rtb_Merge_nl_min_rpm = rtb_Merge_e_min_rpm; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/COMMAND' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/COMMAND' */ break; case 2: - if (SIL_DW.SwitchCase_ActiveSubsystem_c0 != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/AY_R_CTRL' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_c0 != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/AY_R_CTRL' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * Delay: '/Delay' - * UnitDelay: '/Unit Delay' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * Delay: '/Delay' + * UnitDelay: '/Unit Delay' */ SIL_DW.icLoad_p = 1U; SIL_DW.UnitDelay_DSTATE_e = 0.0F; - /* End of InitializeConditions for SubSystem: '/AY_R_CTRL' */ + /* End of InitializeConditions for SubSystem: '/AY_R_CTRL' */ - /* SystemReset for IfAction SubSystem: '/AY_R_CTRL' incorporates: - * ActionPort: '/Action Port' + /* SystemReset for IfAction SubSystem: '/AY_R_CTRL' incorporates: + * ActionPort: '/Action Port' */ - /* SystemReset for Atomic SubSystem: '/theta1' */ - /* SystemReset for SwitchCase: '/Switch Case' */ + /* SystemReset for Atomic SubSystem: '/theta1' */ + /* SystemReset for SwitchCase: '/Switch Case' */ SIL_theta1_Reset(&SIL_DW.theta1_b); - /* End of SystemReset for SubSystem: '/theta1' */ + /* End of SystemReset for SubSystem: '/theta1' */ - /* SystemReset for Atomic SubSystem: '/theta2' */ + /* SystemReset for Atomic SubSystem: '/theta2' */ SIL_theta2_Reset(&SIL_DW.theta2_f); - /* End of SystemReset for SubSystem: '/theta2' */ + /* End of SystemReset for SubSystem: '/theta2' */ - /* SystemReset for Atomic SubSystem: '/theta3' */ + /* SystemReset for Atomic SubSystem: '/theta3' */ SIL_theta2_Reset(&SIL_DW.theta3_f); - /* End of SystemReset for SubSystem: '/theta3' */ - /* End of SystemReset for SubSystem: '/AY_R_CTRL' */ + /* End of SystemReset for SubSystem: '/theta3' */ + /* End of SystemReset for SubSystem: '/AY_R_CTRL' */ } - /* Outputs for IfAction SubSystem: '/AY_R_CTRL' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AY_R_CTRL' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Product3' incorporates: - * Gain: '/Gain' + /* Product: '/Product3' incorporates: + * Gain: '/Gain' */ - rtb_qdot_max = rtb_product_j * -rtb_Merge_e_max_dr; + rtb_qdot_max = rtb_Sqrt_b * -rtb_Merge_e_max_dr; - /* Delay: '/Delay' incorporates: - * Product: '/Product2' + /* Delay: '/Delay' incorporates: + * Product: '/Product2' */ if (SIL_DW.icLoad_p != 0) { - SIL_DW.Delay_DSTATE_m = rtb_product_j * rtb_Sum2_c; + SIL_DW.Delay_DSTATE_m = rtb_Sqrt_b * rtb_Sum2_c; } - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ if (rtb_Merge_e_CSAS_yaw == ENUM_CSAS_YAW_AY_CTRL) { - /* Outputs for IfAction SubSystem: '/ay_ctrl' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ay_ctrl' incorporates: + * ActionPort: '/Action Port' */ - /* Product: '/Product2' incorporates: - * Constant: '/Constant3' - * Constant: '/Constant BP' - * Product: '/Product1' - * Sum: '/Sum1' + /* Product: '/Product2' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant BP' + * Product: '/Product1' + * Sum: '/Sum1' */ rtb_Product2_jc = (rtb_Merge_e_ay_c - SIL_B.BusAssignment_j.ay) * (SIL_P.w_r / 2.56F); - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (SIL_B.BusAssignment_j.qbar <= 20.0F) { rtb_Sum1_o = 20.0F; } else { rtb_Sum1_o = SIL_B.BusAssignment_j.qbar; } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Product: '/Divide1' incorporates: - * Constant: '/Constant14' - * Constant: '/Constant5' - * Constant: '/Sc_Iyy' + /* Product: '/Divide1' incorporates: + * Constant: '/Constant14' + * Constant: '/Constant5' + * Constant: '/Sc_Iyy' */ rtb_Divide1_bu = SIL_P.m / rtb_Sum1_o / SIL_P.RefArea / SIL_P.Csb; - /* Delay: '/Delay' incorporates: - * Product: '/Divide2' - * Sum: '/Sum3' + /* Delay: '/Delay' incorporates: + * Product: '/Divide2' + * Sum: '/Sum3' */ if (SIL_DW.icLoad_a != 0) { SIL_DW.Delay_DSTATE_it = SIL_B.BusAssignment_j.r / rtb_Divide1_bu - rtb_Product2_jc; } - /* Product: '/Product' incorporates: - * Delay: '/Delay' - * Sum: '/Sum2' + /* Product: '/Product' incorporates: + * Delay: '/Delay' + * Sum: '/Sum2' */ rtb_Product_pq = (SIL_DW.Delay_DSTATE_it + rtb_Product2_jc) * rtb_Divide1_bu; - /* Switch: '/Switch2' incorporates: - * Constant: '/Constant Single2' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Constant: '/Constant Single2' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Product_pq > 1.0F) { rtb_Product_pq = 1.0F; } else { if (rtb_Product_pq < -1.0F) { - /* Switch: '/Switch' */ + /* Switch: '/Switch' */ rtb_Product_pq = -1.0F; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* Update for Delay: '/Delay' */ + /* Update for Delay: '/Delay' */ SIL_DW.icLoad_a = 0U; - /* Saturate: '/Saturation' incorporates: + /* Saturate: '/Saturation' incorporates: * UnitDelay: '/Unit Delay' */ if (SIL_DW.UnitDelay_DSTATE.v_gv <= 10.0F) { @@ -26538,115 +27020,115 @@ void SIL_step(void) rtb_Sum1_o = SIL_DW.UnitDelay_DSTATE.v_gv; } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Update for Delay: '/Delay' incorporates: - * Constant: '/Constant' - * Product: '/Divide' - * Product: '/Divide3' - * Product: '/Product1' - * Sum: '/Sum' - * Sum: '/Sum4' + /* Update for Delay: '/Delay' incorporates: + * Constant: '/Constant' + * Product: '/Divide' + * Product: '/Divide3' + * Product: '/Product1' + * Sum: '/Sum' + * Sum: '/Sum4' */ SIL_DW.Delay_DSTATE_it = 1.0F / rtb_Divide1_bu / rtb_Sum1_o * (0.005F * rtb_Product2_jc) + (rtb_Product_pq / rtb_Divide1_bu - rtb_Product2_jc); - /* End of Outputs for SubSystem: '/ay_ctrl' */ + /* End of Outputs for SubSystem: '/ay_ctrl' */ } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* Sum: '/Sum' incorporates: - * Constant: '/Constant1' - * Gain: '/Gain1' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant1' + * Gain: '/Gain1' */ rtb_Merge_a1 = -rtb_table3D_Nh + 1.0F; - /* Switch: '/Switch' incorporates: - * Constant: '/Constant1' - * Constant: '/Constant3' - * Gain: '/Gain1' - * Sum: '/Sum' - * Sum: '/Sum2' + /* Switch: '/Switch' incorporates: + * Constant: '/Constant3' + * Constant: '/Constant1' + * Gain: '/Gain1' + * Sum: '/Sum' + * Sum: '/Sum2' */ if (SIL_P.w_r - (-rtb_table3D_Nh + 1.0F) > 0.0F) { rtb_Merge_a1 = SIL_P.w_r; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ - /* SignalConversion: '/Signal Copy1' incorporates: - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/Signal Copy1' incorporates: + * UnitDelay: '/Unit Delay' */ rec_hi.r_hat = SIL_DW.UnitDelay_DSTATE_e; - /* Gain: '/Gain' incorporates: - * Sum: '/Sum1' - * UnitDelay: '/Unit Delay' + /* Gain: '/Gain' incorporates: + * Sum: '/Sum1' + * UnitDelay: '/Unit Delay' */ rtb_Saturation2 = -(SIL_DW.UnitDelay_DSTATE_e - SIL_B.BusAssignment_j.r); - /* Gain: '/Gain4' incorporates: - * Delay: '/Delay' - * Product: '/Product2' + /* Gain: '/Gain4' incorporates: + * Delay: '/Delay' + * Product: '/Product2' */ rtb_Saturation_m = rtb_Saturation2 * SIL_DW.Delay_DSTATE_m * SIL_P.Gamma_L1; - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_Saturation_m > 1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_m = 1000.0F; } else { if (rtb_Saturation_m < -1000.0F) { - /* Gain: '/Gain4' */ + /* Gain: '/Gain4' */ rtb_Saturation_m = -1000.0F; } } - /* End of Saturate: '/Saturation' */ + /* End of Saturate: '/Saturation' */ - /* Outputs for Atomic SubSystem: '/theta1' */ + /* Outputs for Atomic SubSystem: '/theta1' */ rtb_Switch2_d = (real32_T) SIL_theta1(rtb_Saturation_m, 3.0F, 1.0F, &SIL_DW.theta1_b, 0.005F); - /* End of Outputs for SubSystem: '/theta1' */ + /* End of Outputs for SubSystem: '/theta1' */ - /* Gain: '/Gain3' incorporates: - * Constant: '/Constant' - * Constant: '/Constant3' + /* Gain: '/Gain3' incorporates: + * Constant: '/Constant' + * Constant: '/Constant3' */ rtb_Saturation1_l = SIL_P.Gamma_L1 * rtb_Saturation2; - /* Saturate: '/Saturation1' */ + /* Saturate: '/Saturation1' */ if (rtb_Saturation1_l > 1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_l = 1000.0F; } else { if (rtb_Saturation1_l < -1000.0F) { - /* Gain: '/Gain3' */ + /* Gain: '/Gain3' */ rtb_Saturation1_l = -1000.0F; } } - /* End of Saturate: '/Saturation1' */ + /* End of Saturate: '/Saturation1' */ - /* Outputs for Atomic SubSystem: '/theta2' */ + /* Outputs for Atomic SubSystem: '/theta2' */ rtb_Switch2_e = (real32_T) SIL_theta2(rtb_Saturation1_l, rtb_qdot_max, 0.0F, &SIL_DW.theta2_f, 0.005F); - /* End of Outputs for SubSystem: '/theta2' */ + /* End of Outputs for SubSystem: '/theta2' */ - /* Product: '/Product1' incorporates: - * Constant: '/Constant5' + /* Product: '/Product1' incorporates: + * Constant: '/Constant5' */ rtb_Saturation2 *= SIL_B.BusAssignment_j.r; - /* Gain: '/Gain2' */ + /* Gain: '/Gain2' */ rtb_Saturation2 *= SIL_P.Gamma_L1; - /* Saturate: '/Saturation2' */ + /* Saturate: '/Saturation2' */ if (rtb_Saturation2 > 1000.0F) { rtb_Saturation2 = 1000.0F; } else { @@ -26655,84 +27137,84 @@ void SIL_step(void) } } - /* End of Saturate: '/Saturation2' */ + /* End of Saturate: '/Saturation2' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ rtb_Sum_j = rtb_table3D_Nh + rtb_Merge_a1; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ rtb_Gain1_nc = 2.0F * rtb_Sum_j; - /* Outputs for Atomic SubSystem: '/theta3' */ + /* Outputs for Atomic SubSystem: '/theta3' */ rtb_Switch2_n = (real32_T) SIL_theta2(rtb_Saturation2, rtb_Gain1_nc, rtb_Sum_j, &SIL_DW.theta3_f, 0.005F); - /* End of Outputs for SubSystem: '/theta3' */ + /* End of Outputs for SubSystem: '/theta3' */ - /* Sum: '/Sum2' incorporates: - * Delay: '/Delay' - * Product: '/Product1' - * Product: '/Product2' + /* Sum: '/Sum2' incorporates: + * Delay: '/Delay' + * Product: '/Product1' + * Product: '/Product2' */ rtb_Sum2_c = (rtb_Switch2_d * SIL_DW.Delay_DSTATE_m + rtb_Switch2_e) + rtb_Switch2_n * SIL_B.BusAssignment_j.r; - /* Sum: '/Sum5' incorporates: - * Constant: '/Constant4' - * Delay: '/Delay' - * Gain: '/dt' - * Product: '/Product' - * Product: '/Product1' - * Sum: '/Sum' + /* Sum: '/Sum5' incorporates: + * Constant: '/Constant4' + * Delay: '/Delay' + * Gain: '/dt' + * Product: '/Product' + * Product: '/Product1' + * Sum: '/Sum' */ rtb_z1 = (rtb_Merge_a1 * rtb_Product_pq - rtb_Sum2_c) * SIL_P.k_r * 0.005F + SIL_DW.Delay_DSTATE_m; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_z1 > rtb_qdot_max) { rtb_z1 = rtb_qdot_max; } else { if (rtb_z1 < -rtb_qdot_max) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_z1 = -rtb_qdot_max; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* SignalConversion: '/Signal Copy' */ + /* SignalConversion: '/Signal Copy' */ rec_hi.rdot_c = rtb_z1; - /* Product: '/Divide' */ - rtb_de_des = rec_hi.rdot_c / rtb_product_j; + /* Product: '/Divide' */ + rtb_de_des = rec_hi.rdot_c / rtb_Sqrt_b; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_de_des > rtb_Merge_e_max_dr) { rtb_de_des = rtb_Merge_e_max_dr; } else { if (rtb_de_des < -rtb_Merge_e_max_dr) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain' */ rtb_de_des = -rtb_Merge_e_max_dr; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Product2_jc = rtb_de_des_j; rtb_Divide1_bu = rtb_Product1_i5; rtb_Merge_nl_del_c = rtb_KP; @@ -26863,39 +27345,39 @@ void SIL_step(void) rtb_Merge_nl_min_rpm = rtb_Merge_e_min_rpm; rtb_Merge_nl_r_c = rtb_Product_pq; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Sum: '/Sum5' incorporates: - * Gain: '/dt' - * Product: '/Product' - * Sum: '/Sum' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum5' incorporates: + * Gain: '/dt' + * Product: '/Product' + * Sum: '/Sum' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_e += (rtb_Sum2_c - rtb_Merge_a1 * SIL_DW.UnitDelay_DSTATE_e) * 0.005F; - /* SignalConversion: '/Signal Copy4' */ + /* SignalConversion: '/Signal Copy4' */ rec_hi.r_tht_hat = rtb_Switch2_n; - /* SignalConversion: '/Signal Copy2' */ + /* SignalConversion: '/Signal Copy2' */ rec_hi.r_sigma_hat = rtb_Switch2_e; - /* SignalConversion: '/Signal Copy3' */ + /* SignalConversion: '/Signal Copy3' */ rec_hi.r_omega_hat = rtb_Switch2_d; - /* Update for Delay: '/Delay' */ + /* Update for Delay: '/Delay' */ SIL_DW.icLoad_p = 0U; SIL_DW.Delay_DSTATE_m = rtb_z1; - /* End of Outputs for SubSystem: '/AY_R_CTRL' */ + /* End of Outputs for SubSystem: '/AY_R_CTRL' */ break; case 3: - /* Outputs for IfAction SubSystem: '/OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/OFF' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ rtb_Product2_jc = rtb_de_des_j; rtb_Divide1_bu = rtb_Product1_i5; @@ -27028,17 +27510,17 @@ void SIL_step(void) rtb_Merge_nl_min_rpm = rtb_Merge_e_min_rpm; rtb_de_des = 0.0F; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/OFF' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/OFF' */ break; } - /* End of SwitchCase: '/Switch Case' */ + /* End of SwitchCase: '/Switch Case' */ - /* SwitchCase: '/Switch Case' incorporates: - * Inport: '/C2_in_Inport_1' + /* SwitchCase: '/Switch Case' incorporates: + * Inport: '/C2_in_Inport_1' */ - s373_iter = SIL_DW.SwitchCase_ActiveSubsystem_o; + s302_iter = SIL_DW.SwitchCase_ActiveSubsystem_o; switch (rtb_Merge_nl_AT) { case ENUM_AT_AS: SIL_DW.SwitchCase_ActiveSubsystem_o = 0; @@ -27055,96 +27537,96 @@ void SIL_step(void) switch (SIL_DW.SwitchCase_ActiveSubsystem_o) { case 0: - if (SIL_DW.SwitchCase_ActiveSubsystem_o != s373_iter) { - /* InitializeConditions for IfAction SubSystem: '/AS' incorporates: - * ActionPort: '/Action Port' + if (SIL_DW.SwitchCase_ActiveSubsystem_o != s302_iter) { + /* InitializeConditions for IfAction SubSystem: '/AS' incorporates: + * ActionPort: '/Action Port' */ - /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: - * Delay: '/IntVal' + /* InitializeConditions for SwitchCase: '/Switch Case' incorporates: + * Delay: '/IntVal' */ SIL_DW.icLoad_i = 1U; - /* End of InitializeConditions for SubSystem: '/AS' */ + /* End of InitializeConditions for SubSystem: '/AS' */ } - /* Outputs for IfAction SubSystem: '/AS' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AS' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/gain' */ + /* Gain: '/gain' */ rtb_gain1_j = 2.17391298E-5F * rtb_Merge_nl_max_rpm; - /* Product: '/Product1' incorporates: - * Constant: '/Constant Single3' + /* Product: '/Product1' incorporates: + * Constant: '/Constant Single3' * UnitDelay: '/Unit Delay' */ rtb_Product1_i5 = SIL_DW.UnitDelay_DSTATE.gamma * 9.8F; - /* Product: '/KP' incorporates: - * Constant: '/Constant Single10' - * Constant: '/Constant Single11' - * Constant: '/two' - * Product: '/kp' + /* Product: '/KP' incorporates: + * Constant: '/Constant Single10' + * Constant: '/Constant Single11' + * Constant: '/two' + * Product: '/kp' * UnitDelay: '/Unit Delay' */ rtb_KP = SIL_P.w_v * 0.8F * 2.0F * SIL_DW.UnitDelay_DSTATE.v_gv; - /* Delay: '/IntVal' incorporates: - * Constant: '/Constant5' - * Product: '/Divide1' - * Product: '/Product3' - * Sum: '/az0' + /* Delay: '/IntVal' incorporates: + * Constant: '/Constant5' + * Product: '/Divide1' + * Product: '/Product3' + * Sum: '/az0' */ if (SIL_DW.icLoad_i != 0) { SIL_DW.IntVal_DSTATE = (rtb_LookupTableDynamic * rtb_Merge_nl_throttle_c / SIL_P.m + rtb_KP) - rtb_Product1_i5; } - /* Sum: '/az_c' incorporates: - * Constant: '/Constant Single10' - * Constant: '/Constant' - * Delay: '/IntVal' - * Product: '/KI' - * Product: '/ki' - * Sum: '/int_az' + /* Sum: '/az_c' incorporates: + * Constant: '/Constant Single10' + * Constant: '/Constant' + * Delay: '/IntVal' + * Product: '/KI' + * Product: '/ki' + * Sum: '/int_az' */ rtb_Switch1_g = ((SIL_P.w_v * SIL_P.w_v * scale * 0.005F + SIL_DW.IntVal_DSTATE) + rtb_Product1_i5) - rtb_KP; - /* Switch: '/Switch1' incorporates: - * Constant: '/Constant3' + /* Switch: '/Switch1' incorporates: + * Constant: '/Constant3' */ if (!(rtb_Switch1_g > 0.0F)) { rtb_Switch1_g = 0.0F; } - /* End of Switch: '/Switch1' */ + /* End of Switch: '/Switch1' */ - /* Product: '/Divide2' incorporates: - * Constant: '/Constant5' - * Product: '/Product' + /* Product: '/Divide2' incorporates: + * Constant: '/Constant5' + * Product: '/Product' */ rtb_Switch1_g = rtb_Switch1_g * SIL_P.m / rtb_LookupTableDynamic; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' */ if (!(rtb_Switch1_g > rtb_gain1_j)) { - /* Gain: '/gain1' */ + /* Gain: '/gain1' */ rtb_gain1_j = 2.17391298E-5F * rtb_Merge_nl_min_rpm; - /* Switch: '/Switch' incorporates: - * RelationalOperator: '/UpperRelop' + /* Switch: '/Switch' incorporates: + * RelationalOperator: '/UpperRelop' */ if (!(rtb_Switch1_g < rtb_gain1_j)) { rtb_gain1_j = rtb_Switch1_g; } - /* End of Switch: '/Switch' */ + /* End of Switch: '/Switch' */ } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Switch1_g = rtb_de_des; rtb_Merge_j_de_c = rtb_Product2_jc; rtb_Merge_j_da_c = rtb_Divide1_bu; @@ -27275,24 +27757,24 @@ void SIL_step(void) rtb_Merge_j_max_rpm = rtb_Merge_nl_max_rpm; rtb_Merge_j_min_rpm = rtb_Merge_nl_min_rpm; - /* End of BusAssignment: '/Bus Assignment' */ + /* End of BusAssignment: '/Bus Assignment' */ - /* Update for Delay: '/IntVal' incorporates: - * Constant: '/Constant5' - * Product: '/Divide' - * Product: '/Product2' - * Sum: '/az_d' + /* Update for Delay: '/IntVal' incorporates: + * Constant: '/Constant5' + * Product: '/Divide' + * Product: '/Product2' + * Sum: '/az_d' */ SIL_DW.icLoad_i = 0U; SIL_DW.IntVal_DSTATE = (rtb_gain1_j * rtb_LookupTableDynamic / SIL_P.m + rtb_KP) - rtb_Product1_i5; - /* End of Outputs for SubSystem: '/AS' */ + /* End of Outputs for SubSystem: '/AS' */ break; case 1: - /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/COMMAND' incorporates: + * ActionPort: '/Action Port' */ rtb_Switch1_g = rtb_de_des; rtb_Merge_j_de_c = rtb_Product2_jc; @@ -27425,15 +27907,15 @@ void SIL_step(void) rtb_Merge_j_max_rpm = rtb_Merge_nl_max_rpm; rtb_Merge_j_min_rpm = rtb_Merge_nl_min_rpm; - /* End of Outputs for SubSystem: '/COMMAND' */ + /* End of Outputs for SubSystem: '/COMMAND' */ break; case 2: - /* Outputs for IfAction SubSystem: '/OFF' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/OFF' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant' */ rtb_Switch1_g = rtb_de_des; rtb_Merge_j_de_c = rtb_Product2_jc; @@ -27566,201 +28048,201 @@ void SIL_step(void) rtb_Merge_j_min_rpm = rtb_Merge_nl_min_rpm; rtb_gain1_j = 0.0F; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/OFF' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/OFF' */ break; } - /* If: '/If' incorporates: - * BusAssignment: '/Bus Assignment' + /* If: '/If' incorporates: + * BusAssignment: '/Bus Assignment' */ if (rtb_Merge_j_armed) { - /* Outputs for IfAction SubSystem: '/AP2ECU' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/AP2ECU' incorporates: + * ActionPort: '/Action Port' */ - /* If: '/If' incorporates: - * Chart: '/Chart' + /* If: '/If' incorporates: + * Chart: '/Chart' */ if (rtb_gain1_j < 1.01F) { - /* Outputs for IfAction SubSystem: '/no_afterburning' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/no_afterburning' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/OutportBuffer_InsertedFor_CMD_at_inport_0' incorporates: - * Constant: '/Constant' + /* SignalConversion: '/OutportBuffer_InsertedFor_CMD_at_inport_0' incorporates: + * Constant: '/Constant' */ rtb_Merge_j_ECU_CMD = 69U; - /* Gain: '/gain' */ - rtb_add_es = 46000.0F * rtb_gain1_j; + /* Gain: '/gain' */ + rtb_product_p = 46000.0F * rtb_gain1_j; - /* Switch: '/Switch2' incorporates: - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ - if (rtb_add_es > rtb_Merge_j_max_rpm) { - /* SignalConversion: '/OutportBufferForRPM' */ - rtb_add_es = rtb_Merge_j_max_rpm; + if (rtb_product_p > rtb_Merge_j_max_rpm) { + /* SignalConversion: '/OutportBufferForRPM' */ + rtb_product_p = rtb_Merge_j_max_rpm; } else { - if (rtb_add_es < rtb_Merge_j_min_rpm) { - /* Switch: '/Switch' incorporates: - * SignalConversion: '/OutportBufferForRPM' + if (rtb_product_p < rtb_Merge_j_min_rpm) { + /* Switch: '/Switch' incorporates: + * SignalConversion: '/OutportBufferForRPM' */ - rtb_add_es = rtb_Merge_j_min_rpm; + rtb_product_p = rtb_Merge_j_min_rpm; } } - /* End of Switch: '/Switch2' */ - /* End of Outputs for SubSystem: '/no_afterburning' */ + /* End of Switch: '/Switch2' */ + /* End of Outputs for SubSystem: '/no_afterburning' */ } else { - /* Outputs for IfAction SubSystem: '/afterburning' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/afterburning' incorporates: + * ActionPort: '/Action Port' */ if (rtb_gain1_j > 1.25F) { - /* Chart: '/Chart' incorporates: - * S-Function (sfix_bitop): '/Bitwise AND' + /* Chart: '/Chart' incorporates: + * S-Function (sfix_bitop): '/Bitwise AND' */ if (rtb_gain1_j > 1.5F) { if (rtb_gain1_j > 1.75F) { if (rtb_gain1_j > 2.0F) { if (rtb_gain1_j > 3.0F) { if (rtb_gain1_j > 4.0F) { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = 150U; } else { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = (uint8_T)(((int32_T)floorf (rtb_gain1_j * 10.0F - 30.0F) << 4) + 22U); } } else { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = (uint8_T)(((int32_T)floorf(rtb_gain1_j * 10.0F - 20.0F) << 4) + 28U); } } else if ((SIL_B.SFunction.SysState & 15) >= 14) { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = 133U; } else { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = 28U; } } else { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = 133U; } } else { - /* SignalConversion: '/OutportBufferForCMD' */ + /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_j_ECU_CMD = 117U; } } else { - /* SignalConversion: '/OutportBufferForCMD' incorporates: - * Chart: '/Chart' + /* SignalConversion: '/OutportBufferForCMD' incorporates: + * Chart: '/Chart' */ rtb_Merge_j_ECU_CMD = 181U; } - /* End of Outputs for SubSystem: '/afterburning' */ + /* End of Outputs for SubSystem: '/afterburning' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_br_use_mix = true; - /* DataTypeConversion: '/Data Type Conversion' */ - rtb_Sum1_o = floorf(rtb_add_es); + /* DataTypeConversion: '/Data Type Conversion' */ + rtb_Sum1_o = floorf(rtb_product_p); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; } else { rtb_Sum1_o = fmodf(rtb_Sum1_o, 65536.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusAssignment: '/Bus Assignment' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ rtb_Merge_j_ECU_RPM = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T)(uint16_T) -(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T)rtb_Sum1_o); - /* End of Outputs for SubSystem: '/AP2ECU' */ + /* End of Outputs for SubSystem: '/AP2ECU' */ } else { - /* Outputs for IfAction SubSystem: '/ECU2AP' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ECU2AP' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_br_use_mix = false; - /* Gain: '/gain' */ + /* Gain: '/gain' */ rtb_gain1_j = 2.17389315E-5F * (real32_T)rtb_Merge_j_ECU_RPM; - /* Saturate: '/Saturation' */ + /* Saturate: '/Saturation' */ if (rtb_gain1_j > 1.0F) { - /* BusAssignment: '/Bus Assignment' */ + /* BusAssignment: '/Bus Assignment' */ rtb_gain1_j = 1.0F; } - /* End of Saturate: '/Saturation' */ - /* End of Outputs for SubSystem: '/ECU2AP' */ + /* End of Saturate: '/Saturation' */ + /* End of Outputs for SubSystem: '/ECU2AP' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* If: '/If' */ + /* If: '/If' */ if (rtb_gain1_j > 1.01F) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Lookup_n-D: '/1-D Lookup Table' */ + /* Lookup_n-D: '/1-D Lookup Table' */ rtb_table3D_Nh = look1_iflf_pbinlcapw(rtb_gain1_j, rtCP_uDLookupTable_bp01Data_i, rtCP_uDLookupTable_tableData_l, &SIL_DW.m_bpIndex_dn, 1U); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Gain: '/Gain' incorporates: - * Constant: '/Constant9' + /* Gain: '/Gain' incorporates: + * Constant: '/Constant9' */ rtb_Gain = 0.005 * SIL_P.throttle_rate; - /* Sum: '/subtract1' incorporates: - * Gain: '/Gain1' - * UnitDelay: '/Unit Delay' + /* Sum: '/subtract1' incorporates: + * Gain: '/Gain1' + * UnitDelay: '/Unit Delay' */ rtb_Product2_jc = rtb_gain1_j - 2.17391298E-5F * SIL_DW.UnitDelay_DSTATE_m; - /* Switch: '/Switch2' incorporates: - * Gain: '/Gain3' - * RelationalOperator: '/LowerRelop1' - * RelationalOperator: '/UpperRelop' - * Switch: '/Switch' + /* Switch: '/Switch2' incorporates: + * Gain: '/Gain3' + * RelationalOperator: '/LowerRelop1' + * RelationalOperator: '/UpperRelop' + * Switch: '/Switch' */ if (rtb_Product2_jc > rtb_Gain) { rtb_Product2_jc = (real32_T)rtb_Gain; } else { if (rtb_Product2_jc < -rtb_Gain) { - /* Switch: '/Switch' incorporates: - * Gain: '/Gain3' + /* Switch: '/Switch' incorporates: + * Gain: '/Gain3' */ rtb_Product2_jc = (real32_T)-rtb_Gain; } } - /* End of Switch: '/Switch2' */ + /* End of Switch: '/Switch2' */ - /* SignalConversion: '/OutportBufferForOut' incorporates: - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/OutportBufferForOut' incorporates: + * UnitDelay: '/Unit Delay' */ rtb_table3D_Nh = SIL_DW.UnitDelay_DSTATE_om; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ rtb_Product2_jc += SIL_DW.UnitDelay_DSTATE_om; - /* Saturate: '/saturation' */ + /* Saturate: '/saturation' */ if (rtb_Product2_jc > 1.0F) { SIL_DW.UnitDelay_DSTATE_om = 1.0F; } else if (rtb_Product2_jc < 0.0F) { @@ -27769,94 +28251,91 @@ void SIL_step(void) SIL_DW.UnitDelay_DSTATE_om = rtb_Product2_jc; } - /* End of Saturate: '/saturation' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Saturate: '/saturation' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ rtb_table3D_Nh *= 0.5F; - /* Lookup_n-D: '/table1D_thrAB_map' */ + /* Lookup_n-D: '/table1D_thrAB_map' */ rtb_table1D_thrAB_map = look1_iflf_binlxpw(rtb_table3D_Nh, - rtCP_table1D_thrAB_map_bp01Data_a, rtCP_table1D_thrAB_map_tableData_f, + rtCP_table1D_thrAB_map_bp01Data_o, rtCP_table1D_thrAB_map_tableData_b, 2U); - /* Product: '/product' */ - rtb_Product2_jc = absxk * rtb_table1D_thrAB_map; - - /* Lookup_n-D: '/table1D_thr_map' */ + /* Lookup_n-D: '/table1D_thr_map' */ rtb_table3D_Nh = look1_iflf_binlxpw(rtb_table3D_Nh, - rtCP_table1D_thr_map_bp01Data_j, rtCP_table1D_thr_map_tableData_a, 2U); + rtCP_table1D_thr_map_bp01Data_o, rtCP_table1D_thr_map_tableData_p, 2U); - /* Lookup_n-D: '/table3D_cft' */ - bpIndices_q[0U] = plook_u32ff_bincpa(SIL_B.BusAssignment_j.Mach, - rtCP_table3D_cft_bp01Data_j, 9U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_d3 - [0U]); - rtb_Gain_fd[0U] = rtb_Divide1_bu; - bpIndices_q[1U] = plook_u32ff_bincpa(SIL_B.BusAssignment_j.asl_baro, - rtCP_table3D_cft_bp02Data_n, 15U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_d3 - [1U]); - rtb_Gain_fd[1U] = rtb_Divide1_bu; - bpIndices_q[2U] = plook_u32ff_bincpa(rtb_table3D_Nh, - rtCP_table3D_cft_bp03Data_c, 11U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_d3 - [2U]); - rtb_Gain_fd[2U] = rtb_Divide1_bu; - absxk = intrp3d_fu32fla_pw(bpIndices_q, rtb_Gain_fd, - rtCP_table3D_cft_tableData_m, rtCP_table3D_cft_dimSizes, - rtCP_table3D_cft_maxIndex); + /* Lookup_n-D: '/table3D_cft' */ + bpIndices_w[0U] = plook_u32ff_binx(SIL_B.BusAssignment_j.Mach, + rtCP_table3D_cft_bp01Data_l, 9U, &rtb_Product2_jc); + rtb_Gain_fd[0U] = rtb_Product2_jc; + bpIndices_w[1U] = plook_u32ff_binx(SIL_B.BusAssignment_j.asl_baro, + rtCP_table3D_cft_bp02Data_h, 15U, &rtb_Product2_jc); + rtb_Gain_fd[1U] = rtb_Product2_jc; + bpIndices_w[2U] = plook_u32ff_binx(rtb_table3D_Nh, + rtCP_table3D_cft_bp03Data_j, 11U, &rtb_Product2_jc); + rtb_Gain_fd[2U] = rtb_Product2_jc; + rtb_Product2_jc = intrp3d_fu32fl_pw(bpIndices_w, rtb_Gain_fd, + rtCP_table3D_cft_tableData_i, rtCP_table3D_cft_dimSizes); - /* If: '/If' incorporates: - * BusAssignment: '/Bus Assignment' - * Constant: '/value' - * Constant: '/value' - * Gain: '/Gain1' - * Inport: '/In1' - * Product: '/product1' - * Product: '/product' - * Sum: '/add' - * Sum: '/subtract' - * Sum: '/subtract' + /* If: '/If' incorporates: + * BusAssignment: '/Bus Assignment' + * Constant: '/value' + * Constant: '/value' + * Gain: '/Gain1' + * Inport: '/In1' + * Lookup_n-D: '/table2D_cftAB' + * Product: '/product' + * Product: '/product1' + * Product: '/product' + * Sum: '/subtract' + * Sum: '/add' + * Sum: '/subtract' */ if (rtb_out_ic) { - /* Outputs for IfAction SubSystem: '/mix' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mix' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/TmpSignal ConversionAtProductInport2' incorporates: - * Gain: '/gain' - * Gain: '/gain4' - * Sum: '/subtract' - * Sum: '/subtract1' + /* SignalConversion: '/TmpSignal ConversionAtProductInport2' incorporates: + * Gain: '/gain' + * Gain: '/gain4' + * Sum: '/subtract' + * Sum: '/subtract1' */ rtb_Divide1_bu = rtb_Merge_j_da_c - SIL_P.k_r2da * SIL_B.BusAssignment_j.r; rtb_Merge_nl_del_c = rtb_Switch1_g - SIL_P.k_p2dr * SIL_B.BusAssignment_j.p; - /* Sum: '/add1' incorporates: - * Product: '/Product' - * SignalConversion: '/TmpSignal ConversionAtProductInport1' + /* Sum: '/add1' incorporates: + * Product: '/Product' + * SignalConversion: '/TmpSignal ConversionAtProductInport1' */ - rtb_add1_a = (rtb_Sqrt_b * rtb_Divide1_bu + rtb_abs_g * + rtb_add1_a = (rtb_abs_g * rtb_Divide1_bu + rtb_DataTypeConversion_e2 * rtb_Merge_nl_del_c) + rtb_Merge_j_da_stim; - /* Sum: '/add' */ + /* Sum: '/add' */ rtb_add_ki = rtb_Merge_j_de_c + rtb_Merge_j_de_stim; - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/value' - * Constant: '/value' - * Gain: '/Gain' - * Gain: '/Gain1' - * Product: '/product1' - * Product: '/product' - * Product: '/Product' - * SignalConversion: '/TmpSignal ConversionAtProductInport1' - * Sum: '/add' - * Sum: '/subtract' - * Sum: '/add2' - * Sum: '/subtract' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/value' + * Constant: '/value' + * Gain: '/Gain1' + * Gain: '/Gain' + * Lookup_n-D: '/table2D_cftAB' + * Product: '/product' + * Product: '/product1' + * Product: '/product' + * Product: '/Product' + * SignalConversion: '/TmpSignal ConversionAtProductInport1' + * Sum: '/subtract' + * Sum: '/add' + * Sum: '/subtract' + * Sum: '/add2' */ SIL_B.Merge.dr_c = rtb_Switch1_g; SIL_B.Merge.de_c = rtb_Merge_j_de_c; @@ -27976,8 +28455,11 @@ void SIL_step(void) SIL_B.Merge.enable_rec = rtb_Merge_j_enable_rec; SIL_B.Merge.enable_rc = rtb_Merge_j_enable_rc; SIL_B.Merge.fuel_est = rtb_Merge_j_fuel_est - (real32_T)(((1.0 - - rtb_table1D_thrAB_map) * absxk + rtb_Product2_jc) * - 0.00027777777777777778 * 0.005); + rtb_table1D_thrAB_map) * rtb_Product2_jc + look2_iflf_binlxpw + (SIL_B.BusAssignment_j.Mach, SIL_B.BusAssignment_j.asl_baro, + rtCP_table2D_cftAB_bp01Data_c, rtCP_table2D_cftAB_bp02Data_l, + rtCP_table2D_cftAB_tableData_o, rtCP_table2D_cftAB_maxIndex, 10U) * + rtb_table1D_thrAB_map) * 0.00027777777777777778 * 0.005); SIL_B.Merge.max_de = rtb_Merge_j_max_de; SIL_B.Merge.min_de = rtb_Merge_j_min_de; SIL_B.Merge.max_da = rtb_Merge_j_max_da; @@ -27995,14 +28477,14 @@ void SIL_step(void) SIL_B.Merge.der_c = rtb_add_ki; SIL_B.Merge.dal_c = -rtb_add1_a; SIL_B.Merge.dar_c = rtb_add1_a; - SIL_B.Merge.dr_c = (rtb_DataTypeConversion_e2 * rtb_Divide1_bu + t * - rtb_Merge_nl_del_c) + rtb_Merge_j_dr_stim; + SIL_B.Merge.dr_c = (t * rtb_Divide1_bu + absxk * rtb_Merge_nl_del_c) + + rtb_Merge_j_dr_stim; - /* End of BusAssignment: '/Bus Assignment' */ - /* End of Outputs for SubSystem: '/mix' */ + /* End of BusAssignment: '/Bus Assignment' */ + /* End of Outputs for SubSystem: '/mix' */ } else { - /* Outputs for IfAction SubSystem: '/no_mix' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/no_mix' incorporates: + * ActionPort: '/Action Port' */ SIL_B.Merge.dr_c = rtb_Switch1_g; SIL_B.Merge.de_c = rtb_Merge_j_de_c; @@ -28122,8 +28604,11 @@ void SIL_step(void) SIL_B.Merge.enable_rec = rtb_Merge_j_enable_rec; SIL_B.Merge.enable_rc = rtb_Merge_j_enable_rc; SIL_B.Merge.fuel_est = rtb_Merge_j_fuel_est - (real32_T)(((1.0 - - rtb_table1D_thrAB_map) * absxk + rtb_Product2_jc) * - 0.00027777777777777778 * 0.005); + rtb_table1D_thrAB_map) * rtb_Product2_jc + look2_iflf_binlxpw + (SIL_B.BusAssignment_j.Mach, SIL_B.BusAssignment_j.asl_baro, + rtCP_table2D_cftAB_bp01Data_c, rtCP_table2D_cftAB_bp02Data_l, + rtCP_table2D_cftAB_tableData_o, rtCP_table2D_cftAB_maxIndex, 10U) * + rtb_table1D_thrAB_map) * 0.00027777777777777778 * 0.005); SIL_B.Merge.max_de = rtb_Merge_j_max_de; SIL_B.Merge.min_de = rtb_Merge_j_min_de; SIL_B.Merge.max_da = rtb_Merge_j_max_da; @@ -28138,17 +28623,17 @@ void SIL_step(void) SIL_B.Merge.max_rpm = rtb_Merge_j_max_rpm; SIL_B.Merge.min_rpm = rtb_Merge_j_min_rpm; - /* End of Outputs for SubSystem: '/no_mix' */ + /* End of Outputs for SubSystem: '/no_mix' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Sum: '/Subtract' incorporates: - * Constant: '/Constant' + /* Sum: '/Subtract' incorporates: + * Constant: '/Constant' */ SIL_B.Subtract_m = (uint16_T)(SIL_B.Merge.WP_cur - 1); - /* Chart: '/Chart_proc_mission_upload' */ + /* Chart: '/Chart_proc_mission_upload' */ if (SIL_DW.temporalCounter_i1_n3 < 255U) { SIL_DW.temporalCounter_i1_n3++; } @@ -28176,10 +28661,10 @@ void SIL_step(void) SIL_B.seq = 0U; SIL_DW.retry = 3U; - /* Outputs for Function Call SubSystem: '/dummy clear_mission' */ + /* Outputs for Function Call SubSystem: '/dummy clear_mission' */ SIL_dummyclear_mission(SIL_B.mission_type, &SIL_B.ack_d); - /* End of Outputs for SubSystem: '/dummy clear_mission' */ + /* End of Outputs for SubSystem: '/dummy clear_mission' */ if (SIL_DW.count > 0) { SIL_DW.is_c29_mavlink_utils = SIL_IN_Uploading; SIL_DW.temporalCounter_i1_n3 = 0U; @@ -28230,8 +28715,8 @@ void SIL_step(void) SIL_B.z = ((mavlink_mission_item_int_t *) SIL_DW.mission_item_msgDataPtr)->z; - /* Outputs for Function Call SubSystem: '/dummy update_mission_item' */ - /* Chart: '/chat_update_mission_item' */ + /* Outputs for Function Call SubSystem: '/dummy update_mission_item' */ + /* Chart: '/chat_update_mission_item' */ switch (SIL_B.mission_type) { case 1: if (SIL_B.seq < SIL_fence_default_len) { @@ -28296,8 +28781,8 @@ void SIL_step(void) break; } - /* End of Chart: '/chat_update_mission_item' */ - /* End of Outputs for SubSystem: '/dummy update_mission_item' */ + /* End of Chart: '/chat_update_mission_item' */ + /* End of Outputs for SubSystem: '/dummy update_mission_item' */ if (SIL_B.ack_i == 0) { SIL_B.seq++; SIL_DW.retry = 3U; @@ -28355,49 +28840,49 @@ void SIL_step(void) SIL_sf_msg_discard_mission_cnt(); SIL_sf_msg_discard_mission_item(); - /* End of Chart: '/Chart_proc_mission_upload' */ + /* End of Chart: '/Chart_proc_mission_upload' */ - /* Chart: '/proc_queue' */ + /* Chart: '/proc_queue' */ SIL_DW.msgs_isValid = false; if (SIL_sf_msg_pop_msgs()) { SIL_B.msg = *(mavlink_message_t *)SIL_DW.msgs_msgDataPtr; - /* Outputs for Function Call SubSystem: '/dec_and_proc_each' */ - /* SwitchCase: '/Switch Case' incorporates: - * Constant: '/Constant' - * DataTypeConversion: '/Data Type Conversion' - * Logic: '/AND' - * RelationalOperator: '/Compare' - * S-Function (sfix_bitop): '/Bitwise AND' + /* Outputs for Function Call SubSystem: '/dec_and_proc_each' */ + /* SwitchCase: '/Switch Case' incorporates: + * Constant: '/Constant' + * DataTypeConversion: '/Data Type Conversion' + * Logic: '/AND' + * RelationalOperator: '/Compare' + * S-Function (sfix_bitop): '/Bitwise AND' */ switch ((int32_T)SIL_B.msg.msgid) { case MAV_MAV_TYPE_VTOL_QUADROTOR: - /* Outputs for IfAction SubSystem: '/param_req_get_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/param_req_get_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_param_request_read_decode): '/mav_param_req_read' */ + /* S-Function (mav_param_request_read_decode): '/mav_param_req_read' */ mav_param_request_read_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_param_req_read); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_param_req_read' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_param_req_read' */ - /* Chart: '/Chart_proc_param_req_read' */ + /* Chart: '/Chart_proc_param_req_read' */ if (SIL_B.mav_param_req_read.target_system == SIL_P.system_id) { if (SIL_B.mav_param_req_read.param_index < 0) { for (idx = 0; idx < 16; idx++) { SIL_B.name_g[idx] = SIL_B.mav_param_req_read.param_id[idx]; } - /* Outputs for Function Call SubSystem: '/find_idx' */ - /* S-Function (find_param_idx): '/find_idx_capi' */ + /* Outputs for Function Call SubSystem: '/find_idx' */ + /* S-Function (find_param_idx): '/find_idx_capi' */ find_param_idx_Outputs_wrapper(&SIL_B.name_g[0], &SIL_B.param_idx_p); - /* End of Outputs for SubSystem: '/find_idx' */ + /* End of Outputs for SubSystem: '/find_idx' */ if (SIL_B.param_idx_p >= 0) { SIL_DW.resp_msgData_n = (uint16_T)SIL_B.param_idx_p; SIL_sf_msg_send_resp(); @@ -28409,48 +28894,48 @@ void SIL_step(void) } } - /* End of Chart: '/Chart_proc_param_req_read' */ - /* End of Outputs for SubSystem: '/param_req_get_dec' */ + /* End of Chart: '/Chart_proc_param_req_read' */ + /* End of Outputs for SubSystem: '/param_req_get_dec' */ break; case MAV_MAV_TYPE_VTOL_TILTROTOR: - /* Outputs for IfAction SubSystem: '/param_req_lst_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/param_req_lst_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_param_request_list_decode): '/mav_param_request_list' */ + /* S-Function (mav_param_request_list_decode): '/mav_param_request_list' */ mav_param_request_list_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_param_request_list); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_param_req_lst' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_param_req_lst' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_B.mav_param_request_list.target_system == SIL_P.system_id) { SIL_DW.resp_msgData_f = 0U; SIL_sf_msg_send_resp_i(); } - /* End of Chart: '/Chart' */ - /* End of Outputs for SubSystem: '/param_req_lst_dec' */ + /* End of Chart: '/Chart' */ + /* End of Outputs for SubSystem: '/param_req_lst_dec' */ break; case MAV_MAV_TYPE_VTOL_RESERVED3: - /* Outputs for IfAction SubSystem: '/param_set_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/param_set_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_param_set_decode): '/mav_param_set' */ + /* S-Function (mav_param_set_decode): '/mav_param_set' */ mav_param_set_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_param_set); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_param_set' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_param_set' */ - /* Chart: '/Chart_proc_param_set' */ + /* Chart: '/Chart_proc_param_set' */ if (SIL_B.mav_param_set.target_system == SIL_P.system_id) { for (idx = 0; idx < 16; idx++) { SIL_B.name[idx] = SIL_B.mav_param_set.param_id[idx]; @@ -28458,58 +28943,58 @@ void SIL_step(void) SIL_B.f = SIL_B.mav_param_set.param_value; - /* Outputs for Function Call SubSystem: '/f2u' */ - /* S-Function (any2byte): '/Byte Pack' */ + /* Outputs for Function Call SubSystem: '/f2u' */ + /* S-Function (any2byte): '/Byte Pack' */ - /* Pack: /Byte Pack */ + /* Pack: /Byte Pack */ (void) memcpy(&SIL_B.BytePack_h[0], &SIL_B.f, 4); - /* End of Outputs for SubSystem: '/f2u' */ + /* End of Outputs for SubSystem: '/f2u' */ SIL_B.value_n[0] = SIL_B.BytePack_h[0]; SIL_B.value_n[1] = SIL_B.BytePack_h[1]; SIL_B.value_n[2] = SIL_B.BytePack_h[2]; SIL_B.value_n[3] = SIL_B.BytePack_h[3]; SIL_B.type_f = SIL_B.mav_param_set.param_type; - /* Outputs for Function Call SubSystem: '/set_val' */ - /* S-Function (set_param_val): '/set_val_capi' */ + /* Outputs for Function Call SubSystem: '/set_val' */ + /* S-Function (set_param_val): '/set_val_capi' */ set_param_val_Outputs_wrapper(&SIL_B.name[0], &SIL_B.value_n[0], &SIL_B.type_f, &SIL_B.param_idx); - /* End of Outputs for SubSystem: '/set_val' */ + /* End of Outputs for SubSystem: '/set_val' */ if (SIL_B.param_idx >= 0) { SIL_DW.resp_msgData = (uint16_T)SIL_B.param_idx; SIL_sf_msg_send_resp_j(); } } - /* End of Chart: '/Chart_proc_param_set' */ - /* End of Outputs for SubSystem: '/param_set_dec' */ + /* End of Chart: '/Chart_proc_param_set' */ + /* End of Outputs for SubSystem: '/param_set_dec' */ break; case MAV_MAV_COMP_ID_USER16: case MAV_MAV_COMP_ID_USER27: - /* Outputs for IfAction SubSystem: '/mission_req_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_req_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_request_decode): '/mav_mission_request' */ + /* S-Function (mav_mission_request_decode): '/mav_mission_request' */ mav_mission_request_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_request); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_req' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_req' */ - /* Chart: '/Chart_proc_mission_req' */ + /* Chart: '/Chart_proc_mission_req' */ if (SIL_B.mav_mission_request.target_system == SIL_P.system_id) { SIL_B.seq_e = SIL_B.mav_mission_request.seq; SIL_B.type_b = SIL_B.mav_mission_request.mission_type; - /* Outputs for Function Call SubSystem: '/user-defined get_mission_item' */ - /* Chart: '/chat_get_mission_item' */ + /* Outputs for Function Call SubSystem: '/user-defined get_mission_item' */ + /* Chart: '/chat_get_mission_item' */ switch (SIL_B.type_b) { case 1: if (SIL_B.seq_e < dummyFenceCount) { @@ -28574,8 +29059,8 @@ void SIL_step(void) break; } - /* End of Chart: '/chat_get_mission_item' */ - /* End of Outputs for SubSystem: '/user-defined get_mission_item' */ + /* End of Chart: '/chat_get_mission_item' */ + /* End of Outputs for SubSystem: '/user-defined get_mission_item' */ if (SIL_B.ack_iw == 0) { SIL_DW.send_item_msgData.current = (uint8_T)((SIL_B.Subtract_m == SIL_B.seq_e) && (SIL_B.type_b == 0)); @@ -28599,54 +29084,54 @@ void SIL_step(void) } } - /* End of Chart: '/Chart_proc_mission_req' */ - /* End of Outputs for SubSystem: '/mission_req_dec' */ + /* End of Chart: '/Chart_proc_mission_req' */ + /* End of Outputs for SubSystem: '/mission_req_dec' */ break; case MAV_MAV_COMP_ID_USER17: - /* Outputs for IfAction SubSystem: '/mission_set_cur_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_set_cur_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_set_current_decode): '/mav_mission_set_current' */ + /* S-Function (mav_mission_set_current_decode): '/mav_mission_set_current' */ mav_mission_set_current_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_set_current); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_set_cur' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_set_cur' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if (SIL_B.mav_mission_set_current.target_system == SIL_P.system_id) { SIL_DW.req_cur_msgData_d = SIL_B.mav_mission_set_current.seq; SIL_sf_msg_send_req_cur(); } - /* End of Chart: '/Chart' */ - /* End of Outputs for SubSystem: '/mission_set_cur_dec' */ + /* End of Chart: '/Chart' */ + /* End of Outputs for SubSystem: '/mission_set_cur_dec' */ break; case MAV_MAV_COMP_ID_USER19: - /* Outputs for IfAction SubSystem: '/mission_req_lst_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_req_lst_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_request_list_decode): '/mav_mission_request_list' */ + /* S-Function (mav_mission_request_list_decode): '/mav_mission_request_list' */ mav_mission_request_list_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_request_list); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_req_lst' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_req_lst' */ - /* Chart: '/Chart_proc_mission_req_lst' */ + /* Chart: '/Chart_proc_mission_req_lst' */ if (SIL_B.mav_mission_request_list.target_system == SIL_P.system_id) { SIL_B.type = SIL_B.mav_mission_request_list.mission_type; - /* Outputs for Function Call SubSystem: '/user-defined get_mission_cnt' */ - /* Chart: '/chat_get_mission_cnt' */ + /* Outputs for Function Call SubSystem: '/user-defined get_mission_cnt' */ + /* Chart: '/chat_get_mission_cnt' */ switch (SIL_B.type) { case 1: SIL_B.cnt = dummyFenceCount; @@ -28661,136 +29146,136 @@ void SIL_step(void) break; } - /* End of Chart: '/chat_get_mission_cnt' */ - /* End of Outputs for SubSystem: '/user-defined get_mission_cnt' */ + /* End of Chart: '/chat_get_mission_cnt' */ + /* End of Outputs for SubSystem: '/user-defined get_mission_cnt' */ SIL_DW.send_cnt_msgData_d.count = SIL_B.cnt; SIL_DW.send_cnt_msgData_d.mission_type = SIL_B.type; SIL_sf_msg_send_send_cnt(); } - /* End of Chart: '/Chart_proc_mission_req_lst' */ - /* End of Outputs for SubSystem: '/mission_req_lst_dec' */ + /* End of Chart: '/Chart_proc_mission_req_lst' */ + /* End of Outputs for SubSystem: '/mission_req_lst_dec' */ break; case MAV_MAV_COMP_ID_USER20: - /* Outputs for IfAction SubSystem: '/mission_cnt_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_cnt_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_count_decode): '/mav_mission_count' */ + /* S-Function (mav_mission_count_decode): '/mav_mission_count' */ mav_mission_count_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_count); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_cnt' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_cnt' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if ((SIL_B.mav_mission_count.target_system == SIL_P.system_id) && SIL_B.enable_cnt) { SIL_DW.send_cnt_msgData = SIL_B.mav_mission_count; SIL_sf_msg_send_send_cnt_j(); } - /* End of Chart: '/Chart' */ - /* End of Outputs for SubSystem: '/mission_cnt_dec' */ + /* End of Chart: '/Chart' */ + /* End of Outputs for SubSystem: '/mission_cnt_dec' */ break; case MAV_MAV_COMP_ID_USER21: - /* Outputs for IfAction SubSystem: '/mission_clr_all_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_clr_all_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_clear_all_decode): '/mav_mission_clear_all' */ + /* S-Function (mav_mission_clear_all_decode): '/mav_mission_clear_all' */ mav_mission_clear_all_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_clear_all); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_clr_all' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_clr_all' */ - /* Chart: '/Chart_proc_mission_clr_all' */ + /* Chart: '/Chart_proc_mission_clr_all' */ if (SIL_B.mav_mission_clear_all.target_system == SIL_P.system_id) { SIL_B.mission_type_g = SIL_B.mav_mission_clear_all.mission_type; - /* Outputs for Function Call SubSystem: '/dummy clear_mission' */ + /* Outputs for Function Call SubSystem: '/dummy clear_mission' */ SIL_dummyclear_mission(SIL_B.mission_type_g, &SIL_B.ack_f); - /* End of Outputs for SubSystem: '/dummy clear_mission' */ + /* End of Outputs for SubSystem: '/dummy clear_mission' */ SIL_DW.send_ack_msgData_j.mission_type = SIL_B.mission_type_g; SIL_DW.send_ack_msgData_j.type = SIL_B.ack_f; SIL_sf_msg_send_send_ack_d(); } - /* End of Chart: '/Chart_proc_mission_clr_all' */ - /* End of Outputs for SubSystem: '/mission_clr_all_dec' */ + /* End of Chart: '/Chart_proc_mission_clr_all' */ + /* End of Outputs for SubSystem: '/mission_clr_all_dec' */ break; case MAV_MAV_COMP_ID_USER49: - /* Outputs for IfAction SubSystem: '/mission_item_int_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/mission_item_int_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_mission_item_int_decode): '/mav_mission_item_int' */ + /* S-Function (mav_mission_item_int_decode): '/mav_mission_item_int' */ mav_mission_item_int_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_mission_item_int); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_mission_item' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_mission_item' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ if ((SIL_B.mav_mission_item_int.target_system == SIL_P.system_id) && SIL_B.enable_item) { SIL_DW.send_req_msgData = SIL_B.mav_mission_item_int; SIL_sf_msg_send_send_req(); } - /* End of Chart: '/Chart' */ - /* End of Outputs for SubSystem: '/mission_item_int_dec' */ + /* End of Chart: '/Chart' */ + /* End of Outputs for SubSystem: '/mission_item_int_dec' */ break; case MAV_MAV_COMP_ID_USER52: - /* Outputs for IfAction SubSystem: '/cmd_long_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/cmd_long_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_command_long_decode): '/mav_command_long' */ + /* S-Function (mav_command_long_decode): '/mav_command_long' */ mav_command_long_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_command_long); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_cmd_long' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_cmd_long' */ - /* If: '/If' incorporates: - * Constant: '/system_id' + /* If: '/If' incorporates: + * Constant: '/system_id' */ if ((SIL_B.mav_command_long.target_system == SIL_P.system_id) || (SIL_B.mav_command_long.target_system == 0)) { - /* Outputs for IfAction SubSystem: '/proc_by_id' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/proc_by_id' incorporates: + * ActionPort: '/Action Port' */ - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ if (SIL_B.mav_command_long.command == 520) { - /* Outputs for IfAction SubSystem: '/REQUEST_AUTOPILOT_CAPABILITIES' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/REQUEST_AUTOPILOT_CAPABILITIES' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/send_auto_hw' */ + /* Chart: '/send_auto_hw' */ SIL_DW.ap_ver_msgData.capabilities = 57348U; SIL_DW.ap_ver_msgData.flight_sw_version = 17039616U; SIL_sf_msg_send_ap_ver(); - /* End of Outputs for SubSystem: '/REQUEST_AUTOPILOT_CAPABILITIES' */ + /* End of Outputs for SubSystem: '/REQUEST_AUTOPILOT_CAPABILITIES' */ } else { - /* Outputs for IfAction SubSystem: '/default' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/default' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/send_cmd' */ + /* Chart: '/send_cmd' */ SIL_DW.msg_msgData.id = SIL_B.mav_command_long.command; SIL_DW.msg_msgData.params[0] = SIL_B.mav_command_long.param1; SIL_DW.msg_msgData.params[1] = SIL_B.mav_command_long.param2; @@ -28801,39 +29286,39 @@ void SIL_step(void) SIL_DW.msg_msgData.params[6] = SIL_B.mav_command_long.param7; SIL_sf_msg_send_msg(); - /* End of Outputs for SubSystem: '/default' */ + /* End of Outputs for SubSystem: '/default' */ } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/proc_by_id' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/proc_by_id' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/cmd_long_dec' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/cmd_long_dec' */ break; case MAV_MAV_COMP_ID_USER46: - /* Outputs for IfAction SubSystem: '/rc_channels_override_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/rc_channels_override_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_rc_channels_override_decode): '/mav_rc_channels_override' */ + /* S-Function (mav_rc_channels_override_decode): '/mav_rc_channels_override' */ mav_rc_channels_override_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_rc_channels_override); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_rc_chs_ov' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_rc_chs_ov' */ - /* If: '/If' incorporates: - * Constant: '/system_id' + /* If: '/If' incorporates: + * Constant: '/system_id' */ if (SIL_B.mav_rc_channels_override.target_system == SIL_P.system_id) { - /* Outputs for IfAction SubSystem: '/proc_by_id' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/proc_by_id' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ SIL_B.channels_e[0] = SIL_B.mav_rc_channels_override.chan1_raw; SIL_B.channels_e[1] = SIL_B.mav_rc_channels_override.chan2_raw; SIL_B.channels_e[2] = SIL_B.mav_rc_channels_override.chan3_raw; @@ -28853,100 +29338,100 @@ void SIL_step(void) SIL_B.channels_e[16] = SIL_B.mav_rc_channels_override.chan17_raw; SIL_B.channels_e[17] = SIL_B.mav_rc_channels_override.chan18_raw; - /* SignalConversion: '/Signal Copy' */ + /* SignalConversion: '/Signal Copy' */ SIL_B.id_g = SIL_B.mav_rc_channels_override.target_component; - /* UnitDelay: '/Unit Delay' */ + /* UnitDelay: '/Unit Delay' */ SIL_B.seq_g = SIL_DW.UnitDelay_DSTATE_ho; - /* Sum: '/Sum' incorporates: - * Constant: '/one' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/one' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_ho = (uint8_T)(1U + SIL_B.seq_g); - /* SignalConversion: '/TmpBufferAttrueOutport1' incorporates: - * Constant: '/true' + /* SignalConversion: '/TmpBufferAttrueOutport1' incorporates: + * Constant: '/true' */ SIL_B.valid_o = true; - /* End of Outputs for SubSystem: '/proc_by_id' */ + /* End of Outputs for SubSystem: '/proc_by_id' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ for (idx = 0; idx < 18; idx++) { - /* SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ + /* SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ SIL_B.channels[idx] = SIL_B.channels_e[idx]; } - /* End of Outputs for SubSystem: '/rc_channels_override_dec' */ + /* End of Outputs for SubSystem: '/rc_channels_override_dec' */ break; case MAV_MAV_AUTOPILOT_FP: - /* Outputs for IfAction SubSystem: '/set_mode_dec' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/set_mode_dec' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_set_mode_decode): '/mav_set_mode' */ + /* S-Function (mav_set_mode_decode): '/mav_set_mode' */ mav_set_mode_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_set_mode); - /* End of Outputs for SubSystem: '/set_mode_dec' */ + /* End of Outputs for SubSystem: '/set_mode_dec' */ break; case MAV_MAVLINK_MSG_ID_GPS_RTCM_DATA: - /* Outputs for IfAction SubSystem: '/gps_rtcm_data' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/gps_rtcm_data' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_gps_rtcm_data_decode): '/mav_gps_rtcm_data' */ + /* S-Function (mav_gps_rtcm_data_decode): '/mav_gps_rtcm_data' */ mav_gps_rtcm_data_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_gps_rtcm_data); - /* End of Outputs for SubSystem: '/gps_rtcm_data' */ + /* End of Outputs for SubSystem: '/gps_rtcm_data' */ break; case MAV_MAVLINK_MSG_ID_SERIAL_CONTROL: - /* Outputs for IfAction SubSystem: '/gps_rtcm_data1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/gps_rtcm_data1' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/Function-Call Subsystem' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_serial_control_decode): '/mav_serial_control' */ + /* S-Function (mav_serial_control_decode): '/mav_serial_control' */ mav_serial_control_decode_Outputs_wrapper(&SIL_B.msg, &SIL_B.mav_serial_control); - /* Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_serial_control' + /* Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_serial_control' */ - /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/Subsystem' incorporates: + * EnablePort: '/Enable' */ if ((SIL_B.mav_serial_control.device == 10) && ((SIL_B.mav_serial_control.flags & 4U) != 0U)) { - /* S-Function (hal_serial_cmdline): '/S-Function' */ + /* S-Function (hal_serial_cmdline): '/S-Function' */ hal_serial_cmdline_Outputs_wrapper(&SIL_B.mav_serial_control.data[0], &SIL_B.mav_serial_control.count, &SIL_B.SFunction_g); } - /* End of Outputs for SubSystem: '/Subsystem' */ - /* End of Outputs for SubSystem: '/gps_rtcm_data1' */ + /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/gps_rtcm_data1' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/dec_and_proc_each' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/dec_and_proc_each' */ } SIL_sf_msg_discard_msgs(); - /* End of Chart: '/proc_queue' */ + /* End of Chart: '/proc_queue' */ - /* Chart: '/req_cur' */ + /* Chart: '/req_cur' */ if (SIL_DW.temporalCounter_i1_py < 2047U) { SIL_DW.temporalCounter_i1_py++; } @@ -28970,7 +29455,7 @@ void SIL_step(void) SIL_sf_msg_discard_req_cur(); - /* End of Chart: '/req_cur' */ + /* End of Chart: '/req_cur' */ /* DataStoreWrite: '/Data Store Write' */ SIL_DW.CC = SIL_B.Merge; @@ -28980,138 +29465,138 @@ void SIL_step(void) */ SIL_B.DataTypeConversion_n = (uint8_T)SIL_P.system_id; - /* Outputs for Enabled SubSystem: '/CCM_ctrl_cnt' incorporates: - * EnablePort: '/Enable' + /* Outputs for Enabled SubSystem: '/CCM_ctrl_cnt' incorporates: + * EnablePort: '/Enable' */ if (SIL_B.Merge.ccm_ch > 0) { - /* Sum: '/Sum' incorporates: - * Constant: '/Constant4' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant4' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_ky++; } - /* End of Outputs for SubSystem: '/CCM_ctrl_cnt' */ + /* End of Outputs for SubSystem: '/CCM_ctrl_cnt' */ - /* DataTypeConversion: '/Data Type Conversion' */ + /* DataTypeConversion: '/Data Type Conversion' */ SIL_B.DataTypeConversion = SIL_B.Merge.recovery; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant5' - * Gain: '/Gain4' - * Gain: '/gain' - * Sum: '/Sum4' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant5' + * Gain: '/Gain4' + * Gain: '/gain' + * Sum: '/Sum4' */ rtb_Sum1_o = floorf((SIL_B.Merge.dar_c - SIL_P.dar0) * SIL_P.k_dar * 53640.3086F); if (rtb_Sum1_o < 32768.0F) { if (rtb_Sum1_o >= -32768.0F) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_c = (uint16_T)(int16_T)rtb_Sum1_o; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_c = 32768U; } } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_c = 32767U; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant4' - * Gain: '/Gain3' - * Gain: '/gain' - * Sum: '/Sum3' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant4' + * Gain: '/Gain3' + * Gain: '/gain' + * Sum: '/Sum3' */ rtb_Sum1_o = floorf((SIL_B.Merge.dal_c - SIL_P.dal0) * SIL_P.k_dal * 53640.3086F); if (rtb_Sum1_o < 32768.0F) { if (rtb_Sum1_o >= -32768.0F) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_o = (uint16_T)(int16_T)rtb_Sum1_o; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_o = 32768U; } } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_o = 32767U; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant2' - * Gain: '/Gain' - * Gain: '/gain' - * Sum: '/Sum1' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant2' + * Gain: '/Gain' + * Gain: '/gain' + * Sum: '/Sum1' */ rtb_Sum1_o = floorf((SIL_B.Merge.der_c - SIL_P.der0) * SIL_P.k_der * 75096.4297F); if (rtb_Sum1_o < 32768.0F) { if (rtb_Sum1_o >= -32768.0F) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_f = (uint16_T)(int16_T)rtb_Sum1_o; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_f = 32768U; } } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_f = 32767U; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant' - * Gain: '/Gain1' - * Gain: '/gain' - * Sum: '/Sum' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant' + * Gain: '/Gain1' + * Gain: '/gain' + * Sum: '/Sum' */ rtb_Sum1_o = floorf((SIL_B.Merge.del_c - SIL_P.del0) * SIL_P.k_del * 75096.4297F); if (rtb_Sum1_o < 32768.0F) { if (rtb_Sum1_o >= -32768.0F) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_nd = (uint16_T)(int16_T)rtb_Sum1_o; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_nd = 32768U; } } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_nd = 32767U; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant3' - * Gain: '/Gain2' - * Gain: '/gain' - * Sum: '/Sum2' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant3' + * Gain: '/Gain2' + * Gain: '/gain' + * Sum: '/Sum2' */ rtb_Sum1_o = floorf((SIL_B.Merge.dr_c - SIL_P.dr0) * SIL_P.k_dr * 75096.4297F); if (rtb_Sum1_o < 32768.0F) { if (rtb_Sum1_o >= -32768.0F) { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_g = (uint16_T)(int16_T)rtb_Sum1_o; } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_g = 32768U; } } else { - /* DataTypeConversion: '/Data Type Conversion1' */ + /* DataTypeConversion: '/Data Type Conversion1' */ SIL_B.DataTypeConversion1_g = 32767U; } - /* End of DataTypeConversion: '/Data Type Conversion' */ + /* End of DataTypeConversion: '/Data Type Conversion' */ - /* Gain: '/kg2cg' */ + /* Gain: '/kg2cg' */ rtb_Sum1_o = 100.0F * SIL_B.Merge.fuel_est; if (rtb_Sum1_o < 65536.0F) { if (rtb_Sum1_o >= 0.0F) { @@ -29123,16 +29608,16 @@ void SIL_step(void) SIL_B.kg2cg = MAX_uint16_T; } - /* End of Gain: '/kg2cg' */ + /* End of Gain: '/kg2cg' */ - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.Merge.throttle_c > 1.01F) { - /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * Gain: '/Gain' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * Gain: '/Gain' */ rtb_Sum1_o = floorf(1000.0F * SIL_B.Merge.throttle_c + 1000.0F); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { @@ -29144,64 +29629,61 @@ void SIL_step(void) SIL_B.Merge_h4 = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T)(uint16_T) -(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T)rtb_Sum1_o); - /* End of Sum: '/Sum' */ - /* End of Outputs for SubSystem: '/Subsystem1' */ + /* End of Sum: '/Sum' */ + /* End of Outputs for SubSystem: '/Subsystem1' */ } else { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * Gain: '/Gain' - * Gain: '/gain' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * Gain: '/Gain' + * Gain: '/gain' */ SIL_B.Merge_h4 = (uint16_T)(int32_T)fmodf((real32_T)(int32_T)floorf (2.17389315E-5F * (real32_T)SIL_B.Merge.ECU_RPM * 1000.0F + 1000.0F), 65536.0F); - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ - /* Sum: '/Sum' incorporates: - * Constant: '/Constant1' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant1' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_gx++; - /* Lookup_n-D: '/table2D_NhAB' */ - absxk = look2_iflf_pbinlcapw(SIL_B.BusAssignment_j.Mach, - SIL_B.BusAssignment_j.asl_baro, rtCP_table2D_NhAB_bp01Data_f, - rtCP_table2D_NhAB_bp02Data_h, rtCP_table2D_NhAB_tableData_p, - SIL_DW.m_bpIndex_or, rtCP_table2D_NhAB_maxIndex, 10U); + /* Lookup_n-D: '/table3D_Nh' */ + bpIndices_x[0U] = plook_u32ff_binx(SIL_B.BusAssignment_j.Mach, + rtCP_table3D_Nh_bp01Data_m, 9U, &rtb_Product2_jc); + fractions_u[0U] = rtb_Product2_jc; + bpIndices_x[1U] = plook_u32ff_binx(SIL_B.BusAssignment_j.asl_baro, + rtCP_table3D_Nh_bp02Data_o, 15U, &rtb_Product2_jc); + fractions_u[1U] = rtb_Product2_jc; + bpIndices_x[2U] = plook_u32ff_binx(rtb_table3D_Nh, + rtCP_table3D_Nh_bp03Data_l, 11U, &rtb_Product2_jc); + fractions_u[2U] = rtb_Product2_jc; + rtb_table3D_Nh = intrp3d_fu32fl_pw(bpIndices_x, fractions_u, + rtCP_table3D_Nh_tableData_b, rtCP_table3D_Nh_dimSizes); - /* Lookup_n-D: '/table3D_Nh' */ - bpIndices_r[0U] = plook_u32ff_bincpa(SIL_B.BusAssignment_j.Mach, - rtCP_table3D_Nh_bp01Data_m, 9U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_n[0U]); - fractions_o[0U] = rtb_Divide1_bu; - bpIndices_r[1U] = plook_u32ff_bincpa(SIL_B.BusAssignment_j.asl_baro, - rtCP_table3D_Nh_bp02Data_a, 15U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_n[1U]); - fractions_o[1U] = rtb_Divide1_bu; - bpIndices_r[2U] = plook_u32ff_bincpa(rtb_table3D_Nh, - rtCP_table3D_Nh_bp03Data_e, 11U, &rtb_Divide1_bu, &SIL_DW.m_bpIndex_n[2U]); - fractions_o[2U] = rtb_Divide1_bu; - rtb_table3D_Nh = intrp3d_fu32fla_pw(bpIndices_r, fractions_o, - rtCP_table3D_Nh_tableData_p, rtCP_table3D_Nh_dimSizes, - rtCP_table3D_Nh_maxIndex); - - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/value' - * Product: '/product' - * Product: '/product1' - * Sum: '/add' - * Sum: '/subtract' - * UnitDelay: '/Unit Delay' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/value' + * Lookup_n-D: '/table2D_NhAB' + * Product: '/product' + * Product: '/product1' + * Sum: '/add' + * Sum: '/subtract' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_m = (real32_T)((1.0 - rtb_table1D_thrAB_map) * - rtb_table3D_Nh + absxk * rtb_table1D_thrAB_map); + rtb_table3D_Nh + look2_iflf_binlxpw(SIL_B.BusAssignment_j.Mach, + SIL_B.BusAssignment_j.asl_baro, rtCP_table2D_NhAB_bp01Data_l, + rtCP_table2D_NhAB_bp02Data_c, rtCP_table2D_NhAB_tableData_g, + rtCP_table2D_NhAB_maxIndex, 10U) * rtb_table1D_thrAB_map); - /* Chart: '/Chart_send_ack' */ + /* Chart: '/Chart_send_ack' */ SIL_DW.ack_isValid = false; if (SIL_DW.is_active_c36_kb3_autopilot == 0U) { SIL_DW.is_active_c36_kb3_autopilot = 1U; @@ -29217,9 +29699,9 @@ void SIL_step(void) SIL_sf_msg_discard_ack(); - /* End of Chart: '/Chart_send_ack' */ + /* End of Chart: '/Chart_send_ack' */ - /* Chart: '/proc_param_value' */ + /* Chart: '/proc_param_value' */ if (SIL_DW.temporalCounter_i1_ia < 63U) { SIL_DW.temporalCounter_i1_ia++; } @@ -29252,11 +29734,11 @@ void SIL_step(void) SIL_DW.is_c31_mavlink_utils = SIL_IN_SendOne; SIL_DW.temporalCounter_i1_ia = 0U; - /* Outputs for Function Call SubSystem: '/find_val' */ + /* Outputs for Function Call SubSystem: '/find_val' */ SIL_find_val(SIL_B.idx, SIL_B.param_name, SIL_B.param_value, &SIL_B.param_type, &SIL_B.param_cnt, &SIL_B.param_index); - /* End of Outputs for SubSystem: '/find_val' */ + /* End of Outputs for SubSystem: '/find_val' */ SIL_DW.msg_msgData_e.param_index = SIL_B.param_index; for (idx = 0; idx < 16; idx++) { SIL_DW.msg_msgData_e.param_id[idx] = SIL_B.param_name[idx]; @@ -29267,10 +29749,10 @@ void SIL_step(void) SIL_B.u[2] = SIL_B.param_value[2]; SIL_B.u[3] = SIL_B.param_value[3]; - /* Outputs for Function Call SubSystem: '/u2f' */ + /* Outputs for Function Call SubSystem: '/u2f' */ SIL_u2f(SIL_B.u, &SIL_B.ByteUnpack); - /* End of Outputs for SubSystem: '/u2f' */ + /* End of Outputs for SubSystem: '/u2f' */ SIL_DW.msg_msgData_e.param_value = SIL_B.ByteUnpack; SIL_DW.msg_msgData_e.param_type = SIL_B.param_type; SIL_DW.msg_msgData_e.param_count = SIL_B.param_cnt; @@ -29285,11 +29767,11 @@ void SIL_step(void) SIL_DW.is_c31_mavlink_utils = SIL_IN_SendOne; SIL_DW.temporalCounter_i1_ia = 0U; - /* Outputs for Function Call SubSystem: '/find_val' */ + /* Outputs for Function Call SubSystem: '/find_val' */ SIL_find_val(SIL_B.idx, SIL_B.param_name, SIL_B.param_value, &SIL_B.param_type, &SIL_B.param_cnt, &SIL_B.param_index); - /* End of Outputs for SubSystem: '/find_val' */ + /* End of Outputs for SubSystem: '/find_val' */ SIL_DW.msg_msgData_e.param_index = SIL_B.param_index; for (idx = 0; idx < 16; idx++) { SIL_DW.msg_msgData_e.param_id[idx] = SIL_B.param_name[idx]; @@ -29300,10 +29782,10 @@ void SIL_step(void) SIL_B.u[2] = SIL_B.param_value[2]; SIL_B.u[3] = SIL_B.param_value[3]; - /* Outputs for Function Call SubSystem: '/u2f' */ + /* Outputs for Function Call SubSystem: '/u2f' */ SIL_u2f(SIL_B.u, &SIL_B.ByteUnpack); - /* End of Outputs for SubSystem: '/u2f' */ + /* End of Outputs for SubSystem: '/u2f' */ SIL_DW.msg_msgData_e.param_value = SIL_B.ByteUnpack; SIL_DW.msg_msgData_e.param_type = SIL_B.param_type; SIL_DW.msg_msgData_e.param_count = SIL_B.param_cnt; @@ -29318,9 +29800,9 @@ void SIL_step(void) SIL_sf_msg_discard_param_req_lst(); SIL_sf_msg_discard_param_set(); - /* End of Chart: '/proc_param_value' */ + /* End of Chart: '/proc_param_value' */ - /* Chart: '/merge_ack' */ + /* Chart: '/merge_ack' */ SIL_DW.ack1_isValid = false; SIL_DW.ack2_isValid = false; SIL_DW.ack3_isValid = false; @@ -29344,10 +29826,10 @@ void SIL_step(void) SIL_sf_msg_discard_ack2(); SIL_sf_msg_discard_ack3(); - /* End of Chart: '/merge_ack' */ + /* End of Chart: '/merge_ack' */ - /* Outputs for Atomic SubSystem: '/proc_serial_echo' */ - /* Chart: '/Chart' */ + /* Outputs for Atomic SubSystem: '/proc_serial_echo' */ + /* Chart: '/Chart' */ if (SIL_DW.temporalCounter_i1_ac < 63U) { SIL_DW.temporalCounter_i1_ac++; } @@ -29369,25 +29851,25 @@ void SIL_step(void) rtb_out_ic = false; } - /* End of Chart: '/Chart' */ + /* End of Chart: '/Chart' */ - /* If: '/If1' */ + /* If: '/If1' */ if (rtb_out_ic) { - /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* S-Function (hal_serial_echoline): '/S-Function1' */ + /* S-Function (hal_serial_echoline): '/S-Function1' */ hal_serial_echoline_Outputs_wrapper(&SIL_B.SFunction1_o1[0], &SIL_B.SFunction1_o2); - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.SFunction1_o2 > 0) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart_send_serial_control' incorporates: - * Constant: '/Constant' - * Constant: '/Constant1' + /* Chart: '/Chart_send_serial_control' incorporates: + * Constant: '/Constant' + * Constant: '/Constant1' */ SIL_DW.send_echo_msgData.device = 10U; SIL_DW.send_echo_msgData.flags = 0U; @@ -29396,17 +29878,17 @@ void SIL_step(void) SIL_DW.send_echo_msgData.count = SIL_B.SFunction1_o2; SIL_sf_msg_send_send_echo(); - /* End of Outputs for SubSystem: '/If Action Subsystem' */ + /* End of Outputs for SubSystem: '/If Action Subsystem' */ } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/Subsystem' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/Subsystem' */ } - /* End of If: '/If1' */ - /* End of Outputs for SubSystem: '/proc_serial_echo' */ + /* End of If: '/If1' */ + /* End of Outputs for SubSystem: '/proc_serial_echo' */ - /* Chart: '/traffic_ctrl' incorporates: + /* Chart: '/traffic_ctrl' incorporates: * Constant: '/Constant BP2' * Outport: '/buff_len' */ @@ -29431,8 +29913,8 @@ void SIL_step(void) SIL_B.command_ack = *(mavlink_command_ack_t *) SIL_DW.command_ack_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/cmd_ack_enc' */ - /* S-Function (mav_command_ack_encode): '/mav_command_ack_enc' incorporates: + /* Outputs for Function Call SubSystem: '/cmd_ack_enc' */ + /* S-Function (mav_command_ack_encode): '/mav_command_ack_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29440,13 +29922,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/cmd_ack_enc' */ + /* End of Outputs for SubSystem: '/cmd_ack_enc' */ } else if (SIL_sf_msg_pop_mission_cur_queue()) { SIL_B.mission_cur = *(mavlink_mission_current_t *) SIL_DW.mission_cur_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/mission_cur_enc' */ - /* S-Function (mav_mission_current_encode): '/mav_mission_current_enc' incorporates: + /* Outputs for Function Call SubSystem: '/mission_cur_enc' */ + /* S-Function (mav_mission_current_encode): '/mav_mission_current_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29454,13 +29936,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/mission_cur_enc' */ + /* End of Outputs for SubSystem: '/mission_cur_enc' */ } else if (SIL_sf_msg_pop_mission_cnt_queue()) { SIL_B.mission_cnt = *(mavlink_mission_count_t *) SIL_DW.mission_cnt_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/mission_cnt_enc' */ - /* S-Function (mav_mission_count_encode): '/mav_mission_count_enc' incorporates: + /* Outputs for Function Call SubSystem: '/mission_cnt_enc' */ + /* S-Function (mav_mission_count_encode): '/mav_mission_count_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29468,13 +29950,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/mission_cnt_enc' */ + /* End of Outputs for SubSystem: '/mission_cnt_enc' */ } else if (SIL_sf_msg_pop_mission_item_int_queue()) { SIL_B.mission_item_int = *(mavlink_mission_item_int_t *) SIL_DW.mission_item_int_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/mission_item_int_enc' */ - /* S-Function (mav_mission_item_int_encode): '/mav_mission_item_int_enc' incorporates: + /* Outputs for Function Call SubSystem: '/mission_item_int_enc' */ + /* S-Function (mav_mission_item_int_encode): '/mav_mission_item_int_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29482,13 +29964,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/mission_item_int_enc' */ + /* End of Outputs for SubSystem: '/mission_item_int_enc' */ } else if (SIL_sf_msg_pop_mission_ack_queue()) { SIL_B.mission_ack_g = *(mavlink_mission_ack_t *) SIL_DW.mission_ack_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/mission_ack_enc' */ - /* S-Function (mav_mission_ack_encode): '/mav_mission_ack_enc' incorporates: + /* Outputs for Function Call SubSystem: '/mission_ack_enc' */ + /* S-Function (mav_mission_ack_encode): '/mav_mission_ack_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29496,13 +29978,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/mission_ack_enc' */ + /* End of Outputs for SubSystem: '/mission_ack_enc' */ } else if (SIL_sf_msg_pop_mission_req_int_queue()) { SIL_B.mission_req_int_a = *(mavlink_mission_request_int_t *) SIL_DW.mission_req_int_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/mission_req_int_enc' */ - /* S-Function (mav_mission_request_int_encode): '/mav_mission_request_int_enc' incorporates: + /* Outputs for Function Call SubSystem: '/mission_req_int_enc' */ + /* S-Function (mav_mission_request_int_encode): '/mav_mission_request_int_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29511,13 +29993,13 @@ void SIL_step(void) &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/mission_req_int_enc' */ + /* End of Outputs for SubSystem: '/mission_req_int_enc' */ } else if (SIL_sf_msg_pop_param_val_queue()) { SIL_B.param_val = *(mavlink_param_value_t *) SIL_DW.param_val_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/param_val_enc' */ - /* S-Function (mav_param_value_encode): '/mav_param_value_enc' incorporates: + /* Outputs for Function Call SubSystem: '/param_val_enc' */ + /* S-Function (mav_param_value_encode): '/mav_param_value_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29525,13 +30007,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/param_val_enc' */ + /* End of Outputs for SubSystem: '/param_val_enc' */ } else if (SIL_sf_msg_pop_ap_ver_queue()) { SIL_B.ap_ver_d = *(mavlink_autopilot_version_t *) SIL_DW.ap_ver_queue_msgDataPtr; - /* Outputs for Function Call SubSystem: '/ap_ver_enc' */ - /* S-Function (mav_autopilot_version_encode): '/mav_autopilot_version_enc' incorporates: + /* Outputs for Function Call SubSystem: '/ap_ver_enc' */ + /* S-Function (mav_autopilot_version_encode): '/mav_autopilot_version_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29539,13 +30021,13 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ap_ver_enc' */ + /* End of Outputs for SubSystem: '/ap_ver_enc' */ } else if (SIL_sf_msg_pop_serial_echoline()) { SIL_B.ser_echo = *(mavlink_serial_control_t *) SIL_DW.serial_echoline_msgDataPtr; - /* Outputs for Function Call SubSystem: '/ser_ctrl_enc' */ - /* S-Function (mav_serial_control_encode): '/mav_serial_control_enc' incorporates: + /* Outputs for Function Call SubSystem: '/ser_ctrl_enc' */ + /* S-Function (mav_serial_control_encode): '/mav_serial_control_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29553,29 +30035,29 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ser_ctrl_enc' */ + /* End of Outputs for SubSystem: '/ser_ctrl_enc' */ } else { - /* Outputs for Function Call SubSystem: '/loop_download' */ - /* UnitDelay: '/Unit Delay' */ + /* Outputs for Function Call SubSystem: '/loop_download' */ + /* UnitDelay: '/Unit Delay' */ rtb_Rem = SIL_DW.UnitDelay_DSTATE_b4; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_b4++; - /* Math: '/Rem' */ + /* Math: '/Rem' */ rtb_Rem = (uint8_T)(rtb_Rem % 21); - /* SwitchCase: '/Switch Case' */ + /* SwitchCase: '/Switch Case' */ switch (rtb_Rem) { case 1: - /* Outputs for IfAction SubSystem: '/ccm_state' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ccm_state' incorporates: + * ActionPort: '/Action Port' */ - /* BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' incorporates: - * DataTypeConversion: '/Data Type Conversion' + /* BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' incorporates: + * DataTypeConversion: '/Data Type Conversion' */ SIL_B.BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1_h.time_boot_ms = SIL_B.Merge.boot_time; @@ -29600,7 +30082,7 @@ void SIL_step(void) SIL_B.BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1_h.echo_seq = (uint8_T)SIL_B.seq_f; - /* S-Function (ccm_state_enc): '/S-Function' incorporates: + /* S-Function (ccm_state_enc): '/S-Function' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29609,16 +30091,16 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ccm_state' */ + /* End of Outputs for SubSystem: '/ccm_state' */ break; case 0: case 8: case 15: - /* Outputs for IfAction SubSystem: '/attitude_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/attitude_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.att.time_boot_ms = SIL_B.Merge.boot_time; SIL_B.att.roll = SIL_B.BusAssignment_j.phi; SIL_B.att.pitch = SIL_B.BusAssignment_j.tht; @@ -29627,7 +30109,7 @@ void SIL_step(void) SIL_B.att.pitchspeed = SIL_B.BusAssignment_j.q; SIL_B.att.yawspeed = SIL_B.BusAssignment_j.r; - /* S-Function (mav_attitude_encode): '/mav_attitude_enc' incorporates: + /* S-Function (mav_attitude_encode): '/mav_attitude_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29635,14 +30117,14 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/attitude_enc' */ + /* End of Outputs for SubSystem: '/attitude_enc' */ break; case 2: - /* Outputs for IfAction SubSystem: '/glb_pos_int_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/glb_pos_int_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.ins.time_boot_ms = SIL_B.Merge.boot_time; SIL_B.ins.lat = (int32_T)rt_roundd_snf(SIL_B.BusAssignment_j.lat * 1.0E+7); @@ -29657,7 +30139,7 @@ void SIL_step(void) SIL_B.ins.hdg = (uint16_T)roundf(SIL_get_yaw (SIL_B.BusAssignment_j.psi)); - /* S-Function (mav_global_position_int_encode): '/mav_global_position_int_enc' incorporates: + /* S-Function (mav_global_position_int_encode): '/mav_global_position_int_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29665,12 +30147,12 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/glb_pos_int_enc' */ + /* End of Outputs for SubSystem: '/glb_pos_int_enc' */ break; case 3: - /* Outputs for IfAction SubSystem: '/gps_raw_int_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/gps_raw_int_enc' incorporates: + * ActionPort: '/Action Port' */ SIL_B.gps.time_usec = SIL_B.BusAssignment_j.TOW; SIL_B.gps.fix_type = (uint8_T)SIL_B.BusAssignment_j.gps_fixtype; @@ -29684,41 +30166,41 @@ void SIL_step(void) SIL_B.vn = SIL_B.BusAssignment_j.v_n; SIL_B.ve = SIL_B.BusAssignment_j.v_e; - /* Chart: '/Chart' incorporates: - * SubSystem: '/get_vel' + /* Chart: '/Chart' incorporates: + * SubSystem: '/get_vel' */ - /* Sqrt: '/Sqrt' incorporates: - * Math: '/Math Function' - * Math: '/Math Function1' - * Sum: '/Sum' + /* Sqrt: '/Sqrt' incorporates: + * Math: '/Math Function' + * Math: '/Math Function1' + * Sum: '/Sum' */ SIL_B.Sqrt = sqrtf(SIL_B.vn * SIL_B.vn + SIL_B.ve * SIL_B.ve); SIL_B.gps.vel = (uint16_T)roundf(SIL_B.Sqrt * 100.0F); SIL_B.vn_h = SIL_B.BusAssignment_j.v_n; SIL_B.ve_o = SIL_B.BusAssignment_j.v_e; - /* Chart: '/Chart' incorporates: - * SubSystem: '/get_cog' + /* Chart: '/Chart' incorporates: + * SubSystem: '/get_cog' */ - /* Gain: '/Gain' incorporates: - * Trigonometry: '/Trigonometric Function' + /* Gain: '/Gain' incorporates: + * Trigonometry: '/Trigonometric Function' */ SIL_B.Merge_f = 57.2957802F * rt_atan2f_snf(SIL_B.ve_o, SIL_B.vn_h); - /* If: '/If' */ + /* If: '/If' */ if (SIL_B.Merge_f < 0.0F) { - /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Action Subsystem1' incorporates: + * ActionPort: '/Action Port' */ - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' */ SIL_B.Merge_f += 360.0F; - /* End of Outputs for SubSystem: '/If Action Subsystem1' */ + /* End of Outputs for SubSystem: '/If Action Subsystem1' */ } - /* End of If: '/If' */ + /* End of If: '/If' */ SIL_B.gps.cog = (uint16_T)roundf(SIL_B.Merge_f * 100.0F); SIL_B.gps.satellites_visible = SIL_B.BusAssignment_j.satnum; SIL_B.gps.alt_ellipsoid = (int32_T)roundf @@ -29732,7 +30214,7 @@ void SIL_step(void) SIL_B.gps.hdg_acc = (uint32_T)roundf(SIL_B.BusAssignment_j.hdg_acc * 5.73E+6F); - /* S-Function (mav_gps_raw_int_encode): '/mav_gps_raw_int_enc' incorporates: + /* S-Function (mav_gps_raw_int_encode): '/mav_gps_raw_int_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29740,17 +30222,17 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/gps_raw_int_enc' */ + /* End of Outputs for SubSystem: '/gps_raw_int_enc' */ break; case 4: case 11: - /* Outputs for IfAction SubSystem: '/svo_out_raw_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/svo_out_raw_enc' incorporates: + * ActionPort: '/Action Port' */ - /* SignalConversion: '/TmpSignal ConversionAt SFunction Inport3' incorporates: - * Chart: '/Chart' - * UnitDelay: '/Unit Delay' + /* SignalConversion: '/TmpSignal ConversionAt SFunction Inport3' incorporates: + * Chart: '/Chart' + * UnitDelay: '/Unit Delay' */ SIL_B.TmpSignalConversionAtSFunctionInport3[0] = SIL_B.DataTypeConversion1_nd; @@ -29772,9 +30254,9 @@ void SIL_step(void) SIL_B.TmpSignalConversionAtSFunctionInport3[idx + 9] = 0U; } - /* End of SignalConversion: '/TmpSignal ConversionAt SFunction Inport3' */ + /* End of SignalConversion: '/TmpSignal ConversionAt SFunction Inport3' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.servos.time_usec = SIL_B.Merge.boot_time; SIL_B.servos.port = SIL_DW.port_num; SIL_B.servos.servo1_raw = SIL_get_pwm_by_ch((uint8_T)((uint8_T) @@ -29815,7 +30297,7 @@ void SIL_step(void) SIL_DW.port_num = 0U; } - /* S-Function (mav_servo_output_raw_encode): '/mav_servo_output_raw_enc' incorporates: + /* S-Function (mav_servo_output_raw_encode): '/mav_servo_output_raw_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29823,15 +30305,15 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/svo_out_raw_enc' */ + /* End of Outputs for SubSystem: '/svo_out_raw_enc' */ break; case 6: case 17: - /* Outputs for IfAction SubSystem: '/nav_ctrl_out_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/nav_ctrl_out_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' incorporates: + /* Chart: '/Chart' incorporates: * UnitDelay: '/Unit Delay' */ SIL_B.nav.nav_roll = SIL_B.Merge.phi_c * 57.3F; @@ -29845,7 +30327,7 @@ void SIL_step(void) SIL_B.nav.aspd_error = SIL_B.Merge.aspd_error; SIL_B.nav.xtrack_error = SIL_DW.UnitDelay_DSTATE.horiz_offset; - /* S-Function (mav_nav_controller_output_encode): '/mav_nav_controller_output_enc' incorporates: + /* S-Function (mav_nav_controller_output_encode): '/mav_nav_controller_output_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29853,14 +30335,14 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/nav_ctrl_out_enc' */ + /* End of Outputs for SubSystem: '/nav_ctrl_out_enc' */ break; case 5: - /* Outputs for IfAction SubSystem: '/emb_atmo_com_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/emb_atmo_com_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.atmos.time_boot_ms = SIL_B.Merge.boot_time; SIL_B.atmos.ps = SIL_B.BusAssignment_j.baro; SIL_B.atmos.qbar = SIL_B.BusAssignment_j.qbar; @@ -29870,7 +30352,7 @@ void SIL_step(void) SIL_B.atmos.mach = SIL_B.BusAssignment_j.Mach; SIL_B.atmos.seq = (uint8_T)roundf(SIL_B.imu_temp_j); - /* S-Function (mav_emb_atmo_com_encode): '/mav_emb_atmo_com_enc' incorporates: + /* S-Function (mav_emb_atmo_com_encode): '/mav_emb_atmo_com_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29878,15 +30360,15 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/emb_atmo_com_enc' */ + /* End of Outputs for SubSystem: '/emb_atmo_com_enc' */ break; case 9: case 19: - /* Outputs for IfAction SubSystem: '/vfr_hud_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/vfr_hud_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' incorporates: + /* Chart: '/Chart' incorporates: * UnitDelay: '/Unit Delay' */ SIL_B.hud.airspeed = SIL_B.BusAssignment_j.IAS; @@ -29898,7 +30380,7 @@ void SIL_step(void) SIL_B.hud.alt = SIL_B.BusAssignment_j.asl_baro; SIL_B.hud.climb = SIL_DW.UnitDelay_DSTATE.hdot; - /* S-Function (mav_vfr_hud_encode): '/mav_vfr_hud_enc' incorporates: + /* S-Function (mav_vfr_hud_encode): '/mav_vfr_hud_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29906,14 +30388,14 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/vfr_hud_enc' */ + /* End of Outputs for SubSystem: '/vfr_hud_enc' */ break; case 7: - /* Outputs for IfAction SubSystem: '/sys_stat_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/sys_stat_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.sys_status.onboard_control_sensors_present = SIL_B.BusAssignment_j.sensors_present; SIL_B.sys_status.onboard_control_sensors_enabled = @@ -29928,18 +30410,18 @@ void SIL_step(void) SIL_B.sys_status.battery_remaining = SIL_B.BusAssignment_j.battery_remaining; - /* Product: '/Divide' incorporates: - * Constant: '/Constant' + /* Product: '/Divide' incorporates: + * Constant: '/Constant' */ rtb_out_n5 = 1000U * SIL_B.mav_status.packet_rx_drop_count; if (rtb_out_n5 > 65535U) { rtb_out_n5 = 65535U; } - /* Chart: '/Chart' incorporates: - * Constant: '/Constant1' - * Product: '/Divide' - * Sum: '/Sum' + /* Chart: '/Chart' incorporates: + * Constant: '/Constant1' + * Product: '/Divide' + * Sum: '/Sum' */ SIL_B.sys_status.drop_rate_comm = (uint16_T)(rtb_out_n5 / (((uint32_T)SIL_B.mav_status.packet_rx_drop_count + @@ -29950,7 +30432,7 @@ void SIL_step(void) SIL_B.sys_status.errors_count3 = SIL_B.BusAssignment_j.errors_count3; SIL_B.sys_status.errors_count4 = SIL_B.BusAssignment_j.errors_count4; - /* S-Function (mav_sys_status_encode): '/mav_sys_status_enc' incorporates: + /* S-Function (mav_sys_status_encode): '/mav_sys_status_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29958,18 +30440,18 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/sys_stat_enc' */ + /* End of Outputs for SubSystem: '/sys_stat_enc' */ break; case 10: - /* Outputs for IfAction SubSystem: '/ext_sys_stat_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ext_sys_stat_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.ext_sys_stat.vtol_state = (uint8_T)SIL_B.Merge.vtol_state; SIL_B.ext_sys_stat.landed_state = (uint8_T)SIL_B.Merge.landed_state; - /* S-Function (mav_ext_sys_stat_encode): '/mav_ext_sys_stat_enc' incorporates: + /* S-Function (mav_ext_sys_stat_encode): '/mav_ext_sys_stat_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -29977,36 +30459,36 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ext_sys_stat_enc' */ + /* End of Outputs for SubSystem: '/ext_sys_stat_enc' */ break; case 12: - /* Outputs for IfAction SubSystem: '/ins1_state' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ins1_state' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * ArithShift: '/Shift Arithmetic' - * ArithShift: '/Shift Arithmetic1' - * Constant: '/Constant' - * Constant: '/Constant BP' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' - * DataTypeConversion: '/Data Type Conversion4' - * DataTypeConversion: '/Data Type Conversion5' - * DataTypeConversion: '/Data Type Conversion6' - * Gain: '/Gain' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Gain: '/Gain3' - * Gain: '/Gain6' - * Gain: '/Gain' - * S-Function (sfix_bitop): '/Bitwise AND1' - * S-Function (sfix_bitop): '/Bitwise AND2' - * S-Function (sfix_bitop): '/Bitwise AND4' - * Sum: '/Sum' - * Sum: '/Sum1' + /* BusAssignment: '/Bus Assignment' incorporates: + * ArithShift: '/Shift Arithmetic' + * ArithShift: '/Shift Arithmetic1' + * Constant: '/Constant' + * Constant: '/Constant BP' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion4' + * DataTypeConversion: '/Data Type Conversion5' + * DataTypeConversion: '/Data Type Conversion6' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Gain: '/Gain3' + * Gain: '/Gain6' + * Gain: '/Gain' + * S-Function (sfix_bitop): '/Bitwise AND1' + * S-Function (sfix_bitop): '/Bitwise AND2' + * S-Function (sfix_bitop): '/Bitwise AND4' + * Sum: '/Sum' + * Sum: '/Sum1' */ SIL_B.BusAssignment_i4 = SIL_rtZmavlink_ins1_t; SIL_B.BusAssignment_i4.time_boot_ms = SIL_B.Merge.boot_time; @@ -30036,7 +30518,7 @@ void SIL_step(void) SIL_B.BusAssignment_i4.BIT = (uint8_T)SIL_B.solution_status_b; SIL_B.BusAssignment_i4.seq = (uint8_T)SIL_B.UnitDelay_i; - /* Gain: '/Gain7' */ + /* Gain: '/Gain7' */ rtb_Sum1_o = floorf(100.0F * SIL_B.LLA_acc_m[0]); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; @@ -30044,14 +30526,14 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 65536.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * Gain: '/Gain7' + /* BusAssignment: '/Bus Assignment' incorporates: + * Gain: '/Gain7' */ SIL_B.BusAssignment_i4.eph = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint16_T)-(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T) rtb_Sum1_o); - /* Gain: '/Gain8' */ + /* Gain: '/Gain8' */ rtb_Sum1_o = floorf(100.0F * SIL_B.LLA_acc_m[2]); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; @@ -30059,15 +30541,15 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 65536.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * Gain: '/Gain8' + /* BusAssignment: '/Bus Assignment' incorporates: + * Gain: '/Gain8' */ SIL_B.BusAssignment_i4.epv = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint16_T)-(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T) rtb_Sum1_o); SIL_B.BusAssignment_i4.satellites_visible = SIL_B.sv_used_d; - /* S-Function (mav_ins1_encode): '/mav_ins1_enc' incorporates: + /* S-Function (mav_ins1_encode): '/mav_ins1_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30075,14 +30557,14 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ins1_state' */ + /* End of Outputs for SubSystem: '/ins1_state' */ break; case 14: - /* Outputs for IfAction SubSystem: '/turbine_state' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/turbine_state' incorporates: + * ActionPort: '/Action Port' */ - /* S-Function (turbine_state_enc): '/S-Function' incorporates: + /* S-Function (turbine_state_enc): '/S-Function' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30091,14 +30573,14 @@ void SIL_step(void) &rtCP_ConstantBP1_Value_g, &SIL_B.Merge.boot_time, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/turbine_state' */ + /* End of Outputs for SubSystem: '/turbine_state' */ break; case 16: - /* Outputs for IfAction SubSystem: '/bmu_state' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/bmu_state' incorporates: + * ActionPort: '/Action Port' */ - /* BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' */ + /* BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' */ SIL_B.BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1.time_boot_ms = SIL_B.Merge.boot_time; SIL_B.BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1.BAT1_group_voltage_mv @@ -30150,9 +30632,9 @@ void SIL_step(void) SIL_B.BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1.p500w_enabled = SIL_B.P500w_enabled; - /* End of BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' */ + /* End of BusCreator: '/BusConversion_InsertedFor_S-Function_at_inport_0' */ - /* S-Function (bmu_state_enc): '/S-Function' incorporates: + /* S-Function (bmu_state_enc): '/S-Function' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30161,36 +30643,36 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/bmu_state' */ + /* End of Outputs for SubSystem: '/bmu_state' */ break; case 13: - /* Outputs for IfAction SubSystem: '/ins2_state' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/ins2_state' incorporates: + * ActionPort: '/Action Port' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * ArithShift: '/Shift Arithmetic' - * ArithShift: '/Shift Arithmetic1' - * Constant: '/Constant' - * Constant: '/Constant BP' - * DataTypeConversion: '/Data Type Conversion' - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - * DataTypeConversion: '/Data Type Conversion3' - * DataTypeConversion: '/Data Type Conversion4' - * DataTypeConversion: '/Data Type Conversion5' - * DataTypeConversion: '/Data Type Conversion6' - * Gain: '/Gain' - * Gain: '/Gain1' - * Gain: '/Gain2' - * Gain: '/Gain3' - * Gain: '/Gain6' - * Gain: '/Gain' - * S-Function (sfix_bitop): '/Bitwise AND1' - * S-Function (sfix_bitop): '/Bitwise AND2' - * S-Function (sfix_bitop): '/Bitwise AND4' - * Sum: '/Sum' - * Sum: '/Sum1' + /* BusAssignment: '/Bus Assignment' incorporates: + * ArithShift: '/Shift Arithmetic' + * ArithShift: '/Shift Arithmetic1' + * Constant: '/Constant' + * Constant: '/Constant BP' + * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion1' + * DataTypeConversion: '/Data Type Conversion2' + * DataTypeConversion: '/Data Type Conversion3' + * DataTypeConversion: '/Data Type Conversion4' + * DataTypeConversion: '/Data Type Conversion5' + * DataTypeConversion: '/Data Type Conversion6' + * Gain: '/Gain' + * Gain: '/Gain1' + * Gain: '/Gain2' + * Gain: '/Gain3' + * Gain: '/Gain6' + * Gain: '/Gain' + * S-Function (sfix_bitop): '/Bitwise AND1' + * S-Function (sfix_bitop): '/Bitwise AND2' + * S-Function (sfix_bitop): '/Bitwise AND4' + * Sum: '/Sum' + * Sum: '/Sum1' */ SIL_B.BusAssignment_p = SIL_rtZmavlink_ins2_t; SIL_B.BusAssignment_p.time_boot_ms = SIL_B.Merge.boot_time; @@ -30220,7 +30702,7 @@ void SIL_step(void) SIL_B.BusAssignment_p.BIT = (uint8_T)SIL_B.solution_status_c; SIL_B.BusAssignment_p.seq = (uint8_T)SIL_B.UnitDelay_i; - /* Gain: '/Gain7' */ + /* Gain: '/Gain7' */ rtb_Sum1_o = floorf(100.0F * SIL_B.LLA_acc[0]); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; @@ -30228,14 +30710,14 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 65536.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * Gain: '/Gain7' + /* BusAssignment: '/Bus Assignment' incorporates: + * Gain: '/Gain7' */ SIL_B.BusAssignment_p.eph = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint16_T)-(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T) rtb_Sum1_o); - /* Gain: '/Gain8' */ + /* Gain: '/Gain8' */ rtb_Sum1_o = floorf(100.0F * SIL_B.LLA_acc[2]); if (rtIsNaNF(rtb_Sum1_o) || rtIsInfF(rtb_Sum1_o)) { rtb_Sum1_o = 0.0F; @@ -30243,15 +30725,15 @@ void SIL_step(void) rtb_Sum1_o = fmodf(rtb_Sum1_o, 65536.0F); } - /* BusAssignment: '/Bus Assignment' incorporates: - * Gain: '/Gain8' + /* BusAssignment: '/Bus Assignment' incorporates: + * Gain: '/Gain8' */ SIL_B.BusAssignment_p.epv = (uint16_T)(rtb_Sum1_o < 0.0F ? (int32_T) (uint16_T)-(int16_T)(uint16_T)-rtb_Sum1_o : (int32_T)(uint16_T) rtb_Sum1_o); SIL_B.BusAssignment_p.satellites_visible = SIL_B.sv_used; - /* S-Function (mav_ins2_encode): '/mav_ins2_enc' incorporates: + /* S-Function (mav_ins2_encode): '/mav_ins2_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30259,20 +30741,20 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/ins2_state' */ + /* End of Outputs for SubSystem: '/ins2_state' */ break; case 18: - /* Outputs for IfAction SubSystem: '/scal_pres_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/scal_pres_enc' incorporates: + * ActionPort: '/Action Port' */ - /* Chart: '/Chart' */ + /* Chart: '/Chart' */ SIL_B.pres.time_boot_ms = SIL_B.Merge.boot_time; SIL_B.pres.press_abs = SIL_B.Ps1 * 0.01F; SIL_B.pres.press_diff = SIL_B.Qbar1 * 0.01F; SIL_B.pres.temperature = (int16_T)roundf(SIL_B.Temp_total * 100.0F); - /* S-Function (mav_scaled_pressure_encode): '/mav_scaled_pressure_enc' incorporates: + /* S-Function (mav_scaled_pressure_encode): '/mav_scaled_pressure_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30280,23 +30762,23 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/scal_pres_enc' */ + /* End of Outputs for SubSystem: '/scal_pres_enc' */ break; default: - /* Outputs for IfAction SubSystem: '/heartbeat_enc' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/heartbeat_enc' incorporates: + * ActionPort: '/Action Port' */ - /* S-Function (sfix_bitop): '/Bitwise Operator' */ + /* S-Function (sfix_bitop): '/Bitwise Operator' */ SIL_B.BitwiseOperator = 5U; - /* DataTypeConversion: '/Data Type Conversion' incorporates: - * Constant: '/Constant' + /* DataTypeConversion: '/Data Type Conversion' incorporates: + * Constant: '/Constant' */ SIL_B.DataTypeConversion_d = (uint8_T)MAV_MAV_AUTOPILOT_RESERVED; - /* Chart: '/Chart' incorporates: - * Constant: '/mav_autopilot_ZT' + /* Chart: '/Chart' incorporates: + * Constant: '/mav_autopilot_ZT' */ SIL_B.heartbeat.type = SIL_B.DataTypeConversion_d; SIL_B.heartbeat.autopilot = 19U; @@ -30304,7 +30786,7 @@ void SIL_step(void) SIL_B.heartbeat.custom_mode = SIL_get_mode(); SIL_B.heartbeat.system_status = SIL_get_status(); - /* S-Function (mav_heartbeat_encode): '/mav_heartbeat_enc' incorporates: + /* S-Function (mav_heartbeat_encode): '/mav_heartbeat_enc' incorporates: * Constant: '/Constant BP' * Constant: '/Constant BP1' */ @@ -30312,26 +30794,26 @@ void SIL_step(void) &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_hk, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); - /* End of Outputs for SubSystem: '/heartbeat_enc' */ + /* End of Outputs for SubSystem: '/heartbeat_enc' */ break; } - /* End of SwitchCase: '/Switch Case' */ - /* End of Outputs for SubSystem: '/loop_download' */ + /* End of SwitchCase: '/Switch Case' */ + /* End of Outputs for SubSystem: '/loop_download' */ } SIL_DW.is_c47_kb3_autopilot = SIL_IN_Wait; SIL_DW.temporalCounter_i1 = 0U; - /* Outputs for Function Call SubSystem: '/Function-Call Subsystem' */ - /* S-Function (mav_msg2buff): '/mav_msg2buff' incorporates: + /* Outputs for Function Call SubSystem: '/Function-Call Subsystem' */ + /* S-Function (mav_msg2buff): '/mav_msg2buff' incorporates: * Outport: '/buff' * Outport: '/buff_len' */ mav_msg2buff_Outputs_wrapper(&SIL_B.Merged_msg, &SIL_Y.buff[0], &SIL_Y.buff_len, 256); - /* End of Outputs for SubSystem: '/Function-Call Subsystem' */ + /* End of Outputs for SubSystem: '/Function-Call Subsystem' */ /* Outport: '/seq' */ SIL_Y.seq++; @@ -30367,17 +30849,17 @@ void SIL_step(void) SIL_sf_msg_discard_ap_ver_queue(); SIL_sf_msg_discard_serial_echoline(); - /* End of Chart: '/traffic_ctrl' */ + /* End of Chart: '/traffic_ctrl' */ /* Update for UnitDelay: '/Unit Delay2' */ SIL_DW.UnitDelay2_3_DSTATE = SIL_B.id_g; SIL_DW.UnitDelay2_2_DSTATE = SIL_B.seq_g; SIL_DW.UnitDelay2_4_DSTATE = SIL_B.valid_o; - /* Update for UnitDelay: '/Unit Delay' */ + /* Update for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_o = rtb_add_f; - /* Update for UnitDelay: '/Unit Delay' */ + /* Update for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_d = rtb_add_f; /* Update for UnitDelay: '/Unit Delay1' */ @@ -30392,61 +30874,58 @@ void SIL_step(void) } /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table2D_NhAB' + * Lookup_n-D: '/table2D_NhAB' */ - rtb_q0dot = look2_pbinlcapw(SIL_B.Product3_f, SIL_B.Sum3, + rtb_q0dot = look2_binlxpw(SIL_B.Product3_f, SIL_B.Sum3, rtCP_table2D_NhAB_bp01Data, rtCP_table2D_NhAB_bp02Data, - rtCP_table2D_NhAB_tableData, SIL_DW.m_bpIndex_k2, - rtCP_table2D_NhAB_maxIndex_h, 10U); + rtCP_table2D_NhAB_tableData, rtCP_table2D_NhAB_maxIndex_i, 10U); - /* Product: '/product' */ - SIL_B.product_mc = rtb_q0dot * SIL_B.table1D_thrAB_map; + /* Product: '/product' */ + SIL_B.product_cl = rtb_q0dot * SIL_B.table1D_thrAB_map; - /* Lookup_n-D: '/table3D_Nh' */ - bpIndices_p[0U] = plook_bincpa(SIL_B.Product3_f, rtCP_table3D_Nh_bp01Data, - 9U, &rtb_sincos_o2_f_idx_0, &SIL_DW.m_bpIndex_k5[0U]); - fractions_n[0U] = rtb_sincos_o2_f_idx_0; - bpIndices_p[1U] = plook_bincpa(SIL_B.Sum3, rtCP_table3D_Nh_bp02Data, 15U, - &rtb_sincos_o2_f_idx_0, &SIL_DW.m_bpIndex_k5[1U]); - fractions_n[1U] = rtb_sincos_o2_f_idx_0; - bpIndices_p[2U] = plook_bincpa(SIL_B.table1D_thr_map, - rtCP_table3D_Nh_bp03Data, 11U, &rtb_sincos_o2_f_idx_0, - &SIL_DW.m_bpIndex_k5[2U]); - fractions_n[2U] = rtb_sincos_o2_f_idx_0; + /* Lookup_n-D: '/table3D_Nh' */ + bpIndices_v[0U] = plook_binx(SIL_B.Product3_f, rtCP_table3D_Nh_bp01Data, 9U, + &rtb_sincos_o2_f_idx_0); + fractions_t[0U] = rtb_sincos_o2_f_idx_0; + bpIndices_v[1U] = plook_binx(SIL_B.Sum3, rtCP_table3D_Nh_bp02Data, 15U, + &rtb_sincos_o2_f_idx_0); + fractions_t[1U] = rtb_sincos_o2_f_idx_0; + bpIndices_v[2U] = plook_binx(SIL_B.table1D_thr_map, rtCP_table3D_Nh_bp03Data, + 11U, &rtb_sincos_o2_f_idx_0); + fractions_t[2U] = rtb_sincos_o2_f_idx_0; /* DotProduct: '/Dot Product' incorporates: - * Lookup_n-D: '/table3D_Nh' + * Lookup_n-D: '/table3D_Nh' */ - rtb_q0dot = intrp3d_la_pw(bpIndices_p, fractions_n, - rtCP_table3D_Nh_tableData, rtCP_table3D_Nh_dimSizes_i, - rtCP_table3D_Nh_maxIndex_d); + rtb_q0dot = intrp3d_l_pw(bpIndices_v, fractions_t, rtCP_table3D_Nh_tableData, + rtCP_table3D_Nh_dimSizes_o); - /* Product: '/product1' */ - SIL_B.product1_er = rtb_q0dot * SIL_B.subtract; + /* Product: '/product1' */ + SIL_B.product1_d = rtb_q0dot * SIL_B.subtract; - /* Sum: '/add' */ - SIL_B.add_g5 = SIL_B.product_mc + SIL_B.product1_er; + /* Sum: '/add' */ + SIL_B.add_m = SIL_B.product_cl + SIL_B.product1_d; /* DotProduct: '/Dot Product' incorporates: - * Trigonometry: '/Trigonometric Function' + * Trigonometry: '/Trigonometric Function' */ rtb_q0dot = sin(rtb_sincos_o2_k_idx_0); - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_j1 = rtb_q0dot * SIL_B.Accels[0]; /* DotProduct: '/Dot Product' incorporates: - * Trigonometry: '/Trigonometric Function1' + * Trigonometry: '/Trigonometric Function1' */ rtb_q0dot = cos(rtb_sincos_o2_k_idx_0); - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_hk = rtb_q0dot * SIL_B.Accels[2]; - /* Sum: '/An' */ + /* Sum: '/An' */ SIL_B.An = SIL_B.Product_j1 - SIL_B.Product1_hk; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.agl_m = SIL_B.Sum3 - SIL_B.hground_p; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { @@ -30517,577 +30996,7 @@ void SIL_step(void) break; default: - switch (SIL_DW.is_a5Hz) { - case SIL_IN_idle_p: - if ((SIL_DW.temporalCounter_i3 >= 39U) && (!SIL_DW.act)) { - SIL_DW.is_a5Hz = SIL_IN_work_dr; - SIL_DW.act = true; - - /* Outport: '/rec_seq' */ - SIL_Y.rec_seq++; - - /* Outputs for Function Call SubSystem: '/rec5Hz' */ - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ - SIL_B.TmpSignalConversionAtBytePackInport1_l[0] = - SIL_B.Merge.boot_time; - SIL_B.TmpSignalConversionAtBytePackInport1_l[1] = - SIL_B.BusAssignment_j.sensors_health; - SIL_B.TmpSignalConversionAtBytePackInport1_l[2] = SIL_B.value; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' */ - SIL_B.TmpSignalConversionAtBytePackInport4_b[0] = SIL_B.voltages[0]; - SIL_B.TmpSignalConversionAtBytePackInport4_b[1] = SIL_B.voltages[1]; - SIL_B.TmpSignalConversionAtBytePackInport4_b[2] = SIL_B.voltages[2]; - SIL_B.TmpSignalConversionAtBytePackInport4_b[3] = SIL_B.voltages[3]; - SIL_B.TmpSignalConversionAtBytePackInport4_b[4] = - SIL_B.group_voltage_mv_g; - SIL_B.TmpSignalConversionAtBytePackInport4_b[5] = - SIL_B.group_current_dA_c; - SIL_B.TmpSignalConversionAtBytePackInport4_b[6] = - SIL_B.group_voltage_mv; - SIL_B.TmpSignalConversionAtBytePackInport4_b[7] = - SIL_B.group_current_dA; - SIL_B.TmpSignalConversionAtBytePackInport4_b[8] = - SIL_B.SFunction.RPM_mea; - SIL_B.TmpSignalConversionAtBytePackInport4_b[9] = - SIL_B.SFunction.T5; - SIL_B.TmpSignalConversionAtBytePackInport4_b[10] = - SIL_B.SFunction.Kfuel; - SIL_B.TmpSignalConversionAtBytePackInport4_b[11] = - SIL_B.SFunction.RPM_des; - SIL_B.TmpSignalConversionAtBytePackInport4_b[12] = - SIL_B.SFunction.RPM_des_ap; - SIL_B.TmpSignalConversionAtBytePackInport4_b[13] = - SIL_B.SFunction.RPM_bak; - SIL_B.TmpSignalConversionAtBytePackInport4_b[14] = - SIL_B.SFunction.IOState; - SIL_B.TmpSignalConversionAtBytePackInport4_b[15] = - SIL_B.SFunction.SysState; - SIL_B.TmpSignalConversionAtBytePackInport4_b[16] = - SIL_B.SFunction.Fault; - SIL_B.TmpSignalConversionAtBytePackInport4_b[17] = - SIL_B.low_temp_degC_a; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport5' */ - SIL_B.TmpSignalConversionAtBytePackInport5_h[0] = - SIL_B.SFunction.stage_ap; - SIL_B.TmpSignalConversionAtBytePackInport5_h[1] = - SIL_B.SFunction.temp_ap; - SIL_B.TmpSignalConversionAtBytePackInport5_h[2] = - SIL_B.SFunction.tas_ap; - SIL_B.TmpSignalConversionAtBytePackInport5_h[3] = - SIL_B.SFunction.asl_ap; - SIL_B.TmpSignalConversionAtBytePackInport5_h[4] = - SIL_B.SFunction.KabMain; - SIL_B.TmpSignalConversionAtBytePackInport5_h[5] = - SIL_B.SFunction.KabFire; - SIL_B.TmpSignalConversionAtBytePackInport5_h[6] = - SIL_B.SFunction.KDj; - SIL_B.TmpSignalConversionAtBytePackInport5_h[7] = - SIL_B.SFunction.T1t; - SIL_B.TmpSignalConversionAtBytePackInport5_h[8] = - SIL_B.SFunction.P1t; - SIL_B.TmpSignalConversionAtBytePackInport5_h[9] = - SIL_B.SFunction.P3t; - SIL_B.TmpSignalConversionAtBytePackInport5_h[10] = - SIL_B.SFunction.P5t; - SIL_B.TmpSignalConversionAtBytePackInport5_h[11] = - SIL_B.SFunction.DJS; - SIL_B.TmpSignalConversionAtBytePackInport5_h[12] = - SIL_B.SFunction.Vcc; - SIL_B.TmpSignalConversionAtBytePackInport5_h[13] = - SIL_B.SFunction.Tbak; - SIL_B.TmpSignalConversionAtBytePackInport5_h[14] = - SIL_B.SFunction.CFuelMode; - SIL_B.TmpSignalConversionAtBytePackInport5_h[15] = - SIL_B.SFunction.Cmd; - - /* S-Function (any2byte): '/Byte Pack' */ - - /* Pack: /Byte Pack */ - (void) memcpy(&SIL_B.BytePack_g[0], - &SIL_B.TmpSignalConversionAtBytePackInport1_l[0], - 12); - (void) memcpy(&SIL_B.BytePack_g[12], &SIL_B.Merge.fuel_est, - 4); - (void) memcpy(&SIL_B.BytePack_g[16], &SIL_B.temps[0], - 8); - (void) memcpy(&SIL_B.BytePack_g[24], - &SIL_B.TmpSignalConversionAtBytePackInport4_b[0], - 36); - (void) memcpy(&SIL_B.BytePack_g[60], - &SIL_B.TmpSignalConversionAtBytePackInport5_h[0], - 16); - - /* Sum: '/Sum of Elements' */ - rtb_Rem = 0U; - for (idx = 0; idx < 76; idx++) { - rtb_Rem = (uint8_T)((uint32_T)rtb_Rem + SIL_B.BytePack_g[idx]); - - /* SignalConversion: '/OutportBufferFordata' */ - SIL_B.Merge_gk[idx + 4] = SIL_B.BytePack_g[idx]; - } - - /* SignalConversion: '/OutportBufferFordata' incorporates: - * Constant: '/id' - * Constant: '/sync1' - * Constant: '/sync2' - * Sum: '/Sum of Elements' - */ - SIL_B.Merge_gk[0] = 235U; - SIL_B.Merge_gk[1] = 144U; - SIL_B.Merge_gk[2] = 2U; - SIL_B.Merge_gk[3] = SIL_ConstB.Width_m; - SIL_B.Merge_gk[80] = rtb_Rem; - memset(&SIL_B.Merge_gk[81], 0, 179U * sizeof(uint8_T)); - - /* SignalConversion: '/OutportBufferForlen' */ - SIL_B.Merge1_e = SIL_ConstB.Width1_a; - - /* End of Outputs for SubSystem: '/rec5Hz' */ - } - break; - - case SIL_IN_start: - if (SIL_DW.temporalCounter_i3 >= 4U) { - SIL_DW.is_a5Hz = SIL_IN_idle_p; - SIL_DW.temporalCounter_i3 = 0U; - } - break; - - default: - SIL_DW.act = false; - SIL_DW.is_a5Hz = SIL_IN_idle_p; - SIL_DW.temporalCounter_i3 = 0U; - break; - } - - switch (SIL_DW.is_a5Hz1) { - case SIL_IN_idle_p: - if ((SIL_DW.temporalCounter_i4 >= 39U) && (!SIL_DW.act)) { - SIL_DW.is_a5Hz1 = SIL_IN_work_dr; - SIL_DW.act = true; - - /* Outport: '/rec_seq' */ - SIL_Y.rec_seq++; - - /* Outputs for Function Call SubSystem: '/rec5Hz1' */ - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ - SIL_B.TmpSignalConversionAtBytePackInport1[0] = - SIL_B.Merge.boot_time; - SIL_B.TmpSignalConversionAtBytePackInport1[1] = - SIL_B.BusAssignment_j.sensors_enabled; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' incorporates: - * Constant: '/Constant1' - * DataTypeConversion: '/Data Type Conversion' - */ - SIL_B.TmpSignalConversionAtBytePackInport2_o[0] = SIL_B.Ps_m; - SIL_B.TmpSignalConversionAtBytePackInport2_o[1] = SIL_B.qbar_h; - SIL_B.TmpSignalConversionAtBytePackInport2_o[2] = SIL_B.Ps1; - SIL_B.TmpSignalConversionAtBytePackInport2_o[3] = SIL_B.Ps2; - SIL_B.TmpSignalConversionAtBytePackInport2_o[4] = SIL_B.Qbar1; - SIL_B.TmpSignalConversionAtBytePackInport2_o[5] = SIL_B.Temp_total; - SIL_B.TmpSignalConversionAtBytePackInport2_o[6] = SIL_B.Gain1_c; - SIL_B.TmpSignalConversionAtBytePackInport2_o[7] = SIL_B.Gain1_n; - SIL_B.TmpSignalConversionAtBytePackInport2_o[8] = SIL_B.Temp_ps1; - SIL_B.TmpSignalConversionAtBytePackInport2_o[9] = SIL_B.Temp_qbar1; - SIL_B.TmpSignalConversionAtBytePackInport2_o[10] = - SIL_B.imu_temp_j; - SIL_B.TmpSignalConversionAtBytePackInport2_o[11] = - SIL_P.use_deadbandComp; - SIL_B.TmpSignalConversionAtBytePackInport2_o[12] = (real32_T) - SIL_B.add_g5; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport3' */ - SIL_B.TmpSignalConversionAtBytePackInport3_p[0] = - SIL_B.UnitDelay_i; - SIL_B.TmpSignalConversionAtBytePackInport3_p[1] = - SIL_B.UnitDelay_i; - SIL_B.TmpSignalConversionAtBytePackInport3_p[2] = SIL_B.good_d; - SIL_B.TmpSignalConversionAtBytePackInport3_p[3] = SIL_B.good_l; - SIL_B.TmpSignalConversionAtBytePackInport3_p[4] = SIL_B.good_g; - SIL_B.TmpSignalConversionAtBytePackInport3_p[5] = SIL_B.good_m; - SIL_B.TmpSignalConversionAtBytePackInport3_p[6] = SIL_B.good; - SIL_B.TmpSignalConversionAtBytePackInport3_p[7] = SIL_B.good_f; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' */ - for (idx = 0; idx < 5; idx++) { - SIL_B.TmpSignalConversionAtBytePackInport4_bx[idx] = - SIL_B.UnitDelay_f[idx]; - } - - SIL_B.TmpSignalConversionAtBytePackInport4_bx[5] = - SIL_B.Merge.USE_ADRC; - - /* S-Function (any2byte): '/Byte Pack' */ - - /* Pack: /Byte Pack */ - (void) memcpy(&SIL_B.BytePack[0], - &SIL_B.TmpSignalConversionAtBytePackInport1[0], - 8); - (void) memcpy(&SIL_B.BytePack[8], - &SIL_B.TmpSignalConversionAtBytePackInport2_o[0], - 52); - (void) memcpy(&SIL_B.BytePack[60], - &SIL_B.TmpSignalConversionAtBytePackInport3_p[0], - 16); - (void) memcpy(&SIL_B.BytePack[76], - &SIL_B.TmpSignalConversionAtBytePackInport4_bx[0], - 6); - - /* Sum: '/Sum of Elements' */ - rtb_Rem = 0U; - for (idx = 0; idx < 82; idx++) { - rtb_Rem = (uint8_T)((uint32_T)rtb_Rem + SIL_B.BytePack[idx]); - - /* SignalConversion: '/OutportBufferFordata' */ - SIL_B.Merge_gk[idx + 4] = SIL_B.BytePack[idx]; - } - - /* SignalConversion: '/OutportBufferFordata' incorporates: - * Constant: '/id' - * Constant: '/sync1' - * Constant: '/sync2' - * Sum: '/Sum of Elements' - */ - SIL_B.Merge_gk[0] = 235U; - SIL_B.Merge_gk[1] = 144U; - SIL_B.Merge_gk[2] = 4U; - SIL_B.Merge_gk[3] = SIL_ConstB.Width; - SIL_B.Merge_gk[86] = rtb_Rem; - memset(&SIL_B.Merge_gk[87], 0, 173U * sizeof(uint8_T)); - - /* SignalConversion: '/OutportBufferForlen' */ - SIL_B.Merge1_e = SIL_ConstB.Width1; - - /* End of Outputs for SubSystem: '/rec5Hz1' */ - } - break; - - case SIL_IN_start: - if (SIL_DW.temporalCounter_i4 >= 6U) { - SIL_DW.is_a5Hz1 = SIL_IN_idle_p; - SIL_DW.temporalCounter_i4 = 0U; - } - break; - - default: - SIL_DW.act = false; - SIL_DW.is_a5Hz1 = SIL_IN_idle_p; - SIL_DW.temporalCounter_i4 = 0U; - break; - } - - switch (SIL_DW.is_a20Hz) { - case SIL_IN_delay_f: - if (SIL_DW.temporalCounter_i2_f >= 8U) { - SIL_DW.is_a20Hz = SIL_IN_idle_mo; - SIL_DW.temporalCounter_i2_f = 0U; - } - break; - - case SIL_IN_idle_mo: - if ((SIL_DW.temporalCounter_i2_f >= 9U) && (!SIL_DW.act)) { - SIL_DW.is_a20Hz = SIL_IN_work_dr; - SIL_DW.act = true; - - /* Outport: '/rec_seq' */ - SIL_Y.rec_seq++; - - /* Outputs for Function Call SubSystem: '/rec20Hz' */ - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport1' */ - SIL_B.TmpSignalConversionAtBytePackInport1_lf[0] = - SIL_B.Merge.boot_time; - SIL_B.TmpSignalConversionAtBytePackInport1_lf[1] = - SIL_B.BusAssignment_j.TOW; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' */ - SIL_B.TmpSignalConversionAtBytePackInport2[0] = - SIL_B.BusAssignment_j.lat; - SIL_B.TmpSignalConversionAtBytePackInport2[1] = - SIL_B.BusAssignment_j.lon; - SIL_B.TmpSignalConversionAtBytePackInport2[2] = SIL_B.LLA_i[0]; - SIL_B.TmpSignalConversionAtBytePackInport2[5] = SIL_B.LLA[0]; - SIL_B.TmpSignalConversionAtBytePackInport2[3] = SIL_B.LLA_i[1]; - SIL_B.TmpSignalConversionAtBytePackInport2[6] = SIL_B.LLA[1]; - SIL_B.TmpSignalConversionAtBytePackInport2[4] = SIL_B.LLA_i[2]; - SIL_B.TmpSignalConversionAtBytePackInport2[7] = SIL_B.LLA[2]; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport3' incorporates: - * UnitDelay: '/Unit Delay' - */ - SIL_B.TmpSignalConversionAtBytePackInport3[0] = SIL_B.Merge.phi_c; - SIL_B.TmpSignalConversionAtBytePackInport3[1] = SIL_B.Merge.tht_c; - SIL_B.TmpSignalConversionAtBytePackInport3[2] = - SIL_DW.UnitDelay_DSTATE.bearing_baseline; - SIL_B.TmpSignalConversionAtBytePackInport3[3] = SIL_B.Merge.p_c; - SIL_B.TmpSignalConversionAtBytePackInport3[4] = SIL_B.Merge.q_c; - SIL_B.TmpSignalConversionAtBytePackInport3[5] = SIL_B.Merge.as_c; - SIL_B.TmpSignalConversionAtBytePackInport3[6] = - SIL_DW.UnitDelay_DSTATE.vert_offset; - SIL_B.TmpSignalConversionAtBytePackInport3[7] = SIL_B.Merge.hdot_c; - SIL_B.TmpSignalConversionAtBytePackInport3[8] = - SIL_DW.UnitDelay_DSTATE.horiz_offset; - SIL_B.TmpSignalConversionAtBytePackInport3[9] = - SIL_DW.UnitDelay_DSTATE.dist_offset; - SIL_B.TmpSignalConversionAtBytePackInport3[10] = SIL_B.Merge.del_c; - SIL_B.TmpSignalConversionAtBytePackInport3[11] = SIL_B.Merge.der_c; - SIL_B.TmpSignalConversionAtBytePackInport3[12] = SIL_B.Merge.dal_c; - SIL_B.TmpSignalConversionAtBytePackInport3[13] = SIL_B.Merge.dar_c; - SIL_B.TmpSignalConversionAtBytePackInport3[14] = SIL_B.Merge.dr_c; - SIL_B.TmpSignalConversionAtBytePackInport3[15] = - SIL_B.Merge.throttle_c; - SIL_B.TmpSignalConversionAtBytePackInport3[16] = - SIL_B.BusAssignment_j.phi; - SIL_B.TmpSignalConversionAtBytePackInport3[17] = - SIL_B.BusAssignment_j.tht; - SIL_B.TmpSignalConversionAtBytePackInport3[18] = - SIL_B.BusAssignment_j.p; - SIL_B.TmpSignalConversionAtBytePackInport3[19] = - SIL_B.BusAssignment_j.q; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport4' incorporates: - * DataTypeConversion: '/Data Type Conversion' - */ - SIL_B.TmpSignalConversionAtBytePackInport4[0] = (uint32_T) - SIL_B.Merge.mode; - SIL_B.TmpSignalConversionAtBytePackInport4[1] = - SIL_B.gps_pos_status_d; - SIL_B.TmpSignalConversionAtBytePackInport4[2] = - SIL_B.gps_pos_status; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport5' */ - SIL_B.TmpSignalConversionAtBytePackInport5[0] = SIL_B.Merge.WP_cur; - for (idx = 0; idx < 7; idx++) { - SIL_B.TmpSignalConversionAtBytePackInport5[idx + 1] = 0U; - } - - SIL_B.TmpSignalConversionAtBytePackInport5[8] = - SIL_B.SFunction.RPM_mea; - SIL_B.TmpSignalConversionAtBytePackInport5[9] = - SIL_B.SFunction.Kfuel; - - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport6' incorporates: - * DataTypeConversion: '/Data Type Conversion1' - * DataTypeConversion: '/Data Type Conversion2' - */ - SIL_B.TmpSignalConversionAtBytePackInport6[0] = - SIL_B.Merge.recovery; - SIL_B.TmpSignalConversionAtBytePackInport6[1] = - SIL_B.Merge.ECU_CMD; - SIL_B.TmpSignalConversionAtBytePackInport6[2] = SIL_B.Merge.linked; - SIL_B.TmpSignalConversionAtBytePackInport6[3] = - SIL_B.Merge.recovery; - SIL_B.TmpSignalConversionAtBytePackInport6[4] = (uint8_T) - SIL_B.BusAssignment_j.gps_fixtype; - SIL_B.TmpSignalConversionAtBytePackInport6[5] = - SIL_B.BusAssignment_j.satnum; - - /* S-Function (any2byte): '/Byte Pack' */ - - /* Pack: /Byte Pack */ - (void) memcpy(&SIL_B.BytePack_k[0], - &SIL_B.TmpSignalConversionAtBytePackInport1_lf[0], - 8); - (void) memcpy(&SIL_B.BytePack_k[8], - &SIL_B.TmpSignalConversionAtBytePackInport2[0], - 64); - (void) memcpy(&SIL_B.BytePack_k[72], - &SIL_B.TmpSignalConversionAtBytePackInport3[0], - 80); - (void) memcpy(&SIL_B.BytePack_k[152], - &SIL_B.TmpSignalConversionAtBytePackInport4[0], - 12); - (void) memcpy(&SIL_B.BytePack_k[164], - &SIL_B.TmpSignalConversionAtBytePackInport5[0], - 20); - (void) memcpy(&SIL_B.BytePack_k[184], - &SIL_B.TmpSignalConversionAtBytePackInport6[0], - 6); - - /* Sum: '/Sum of Elements' */ - rtb_Rem = 0U; - for (idx = 0; idx < 190; idx++) { - rtb_Rem = (uint8_T)((uint32_T)rtb_Rem + SIL_B.BytePack_k[idx]); - - /* SignalConversion: '/OutportBufferFordata' */ - SIL_B.Merge_gk[idx + 4] = SIL_B.BytePack_k[idx]; - } - - /* SignalConversion: '/OutportBufferFordata' incorporates: - * Constant: '/id' - * Constant: '/sync1' - * Constant: '/sync2' - * Sum: '/Sum of Elements' - */ - SIL_B.Merge_gk[0] = 235U; - SIL_B.Merge_gk[1] = 144U; - SIL_B.Merge_gk[2] = 1U; - SIL_B.Merge_gk[3] = SIL_ConstB.Width_b; - SIL_B.Merge_gk[194] = rtb_Rem; - memset(&SIL_B.Merge_gk[195], 0, 65U * sizeof(uint8_T)); - - /* SignalConversion: '/OutportBufferForlen' */ - SIL_B.Merge1_e = SIL_ConstB.Width1_i; - - /* End of Outputs for SubSystem: '/rec20Hz' */ - } - break; - - default: - SIL_DW.act = false; - SIL_DW.is_a20Hz = SIL_IN_idle_mo; - SIL_DW.temporalCounter_i2_f = 0U; - break; - } - - switch (SIL_DW.is_a20Hz1) { - case SIL_IN_delay_f: - if (SIL_DW.temporalCounter_i1_m >= 2U) { - SIL_DW.is_a20Hz1 = SIL_IN_idle_mo; - SIL_DW.temporalCounter_i1_m = 0U; - } - break; - - case SIL_IN_idle_mo: - if ((SIL_DW.temporalCounter_i1_m >= 9U) && (!SIL_DW.act)) { - SIL_DW.is_a20Hz1 = SIL_IN_work_dr; - SIL_DW.act = true; - - /* Outport: '/rec_seq' */ - SIL_Y.rec_seq++; - - /* Outputs for Function Call SubSystem: '/rec20Hz1' */ - /* SignalConversion: '/TmpSignal ConversionAtByte PackInport2' incorporates: - * UnitDelay: '/Unit Delay' - */ - SIL_B.TmpSignalConversionAtBytePackInport2_or[0] = - SIL_B.BusAssignment_j.qbar; - SIL_B.TmpSignalConversionAtBytePackInport2_or[1] = - SIL_B.BusAssignment_j.baro; - SIL_B.TmpSignalConversionAtBytePackInport2_or[2] = - SIL_B.BusAssignment_j.IAS; - SIL_B.TmpSignalConversionAtBytePackInport2_or[3] = - SIL_B.BusAssignment_j.alpha; - SIL_B.TmpSignalConversionAtBytePackInport2_or[4] = - SIL_B.BusAssignment_j.beta; - SIL_B.TmpSignalConversionAtBytePackInport2_or[5] = - SIL_B.BusAssignment_j.asl_baro; - SIL_B.TmpSignalConversionAtBytePackInport2_or[6] = - SIL_B.BusAssignment_j.msl; - SIL_B.TmpSignalConversionAtBytePackInport2_or[7] = - SIL_B.BusAssignment_j.v_n; - SIL_B.TmpSignalConversionAtBytePackInport2_or[8] = - SIL_B.BusAssignment_j.v_e; - SIL_B.TmpSignalConversionAtBytePackInport2_or[9] = - SIL_B.BusAssignment_j.v_d; - SIL_B.TmpSignalConversionAtBytePackInport2_or[10] = - SIL_DW.UnitDelay_DSTATE.v_g; - SIL_B.TmpSignalConversionAtBytePackInport2_or[11] = - SIL_DW.UnitDelay_DSTATE.psi_t; - SIL_B.TmpSignalConversionAtBytePackInport2_or[12] = - SIL_B.BusAssignment_j.Mach; - SIL_B.TmpSignalConversionAtBytePackInport2_or[13] = - SIL_B.BusAssignment_j.TAS; - SIL_B.TmpSignalConversionAtBytePackInport2_or[26] = - SIL_B.Merge.r_c; - SIL_B.TmpSignalConversionAtBytePackInport2_or[27] = - SIL_B.BusAssignment_j.r; - SIL_B.TmpSignalConversionAtBytePackInport2_or[28] = - SIL_B.BusAssignment_j.ay; - SIL_B.TmpSignalConversionAtBytePackInport2_or[29] = - SIL_B.Merge.ay_c; - SIL_B.TmpSignalConversionAtBytePackInport2_or[30] = - SIL_B.BusAssignment_j.ax; - SIL_B.TmpSignalConversionAtBytePackInport2_or[31] = - SIL_B.BusAssignment_j.az; - SIL_B.TmpSignalConversionAtBytePackInport2_or[32] = - SIL_B.BusAssignment_j.psi; - SIL_B.TmpSignalConversionAtBytePackInport2_or[14] = SIL_B.eulers[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[17] = SIL_B.vel_ned - [0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[20] = - SIL_B.eulers_f[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[23] = - SIL_B.vel_ned_ma[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[33] = - SIL_B.Accels_f[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[36] = SIL_B.pqr_i[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[39] = - SIL_B.Accels_a[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[42] = SIL_B.pqr_e[0]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[15] = SIL_B.eulers[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[18] = SIL_B.vel_ned - [1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[21] = - SIL_B.eulers_f[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[24] = - SIL_B.vel_ned_ma[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[34] = - SIL_B.Accels_f[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[37] = SIL_B.pqr_i[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[40] = - SIL_B.Accels_a[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[43] = SIL_B.pqr_e[1]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[16] = SIL_B.eulers[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[19] = SIL_B.vel_ned - [2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[22] = - SIL_B.eulers_f[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[25] = - SIL_B.vel_ned_ma[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[35] = - SIL_B.Accels_f[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[38] = SIL_B.pqr_i[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[41] = - SIL_B.Accels_a[2]; - SIL_B.TmpSignalConversionAtBytePackInport2_or[44] = SIL_B.pqr_e[2]; - - /* S-Function (any2byte): '/Byte Pack' */ - - /* Pack: /Byte Pack */ - (void) memcpy(&SIL_B.BytePack_i[0], &SIL_B.Merge.boot_time, - 4); - (void) memcpy(&SIL_B.BytePack_i[4], - &SIL_B.TmpSignalConversionAtBytePackInport2_or[0], - 180); - - /* Sum: '/Sum of Elements' */ - rtb_Rem = 0U; - for (idx = 0; idx < 184; idx++) { - rtb_Rem = (uint8_T)((uint32_T)rtb_Rem + SIL_B.BytePack_i[idx]); - - /* SignalConversion: '/OutportBufferFordata' */ - SIL_B.Merge_gk[idx + 4] = SIL_B.BytePack_i[idx]; - } - - /* SignalConversion: '/OutportBufferFordata' incorporates: - * Constant: '/id' - * Constant: '/sync1' - * Constant: '/sync2' - * Sum: '/Sum of Elements' - */ - SIL_B.Merge_gk[0] = 235U; - SIL_B.Merge_gk[1] = 144U; - SIL_B.Merge_gk[2] = 3U; - SIL_B.Merge_gk[3] = SIL_ConstB.Width_a; - SIL_B.Merge_gk[188] = rtb_Rem; - memset(&SIL_B.Merge_gk[189], 0, 71U * sizeof(uint8_T)); - - /* SignalConversion: '/OutportBufferForlen' */ - SIL_B.Merge1_e = SIL_ConstB.Width1_l; - - /* End of Outputs for SubSystem: '/rec20Hz1' */ - } - break; - - default: - SIL_DW.act = false; - SIL_DW.is_a20Hz1 = SIL_IN_idle_mo; - SIL_DW.temporalCounter_i1_m = 0U; - break; - } + SIL_work(); break; } } @@ -31098,7 +31007,7 @@ void SIL_step(void) SIL_Y.C2out = SIL_B.Merge; /* SignalConversion: '/TmpSignal ConversionAtDelayInport1' incorporates: - * UnitDelay: '/Unit Delay' + * UnitDelay: '/Unit Delay' */ rtb_pwms[0] = SIL_B.DataTypeConversion1_nd; rtb_pwms[1] = SIL_B.DataTypeConversion1_f; @@ -31115,21 +31024,21 @@ void SIL_step(void) /* End of SignalConversion: '/TmpSignal ConversionAtDelayInport1' */ - /* If: '/If1' */ - s373_iter = -1; + /* If: '/If1' */ + s302_iter = -1; if (rtmIsMajorTimeStep(SIL_M)) { SIL_DW.If1_ActiveSubsystem = -1; } else { - s373_iter = SIL_DW.If1_ActiveSubsystem; + s302_iter = SIL_DW.If1_ActiveSubsystem; } - if (s373_iter == 0) { - /* Outputs for IfAction SubSystem: '/If Warning//Error' incorporates: - * ActionPort: '/if' + if (s302_iter == 0) { + /* Outputs for IfAction SubSystem: '/If Warning//Error' incorporates: + * ActionPort: '/if' */ - /* Bias: '/Bias1' incorporates: - * Math: '/Math Function' - * Product: '/Product' + /* Bias: '/Bias1' incorporates: + * Math: '/Math Function' + * Product: '/Product' */ for (idx = 0; idx < 3; idx++) { for (rtb_out_dj = 0; rtb_out_dj < 3; rtb_out_dj++) { @@ -31142,35 +31051,35 @@ void SIL_step(void) } for (idx = 0; idx < 9; idx++) { - /* RelationalOperator: '/Compare' incorporates: - * Abs: '/Abs2' - * Bias: '/Bias1' - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Abs: '/Abs2' + * Bias: '/Bias1' + * Constant: '/Constant' */ rtb_Compare_bn[idx] = (fabs(rtb_VectorConcatenate_c[idx]) > 4.4408920985006262E-16); } - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_GreaterThan = rtb_Compare_bn[0]; for (idx = 0; idx < 8; idx++) { rtb_GreaterThan = (rtb_GreaterThan || rtb_Compare_bn[idx + 1]); } - /* If: '/If' incorporates: - * Abs: '/Abs1' - * Bias: '/Bias' - * Constant: '/Constant' - * Logic: '/Logical Operator1' - * Product: '/Product' - * Product: '/Product1' - * Product: '/Product2' - * Product: '/Product3' - * Product: '/Product4' - * Product: '/Product5' - * RelationalOperator: '/Compare' - * Reshape: '/Reshape' - * Sum: '/Sum' + /* If: '/If' incorporates: + * Abs: '/Abs1' + * Bias: '/Bias' + * Constant: '/Constant' + * Logic: '/Logical Operator1' + * Product: '/Product' + * Product: '/Product1' + * Product: '/Product2' + * Product: '/Product3' + * Product: '/Product4' + * Product: '/Product5' + * RelationalOperator: '/Compare' + * Reshape: '/Reshape' + * Sum: '/Sum' */ if (fabs((((((SIL_B.Product4[0] * SIL_B.Product4[4] * SIL_B.Product4[8] - SIL_B.Product4[0] * SIL_B.Product4[5] * SIL_B.Product4[7]) @@ -31179,95 +31088,95 @@ void SIL_step(void) + SIL_B.Product4[1] * SIL_B.Product4[5] * SIL_B.Product4[6]) - SIL_B.Product4[2] * SIL_B.Product4[4] * SIL_B.Product4[6]) + -1.0) > 4.4408920985006262E-16) { - /* Outputs for IfAction SubSystem: '/If Not Proper' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Not Proper' incorporates: + * ActionPort: '/Action Port' */ SIL_IfNotProper(1.0); - /* End of Outputs for SubSystem: '/If Not Proper' */ + /* End of Outputs for SubSystem: '/If Not Proper' */ } else { if (rtb_GreaterThan) { - /* Outputs for IfAction SubSystem: '/Else If Not Orthogonal' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Else If Not Orthogonal' incorporates: + * ActionPort: '/Action Port' */ SIL_ElseIfNotOrthogonal(1.0); - /* End of Outputs for SubSystem: '/Else If Not Orthogonal' */ + /* End of Outputs for SubSystem: '/Else If Not Orthogonal' */ } } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Warning//Error' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Warning//Error' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ } - /* Integrator: '/Integrator' */ + /* Integrator: '/Integrator' */ SIL_B.Integrator_c = SIL_X.Integrator_CSTATE_gb; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_o = SIL_ConstB.UnitConversion + SIL_B.Integrator_c; /* DotProduct: '/Dot Product' incorporates: - * Trigonometry: '/sincos' + * Trigonometry: '/sincos' */ rtb_q0dot = sin(SIL_B.Sum_o); - /* Trigonometry: '/sincos' */ + /* Trigonometry: '/sincos' */ rtb_q1dot = cos(SIL_B.Sum_o); - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn1' */ SIL_B.VectorConcatenate_b[0] = rtb_q1dot; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn2' */ SIL_B.VectorConcatenate_b[1] = rtb_q0dot; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' incorporates: - * Constant: '/Zero' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn3' incorporates: + * Constant: '/Zero' */ SIL_B.VectorConcatenate_b[2] = 0.0; - /* UnaryMinus: '/Unary Minus' */ + /* UnaryMinus: '/Unary Minus' */ SIL_B.VectorConcatenate_b[3] = -rtb_q0dot; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn5' */ SIL_B.VectorConcatenate_b[4] = rtb_q1dot; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' incorporates: - * Constant: '/Zero' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn6' incorporates: + * Constant: '/Zero' */ SIL_B.VectorConcatenate_b[5] = 0.0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' incorporates: - * Constant: '/Zero' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn7' incorporates: + * Constant: '/Zero' */ SIL_B.VectorConcatenate_b[6] = 0.0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: - * Constant: '/Zero' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn8' incorporates: + * Constant: '/Zero' */ SIL_B.VectorConcatenate_b[7] = 0.0; - /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' incorporates: - * Constant: '/Zero1' + /* SignalConversion: '/ConcatBufferAtVector ConcatenateIn9' incorporates: + * Constant: '/Zero1' */ SIL_B.VectorConcatenate_b[8] = 1.0; - /* Math: '/Math Function' */ + /* Math: '/Math Function' */ for (idx = 0; idx < 3; idx++) { SIL_B.MathFunction[3 * idx] = SIL_B.VectorConcatenate_b[idx]; SIL_B.MathFunction[1 + 3 * idx] = SIL_B.VectorConcatenate_b[idx + 3]; SIL_B.MathFunction[2 + 3 * idx] = SIL_B.VectorConcatenate_b[idx + 6]; } - /* End of Math: '/Math Function' */ + /* End of Math: '/Math Function' */ for (idx = 0; idx < 3; idx++) { for (rtb_out_dj = 0; rtb_out_dj < 3; rtb_out_dj++) { - /* Product: '/Product1' incorporates: - * Math: '/Math Function' - * Math: '/Math Function1' - * Math: '/Math Function2' + /* Product: '/Product1' incorporates: + * Math: '/Math Function' + * Math: '/Math Function1' + * Math: '/Math Function2' */ rtb_BitwiseAND4 = idx + 3 * rtb_out_dj; SIL_B.Product1_oy[rtb_BitwiseAND4] = 0.0; @@ -31281,19 +31190,19 @@ void SIL_step(void) 2] * SIL_B.VectorConcatenate[idx + 6] + SIL_B.Product1_oy[rtb_BitwiseAND3]; - /* Math: '/Math Function' incorporates: - * Math: '/Math Function1' - * Math: '/Math Function2' + /* Math: '/Math Function' incorporates: + * Math: '/Math Function1' + * Math: '/Math Function2' */ rtb_BitwiseAND4 = rtb_out_dj + 3 * idx; SIL_B.MathFunction_f[rtb_BitwiseAND4] = SIL_B.Product1_oy[rtb_BitwiseAND3]; - /* Math: '/Math Function1' */ + /* Math: '/Math Function1' */ SIL_B.MathFunction1_h[rtb_BitwiseAND4] = SIL_B.VectorConcatenate_b[rtb_BitwiseAND3]; - /* Math: '/Math Function2' */ + /* Math: '/Math Function2' */ SIL_B.MathFunction2_o[rtb_BitwiseAND4] = SIL_B.VectorConcatenate[rtb_BitwiseAND3]; } @@ -31301,21 +31210,21 @@ void SIL_step(void) if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* If: '/If1' */ - s373_iter = -1; + /* If: '/If1' */ + s302_iter = -1; if (rtmIsMajorTimeStep(SIL_M)) { SIL_DW.If1_ActiveSubsystem_l = -1; } else { - s373_iter = SIL_DW.If1_ActiveSubsystem_l; + s302_iter = SIL_DW.If1_ActiveSubsystem_l; } - if (s373_iter == 0) { - /* Outputs for IfAction SubSystem: '/If Warning//Error' incorporates: - * ActionPort: '/if' + if (s302_iter == 0) { + /* Outputs for IfAction SubSystem: '/If Warning//Error' incorporates: + * ActionPort: '/if' */ - /* Bias: '/Bias1' incorporates: - * Math: '/Math Function' - * Product: '/Product' + /* Bias: '/Bias1' incorporates: + * Math: '/Math Function' + * Product: '/Product' */ for (idx = 0; idx < 3; idx++) { for (rtb_out_dj = 0; rtb_out_dj < 3; rtb_out_dj++) { @@ -31328,34 +31237,34 @@ void SIL_step(void) } for (idx = 0; idx < 9; idx++) { - /* RelationalOperator: '/Compare' incorporates: - * Abs: '/Abs2' - * Bias: '/Bias1' - * Constant: '/Constant' + /* RelationalOperator: '/Compare' incorporates: + * Abs: '/Abs2' + * Bias: '/Bias1' + * Constant: '/Constant' */ rtb_Compare_bn[idx] = (fabs(rtb_VectorConcatenate_k[idx]) > 4.4408920985006262E-16); } - /* Logic: '/Logical Operator1' */ + /* Logic: '/Logical Operator1' */ rtb_GreaterThan = rtb_Compare_bn[0]; for (idx = 0; idx < 8; idx++) { rtb_GreaterThan = (rtb_GreaterThan || rtb_Compare_bn[idx + 1]); } - /* If: '/If' incorporates: - * Abs: '/Abs1' - * Bias: '/Bias' - * Constant: '/Constant' - * Logic: '/Logical Operator1' - * Product: '/Product' - * Product: '/Product1' - * Product: '/Product2' - * Product: '/Product3' - * Product: '/Product4' - * Product: '/Product5' - * RelationalOperator: '/Compare' - * Sum: '/Sum' + /* If: '/If' incorporates: + * Abs: '/Abs1' + * Bias: '/Bias' + * Constant: '/Constant' + * Logic: '/Logical Operator1' + * Product: '/Product' + * Product: '/Product1' + * Product: '/Product2' + * Product: '/Product3' + * Product: '/Product4' + * Product: '/Product5' + * RelationalOperator: '/Compare' + * Sum: '/Sum' */ if (fabs((((((rtb_Product2_ihb[0] * rtb_Product2_ihb[4] * rtb_Product2_ihb[8] - rtb_Product2_ihb[0] * @@ -31366,28 +31275,28 @@ void SIL_step(void) rtb_Product2_ihb[1] * rtb_Product2_ihb[5] * rtb_Product2_ihb [6]) - rtb_Product2_ihb[2] * rtb_Product2_ihb[4] * rtb_Product2_ihb[6]) + -1.0) > 4.4408920985006262E-16) { - /* Outputs for IfAction SubSystem: '/If Not Proper' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/If Not Proper' incorporates: + * ActionPort: '/Action Port' */ SIL_IfNotProper(1.0); - /* End of Outputs for SubSystem: '/If Not Proper' */ + /* End of Outputs for SubSystem: '/If Not Proper' */ } else { if (rtb_GreaterThan) { - /* Outputs for IfAction SubSystem: '/Else If Not Orthogonal' incorporates: - * ActionPort: '/Action Port' + /* Outputs for IfAction SubSystem: '/Else If Not Orthogonal' incorporates: + * ActionPort: '/Action Port' */ SIL_ElseIfNotOrthogonal(1.0); - /* End of Outputs for SubSystem: '/Else If Not Orthogonal' */ + /* End of Outputs for SubSystem: '/Else If Not Orthogonal' */ } } - /* End of If: '/If' */ - /* End of Outputs for SubSystem: '/If Warning//Error' */ + /* End of If: '/If' */ + /* End of Outputs for SubSystem: '/If Warning//Error' */ } - /* End of If: '/If1' */ + /* End of If: '/If1' */ } if (rtmIsMajorTimeStep(SIL_M) && @@ -31402,56 +31311,56 @@ void SIL_step(void) /* End of Sum: '/Sum' */ } - /* Sum: '/Sum4' */ + /* Sum: '/Sum4' */ SIL_B.Sum4_p[0] = SIL_B.pqr[0] - SIL_B.Product3_nb[0]; SIL_B.Sum4_p[1] = SIL_B.pqr[1] - SIL_B.Product3_nb[1]; SIL_B.Sum4_p[2] = SIL_B.pqr[2] - SIL_B.Product3_nb[2]; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_g = rtb_Abs1; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_a = rtb_Switch; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_b5 = rtb_sincos_o1_b_idx_1; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_p = rtb_sincos_o2_k_idx_1_tmp; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_c = ((SIL_B.Product_g + SIL_B.Product1_a) + SIL_B.Product2_b5) + SIL_B.Product3_p; /* DotProduct: '/Dot Product' incorporates: - * Sqrt: '/sqrt' + * Sqrt: '/sqrt' */ rtb_q0dot = sqrt(SIL_B.Sum_c); - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_m = SIL_B.q[0] / rtb_q0dot; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_p = SIL_B.q[1] / rtb_q0dot; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_ph = SIL_B.q[2] / rtb_q0dot; - /* Product: '/Product3' */ + /* Product: '/Product3' */ SIL_B.Product3_h0 = SIL_B.q[3] / rtb_q0dot; /* DotProduct: '/Dot Product' incorporates: - * Fcn: '/q0dot' + * Fcn: '/q0dot' */ rtb_q0dot = ((SIL_B.Product1_p * SIL_B.Sum4_p[0] + SIL_B.Product2_ph * SIL_B.Sum4_p[1]) + SIL_B.Product3_h0 * SIL_B.Sum4_p[2]) * -0.5; - /* Fcn: '/q1dot' */ + /* Fcn: '/q1dot' */ rtb_q1dot = ((SIL_B.Product_m * SIL_B.Sum4_p[0] + SIL_B.Product2_ph * SIL_B.Sum4_p[2]) - SIL_B.Product3_h0 * SIL_B.Sum4_p[1]) * 0.5; - /* SignalConversion: '/TmpSignal ConversionAtqInport1' incorporates: - * Fcn: '/q2dot' + /* SignalConversion: '/TmpSignal ConversionAtqInport1' incorporates: + * Fcn: '/q2dot' */ SIL_B.TmpSignalConversionAtqInport1[0] = rtb_q0dot; SIL_B.TmpSignalConversionAtqInport1[1] = rtb_q1dot; @@ -31459,70 +31368,70 @@ void SIL_step(void) + SIL_B.Product3_h0 * SIL_B.Sum4_p[0]) - SIL_B.Product1_p * SIL_B.Sum4_p[2]) * 0.5; for (idx = 0; idx < 3; idx++) { - /* Fcn: '/q3dot' */ + /* Fcn: '/q3dot' */ tmp_0[idx] = SIL_B.Sum4_p[idx]; tmp_1[idx] = SIL_B.Sum4_p[idx]; tmp_2[idx] = SIL_B.Sum4_p[idx]; - /* Product: '/Product5' */ + /* Product: '/Product5' */ SIL_B.Product5_f[idx] = 0.0; - /* Product: '/Product4' */ + /* Product: '/Product4' */ SIL_B.Product4_i[idx] = 0.0; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_o[idx] = 0.0; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_g[idx] = 0.0; - /* Product: '/Product5' */ + /* Product: '/Product5' */ SIL_B.Product5_f[idx] += SIL_B.MathFunction2_o[idx] * SIL_B.ubvbwb[0]; - /* Product: '/Product4' */ + /* Product: '/Product4' */ SIL_B.Product4_i[idx] += SIL_B.MathFunction1_h[idx] * SIL_B.TmpSignalConversionAtProduct4Inport2[0]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_o[idx] += SIL_B.MathFunction_f[idx] * SIL_B.ubvbwb[0]; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_g[idx] += SIL_B.VectorConcatenate_b[idx] * SIL_B.Sum[0]; - /* Product: '/Product5' */ + /* Product: '/Product5' */ SIL_B.Product5_f[idx] += SIL_B.MathFunction2_o[idx + 3] * SIL_B.ubvbwb[1]; - /* Product: '/Product4' */ + /* Product: '/Product4' */ SIL_B.Product4_i[idx] += SIL_B.MathFunction1_h[idx + 3] * SIL_B.TmpSignalConversionAtProduct4Inport2[1]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_o[idx] += SIL_B.MathFunction_f[idx + 3] * SIL_B.ubvbwb[1]; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_g[idx] += SIL_B.VectorConcatenate_b[idx + 3] * SIL_B.Sum[1]; - /* Product: '/Product5' */ + /* Product: '/Product5' */ SIL_B.Product5_f[idx] += SIL_B.MathFunction2_o[idx + 6] * SIL_B.ubvbwb[2]; - /* Product: '/Product4' */ + /* Product: '/Product4' */ SIL_B.Product4_i[idx] += SIL_B.MathFunction1_h[idx + 6] * SIL_B.TmpSignalConversionAtProduct4Inport2[2]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_o[idx] += SIL_B.MathFunction_f[idx + 6] * SIL_B.ubvbwb[2]; - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_g[idx] += SIL_B.VectorConcatenate_b[idx + 6] * SIL_B.Sum[2]; } - /* SignalConversion: '/TmpSignal ConversionAtqInport1' incorporates: - * Fcn: '/q3dot' + /* SignalConversion: '/TmpSignal ConversionAtqInport1' incorporates: + * Fcn: '/q3dot' */ SIL_B.TmpSignalConversionAtqInport1[3] = ((SIL_B.Product_m * tmp_0[2] + SIL_B.Product1_p * tmp_1[1]) - SIL_B.Product2_ph * tmp_2[0]) * 0.5; - /* Integrator: '/p' */ + /* Integrator: '/p' */ if (SIL_DW.p_IWORK != 0) { SIL_X.p_CSTATE[0] = SIL_B.Product1_g[0]; SIL_X.p_CSTATE[1] = SIL_B.Product1_g[1]; @@ -31533,70 +31442,70 @@ void SIL_step(void) SIL_B.p[1] = SIL_X.p_CSTATE[1]; SIL_B.p[2] = SIL_X.p_CSTATE[2]; - /* End of Integrator: '/p' */ + /* End of Integrator: '/p' */ - /* Product: '/j x k' */ + /* Product: '/j x k' */ SIL_B.jxk_d = SIL_B.p[1] * SIL_B.Product4_i[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ SIL_B.kxi_c = SIL_B.p[2] * SIL_B.Product4_i[0]; - /* Product: '/i x j' */ + /* Product: '/i x j' */ SIL_B.ixj_c = SIL_B.p[0] * SIL_B.Product4_i[1]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ SIL_B.kxj_m = SIL_B.p[2] * SIL_B.Product4_i[1]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ SIL_B.ixk_b = SIL_B.p[0] * SIL_B.Product4_i[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ SIL_B.jxi_g = SIL_B.p[1] * SIL_B.Product4_i[0]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_c3[0] = SIL_B.jxk_d - SIL_B.kxj_m; SIL_B.Sum_c3[1] = SIL_B.kxi_c - SIL_B.ixk_b; SIL_B.Sum_c3[2] = SIL_B.ixj_c - SIL_B.jxi_g; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_d[0] = SIL_B.Product2_o[0] - SIL_B.Sum_c3[0]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_biv[0] = SIL_B.Acc_g[0] * SIL_B.mass_e; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_a[0] = SIL_B.Product2_biv[0] + SIL_B.Add[0]; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_d[1] = SIL_B.Product2_o[1] - SIL_B.Sum_c3[1]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_biv[1] = SIL_B.Acc_g[1] * SIL_B.mass_e; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_a[1] = SIL_B.Product2_biv[1] + SIL_B.Add[1]; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_d[2] = SIL_B.Product2_o[2] - SIL_B.Sum_c3[2]; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_biv[2] = SIL_B.Acc_g[2] * SIL_B.mass_e; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_a[2] = SIL_B.Product2_biv[2] + SIL_B.Add[2]; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Outputs for Iterator SubSystem: '/For Each Subsystem' incorporates: - * ForEach: '/For Each' + /* Outputs for Iterator SubSystem: '/For Each Subsystem' incorporates: + * ForEach: '/For Each' */ for (ForEach_itr = 0; ForEach_itr < 1; ForEach_itr++) { - /* ForEachSliceSelector: '/ImpSel_InsertedFor_Vre_at_outport_0' */ + /* ForEachSliceSelector: '/ImpSel_InsertedFor_Vre_at_outport_0' */ idx = ForEach_itr * 3; - /* ForEachSliceAssignment: '/ImpAsg_InsertedFor_F_at_inport_0' incorporates: - * ForEachSliceSelector: '/ImpSel_InsertedFor_Vre_at_outport_0' - * ForEachSliceSelector: '/ImpSel_InsertedFor_mdot_at_outport_0' - * Product: '/Product' + /* ForEachSliceAssignment: '/ImpAsg_InsertedFor_F_at_inport_0' incorporates: + * ForEachSliceSelector: '/ImpSel_InsertedFor_Vre_at_outport_0' + * ForEachSliceSelector: '/ImpSel_InsertedFor_mdot_at_outport_0' + * Product: '/Product' */ rtb_ImpAsg_InsertedFor_F_at_inport_0_idx_0 = 0.0 * SIL_ConstB.TmpSignalConversionAtForEachSubsystemInport2[idx]; @@ -31606,22 +31515,22 @@ void SIL_step(void) SIL_ConstB.TmpSignalConversionAtForEachSubsystemInport2[2 + idx] * 0.0; } - /* End of Outputs for SubSystem: '/For Each Subsystem' */ + /* End of Outputs for SubSystem: '/For Each Subsystem' */ - /* Sum: '/Sum of Elements' */ + /* Sum: '/Sum of Elements' */ SIL_B.SumofElements[0] = rtb_ImpAsg_InsertedFor_F_at_inport_0_idx_0; SIL_B.SumofElements[1] = rtb_ImpAsg_InsertedFor_F_at_inport_0_idx_1; SIL_B.SumofElements[2] = rtb_ImpAsg_InsertedFor_F_at_inport_0_idx_2; } for (idx = 0; idx < 3; idx++) { - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_fv[idx] = SIL_B.Sum_a[idx] + SIL_B.SumofElements[idx]; - /* Product: '/Product' */ + /* Product: '/Product' */ SIL_B.Product_du[idx] = SIL_B.Sum_fv[idx] / SIL_B.mass_e; - /* Product: '/Product2' */ + /* Product: '/Product2' */ SIL_B.Product2_ez[idx] = 0.0; SIL_B.Product2_ez[idx] += SIL_B.VectorConcatenate[idx] * SIL_B.TmpSignalConversionAtProduct4Inport2[0]; @@ -31630,114 +31539,114 @@ void SIL_step(void) SIL_B.Product2_ez[idx] += SIL_B.VectorConcatenate[idx + 6] * SIL_B.TmpSignalConversionAtProduct4Inport2[2]; - /* Sum: '/Sum2' */ + /* Sum: '/Sum2' */ SIL_B.Sum2_kp[idx] = SIL_B.pqr[idx] + SIL_B.Product2_ez[idx]; } - /* Product: '/j x k' */ + /* Product: '/j x k' */ SIL_B.jxk_di = SIL_B.ubvbwb[1] * SIL_B.Sum2_kp[2]; - /* Product: '/k x i' */ + /* Product: '/k x i' */ SIL_B.kxi_d = SIL_B.ubvbwb[2] * SIL_B.Sum2_kp[0]; - /* Product: '/i x j' */ + /* Product: '/i x j' */ SIL_B.ixj_a = SIL_B.ubvbwb[0] * SIL_B.Sum2_kp[1]; - /* Product: '/k x j' */ + /* Product: '/k x j' */ SIL_B.kxj_i = SIL_B.ubvbwb[2] * SIL_B.Sum2_kp[1]; - /* Product: '/i x k' */ + /* Product: '/i x k' */ SIL_B.ixk_a = SIL_B.ubvbwb[0] * SIL_B.Sum2_kp[2]; - /* Product: '/j x i' */ + /* Product: '/j x i' */ SIL_B.jxi_gn = SIL_B.ubvbwb[1] * SIL_B.Sum2_kp[0]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_iq[0] = SIL_B.jxk_di - SIL_B.kxj_i; SIL_B.Sum_iq[1] = SIL_B.kxi_d - SIL_B.ixk_a; SIL_B.Sum_iq[2] = SIL_B.ixj_a - SIL_B.jxi_gn; - /* Product: '/j x k' incorporates: - * Constant: '/omega_earth2' + /* Product: '/j x k' incorporates: + * Constant: '/omega_earth2' */ SIL_B.jxk_h = 0.0 * SIL_B.p1[2]; - /* Product: '/k x i' incorporates: - * Constant: '/omega_earth3' + /* Product: '/k x i' incorporates: + * Constant: '/omega_earth3' */ SIL_B.kxi_m = 7.292115E-5 * SIL_B.p1[0]; - /* Product: '/i x j' incorporates: - * Constant: '/omega_earth2' + /* Product: '/i x j' incorporates: + * Constant: '/omega_earth2' */ SIL_B.ixj_ia = 0.0 * SIL_B.p1[1]; - /* Product: '/k x j' incorporates: - * Constant: '/omega_earth3' + /* Product: '/k x j' incorporates: + * Constant: '/omega_earth3' */ SIL_B.kxj_n = 7.292115E-5 * SIL_B.p1[1]; - /* Product: '/i x k' incorporates: - * Constant: '/omega_earth2' + /* Product: '/i x k' incorporates: + * Constant: '/omega_earth2' */ SIL_B.ixk_h = 0.0 * SIL_B.p1[2]; - /* Product: '/j x i' incorporates: - * Constant: '/omega_earth2' + /* Product: '/j x i' incorporates: + * Constant: '/omega_earth2' */ SIL_B.jxi_d = 0.0 * SIL_B.p1[0]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_n[0] = SIL_B.jxk_h - SIL_B.kxj_n; SIL_B.Sum_n[1] = SIL_B.kxi_m - SIL_B.ixk_h; SIL_B.Sum_n[2] = SIL_B.ixj_ia - SIL_B.jxi_d; - /* Product: '/j x k' incorporates: - * Constant: '/omega_earth2' + /* Product: '/j x k' incorporates: + * Constant: '/omega_earth2' */ SIL_B.jxk_c = 0.0 * SIL_B.Sum_n[2]; - /* Product: '/k x i' incorporates: - * Constant: '/omega_earth3' + /* Product: '/k x i' incorporates: + * Constant: '/omega_earth3' */ SIL_B.kxi_l = 7.292115E-5 * SIL_B.Sum_n[0]; - /* Product: '/i x j' incorporates: - * Constant: '/omega_earth2' + /* Product: '/i x j' incorporates: + * Constant: '/omega_earth2' */ SIL_B.ixj_k = 0.0 * SIL_B.Sum_n[1]; - /* Product: '/k x j' incorporates: - * Constant: '/omega_earth3' + /* Product: '/k x j' incorporates: + * Constant: '/omega_earth3' */ SIL_B.kxj_e = 7.292115E-5 * SIL_B.Sum_n[1]; - /* Product: '/i x k' incorporates: - * Constant: '/omega_earth2' + /* Product: '/i x k' incorporates: + * Constant: '/omega_earth2' */ SIL_B.ixk_i = 0.0 * SIL_B.Sum_n[2]; - /* Product: '/j x i' incorporates: - * Constant: '/omega_earth2' + /* Product: '/j x i' incorporates: + * Constant: '/omega_earth2' */ SIL_B.jxi_h = 0.0 * SIL_B.Sum_n[0]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_h[0] = SIL_B.jxk_c - SIL_B.kxj_e; SIL_B.Sum_h[1] = SIL_B.kxi_l - SIL_B.ixk_i; SIL_B.Sum_h[2] = SIL_B.ixj_k - SIL_B.jxi_h; for (idx = 0; idx < 3; idx++) { - /* Product: '/Product1' */ + /* Product: '/Product1' */ SIL_B.Product1_dy[idx] = 0.0; SIL_B.Product1_dy[idx] += SIL_B.VectorConcatenate[idx] * SIL_B.Sum_h[0]; SIL_B.Product1_dy[idx] += SIL_B.VectorConcatenate[idx + 3] * SIL_B.Sum_h[1]; SIL_B.Product1_dy[idx] += SIL_B.VectorConcatenate[idx + 6] * SIL_B.Sum_h[2]; - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_e4[idx] = (SIL_B.Sum_iq[idx] - SIL_B.Product1_dy[idx]) + SIL_B.Product_du[idx]; - /* DeadZone: '/Dead Zone' */ + /* DeadZone: '/Dead Zone' */ if (SIL_B.Sum_e4[idx] > 2.2204460492503131E-16) { SIL_B.DeadZone[idx] = SIL_B.Sum_e4[idx] - 2.2204460492503131E-16; } else if (SIL_B.Sum_e4[idx] >= -2.2204460492503131E-16) { @@ -31746,14 +31655,14 @@ void SIL_step(void) SIL_B.DeadZone[idx] = SIL_B.Sum_e4[idx] - -2.2204460492503131E-16; } - /* End of DeadZone: '/Dead Zone' */ + /* End of DeadZone: '/Dead Zone' */ } /* Switch: '/Switch' incorporates: * Constant: '/Constant BP' */ if (SIL_B.engine_select != 0.0) { - SIL_B.Switch = SIL_B.add_g5; + SIL_B.Switch = SIL_B.add_m; } else { SIL_B.Switch = 0.0; } @@ -31764,51 +31673,51 @@ void SIL_step(void) SIL_Y.RPM = SIL_B.Switch; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_okq = rtb_UnitDelay_k0; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_a = rtb_UnitDelay_ga; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_jh = rtb_UnitDelay_iu; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_c = rtb_UnitDelay_g; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_er = rtb_UnitDelay_j; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_oi = rtb_UnitDelay_b; - /* Sum: '/Sum' incorporates: - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_b = rtb_UnitDelay_bm; - /* Sum: '/Sum' incorporates: - * Constant: '/Constant' - * UnitDelay: '/Unit Delay' + /* Sum: '/Sum' incorporates: + * Constant: '/Constant' + * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_fe = (uint16_T)(1U + SIL_B.UnitDelay_i); - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant4' + /* BusAssignment: '/Bus Assignment' incorporates: + * Constant: '/Constant4' * DataStoreWrite: '/Data Store Write' - * DataTypeConversion: '/Data Type Conversion' + * DataTypeConversion: '/Data Type Conversion' */ SIL_DW.sens = rtb_DataStoreRead; SIL_DW.sens.lat = rtb_Merge_bs_idx_0; @@ -31835,20 +31744,20 @@ void SIL_step(void) SIL_B.OutportBuffer_InsertedFor_satnum_used_at_inport_0; SIL_DW.sens.gps_fixtype = ENUM_GPS_FIXTYPE_FIX_3D; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain_l = -rtb_Merge2; } /* Outport: '/de' */ SIL_Y.de = SIL_B.de; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.Sum1_i = SIL_B.der - SIL_B.Integrator_g; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_b = 50.0 * SIL_B.Sum1_i; - /* Integrator: '/Integrator1' */ + /* Integrator: '/Integrator1' */ /* Limited Integrator */ if (SIL_X.Integrator1_CSTATE >= 2.0) { SIL_X.Integrator1_CSTATE = 2.0; @@ -31860,21 +31769,21 @@ void SIL_step(void) SIL_B.Integrator1 = SIL_X.Integrator1_CSTATE; - /* End of Integrator: '/Integrator1' */ + /* End of Integrator: '/Integrator1' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_hi = SIL_B.Gain1_b - SIL_B.Integrator1; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain_e = 72.0 * SIL_B.Sum_hi; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.Sum1_e = SIL_B.del - SIL_B.Integrator_a; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_d = 50.0 * SIL_B.Sum1_e; - /* Integrator: '/Integrator1' */ + /* Integrator: '/Integrator1' */ /* Limited Integrator */ if (SIL_X.Integrator1_CSTATE_f >= 2.0) { SIL_X.Integrator1_CSTATE_f = 2.0; @@ -31886,24 +31795,24 @@ void SIL_step(void) SIL_B.Integrator1_j = SIL_X.Integrator1_CSTATE_f; - /* End of Integrator: '/Integrator1' */ + /* End of Integrator: '/Integrator1' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_em = SIL_B.Gain1_d - SIL_B.Integrator1_j; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain_h = 72.0 * SIL_B.Sum_em; /* Outport: '/da' */ SIL_Y.da = SIL_B.da; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.Sum1_l = SIL_B.dar - SIL_B.Integrator_j; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_m = 41.666666666666671 * SIL_B.Sum1_l; - /* Integrator: '/Integrator1' */ + /* Integrator: '/Integrator1' */ /* Limited Integrator */ if (SIL_X.Integrator1_CSTATE_p >= 2.0) { SIL_X.Integrator1_CSTATE_p = 2.0; @@ -31915,21 +31824,21 @@ void SIL_step(void) SIL_B.Integrator1_k = SIL_X.Integrator1_CSTATE_p; - /* End of Integrator: '/Integrator1' */ + /* End of Integrator: '/Integrator1' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_fn = SIL_B.Gain1_m - SIL_B.Integrator1_k; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain_b = 60.0 * SIL_B.Sum_fn; - /* Sum: '/Sum1' */ + /* Sum: '/Sum1' */ SIL_B.Sum1_k = SIL_B.dal - SIL_B.Integrator_p; - /* Gain: '/Gain1' */ + /* Gain: '/Gain1' */ SIL_B.Gain1_k = 50.0 * SIL_B.Sum1_k; - /* Integrator: '/Integrator1' */ + /* Integrator: '/Integrator1' */ /* Limited Integrator */ if (SIL_X.Integrator1_CSTATE_l >= 2.0) { SIL_X.Integrator1_CSTATE_l = 2.0; @@ -31941,34 +31850,14 @@ void SIL_step(void) SIL_B.Integrator1_d = SIL_X.Integrator1_CSTATE_l; - /* End of Integrator: '/Integrator1' */ + /* End of Integrator: '/Integrator1' */ - /* Sum: '/Sum' */ + /* Sum: '/Sum' */ SIL_B.Sum_cy = SIL_B.Gain1_k - SIL_B.Integrator1_d; - /* Gain: '/Gain' */ + /* Gain: '/Gain' */ SIL_B.Gain_lj = 72.0 * SIL_B.Sum_cy; - /* Product: '/product4' incorporates: - * Constant: '/value' - */ - SIL_B.product4 = SIL_B.saturation_c * -0.021; - - /* Product: '/product4' incorporates: - * Constant: '/value' - */ - SIL_B.product4_k = SIL_B.saturation_c * -0.00174; - - /* Product: '/product4' incorporates: - * Constant: '/value' - */ - SIL_B.product4_a = SIL_B.saturation_c * 0.0026; - - /* Product: '/product2' incorporates: - * Constant: '/value' - */ - SIL_B.product2_nk = SIL_B.saturation * -0.00698; - /* Outport: '/mass' */ SIL_Y.mass = SIL_B.mass_e; if (rtmIsMajorTimeStep(SIL_M) && @@ -31988,10 +31877,10 @@ void SIL_step(void) int_T idxWidth; int32_T i; - /* Update for Integrator: '/p1' */ + /* Update for Integrator: '/p1' */ SIL_DW.p1_IWORK = 0; - /* Update for Integrator: '/q' */ + /* Update for Integrator: '/q' */ SIL_DW.q_IWORK = 0; if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[1] == 0) { @@ -32020,7 +31909,7 @@ void SIL_step(void) } /* Update for UnitDelay: '/Unit Delay2' */ - SIL_DW.UnitDelay2_DSTATE = SIL_B.add_g5; + SIL_DW.UnitDelay2_DSTATE = SIL_B.add_m; /* Update for Backlash: '/Backlash2' */ SIL_DW.PrevY_p = SIL_B.Backlash2; @@ -32029,11 +31918,11 @@ void SIL_step(void) SIL_DW.Delay1_DSTATE_e[0] = SIL_DW.Delay1_DSTATE_e[1]; /* Update for Atomic SubSystem: '/dummy_INS' */ - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states[1] = SIL_DW.DiscreteTransferFcn_states[0]; SIL_DW.DiscreteTransferFcn_states[0] = SIL_DW.DiscreteTransferFcn_tmp[0]; - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_e[1] = SIL_DW.DiscreteTransferFcn_states_e[0]; SIL_DW.DiscreteTransferFcn_states_e[0] = SIL_DW.DiscreteTransferFcn_tmp_f @@ -32045,11 +31934,11 @@ void SIL_step(void) SIL_DW.Delay1_DSTATE_e[1] = SIL_DW.Delay1_DSTATE_e[2]; /* Update for Atomic SubSystem: '/dummy_INS' */ - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states[3] = SIL_DW.DiscreteTransferFcn_states[2]; SIL_DW.DiscreteTransferFcn_states[2] = SIL_DW.DiscreteTransferFcn_tmp[1]; - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_e[3] = SIL_DW.DiscreteTransferFcn_states_e[2]; SIL_DW.DiscreteTransferFcn_states_e[2] = SIL_DW.DiscreteTransferFcn_tmp_f @@ -32061,11 +31950,11 @@ void SIL_step(void) SIL_DW.Delay1_DSTATE_e[2] = SIL_DW.Delay1_DSTATE_e[3]; /* Update for Atomic SubSystem: '/dummy_INS' */ - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states[5] = SIL_DW.DiscreteTransferFcn_states[4]; SIL_DW.DiscreteTransferFcn_states[4] = SIL_DW.DiscreteTransferFcn_tmp[2]; - /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* Update for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_e[5] = SIL_DW.DiscreteTransferFcn_states_e[4]; SIL_DW.DiscreteTransferFcn_states_e[4] = SIL_DW.DiscreteTransferFcn_tmp_f @@ -32077,37 +31966,37 @@ void SIL_step(void) SIL_DW.Delay1_DSTATE_e[3] = SIL_B.Merge.armed; } - /* Update for Integrator: '/p,q,r ' */ + /* Update for Integrator: '/p,q,r ' */ SIL_DW.pqr_IWORK = 0; - /* Update for Integrator: '/Integrator' */ + /* Update for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK = 0; - /* Update for Integrator: '/Integrator' */ + /* Update for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_a = 0; /* Update for Backlash: '/Backlash3' */ SIL_DW.PrevY = SIL_B.Backlash3; - /* Update for Integrator: '/Integrator' */ + /* Update for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_c = 0; /* Update for Backlash: '/Backlash4' */ SIL_DW.PrevY_i = SIL_B.Backlash4; - /* Update for Integrator: '/Integrator' */ + /* Update for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_j = 0; /* Update for Backlash: '/Backlash' */ SIL_DW.PrevY_b = SIL_B.Backlash; - /* Update for Integrator: '/Integrator' */ + /* Update for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_ay = 0; /* Update for Backlash: '/Backlash1' */ SIL_DW.PrevY_bo = SIL_B.Backlash1; - /* Update for Integrator: '/p' */ + /* Update for Integrator: '/p' */ SIL_DW.p_IWORK = 0; } /* end MajorTimeStep */ @@ -32145,39 +32034,39 @@ void SIL_derivatives(void) XDot_SIL_T *_rtXdot; _rtXdot = ((XDot_SIL_T *) SIL_M->derivs); - /* Derivatives for Integrator: '/p1' */ + /* Derivatives for Integrator: '/p1' */ _rtXdot->p1_CSTATE[0] = SIL_B.Product5_f[0]; _rtXdot->p1_CSTATE[1] = SIL_B.Product5_f[1]; _rtXdot->p1_CSTATE[2] = SIL_B.Product5_f[2]; - /* Derivatives for Integrator: '/q' */ + /* Derivatives for Integrator: '/q' */ _rtXdot->q_CSTATE[0] = SIL_B.TmpSignalConversionAtqInport1[0]; _rtXdot->q_CSTATE[1] = SIL_B.TmpSignalConversionAtqInport1[1]; _rtXdot->q_CSTATE[2] = SIL_B.TmpSignalConversionAtqInport1[2]; _rtXdot->q_CSTATE[3] = SIL_B.TmpSignalConversionAtqInport1[3]; - /* Derivatives for Integrator: '/ub,vb,wb' */ + /* Derivatives for Integrator: '/ub,vb,wb' */ _rtXdot->ubvbwb_CSTATE[0] = SIL_B.DeadZone[0]; - /* Derivatives for Integrator: '/p,q,r ' */ + /* Derivatives for Integrator: '/p,q,r ' */ _rtXdot->pqr_CSTATE[0] = SIL_B.Reshape[0]; - /* Derivatives for Integrator: '/ub,vb,wb' */ + /* Derivatives for Integrator: '/ub,vb,wb' */ _rtXdot->ubvbwb_CSTATE[1] = SIL_B.DeadZone[1]; - /* Derivatives for Integrator: '/p,q,r ' */ + /* Derivatives for Integrator: '/p,q,r ' */ _rtXdot->pqr_CSTATE[1] = SIL_B.Reshape[1]; - /* Derivatives for Integrator: '/ub,vb,wb' */ + /* Derivatives for Integrator: '/ub,vb,wb' */ _rtXdot->ubvbwb_CSTATE[2] = SIL_B.DeadZone[2]; - /* Derivatives for Integrator: '/p,q,r ' */ + /* Derivatives for Integrator: '/p,q,r ' */ _rtXdot->pqr_CSTATE[2] = SIL_B.Reshape[2]; - /* Derivatives for Integrator: '/Integrator' */ + /* Derivatives for Integrator: '/Integrator' */ _rtXdot->Integrator_CSTATE = SIL_B.Gain_l; - /* Derivatives for Integrator: '/Integrator' */ + /* Derivatives for Integrator: '/Integrator' */ lsat = (SIL_X.Integrator_CSTATE_k <= -0.52356020942408377); usat = (SIL_X.Integrator_CSTATE_k >= 0.52356020942408377); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Integrator1_d > 0.0)) || (usat && @@ -32188,9 +32077,9 @@ void SIL_derivatives(void) _rtXdot->Integrator_CSTATE_k = 0.0; } - /* End of Derivatives for Integrator: '/Integrator' */ + /* End of Derivatives for Integrator: '/Integrator' */ - /* Derivatives for Integrator: '/Integrator' */ + /* Derivatives for Integrator: '/Integrator' */ lsat = (SIL_X.Integrator_CSTATE_i <= -0.52356020942408377); usat = (SIL_X.Integrator_CSTATE_i >= 0.52356020942408377); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Integrator1_k > 0.0)) || (usat && @@ -32201,9 +32090,9 @@ void SIL_derivatives(void) _rtXdot->Integrator_CSTATE_i = 0.0; } - /* End of Derivatives for Integrator: '/Integrator' */ + /* End of Derivatives for Integrator: '/Integrator' */ - /* Derivatives for Integrator: '/Integrator' */ + /* Derivatives for Integrator: '/Integrator' */ lsat = (SIL_X.Integrator_CSTATE_g <= -0.52356020942408377); usat = (SIL_X.Integrator_CSTATE_g >= 0.52356020942408377); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Integrator1_j > 0.0)) || (usat && @@ -32214,9 +32103,9 @@ void SIL_derivatives(void) _rtXdot->Integrator_CSTATE_g = 0.0; } - /* End of Derivatives for Integrator: '/Integrator' */ + /* End of Derivatives for Integrator: '/Integrator' */ - /* Derivatives for Integrator: '/Integrator' */ + /* Derivatives for Integrator: '/Integrator' */ lsat = (SIL_X.Integrator_CSTATE_d <= -0.52356020942408377); usat = (SIL_X.Integrator_CSTATE_d >= 0.52356020942408377); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Integrator1 > 0.0)) || (usat && @@ -32227,12 +32116,12 @@ void SIL_derivatives(void) _rtXdot->Integrator_CSTATE_d = 0.0; } - /* End of Derivatives for Integrator: '/Integrator' */ + /* End of Derivatives for Integrator: '/Integrator' */ /* Derivatives for Enabled SubSystem: '/Enabled Subsystem6' */ if (SIL_DW.EnabledSubsystem6_MODE) { - /* Derivatives for Integrator: '/Integrator' incorporates: - * Constant: '/Constant' + /* Derivatives for Integrator: '/Integrator' incorporates: + * Constant: '/Constant' */ _rtXdot->Integrator_CSTATE_f = 1.0; } else { @@ -32241,17 +32130,17 @@ void SIL_derivatives(void) /* End of Derivatives for SubSystem: '/Enabled Subsystem6' */ - /* Derivatives for Integrator: '/Integrator' incorporates: - * Constant: '/Constant1' + /* Derivatives for Integrator: '/Integrator' incorporates: + * Constant: '/Constant1' */ _rtXdot->Integrator_CSTATE_gb = 7.292115E-5; - /* Derivatives for Integrator: '/p' */ + /* Derivatives for Integrator: '/p' */ _rtXdot->p_CSTATE[0] = SIL_B.Sum2_d[0]; _rtXdot->p_CSTATE[1] = SIL_B.Sum2_d[1]; _rtXdot->p_CSTATE[2] = SIL_B.Sum2_d[2]; - /* Derivatives for Integrator: '/Integrator1' */ + /* Derivatives for Integrator: '/Integrator1' */ lsat = (SIL_X.Integrator1_CSTATE <= -2.0); usat = (SIL_X.Integrator1_CSTATE >= 2.0); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Gain_e > 0.0)) || (usat && @@ -32262,9 +32151,9 @@ void SIL_derivatives(void) _rtXdot->Integrator1_CSTATE = 0.0; } - /* End of Derivatives for Integrator: '/Integrator1' */ + /* End of Derivatives for Integrator: '/Integrator1' */ - /* Derivatives for Integrator: '/Integrator1' */ + /* Derivatives for Integrator: '/Integrator1' */ lsat = (SIL_X.Integrator1_CSTATE_f <= -2.0); usat = (SIL_X.Integrator1_CSTATE_f >= 2.0); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Gain_h > 0.0)) || (usat && @@ -32275,9 +32164,9 @@ void SIL_derivatives(void) _rtXdot->Integrator1_CSTATE_f = 0.0; } - /* End of Derivatives for Integrator: '/Integrator1' */ + /* End of Derivatives for Integrator: '/Integrator1' */ - /* Derivatives for Integrator: '/Integrator1' */ + /* Derivatives for Integrator: '/Integrator1' */ lsat = (SIL_X.Integrator1_CSTATE_p <= -2.0); usat = (SIL_X.Integrator1_CSTATE_p >= 2.0); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Gain_b > 0.0)) || (usat && @@ -32288,9 +32177,9 @@ void SIL_derivatives(void) _rtXdot->Integrator1_CSTATE_p = 0.0; } - /* End of Derivatives for Integrator: '/Integrator1' */ + /* End of Derivatives for Integrator: '/Integrator1' */ - /* Derivatives for Integrator: '/Integrator1' */ + /* Derivatives for Integrator: '/Integrator1' */ lsat = (SIL_X.Integrator1_CSTATE_l <= -2.0); usat = (SIL_X.Integrator1_CSTATE_l >= 2.0); if (((!lsat) && (!usat)) || (lsat && (SIL_B.Gain_lj > 0.0)) || (usat && @@ -32301,7 +32190,7 @@ void SIL_derivatives(void) _rtXdot->Integrator1_CSTATE_l = 0.0; } - /* End of Derivatives for Integrator: '/Integrator1' */ + /* End of Derivatives for Integrator: '/Integrator1' */ } /* Model initialize function */ @@ -32469,11 +32358,11 @@ void SIL_initialize(void) real32_T rtb_out_ei; int32_T i; - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem = -1; /* Start for Atomic SubSystem: '/atmosphere' */ - /* Start for S-Function (saeroatmos): '/S-Function' */ + /* Start for S-Function (saeroatmos): '/S-Function' */ { real_T *temp_table = (real_T *) &SIL_DW.SFunction_temp_table_i[0]; real_T *pres_table = (real_T *) &SIL_DW.SFunction_pres_table_n[0]; @@ -32487,10 +32376,10 @@ void SIL_initialize(void) /* End of Start for SubSystem: '/atmosphere' */ - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_b = -1; - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_e = -1; /* Start for Constant: '/Constant1' */ @@ -32500,336 +32389,336 @@ void SIL_initialize(void) SIL_DW.SwitchCase_ActiveSubsystem = -1; /* Start for Atomic SubSystem: '/dummy_INS' */ - /* Start for Enabled SubSystem: '/Enabled Subsystem' */ - /* Start for Constant: '/Constant' */ + /* Start for Enabled SubSystem: '/Enabled Subsystem' */ + /* Start for Constant: '/Constant' */ SIL_B.OutportBuffer_InsertedFor_gps_vel_status_at_inport_0 = 128U; - /* End of Start for SubSystem: '/Enabled Subsystem' */ + /* End of Start for SubSystem: '/Enabled Subsystem' */ - /* Start for Enabled SubSystem: '/Enabled Subsystem' */ - /* Start for Constant: '/Constant' */ + /* Start for Enabled SubSystem: '/Enabled Subsystem' */ + /* Start for Constant: '/Constant' */ SIL_B.Merge_h4 = 0U; - /* End of Start for SubSystem: '/Enabled Subsystem' */ + /* End of Start for SubSystem: '/Enabled Subsystem' */ - /* Start for Enabled SubSystem: '/Enabled Subsystem' */ - /* Start for Constant: '/Constant' */ + /* Start for Enabled SubSystem: '/Enabled Subsystem' */ + /* Start for Constant: '/Constant' */ SIL_B.OutportBuffer_InsertedFor_gps_pos_status_at_inport_0 = 128U; - /* Start for Constant: '/Constant1' */ + /* Start for Constant: '/Constant1' */ SIL_B.OutportBuffer_InsertedFor_satnum_used_at_inport_0 = 9U; - /* End of Start for SubSystem: '/Enabled Subsystem' */ + /* End of Start for SubSystem: '/Enabled Subsystem' */ - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_i = -1; - /* Start for Enabled SubSystem: '/ps_proc' */ - /* Start for S-Function (saeropalt): '/S-Function' */ + /* Start for Enabled SubSystem: '/ps_proc' */ + /* Start for S-Function (saeropalt): '/S-Function' */ { real_T *temp_table = (real_T *) &SIL_DW.SFunction_temp_table[0]; real_T *pres_table = (real_T *) &SIL_DW.SFunction_pres_table[0]; InitCalcAtmosCOESA( temp_table, pres_table ); } - /* End of Start for SubSystem: '/ps_proc' */ + /* End of Start for SubSystem: '/ps_proc' */ /* End of Start for SubSystem: '/dummy_INS' */ /* Start for Atomic SubSystem: '/kb3_autopilot' */ - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_queue_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_queue_at_inport_0' */ SIL_initQueue_k0qncuyo4n2((Queue_mavlink_message_t *) &SIL_DW.EntityQueue_InsertedFor_proc_queue_at_inport_0_Queue_mavlink_me, MSG_FIFO_QUEUE, 2, (Msg_mavlink_message_t *) &SIL_DW.EntityQueue_InsertedFor_proc_queue_at_inport_0_Msg_mavlink_mess[0]); - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_m = -1; - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_g = -1; - /* Start for If: '/If1' */ + /* Start for If: '/If1' */ SIL_DW.If1_ActiveSubsystem_j = -1; - /* Start for If: '/If1' */ + /* Start for If: '/If1' */ SIL_DW.If1_ActiveSubsystem_i = -1; - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_g = -1; - /* Start for IfAction SubSystem: '/operational' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/operational' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_gm = -1; - /* Start for IfAction SubSystem: '/auto' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/auto' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_ar = -1; - /* Start for IfAction SubSystem: '/mission' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/mission' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_gz = -1; - /* End of Start for SubSystem: '/mission' */ + /* End of Start for SubSystem: '/mission' */ - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_h = -1; - /* End of Start for SubSystem: '/auto' */ - /* End of Start for SubSystem: '/operational' */ + /* End of Start for SubSystem: '/auto' */ + /* End of Start for SubSystem: '/operational' */ - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_bj = -1; - /* Start for Atomic SubSystem: '/update_nav_info' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for Atomic SubSystem: '/update_nav_info' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_l = -1; - /* End of Start for SubSystem: '/update_nav_info' */ + /* End of Start for SubSystem: '/update_nav_info' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_c = -1; - /* Start for IfAction SubSystem: '/gamma2tht' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/gamma2tht' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_d = -1; - /* Start for IfAction SubSystem: '/hdot' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/hdot' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_op = -1; - /* End of Start for SubSystem: '/hdot' */ - /* End of Start for SubSystem: '/gamma2tht' */ + /* End of Start for SubSystem: '/hdot' */ + /* End of Start for SubSystem: '/gamma2tht' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_a = -1; - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_av = -1; - /* Start for IfAction SubSystem: '/ROLL_CTRL' */ - /* Start for If: '/If' */ + /* Start for IfAction SubSystem: '/ROLL_CTRL' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_a = -1; - /* End of Start for SubSystem: '/ROLL_CTRL' */ + /* End of Start for SubSystem: '/ROLL_CTRL' */ - /* Start for Atomic SubSystem: '/pitch' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for Atomic SubSystem: '/pitch' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_avh = -1; - /* Start for IfAction SubSystem: '/THT_Q_CTRL' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for IfAction SubSystem: '/THT_Q_CTRL' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_e = -1; - /* Start for IfAction SubSystem: '/tht_ctrl' */ - /* Start for If: '/If' */ + /* Start for IfAction SubSystem: '/tht_ctrl' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_k = -1; - /* End of Start for SubSystem: '/tht_ctrl' */ + /* End of Start for SubSystem: '/tht_ctrl' */ - /* Start for If: '/If' */ + /* Start for If: '/If' */ SIL_DW.If_ActiveSubsystem_l = -1; - /* End of Start for SubSystem: '/THT_Q_CTRL' */ - /* End of Start for SubSystem: '/pitch' */ + /* End of Start for SubSystem: '/THT_Q_CTRL' */ + /* End of Start for SubSystem: '/pitch' */ - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_c0 = -1; - /* Start for SwitchCase: '/Switch Case' */ + /* Start for SwitchCase: '/Switch Case' */ SIL_DW.SwitchCase_ActiveSubsystem_o = -1; - /* Start for Chart: '/proc_queue' incorporates: - * SubSystem: '/dec_and_proc_each' + /* Start for Chart: '/proc_queue' incorporates: + * SubSystem: '/dec_and_proc_each' */ - /* Start for IfAction SubSystem: '/param_req_get_dec' */ - /* Start for Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_param_req_read' + /* Start for IfAction SubSystem: '/param_req_get_dec' */ + /* Start for Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_param_req_read' */ - /* Start for Chart: '/Chart_proc_param_req_read' incorporates: - * SubSystem: '/find_idx' + /* Start for Chart: '/Chart_proc_param_req_read' incorporates: + * SubSystem: '/find_idx' */ - /* Start for S-Function (find_param_idx): '/find_idx_capi' */ + /* Start for S-Function (find_param_idx): '/find_idx_capi' */ - /* S-Function Block: /find_idx_capi */ + /* S-Function Block: /find_idx_capi */ find_param_idx_Start_wrapper(); - /* End of Start for SubSystem: '/param_req_get_dec' */ + /* End of Start for SubSystem: '/param_req_get_dec' */ - /* Start for IfAction SubSystem: '/param_set_dec' */ - /* Start for Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_param_set' + /* Start for IfAction SubSystem: '/param_set_dec' */ + /* Start for Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_param_set' */ - /* Start for Chart: '/Chart_proc_param_set' incorporates: - * SubSystem: '/set_val' + /* Start for Chart: '/Chart_proc_param_set' incorporates: + * SubSystem: '/set_val' */ - /* Start for S-Function (set_param_val): '/set_val_capi' */ + /* Start for S-Function (set_param_val): '/set_val_capi' */ - /* S-Function Block: /set_val_capi */ + /* S-Function Block: /set_val_capi */ set_param_val_Start_wrapper(); - /* End of Start for SubSystem: '/param_set_dec' */ + /* End of Start for SubSystem: '/param_set_dec' */ - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0' */ SIL_initQueue_k0qnc((Queue_mavlink_mission_count_t *) &SIL_DW.EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0_Q, MSG_FIFO_QUEUE, 1, (Msg_mavlink_mission_count_t *) &SIL_DW.EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_0_M); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1' */ SIL_initQueue_k0qncu((Queue_mavlink_mission_item_int_t *) &SIL_DW.EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1_Q, MSG_FIFO_QUEUE, 5, (Msg_mavlink_mission_item_int_t *) &SIL_DW.EntityQueue_InsertedFor_Chart_proc_mission_upload_at_inport_1_M [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_req_cur_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_req_cur_at_inport_0' */ SIL_initQueue((Queue_uint16 *) &SIL_DW.EntityQueue_InsertedFor_req_cur_at_inport_0_Queue_uint16, MSG_FIFO_QUEUE, 1, (Msg_uint16 *) &SIL_DW.EntityQueue_InsertedFor_req_cur_at_inport_0_Msg_uint16); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_set_ cur_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_set_ cur_at_inport_0' */ SIL_initQueue((Queue_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_set_cur_at_inport_0_Queue_uint16, MSG_FIFO_QUEUE, 10, (Msg_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_set_cur_at_inport_0_Msg_uint16 [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_1' */ SIL_initQueue_k((Queue_CommandMsg *) &SIL_DW.EntityQueue_InsertedFor_proc_cmd_at_inport_1_Queue_CommandMsg, MSG_FIFO_QUEUE, 5, (Msg_CommandMsg *) &SIL_DW.EntityQueue_InsertedFor_proc_cmd_at_inport_1_Msg_CommandMsg [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_cmd_at_inport_0' */ SIL_initQueue_k((Queue_CommandMsg *) &SIL_DW.EntityQueue_InsertedFor_proc_cmd_at_inport_0_Queue_CommandMsg, MSG_FIFO_QUEUE, 5, (Msg_CommandMsg *) &SIL_DW.EntityQueue_InsertedFor_proc_cmd_at_inport_0_Msg_CommandMsg [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_send_ack_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_Chart_send_ack_at_inport_0' */ SIL_initQueue_k0((Queue_CommandAck *) &SIL_DW.EntityQueue_InsertedFor_Chart_send_ack_at_inport_0_Queue_Comman, MSG_FIFO_QUEUE, 10, (Msg_CommandAck *) &SIL_DW.EntityQueue_InsertedFor_Chart_send_ack_at_inport_0_Msg_CommandA [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_0' */ SIL_initQueue((Queue_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_0_Queue_uint, MSG_FIFO_QUEUE, 2, (Msg_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_0_Msg_uint16 [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_1' */ SIL_initQueue((Queue_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_1_Queue_uint, MSG_FIFO_QUEUE, 2, (Msg_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_1_Msg_uint16 [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_2' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_proc_param_value_at_inport_2' */ SIL_initQueue((Queue_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_2_Queue_uint, MSG_FIFO_QUEUE, 2, (Msg_uint16 *) &SIL_DW.EntityQueue_InsertedFor_proc_param_value_at_inport_2_Msg_uint16 [0]); - /* Start for Chart: '/proc_param_value' incorporates: - * SubSystem: '/find_val' + /* Start for Chart: '/proc_param_value' incorporates: + * SubSystem: '/find_val' */ SIL_find_val_Start(); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_2' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_2' */ SIL_initQueue_k0qn((Queue_mavlink_param_value_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_2_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_param_value_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_2_Msg_mavlink_pa [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_3' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_3' */ SIL_initQueue_k0qnc((Queue_mavlink_mission_count_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_3_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_count_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_3_Msg_mavlink_mi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_4' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_4' */ SIL_initQueue_k0qncu((Queue_mavlink_mission_item_int_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_4_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_item_int_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_4_Msg_mavlink_mi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_0' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_0' */ SIL_initQueue_k0qncuy((Queue_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_0_Queue_mavlink_mis, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_0_Msg_mavlink_missi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_1' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_1' */ SIL_initQueue_k0qncuy((Queue_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_1_Queue_mavlink_mis, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_1_Msg_mavlink_missi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_2' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_merge_ack_at_inport_2' */ SIL_initQueue_k0qncuy((Queue_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_2_Queue_mavlink_mis, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_merge_ack_at_inport_2_Msg_mavlink_missi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_5' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_5' */ SIL_initQueue_k0qncuy((Queue_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_5_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_ack_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_5_Msg_mavlink_mi [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_6' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_6' */ SIL_initQueue_k0qncuyo((Queue_mavlink_mission_current_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_6_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_current_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_6_Msg_mavlink_mi[0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_7' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_7' */ SIL_initQueue_k0qncuyo4((Queue_mavlink_mission_request_int_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_7_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_mission_request_int_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_7_Msg_mavlink_mi[0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_8' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_8' */ SIL_initQueue_k0q((Queue_mavlink_command_ack_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_8_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_command_ack_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_8_Msg_mavlink_co [0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_9' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_9' */ SIL_initQueue_k0qncuyo4n((Queue_mavlink_autopilot_version_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_9_Queue_mavlink_, MSG_FIFO_QUEUE, 2, (Msg_mavlink_autopilot_version_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_9_Msg_mavlink_au[0]); - /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_10' */ + /* Start for EntityQueue: '/EntityQueue_InsertedFor_traffic_ctrl_at_inport_10' */ SIL_initQueue_k0qncuyo4n2e((Queue_mavlink_serial_control_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_10_Queue_mavlink, MSG_FIFO_QUEUE, 5, (Msg_mavlink_serial_control_t *) &SIL_DW.EntityQueue_InsertedFor_traffic_ctrl_at_inport_10_Msg_mavlink_s[0]); - /* Start for Chart: '/traffic_ctrl' incorporates: - * SubSystem: '/loop_download' + /* Start for Chart: '/traffic_ctrl' incorporates: + * SubSystem: '/loop_download' */ - /* Start for IfAction SubSystem: '/svo_out_raw_enc' */ - /* Start for Width: '/Width' */ + /* Start for IfAction SubSystem: '/svo_out_raw_enc' */ + /* Start for Width: '/Width' */ SIL_B.width = 16U; - /* End of Start for SubSystem: '/svo_out_raw_enc' */ + /* End of Start for SubSystem: '/svo_out_raw_enc' */ /* Start for DataStoreMemory: '/Data Store Memory' */ SIL_DW.CC = SIL_rtZC2; @@ -32878,10 +32767,10 @@ void SIL_initialize(void) /* End of Start for SubSystem: '/kb3_autopilot' */ - /* Start for If: '/If1' */ + /* Start for If: '/If1' */ SIL_DW.If1_ActiveSubsystem = -1; - /* Start for If: '/If1' */ + /* Start for If: '/If1' */ SIL_DW.If1_ActiveSubsystem_l = -1; /* Start for slMsgMgr: '/slMsgMgr' */ @@ -32914,8 +32803,8 @@ void SIL_initialize(void) memcpy(&dummyRally[0], &SIL_ConstP.dummyRally_InitialValue[0], sizeof (MavRally) << 4U); - /* InitializeConditions for Integrator: '/p1' incorporates: - * Integrator: '/q' + /* InitializeConditions for Integrator: '/p1' incorporates: + * Integrator: '/q' */ if (rtmIsFirstInitCond(SIL_M)) { SIL_X.p1_CSTATE[0] = 0.0; @@ -32929,18 +32818,18 @@ void SIL_initialize(void) SIL_DW.p1_IWORK = 1; - /* End of InitializeConditions for Integrator: '/p1' */ + /* End of InitializeConditions for Integrator: '/p1' */ - /* InitializeConditions for Integrator: '/q' */ + /* InitializeConditions for Integrator: '/q' */ SIL_DW.q_IWORK = 1; - /* InitializeConditions for Integrator: '/ub,vb,wb' */ + /* InitializeConditions for Integrator: '/ub,vb,wb' */ SIL_X.ubvbwb_CSTATE[0] = V0[0]; SIL_X.ubvbwb_CSTATE[1] = V0[1]; SIL_X.ubvbwb_CSTATE[2] = V0[2]; - /* InitializeConditions for Integrator: '/p,q,r ' incorporates: - * Integrator: '/Integrator' + /* InitializeConditions for Integrator: '/p,q,r ' incorporates: + * Integrator: '/Integrator' */ if (rtmIsFirstInitCond(SIL_M)) { SIL_X.pqr_CSTATE[0] = 0.0; @@ -32951,13 +32840,13 @@ void SIL_initialize(void) SIL_DW.pqr_IWORK = 1; - /* End of InitializeConditions for Integrator: '/p,q,r ' */ + /* End of InitializeConditions for Integrator: '/p,q,r ' */ - /* InitializeConditions for Integrator: '/Integrator' */ + /* InitializeConditions for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK = 1; - /* InitializeConditions for Integrator: '/Integrator' incorporates: - * Integrator: '/Integrator' + /* InitializeConditions for Integrator: '/Integrator' incorporates: + * Integrator: '/Integrator' */ if (rtmIsFirstInitCond(SIL_M)) { SIL_X.Integrator_CSTATE_k = 0.0; @@ -32966,19 +32855,19 @@ void SIL_initialize(void) SIL_DW.Integrator_IWORK_a = 1; - /* End of InitializeConditions for Integrator: '/Integrator' */ + /* End of InitializeConditions for Integrator: '/Integrator' */ /* InitializeConditions for Backlash: '/Backlash3' */ SIL_DW.PrevY = 0.0; - /* InitializeConditions for Integrator: '/Integrator' */ + /* InitializeConditions for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_c = 1; /* InitializeConditions for Backlash: '/Backlash4' */ SIL_DW.PrevY_i = 0.0; - /* InitializeConditions for Integrator: '/Integrator' incorporates: - * Integrator: '/Integrator' + /* InitializeConditions for Integrator: '/Integrator' incorporates: + * Integrator: '/Integrator' */ if (rtmIsFirstInitCond(SIL_M)) { SIL_X.Integrator_CSTATE_g = 0.0; @@ -32987,12 +32876,12 @@ void SIL_initialize(void) SIL_DW.Integrator_IWORK_j = 1; - /* End of InitializeConditions for Integrator: '/Integrator' */ + /* End of InitializeConditions for Integrator: '/Integrator' */ /* InitializeConditions for Backlash: '/Backlash' */ SIL_DW.PrevY_b = 0.0; - /* InitializeConditions for Integrator: '/Integrator' */ + /* InitializeConditions for Integrator: '/Integrator' */ SIL_DW.Integrator_IWORK_ay = 1; /* InitializeConditions for Backlash: '/Backlash1' */ @@ -33001,10 +32890,10 @@ void SIL_initialize(void) /* InitializeConditions for Backlash: '/Backlash2' */ SIL_DW.PrevY_p = 0.0; - /* InitializeConditions for Integrator: '/Integrator' */ + /* InitializeConditions for Integrator: '/Integrator' */ SIL_X.Integrator_CSTATE_gb = 0.0; - /* InitializeConditions for Integrator: '/p' */ + /* InitializeConditions for Integrator: '/p' */ if (rtmIsFirstInitCond(SIL_M)) { SIL_X.p_CSTATE[0] = 0.0; SIL_X.p_CSTATE[1] = 0.0; @@ -33013,93 +32902,93 @@ void SIL_initialize(void) SIL_DW.p_IWORK = 1; - /* End of InitializeConditions for Integrator: '/p' */ + /* End of InitializeConditions for Integrator: '/p' */ - /* InitializeConditions for Integrator: '/Integrator1' */ + /* InitializeConditions for Integrator: '/Integrator1' */ SIL_X.Integrator1_CSTATE = 0.0; - /* InitializeConditions for Integrator: '/Integrator1' */ + /* InitializeConditions for Integrator: '/Integrator1' */ SIL_X.Integrator1_CSTATE_f = 0.0; - /* InitializeConditions for Integrator: '/Integrator1' */ + /* InitializeConditions for Integrator: '/Integrator1' */ SIL_X.Integrator1_CSTATE_p = 0.0; - /* InitializeConditions for Integrator: '/Integrator1' */ + /* InitializeConditions for Integrator: '/Integrator1' */ SIL_X.Integrator1_CSTATE_l = 0.0; - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ SIL_B.Merge_g[0] = 1.0; SIL_B.Merge_g[1] = 0.0; SIL_B.Merge_g[2] = 0.0; SIL_B.Merge_g[3] = 0.0; /* SystemInitialize for Enabled SubSystem: '/Enabled Subsystem6' */ - /* InitializeConditions for Integrator: '/Integrator' */ + /* InitializeConditions for Integrator: '/Integrator' */ SIL_X.Integrator_CSTATE_f = 0.0; /* End of SystemInitialize for SubSystem: '/Enabled Subsystem6' */ /* SystemInitialize for Atomic SubSystem: '/dummy_INS' */ - /* InitializeConditions for RateLimiter: '/Rate Limiter' */ + /* InitializeConditions for RateLimiter: '/Rate Limiter' */ SIL_DW.PrevY_e[0] = 0.0F; SIL_DW.PrevY_e[1] = 0.0F; SIL_DW.PrevY_e[2] = 0.0F; for (i = 0; i < 6; i++) { - /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states[i] = 0.0; - /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_e[i] = 0.0; } - /* InitializeConditions for RateLimiter: '/Rate Limiter1' */ + /* InitializeConditions for RateLimiter: '/Rate Limiter1' */ SIL_DW.PrevY_k[0] = 0.0F; SIL_DW.PrevY_k[1] = 0.0F; SIL_DW.PrevY_k[2] = 0.0F; - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_DW.temporalCounter_i1_d = 0U; SIL_DW.is_active_c5_kb3_dummy_io = 0U; SIL_DW.is_c5_kb3_dummy_io = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_DW.temporalCounter_i1_e = 0U; SIL_DW.is_active_c4_kb3_dummy_io = 0U; SIL_DW.is_c4_kb3_dummy_io = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Enabled SubSystem: '/Enabled Subsystem' */ - /* SystemInitialize for SignalConversion: '/OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0' */ + /* SystemInitialize for Enabled SubSystem: '/Enabled Subsystem' */ + /* SystemInitialize for SignalConversion: '/OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0' */ SIL_B.OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0 = SIL_B.Merge_h4; - /* End of SystemInitialize for SubSystem: '/Enabled Subsystem' */ + /* End of SystemInitialize for SubSystem: '/Enabled Subsystem' */ - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_tick_Init(&SIL_DW.sf_tick_f); - /* SystemInitialize for Chart: '/check_gps_valid' */ + /* SystemInitialize for Chart: '/check_gps_valid' */ SIL_DW.temporalCounter_i1_c = 0U; SIL_DW.is_active_c9_ins_lib = 0U; SIL_DW.is_c9_ins_lib = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_tick_b_Init(&SIL_DW.sf_tick_o); - /* SystemInitialize for Chart: '/status_mgr' */ + /* SystemInitialize for Chart: '/status_mgr' */ SIL_DW.is_active_c14_ins_lib = 0U; SIL_DW.is_c14_ins_lib = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/IMU_bias_fix' */ + /* SystemInitialize for Chart: '/IMU_bias_fix' */ SIL_DW.is_active_c11_ins_lib = 0U; SIL_DW.is_c11_ins_lib = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_tick_b_Init(&SIL_DW.sf_tick_m); - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.is_active_c10_ins_lib = 0U; SIL_DW.is_c10_ins_lib = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/EKF14s' */ + /* SystemInitialize for Chart: '/EKF14s' */ SIL_DW.Tbn_prev_not_empty = false; SIL_DW.gps_use_started = false; SIL_DW.vel_reset_cnt = 0U; @@ -33123,32 +33012,32 @@ void SIL_initialize(void) SIL_B.euler_variances[1] = 0.0F; SIL_B.euler_variances[2] = 0.0F; - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem1' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_l[0] = 0.0; SIL_DW.UnitDelay_DSTATE_l[1] = 0.0; SIL_DW.UnitDelay_DSTATE_l[2] = 0.0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem1' */ - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_DW.temporalCounter_i1_i = 0U; SIL_DW.is_active_c2_kb3_dummy_io = 0U; SIL_DW.is_c2_kb3_dummy_io = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Enabled SubSystem: '/qbar_proc' */ - /* SystemInitialize for Chart: '/zero_set' */ + /* SystemInitialize for Enabled SubSystem: '/qbar_proc' */ + /* SystemInitialize for Chart: '/zero_set' */ SIL_DW.is_active_c13_ins_lib = 0U; SIL_DW.is_c13_ins_lib = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/qbar_proc' */ + /* End of SystemInitialize for SubSystem: '/qbar_proc' */ - /* SystemInitialize for Chart: '/tick' */ + /* SystemInitialize for Chart: '/tick' */ SIL_tick_Init(&SIL_DW.sf_tick_j); /* End of SystemInitialize for SubSystem: '/dummy_INS' */ - /* SystemInitialize for Iterator SubSystem: '/sbg_parser' */ + /* SystemInitialize for Iterator SubSystem: '/sbg_parser' */ SIL_DW.is_active_c1_sbg_j = 0U; SIL_DW.is_c1_sbg_m = SIL_IN_NO_ACTIVE_CHILD_l3; memset(&SIL_B.data_d[0], 0, 96U * sizeof(uint8_T)); @@ -33158,15 +33047,15 @@ void SIL_initialize(void) SIL_B.err_crc_d = 0U; SIL_B.good_n = 0U; - /* SystemInitialize for Chart: '/parser' incorporates: - * SubSystem: '/sbg_msg_unpack' + /* SystemInitialize for Chart: '/parser' incorporates: + * SubSystem: '/sbg_msg_unpack' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ SIL_B.solution_status_b = 0U; - /* End of SystemInitialize for SubSystem: '/sbg_parser' */ + /* End of SystemInitialize for SubSystem: '/sbg_parser' */ - /* SystemInitialize for Iterator SubSystem: '/sbg_parser' */ + /* SystemInitialize for Iterator SubSystem: '/sbg_parser' */ SIL_DW.is_active_c1_sbg = 0U; SIL_DW.is_c1_sbg = SIL_IN_NO_ACTIVE_CHILD_l3; memset(&SIL_B.data_o[0], 0, 96U * sizeof(uint8_T)); @@ -33176,16 +33065,16 @@ void SIL_initialize(void) SIL_B.err_crc_a = 0U; SIL_B.good_h = 0U; - /* SystemInitialize for Chart: '/parser' incorporates: - * SubSystem: '/sbg_msg_unpack' + /* SystemInitialize for Chart: '/parser' incorporates: + * SubSystem: '/sbg_msg_unpack' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ SIL_B.solution_status_c = 0U; - /* End of SystemInitialize for SubSystem: '/sbg_parser' */ + /* End of SystemInitialize for SubSystem: '/sbg_parser' */ - /* SystemInitialize for Iterator SubSystem: '/bmu_parser' */ - /* SystemInitialize for Chart: '/parser' */ + /* SystemInitialize for Iterator SubSystem: '/bmu_parser' */ + /* SystemInitialize for Chart: '/parser' */ SIL_DW.is_active_c8_BMU_HLYJ20_F002LB = 0U; SIL_DW.is_c8_BMU_HLYJ20_F002LB = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.data_an[0] = 0U; @@ -33245,10 +33134,10 @@ void SIL_initialize(void) SIL_B.err_crc_as = 0U; SIL_B.good_d = 0U; - /* End of SystemInitialize for SubSystem: '/bmu_parser' */ + /* End of SystemInitialize for SubSystem: '/bmu_parser' */ - /* SystemInitialize for Iterator SubSystem: '/ecu_parser' */ - /* SystemInitialize for Chart: '/parser' */ + /* SystemInitialize for Iterator SubSystem: '/ecu_parser' */ + /* SystemInitialize for Chart: '/parser' */ SIL_DW.is_active_c13_SIL = 0U; SIL_DW.is_c13_SIL = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.err_hdr_h = 0U; @@ -33256,10 +33145,10 @@ void SIL_initialize(void) SIL_B.err_crc_e = 0U; SIL_B.good_l = 0U; - /* End of SystemInitialize for SubSystem: '/ecu_parser' */ + /* End of SystemInitialize for SubSystem: '/ecu_parser' */ - /* SystemInitialize for Iterator SubSystem: '/ccm_parser' */ - /* SystemInitialize for Chart: '/parser' */ + /* SystemInitialize for Iterator SubSystem: '/ccm_parser' */ + /* SystemInitialize for Chart: '/parser' */ SIL_DW.is_active_c9_SIL = 0U; SIL_DW.is_c9_SIL = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.data_l[0] = 0U; @@ -33283,10 +33172,10 @@ void SIL_initialize(void) SIL_B.err_crc_f = 0U; SIL_B.good_g = 0U; - /* End of SystemInitialize for SubSystem: '/ccm_parser' */ + /* End of SystemInitialize for SubSystem: '/ccm_parser' */ - /* SystemInitialize for Iterator SubSystem: '/flvl_parser' */ - /* SystemInitialize for Chart: '/parser' */ + /* SystemInitialize for Iterator SubSystem: '/flvl_parser' */ + /* SystemInitialize for Chart: '/parser' */ SIL_DW.is_active_c16_SIL = 0U; SIL_DW.is_c16_SIL = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.msg_id_ez[0] = 0U; @@ -33297,10 +33186,10 @@ void SIL_initialize(void) SIL_B.err_crc_o = 0U; SIL_B.good_m = 0U; - /* End of SystemInitialize for SubSystem: '/flvl_parser' */ + /* End of SystemInitialize for SubSystem: '/flvl_parser' */ - /* SystemInitialize for Iterator SubSystem: '/sdas_parser' */ - /* SystemInitialize for Chart: '/parser' */ + /* SystemInitialize for Iterator SubSystem: '/sdas_parser' */ + /* SystemInitialize for Chart: '/parser' */ SIL_DW.is_active_c8_pack_parser = 0U; SIL_DW.is_c8_pack_parser = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.err_hdr = 0U; @@ -33310,10 +33199,10 @@ void SIL_initialize(void) memset(&SIL_B.data[0], 0, sizeof(uint8_T) << 6U); SIL_B.msg_seq = 0U; - /* End of SystemInitialize for SubSystem: '/sdas_parser' */ + /* End of SystemInitialize for SubSystem: '/sdas_parser' */ - /* SystemInitialize for Iterator SubSystem: '/rec_parser' */ - /* SystemInitialize for Chart: '/parser2' */ + /* SystemInitialize for Iterator SubSystem: '/rec_parser' */ + /* SystemInitialize for Chart: '/parser2' */ SIL_DW.is_active_c1_pack_parser_c = 0U; SIL_DW.is_c1_pack_parser_a = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_DW.sum_b = 0U; @@ -33323,10 +33212,10 @@ void SIL_initialize(void) SIL_B.good_f = 0U; memset(&SIL_B.data_a[0], 0, 255U * sizeof(uint8_T)); - /* End of SystemInitialize for SubSystem: '/rec_parser' */ + /* End of SystemInitialize for SubSystem: '/rec_parser' */ - /* SystemInitialize for Iterator SubSystem: '/rec_parser' */ - /* SystemInitialize for Chart: '/parser2' */ + /* SystemInitialize for Iterator SubSystem: '/rec_parser' */ + /* SystemInitialize for Chart: '/parser2' */ SIL_DW.is_active_c1_pack_parser = 0U; SIL_DW.is_c1_pack_parser = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_DW.sum_n = 0U; @@ -33336,247 +33225,247 @@ void SIL_initialize(void) SIL_B.good_p = 0U; memset(&SIL_B.data_b[0], 0, 255U * sizeof(uint8_T)); - /* End of SystemInitialize for SubSystem: '/rec_parser' */ + /* End of SystemInitialize for SubSystem: '/rec_parser' */ /* SystemInitialize for Atomic SubSystem: '/kb3_autopilot' */ - /* SystemInitialize for Chart: '/valid_checking' */ + /* SystemInitialize for Chart: '/valid_checking' */ SIL_DW.temporalCounter_i1_hd = 0U; SIL_DW.is_active_c54_update_rc_h = 0U; SIL_DW.is_c54_update_rc_m = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for IfAction SubSystem: '/supersonic' */ - /* SystemInitialize for Iterator SubSystem: '/While Iterator Subsystem' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/supersonic' */ + /* SystemInitialize for Iterator SubSystem: '/While Iterator Subsystem' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad = 1U; - /* End of SystemInitialize for SubSystem: '/While Iterator Subsystem' */ - /* End of SystemInitialize for SubSystem: '/supersonic' */ + /* End of SystemInitialize for SubSystem: '/While Iterator Subsystem' */ + /* End of SystemInitialize for SubSystem: '/supersonic' */ - /* SystemInitialize for IfAction SubSystem: '/supersonic' */ - /* SystemInitialize for Iterator SubSystem: '/While Iterator Subsystem' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/supersonic' */ + /* SystemInitialize for Iterator SubSystem: '/While Iterator Subsystem' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_m = 1U; - /* End of SystemInitialize for SubSystem: '/While Iterator Subsystem' */ - /* End of SystemInitialize for SubSystem: '/supersonic' */ + /* End of SystemInitialize for SubSystem: '/While Iterator Subsystem' */ + /* End of SystemInitialize for SubSystem: '/supersonic' */ - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_o = 0U; SIL_DW.is_active_c50_kb3_autopilot = 0U; SIL_DW.is_c50_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_pv = 0U; SIL_DW.is_active_c51_kb3_autopilot = 0U; SIL_DW.is_c51_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ex = 0U; SIL_DW.is_active_c54_kb3_autopilot = 0U; SIL_DW.is_c54_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_p = 0U; SIL_DW.is_active_c55_kb3_autopilot = 0U; SIL_DW.is_c55_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_n = 0U; SIL_DW.is_active_c56_kb3_autopilot = 0U; SIL_DW.is_c56_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_eq = 0U; SIL_DW.is_active_c57_kb3_autopilot = 0U; SIL_DW.is_c57_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_kc = 0U; SIL_DW.is_active_c58_kb3_autopilot = 0U; SIL_DW.is_c58_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_je = 0U; SIL_DW.is_active_c69_kb3_autopilot = 0U; SIL_DW.is_c69_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_jb = 0U; SIL_DW.is_active_c81_kb3_autopilot = 0U; SIL_DW.is_c81_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_k = 0U; SIL_DW.is_active_c85_kb3_autopilot = 0U; SIL_DW.is_c85_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_iw = 0U; SIL_DW.is_active_c86_kb3_autopilot = 0U; SIL_DW.is_c86_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_f2 = 0U; SIL_DW.is_active_c87_kb3_autopilot = 0U; SIL_DW.is_c87_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_b = 0U; SIL_DW.is_active_c88_kb3_autopilot = 0U; SIL_DW.is_c88_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_n0 = 0U; SIL_DW.is_active_c89_kb3_autopilot = 0U; SIL_DW.is_c89_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_a = 0U; SIL_DW.is_active_c90_kb3_autopilot = 0U; SIL_DW.is_c90_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ji = 0U; SIL_DW.is_active_c59_kb3_autopilot = 0U; SIL_DW.is_c59_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ja = 0U; SIL_DW.is_active_c60_kb3_autopilot = 0U; SIL_DW.is_c60_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_i1 = 0U; SIL_DW.is_active_c61_kb3_autopilot = 0U; SIL_DW.is_c61_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ms = 0U; SIL_DW.is_active_c64_kb3_autopilot = 0U; SIL_DW.is_c64_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_o1 = 0U; SIL_DW.is_active_c65_kb3_autopilot = 0U; SIL_DW.is_c65_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_n2 = 0U; SIL_DW.is_active_c66_kb3_autopilot = 0U; SIL_DW.is_c66_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_mf = 0U; SIL_DW.is_active_c67_kb3_autopilot = 0U; SIL_DW.is_c67_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_l = 0U; SIL_DW.is_active_c68_kb3_autopilot = 0U; SIL_DW.is_c68_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_kg = 0U; SIL_DW.is_active_c78_kb3_autopilot = 0U; SIL_DW.is_c78_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_g = 0U; SIL_DW.is_active_c82_kb3_autopilot = 0U; SIL_DW.is_c82_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/check_conn' */ + /* SystemInitialize for Chart: '/check_conn' */ SIL_DW.temporalCounter_i1_f = 0U; SIL_DW.is_active_c13_C2_proc_comm = 0U; SIL_DW.is_c13_C2_proc_comm = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/valid_checking' */ + /* SystemInitialize for Chart: '/valid_checking' */ SIL_DW.temporalCounter_i1_b5 = 0U; SIL_DW.is_active_c54_update_rc = 0U; SIL_DW.is_c54_update_rc = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/proc_cmd' */ + /* SystemInitialize for Chart: '/proc_cmd' */ SIL_DW.is_active_c19_kb3_autopilot = 0U; SIL_DW.is_c19_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/proc_set_ cur' */ + /* SystemInitialize for Chart: '/proc_set_ cur' */ SIL_DW.is_active_c14_C2_proc_comm = 0U; SIL_DW.is_c14_C2_proc_comm = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/TopLevelSwitch' */ + /* SystemInitialize for Chart: '/TopLevelSwitch' */ SIL_DW.is_active_c24_kb3_autopilot = 0U; SIL_DW.is_c24_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for IfAction SubSystem: '/xbit' */ - /* SystemInitialize for IfAction SubSystem: '/act_sweep' */ - /* SystemInitialize for Chart: '/sweep_generator' */ + /* SystemInitialize for IfAction SubSystem: '/xbit' */ + /* SystemInitialize for IfAction SubSystem: '/act_sweep' */ + /* SystemInitialize for Chart: '/sweep_generator' */ SIL_DW.is_active_c26_kb3_autopilot = 0U; SIL_DW.is_c26_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/act_sweep' */ - /* End of SystemInitialize for SubSystem: '/xbit' */ + /* End of SystemInitialize for SubSystem: '/act_sweep' */ + /* End of SystemInitialize for SubSystem: '/xbit' */ - /* SystemInitialize for IfAction SubSystem: '/standby' */ - /* SystemInitialize for Chart: '/standby_emergency' */ + /* SystemInitialize for IfAction SubSystem: '/standby' */ + /* SystemInitialize for Chart: '/standby_emergency' */ SIL_DW.temporalCounter_i1_h = 0U; SIL_DW.is_active_c53_kb3_autopilot = 0U; SIL_DW.is_c53_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/standby' */ + /* End of SystemInitialize for SubSystem: '/standby' */ - /* SystemInitialize for IfAction SubSystem: '/operational' */ - /* SystemInitialize for IfAction SubSystem: '/auto' */ - /* SystemInitialize for IfAction SubSystem: '/mission' */ + /* SystemInitialize for IfAction SubSystem: '/operational' */ + /* SystemInitialize for IfAction SubSystem: '/auto' */ + /* SystemInitialize for IfAction SubSystem: '/mission' */ SIL_DW.is_active_c48_mission_proc = 0U; SIL_DW.is_c48_mission_proc = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_B.last_WP = 1U; SIL_B.mission_mode = 0U; - /* SystemInitialize for Chart: '/mission_proc' incorporates: - * SubSystem: '/valid_test' + /* SystemInitialize for Chart: '/mission_proc' incorporates: + * SubSystem: '/valid_test' */ SIL_valid_test_Init(&SIL_B.Merge_p); - /* SystemInitialize for IfAction SubSystem: '/takeoff' */ - /* SystemInitialize for Chart: '/takeoff_task' */ + /* SystemInitialize for IfAction SubSystem: '/takeoff' */ + /* SystemInitialize for Chart: '/takeoff_task' */ SIL_DW.temporalCounter_i1_j = 0U; SIL_DW.is_active_c28_kb3_autopilot = 0U; SIL_DW.is_c28_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/takeoff' */ + /* End of SystemInitialize for SubSystem: '/takeoff' */ - /* SystemInitialize for IfAction SubSystem: '/landing' */ - /* SystemInitialize for Chart: '/landing_task' */ + /* SystemInitialize for IfAction SubSystem: '/landing' */ + /* SystemInitialize for Chart: '/landing_task' */ SIL_DW.temporalCounter_i1_ei = 0U; SIL_DW.is_active_c25_kb3_autopilot = 0U; SIL_DW.is_c25_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/landing' */ + /* End of SystemInitialize for SubSystem: '/landing' */ - /* SystemInitialize for IfAction SubSystem: '/waypoint' */ - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for IfAction SubSystem: '/waypoint' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_oc = 0U; SIL_DW.is_active_c29_kb3_autopilot = 0U; SIL_DW.is_c29_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/waypoint' */ - /* End of SystemInitialize for SubSystem: '/mission' */ + /* End of SystemInitialize for SubSystem: '/waypoint' */ + /* End of SystemInitialize for SubSystem: '/mission' */ - /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* SystemInitialize for IfAction SubSystem: '/If Action Subsystem2' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_g = 0.0; - /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ - /* End of SystemInitialize for SubSystem: '/auto' */ - /* End of SystemInitialize for SubSystem: '/operational' */ + /* End of SystemInitialize for SubSystem: '/If Action Subsystem2' */ + /* End of SystemInitialize for SubSystem: '/auto' */ + /* End of SystemInitialize for SubSystem: '/operational' */ - /* SystemInitialize for IfAction SubSystem: '/recovery' */ - /* SystemInitialize for Chart: '/landing_task' */ + /* SystemInitialize for IfAction SubSystem: '/recovery' */ + /* SystemInitialize for Chart: '/landing_task' */ SIL_DW.temporalCounter_i1_ov = 0U; SIL_DW.is_active_c21_kb3_autopilot = 0U; SIL_DW.is_c21_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.is_balloon = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_DW.is_cover = SIL_IN_NO_ACTIVE_CHILD_l3; SIL_DW.is_cut = SIL_IN_NO_ACTIVE_CHILD_l3; @@ -33586,19 +33475,19 @@ void SIL_initialize(void) SIL_DW.is_active_c22_kb3_autopilot = 0U; SIL_DW.is_c22_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/recovery' */ + /* End of SystemInitialize for SubSystem: '/recovery' */ - /* SystemInitialize for Atomic SubSystem: '/update_nav_info' */ - /* SystemInitialize for IfAction SubSystem: '/case_corner' */ - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* SystemInitialize for Atomic SubSystem: '/update_nav_info' */ + /* SystemInitialize for IfAction SubSystem: '/case_corner' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_h = 0U; - /* SystemInitialize for MATLAB Function: '/nav_corner' */ + /* SystemInitialize for MATLAB Function: '/nav_corner' */ SIL_DW.stage_not_empty = false; - /* End of SystemInitialize for SubSystem: '/case_corner' */ + /* End of SystemInitialize for SubSystem: '/case_corner' */ - /* SystemInitialize for Merge: '/Merge2' */ + /* SystemInitialize for Merge: '/Merge2' */ SIL_B.rdot = 0.0F; SIL_B.dist = 0.0F; SIL_B.bearing_base = 0.0F; @@ -33611,225 +33500,225 @@ void SIL_initialize(void) SIL_B.horiz_offset = 0.0F; SIL_B.vert_offset = 0.0F; - /* End of SystemInitialize for SubSystem: '/update_nav_info' */ + /* End of SystemInitialize for SubSystem: '/update_nav_info' */ - /* SystemInitialize for IfAction SubSystem: '/gamma2tht' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/gamma2tht' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_j = 1U; - /* SystemInitialize for IfAction SubSystem: '/hdot' */ - /* SystemInitialize for IfAction SubSystem: '/vnav' */ - /* SystemInitialize for Atomic SubSystem: '/dH2hdot' */ - /* InitializeConditions for Delay: '/last_hdot_c' */ + /* SystemInitialize for IfAction SubSystem: '/hdot' */ + /* SystemInitialize for IfAction SubSystem: '/vnav' */ + /* SystemInitialize for Atomic SubSystem: '/dH2hdot' */ + /* InitializeConditions for Delay: '/last_hdot_c' */ SIL_DW.icLoad_o = 1U; - /* End of SystemInitialize for SubSystem: '/dH2hdot' */ - /* End of SystemInitialize for SubSystem: '/vnav' */ - /* End of SystemInitialize for SubSystem: '/hdot' */ - /* End of SystemInitialize for SubSystem: '/gamma2tht' */ + /* End of SystemInitialize for SubSystem: '/dH2hdot' */ + /* End of SystemInitialize for SubSystem: '/vnav' */ + /* End of SystemInitialize for SubSystem: '/hdot' */ + /* End of SystemInitialize for SubSystem: '/gamma2tht' */ - /* SystemInitialize for IfAction SubSystem: '/as2tht' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/as2tht' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_l = 1U; - /* End of SystemInitialize for SubSystem: '/as2tht' */ + /* End of SystemInitialize for SubSystem: '/as2tht' */ - /* SystemInitialize for IfAction SubSystem: '/LNAV2PHI' */ - /* SystemInitialize for Chart: '/psi_err' */ + /* SystemInitialize for IfAction SubSystem: '/LNAV2PHI' */ + /* SystemInitialize for Chart: '/psi_err' */ SIL_psi_err_Init(&rtb_out_ei); - /* SystemInitialize for Chart: '/psi_err1' */ + /* SystemInitialize for Chart: '/psi_err1' */ SIL_psi_err_Init(&rtb_out_lm); - /* SystemInitialize for Chart: '/psi_err2' */ + /* SystemInitialize for Chart: '/psi_err2' */ SIL_psi_err_Init(&rtb_out_fx); - /* End of SystemInitialize for SubSystem: '/LNAV2PHI' */ + /* End of SystemInitialize for SubSystem: '/LNAV2PHI' */ - /* SystemInitialize for IfAction SubSystem: '/ROLL_CTRL' */ - /* SystemInitialize for IfAction SubSystem: '/p_ctrl_ADRC' */ - /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator' */ + /* SystemInitialize for IfAction SubSystem: '/ROLL_CTRL' */ + /* SystemInitialize for IfAction SubSystem: '/p_ctrl_ADRC' */ + /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator' */ SIL_DW.DiscreteTimeIntegrator_DSTATE = 0.0F; - /* InitializeConditions for Delay: '/Delay1' */ + /* InitializeConditions for Delay: '/Delay1' */ SIL_DW.icLoad_p1 = 1U; - /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator1' */ + /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator1' */ SIL_DW.DiscreteTimeIntegrator1_DSTATE = 0.0F; - /* InitializeConditions for Delay: '/Delay' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.Delay_DSTATE_j = 0.0F; - /* End of SystemInitialize for SubSystem: '/p_ctrl_ADRC' */ + /* End of SystemInitialize for SubSystem: '/p_ctrl_ADRC' */ - /* SystemInitialize for IfAction SubSystem: '/roll_ctrl_ADRC' */ - /* InitializeConditions for Saturate: '/Saturation' incorporates: - * Delay: '/Delay2' + /* SystemInitialize for IfAction SubSystem: '/roll_ctrl_ADRC' */ + /* InitializeConditions for Saturate: '/Saturation' incorporates: + * Delay: '/Delay2' */ SIL_DW.Delay2_DSTATE = 0.0F; - /* InitializeConditions for Delay: '/Delay4' */ + /* InitializeConditions for Delay: '/Delay4' */ SIL_DW.Delay4_DSTATE = 0.0F; - /* InitializeConditions for Delay: '/Delay3' */ + /* InitializeConditions for Delay: '/Delay3' */ SIL_DW.Delay3_DSTATE = 0.0F; - /* End of SystemInitialize for SubSystem: '/roll_ctrl_ADRC' */ + /* End of SystemInitialize for SubSystem: '/roll_ctrl_ADRC' */ - /* SystemInitialize for IfAction SubSystem: '/p_ctrl' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/p_ctrl' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_d = 1U; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_j = 0.0F; - /* SystemInitialize for Atomic SubSystem: '/theta1' */ + /* SystemInitialize for Atomic SubSystem: '/theta1' */ SIL_theta1_Init(&SIL_DW.theta1_p); - /* End of SystemInitialize for SubSystem: '/theta1' */ + /* End of SystemInitialize for SubSystem: '/theta1' */ - /* SystemInitialize for Atomic SubSystem: '/theta2' */ + /* SystemInitialize for Atomic SubSystem: '/theta2' */ SIL_theta2_Init(&SIL_DW.theta2_d); - /* End of SystemInitialize for SubSystem: '/theta2' */ + /* End of SystemInitialize for SubSystem: '/theta2' */ - /* SystemInitialize for Atomic SubSystem: '/theta3' */ + /* SystemInitialize for Atomic SubSystem: '/theta3' */ SIL_theta2_Init(&SIL_DW.theta3_d); - /* End of SystemInitialize for SubSystem: '/theta3' */ - /* End of SystemInitialize for SubSystem: '/p_ctrl' */ - /* End of SystemInitialize for SubSystem: '/ROLL_CTRL' */ + /* End of SystemInitialize for SubSystem: '/theta3' */ + /* End of SystemInitialize for SubSystem: '/p_ctrl' */ + /* End of SystemInitialize for SubSystem: '/ROLL_CTRL' */ - /* SystemInitialize for Atomic SubSystem: '/pitch' */ - /* SystemInitialize for IfAction SubSystem: '/THT_Q_CTRL' */ - /* SystemInitialize for IfAction SubSystem: '/tht_ctrl' */ - /* SystemInitialize for IfAction SubSystem: '/enable_lead_lag' */ - /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* SystemInitialize for Atomic SubSystem: '/pitch' */ + /* SystemInitialize for IfAction SubSystem: '/THT_Q_CTRL' */ + /* SystemInitialize for IfAction SubSystem: '/tht_ctrl' */ + /* SystemInitialize for IfAction SubSystem: '/enable_lead_lag' */ + /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_he = 0.0F; - /* End of SystemInitialize for SubSystem: '/enable_lead_lag' */ - /* End of SystemInitialize for SubSystem: '/tht_ctrl' */ + /* End of SystemInitialize for SubSystem: '/enable_lead_lag' */ + /* End of SystemInitialize for SubSystem: '/tht_ctrl' */ - /* SystemInitialize for IfAction SubSystem: '/q_ctrl_ADRC' */ - /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator1' */ + /* SystemInitialize for IfAction SubSystem: '/q_ctrl_ADRC' */ + /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator1' */ SIL_DW.DiscreteTimeIntegrator1_DSTATE_c = 0.0F; - /* InitializeConditions for Delay: '/Delay' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_me = 1U; - /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator' */ + /* InitializeConditions for DiscreteIntegrator: '/Discrete-Time Integrator' */ SIL_DW.DiscreteTimeIntegrator_DSTATE_k = 0.0F; - /* End of SystemInitialize for SubSystem: '/q_ctrl_ADRC' */ + /* End of SystemInitialize for SubSystem: '/q_ctrl_ADRC' */ - /* SystemInitialize for IfAction SubSystem: '/q_ctrl' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/q_ctrl' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_b = 1U; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_n = 0.0F; - /* SystemInitialize for Atomic SubSystem: '/theta1' */ + /* SystemInitialize for Atomic SubSystem: '/theta1' */ SIL_theta1_Init(&SIL_DW.theta1); - /* End of SystemInitialize for SubSystem: '/theta1' */ + /* End of SystemInitialize for SubSystem: '/theta1' */ - /* SystemInitialize for Atomic SubSystem: '/theta2' */ + /* SystemInitialize for Atomic SubSystem: '/theta2' */ SIL_theta2_Init(&SIL_DW.theta2); - /* End of SystemInitialize for SubSystem: '/theta2' */ + /* End of SystemInitialize for SubSystem: '/theta2' */ - /* SystemInitialize for Atomic SubSystem: '/theta3' */ + /* SystemInitialize for Atomic SubSystem: '/theta3' */ SIL_theta2_Init(&SIL_DW.theta3); - /* End of SystemInitialize for SubSystem: '/theta3' */ - /* End of SystemInitialize for SubSystem: '/q_ctrl' */ - /* End of SystemInitialize for SubSystem: '/THT_Q_CTRL' */ - /* End of SystemInitialize for SubSystem: '/pitch' */ + /* End of SystemInitialize for SubSystem: '/theta3' */ + /* End of SystemInitialize for SubSystem: '/q_ctrl' */ + /* End of SystemInitialize for SubSystem: '/THT_Q_CTRL' */ + /* End of SystemInitialize for SubSystem: '/pitch' */ - /* SystemInitialize for IfAction SubSystem: '/DAMPING' */ - /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ + /* SystemInitialize for IfAction SubSystem: '/DAMPING' */ + /* InitializeConditions for DiscreteTransferFcn: '/Discrete Transfer Fcn' */ SIL_DW.DiscreteTransferFcn_states_h[0] = 0.0F; SIL_DW.DiscreteTransferFcn_states_h[1] = 0.0F; - /* End of SystemInitialize for SubSystem: '/DAMPING' */ + /* End of SystemInitialize for SubSystem: '/DAMPING' */ - /* SystemInitialize for IfAction SubSystem: '/AY_R_CTRL' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/AY_R_CTRL' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_p = 1U; - /* InitializeConditions for UnitDelay: '/Unit Delay' */ + /* InitializeConditions for UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE_e = 0.0F; - /* SystemInitialize for IfAction SubSystem: '/ay_ctrl' */ - /* InitializeConditions for Delay: '/Delay' */ + /* SystemInitialize for IfAction SubSystem: '/ay_ctrl' */ + /* InitializeConditions for Delay: '/Delay' */ SIL_DW.icLoad_a = 1U; - /* End of SystemInitialize for SubSystem: '/ay_ctrl' */ + /* End of SystemInitialize for SubSystem: '/ay_ctrl' */ - /* SystemInitialize for Atomic SubSystem: '/theta1' */ + /* SystemInitialize for Atomic SubSystem: '/theta1' */ SIL_theta1_Init(&SIL_DW.theta1_b); - /* End of SystemInitialize for SubSystem: '/theta1' */ + /* End of SystemInitialize for SubSystem: '/theta1' */ - /* SystemInitialize for Atomic SubSystem: '/theta2' */ + /* SystemInitialize for Atomic SubSystem: '/theta2' */ SIL_theta2_Init(&SIL_DW.theta2_f); - /* End of SystemInitialize for SubSystem: '/theta2' */ + /* End of SystemInitialize for SubSystem: '/theta2' */ - /* SystemInitialize for Atomic SubSystem: '/theta3' */ + /* SystemInitialize for Atomic SubSystem: '/theta3' */ SIL_theta2_Init(&SIL_DW.theta3_f); - /* End of SystemInitialize for SubSystem: '/theta3' */ - /* End of SystemInitialize for SubSystem: '/AY_R_CTRL' */ + /* End of SystemInitialize for SubSystem: '/theta3' */ + /* End of SystemInitialize for SubSystem: '/AY_R_CTRL' */ - /* SystemInitialize for IfAction SubSystem: '/AS' */ - /* InitializeConditions for Delay: '/IntVal' */ + /* SystemInitialize for IfAction SubSystem: '/AS' */ + /* InitializeConditions for Delay: '/IntVal' */ SIL_DW.icLoad_i = 1U; - /* End of SystemInitialize for SubSystem: '/AS' */ + /* End of SystemInitialize for SubSystem: '/AS' */ - /* SystemInitialize for Chart: '/Chart_proc_mission_upload' */ + /* SystemInitialize for Chart: '/Chart_proc_mission_upload' */ SIL_DW.temporalCounter_i1_n3 = 0U; SIL_DW.is_active_c29_mavlink_utils = 0U; SIL_DW.is_c29_mavlink_utils = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/proc_queue' incorporates: - * SubSystem: '/dec_and_proc_each' + /* SystemInitialize for Chart: '/proc_queue' incorporates: + * SubSystem: '/dec_and_proc_each' */ - /* SystemInitialize for IfAction SubSystem: '/rc_channels_override_dec' */ - /* SystemInitialize for Chart: '/parse_and_proc' incorporates: - * SubSystem: '/proc_rc_chs_ov' + /* SystemInitialize for IfAction SubSystem: '/rc_channels_override_dec' */ + /* SystemInitialize for Chart: '/parse_and_proc' incorporates: + * SubSystem: '/proc_rc_chs_ov' */ for (i = 0; i < 18; i++) { - /* SystemInitialize for SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ + /* SystemInitialize for SignalConversion: '/BusConversion_InsertedFor_rc_at_inport_0' */ SIL_B.channels[i] = SIL_B.channels_e[i]; } - /* End of SystemInitialize for SubSystem: '/rc_channels_override_dec' */ + /* End of SystemInitialize for SubSystem: '/rc_channels_override_dec' */ - /* SystemInitialize for Chart: '/req_cur' */ + /* SystemInitialize for Chart: '/req_cur' */ SIL_DW.temporalCounter_i1_py = 0U; SIL_DW.is_active_c30_mavlink_utils = 0U; - /* SystemInitialize for Chart: '/Chart_send_ack' */ + /* SystemInitialize for Chart: '/Chart_send_ack' */ SIL_DW.is_active_c36_kb3_autopilot = 0U; - /* SystemInitialize for Chart: '/proc_param_value' */ + /* SystemInitialize for Chart: '/proc_param_value' */ SIL_DW.temporalCounter_i1_ia = 0U; SIL_DW.is_active_c31_mavlink_utils = 0U; SIL_DW.is_c31_mavlink_utils = SIL_IN_NO_ACTIVE_CHILD_l3; - /* SystemInitialize for Chart: '/merge_ack' */ + /* SystemInitialize for Chart: '/merge_ack' */ SIL_DW.is_active_c22_mavlink_utils = 0U; - /* SystemInitialize for Atomic SubSystem: '/proc_serial_echo' */ - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for Atomic SubSystem: '/proc_serial_echo' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.temporalCounter_i1_ac = 0U; SIL_DW.is_active_c80_kb3_autopilot = 0U; SIL_DW.is_c80_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; - /* End of SystemInitialize for SubSystem: '/proc_serial_echo' */ + /* End of SystemInitialize for SubSystem: '/proc_serial_echo' */ SIL_DW.temporalCounter_i1 = 0U; SIL_DW.is_active_c47_kb3_autopilot = 0U; SIL_DW.is_c47_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l3; @@ -33837,25 +33726,25 @@ void SIL_initialize(void) /* InitializeConditions for Outport: '/seq' */ SIL_Y.seq = 0U; - /* SystemInitialize for Chart: '/traffic_ctrl' incorporates: - * SubSystem: '/loop_download' + /* SystemInitialize for Chart: '/traffic_ctrl' incorporates: + * SubSystem: '/loop_download' */ - /* SystemInitialize for IfAction SubSystem: '/gps_raw_int_enc' */ - /* SystemInitialize for Chart: '/Chart' incorporates: - * SubSystem: '/get_cog' + /* SystemInitialize for IfAction SubSystem: '/gps_raw_int_enc' */ + /* SystemInitialize for Chart: '/Chart' incorporates: + * SubSystem: '/get_cog' */ - /* SystemInitialize for Merge: '/Merge' */ + /* SystemInitialize for Merge: '/Merge' */ SIL_B.Merge_f = 0.0F; - /* End of SystemInitialize for SubSystem: '/gps_raw_int_enc' */ + /* End of SystemInitialize for SubSystem: '/gps_raw_int_enc' */ - /* SystemInitialize for IfAction SubSystem: '/svo_out_raw_enc' */ - /* SystemInitialize for Chart: '/Chart' */ + /* SystemInitialize for IfAction SubSystem: '/svo_out_raw_enc' */ + /* SystemInitialize for Chart: '/Chart' */ SIL_DW.port_num = 0U; - /* End of SystemInitialize for SubSystem: '/svo_out_raw_enc' */ + /* End of SystemInitialize for SubSystem: '/svo_out_raw_enc' */ - /* SystemInitialize for Merge: '/Merged_msg' */ + /* SystemInitialize for Merge: '/Merged_msg' */ SIL_B.Merged_msg = SIL_rtZmavlink_message_t; /* End of SystemInitialize for SubSystem: '/kb3_autopilot' */ diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL.h b/SIL/work/SIL_ert_shrlib_rtw/SIL.h index d14c9f5..d4435b7 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -239,261 +239,261 @@ # define rtmGetTPtr(rtm) ((rtm)->Timing.t) #endif -/* Block states (default storage) for system '/If Not Proper' */ +/* Block states (default storage) for system '/If Not Proper' */ typedef struct { - void* Assertion_slioAccessor; /* '/Assertion' */ - void* Assertion_slioAccessor_i; /* '/Assertion' */ + void* Assertion_slioAccessor; /* '/Assertion' */ + void* Assertion_slioAccessor_i; /* '/Assertion' */ } DW_IfNotProper_SIL_T; -/* Block states (default storage) for system '/Else If Not Orthogonal' */ +/* Block states (default storage) for system '/Else If Not Orthogonal' */ typedef struct { - void* Assertion_slioAccessor; /* '/Assertion' */ - void* Assertion_slioAccessor_l; /* '/Assertion' */ + void* Assertion_slioAccessor; /* '/Assertion' */ + void* Assertion_slioAccessor_l; /* '/Assertion' */ } DW_ElseIfNotOrthogonal_SIL_T; -/* Block signals for system '/Left Main Gear Geometry Forces and Moments' */ +/* Block signals for system '/Left Main Gear Geometry Forces and Moments' */ typedef struct { - real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ - real_T Gain; /* '/Gain' */ + real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ + real_T Gain; /* '/Gain' */ } B_GearGeometryForcesandMoments_SIL_T; -/* Block states (default storage) for system '/Left Main Gear Geometry Forces and Moments' */ +/* Block states (default storage) for system '/Left Main Gear Geometry Forces and Moments' */ typedef struct { - boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ + boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ } DW_GearGeometryForcesandMoments_SIL_T; -/* Block signals for system '/Nose Gear Geometry Forces and Moments' */ +/* Block signals for system '/Nose Gear Geometry Forces and Moments' */ typedef struct { - real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ - real_T Gain; /* '/Gain' */ + real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ + real_T Gain; /* '/Gain' */ } B_GearGeometryForcesandMoments_SIL_f_T; -/* Block states (default storage) for system '/Nose Gear Geometry Forces and Moments' */ +/* Block states (default storage) for system '/Nose Gear Geometry Forces and Moments' */ typedef struct { - boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ + boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ } DW_GearGeometryForcesandMoments_SIL_g_T; -/* Block signals for system '/Right Main Gear Geometry Forces and Moments' */ +/* Block signals for system '/Right Main Gear Geometry Forces and Moments' */ typedef struct { - real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ - real_T Gain; /* '/Gain' */ + real_T LookupTableDynamic; /* '/Lookup Table Dynamic' */ + real_T Gain; /* '/Gain' */ } B_GearGeometryForcesandMoments_SIL_i_T; -/* Block states (default storage) for system '/Right Main Gear Geometry Forces and Moments' */ +/* Block states (default storage) for system '/Right Main Gear Geometry Forces and Moments' */ typedef struct { - boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ + boolean_T GenerateGroundFM_MODE; /* '/GenerateGroundFM' */ } DW_GearGeometryForcesandMoments_SIL_i_T; -/* Block signals for system '/sbg_ecom_log_euler_data_frame' */ +/* Block signals for system '/sbg_ecom_log_euler_data_frame' */ typedef struct { - uint32_T ByteUnpack_o4; /* '/Byte Unpack' */ + uint32_T ByteUnpack_o4; /* '/Byte Unpack' */ } B_sbg_ecom_log_euler_data_frame_SIL_T; -/* Block signals for system '/sbg_ecom_log_nav_data_frame' */ +/* Block signals for system '/sbg_ecom_log_nav_data_frame' */ typedef struct { - uint32_T ByteUnpack_o7; /* '/Byte Unpack' */ + uint32_T ByteUnpack_o7; /* '/Byte Unpack' */ } B_sbg_ecom_log_nav_data_frame_SIL_T; -/* Block states (default storage) for system '/tick' */ +/* Block states (default storage) for system '/tick' */ typedef struct { - uint32_T temporalCounter_i1; /* '/tick' */ - uint8_T is_active_c6_kb3_dummy_io; /* '/tick' */ - uint8_T is_c6_kb3_dummy_io; /* '/tick' */ + uint32_T temporalCounter_i1; /* '/tick' */ + uint8_T is_active_c6_kb3_dummy_io; /* '/tick' */ + uint8_T is_c6_kb3_dummy_io; /* '/tick' */ } DW_tick_SIL_T; -/* Block states (default storage) for system '/tick' */ +/* Block states (default storage) for system '/tick' */ typedef struct { - uint32_T temporalCounter_i1; /* '/tick' */ - uint8_T is_active_c3_kb3_dummy_io; /* '/tick' */ - uint8_T is_c3_kb3_dummy_io; /* '/tick' */ + uint32_T temporalCounter_i1; /* '/tick' */ + uint8_T is_active_c3_kb3_dummy_io; /* '/tick' */ + uint8_T is_c3_kb3_dummy_io; /* '/tick' */ } DW_tick_SIL_f_T; -/* Block states (default storage) for system '/theta1' */ +/* Block states (default storage) for system '/theta1' */ typedef struct { - real32_T delay_DSTATE; /* '/delay' */ - uint8_T icLoad; /* '/delay' */ + real32_T delay_DSTATE; /* '/delay' */ + uint8_T icLoad; /* '/delay' */ } DW_theta1_SIL_T; -/* Block states (default storage) for system '/theta2' */ +/* Block states (default storage) for system '/theta2' */ typedef struct { - real32_T delay_DSTATE; /* '/delay' */ - uint8_T icLoad; /* '/delay' */ + real32_T delay_DSTATE; /* '/delay' */ + uint8_T icLoad; /* '/delay' */ } DW_theta2_SIL_T; /* Block signals for system '/new_rec' */ typedef struct { - uint32_T DataTypeConversion2; /* '/Data Type Conversion2' */ - uint8_T BytePack[4]; /* '/Byte Pack' */ + uint32_T DataTypeConversion2; /* '/Data Type Conversion2' */ + uint8_T BytePack[4]; /* '/Byte Pack' */ } B_new_rec_SIL_T; /* Block signals (default storage) */ typedef struct { - C2 BusAssignment; /* '/Bus Assignment' */ - C2 Merge; /* '/Merge' */ - C2 BusAssignment_e; /* '/Bus Assignment' */ - C2 BusAssignment_g; /* '/Bus Assignment' */ - C2 BusAssignment_i; /* '/Bus Assignment' */ - mavlink_message_t Merged_msg; /* '/Merged_msg' */ - mavlink_message_t msg; /* '/proc_queue' */ - mavlink_message_t mav_message; /* '/mav_parser' */ - mavlink_message_t msgs; /* '/push2msgs' */ - Sensors BusAssignment_j; /* '/Bus Assignment' */ - mavlink_gps_rtcm_data_t mav_gps_rtcm_data;/* '/mav_gps_rtcm_data' */ - mavlink_ins2_t BusAssignment_p; /* '/Bus Assignment' */ - mavlink_ins1_t BusAssignment_i4; /* '/Bus Assignment' */ + C2 BusAssignment; /* '/Bus Assignment' */ + C2 Merge; /* '/Merge' */ + C2 BusAssignment_e; /* '/Bus Assignment' */ + C2 BusAssignment_g; /* '/Bus Assignment' */ + C2 BusAssignment_i; /* '/Bus Assignment' */ + mavlink_message_t Merged_msg; /* '/Merged_msg' */ + mavlink_message_t msg; /* '/proc_queue' */ + mavlink_message_t mav_message; /* '/mav_parser' */ + mavlink_message_t msgs; /* '/push2msgs' */ + Sensors BusAssignment_j; /* '/Bus Assignment' */ + mavlink_gps_rtcm_data_t mav_gps_rtcm_data;/* '/mav_gps_rtcm_data' */ + mavlink_ins2_t BusAssignment_p; /* '/Bus Assignment' */ + mavlink_ins1_t BusAssignment_i4; /* '/Bus Assignment' */ TrajGen UnitDelay; /* '/Unit Delay' */ - mavlink_serial_control_t send_echo; /* '/Chart_send_serial_control' */ - mavlink_serial_control_t mav_serial_control;/* '/mav_serial_control' */ - mavlink_serial_control_t ser_echo; /* '/traffic_ctrl' */ + mavlink_serial_control_t send_echo; /* '/Chart_send_serial_control' */ + mavlink_serial_control_t mav_serial_control;/* '/mav_serial_control' */ + mavlink_serial_control_t ser_echo; /* '/traffic_ctrl' */ mavlink_bmustate_t BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1; - mavlink_autopilot_version_t ap_ver; /* '/send_auto_hw' */ - mavlink_autopilot_version_t ap_ver_d;/* '/traffic_ctrl' */ - mavlink_gps_raw_int_t gps; /* '/Chart' */ - mavlink_mission_item_int_t mav_mission_item_int;/* '/mav_mission_item_int' */ - mavlink_mission_item_int_t send_req; /* '/Chart' */ - mavlink_mission_item_int_t send_item;/* '/Chart_proc_mission_req' */ - mavlink_mission_item_int_t mission_item_int;/* '/traffic_ctrl' */ - mavlink_servo_output_raw_t servos; /* '/Chart' */ - mavlink_rc_channels_override_t mav_rc_channels_override;/* '/mav_rc_channels_override' */ - mavlink_command_long_t mav_command_long;/* '/mav_command_long' */ - ECU2AP SFunction; /* '/S-Function' */ - mavlink_sys_status_t sys_status; /* '/Chart' */ - mavlink_param_value_t msg_d; /* '/proc_param_value' */ - mavlink_param_value_t param_val; /* '/traffic_ctrl' */ - mavlink_param_set_t mav_param_set; /* '/mav_param_set' */ - mavlink_nav_controller_output_t nav; /* '/Chart' */ - mavlink_global_position_int_t ins; /* '/Chart' */ - mavlink_emb_atmo_com_t atmos; /* '/Chart' */ + mavlink_autopilot_version_t ap_ver; /* '/send_auto_hw' */ + mavlink_autopilot_version_t ap_ver_d;/* '/traffic_ctrl' */ + mavlink_gps_raw_int_t gps; /* '/Chart' */ + mavlink_mission_item_int_t mav_mission_item_int;/* '/mav_mission_item_int' */ + mavlink_mission_item_int_t send_req; /* '/Chart' */ + mavlink_mission_item_int_t send_item;/* '/Chart_proc_mission_req' */ + mavlink_mission_item_int_t mission_item_int;/* '/traffic_ctrl' */ + mavlink_servo_output_raw_t servos; /* '/Chart' */ + mavlink_rc_channels_override_t mav_rc_channels_override;/* '/mav_rc_channels_override' */ + mavlink_command_long_t mav_command_long;/* '/mav_command_long' */ + ECU2AP SFunction; /* '/S-Function' */ + mavlink_sys_status_t sys_status; /* '/Chart' */ + mavlink_param_value_t msg_d; /* '/proc_param_value' */ + mavlink_param_value_t param_val; /* '/traffic_ctrl' */ + mavlink_param_set_t mav_param_set; /* '/mav_param_set' */ + mavlink_nav_controller_output_t nav; /* '/Chart' */ + mavlink_global_position_int_t ins; /* '/Chart' */ + mavlink_emb_atmo_com_t atmos; /* '/Chart' */ mavlink_ccmstate_t BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1_h; - mavlink_attitude_t att; /* '/Chart' */ - CommandMsg msg_o; /* '/send_cmd' */ - CommandMsg cmd; /* '/mission_proc' */ - mavlink_vfr_hud_t hud; /* '/Chart' */ - mavlink_status_t mav_status; /* '/mav_parser' */ - mavlink_param_request_read_t mav_param_req_read;/* '/mav_param_req_read' */ - mavlink_scaled_pressure_t pres; /* '/Chart' */ - mavlink_heartbeat_t heartbeat; /* '/Chart' */ - mavlink_command_ack_t command_ack; /* '/traffic_ctrl' */ - mavlink_command_ack_t send_ack; /* '/Chart_send_ack' */ - mavlink_set_mode_t mav_set_mode; /* '/mav_set_mode' */ - mavlink_param_request_list_t mav_param_request_list;/* '/mav_param_request_list' */ - mavlink_mission_set_current_t mav_mission_set_current;/* '/mav_mission_set_current' */ - mavlink_mission_request_t mav_mission_request;/* '/mav_mission_request' */ - mavlink_mission_request_list_t mav_mission_request_list;/* '/mav_mission_request_list' */ - mavlink_mission_request_int_t mission_req_int;/* '/Chart_proc_mission_upload' */ - mavlink_mission_request_int_t mission_req_int_a;/* '/traffic_ctrl' */ - mavlink_mission_current_t cur; /* '/req_cur' */ - mavlink_mission_current_t mission_cur;/* '/traffic_ctrl' */ - mavlink_mission_count_t mav_mission_count;/* '/mav_mission_count' */ - mavlink_mission_count_t send_cnt; /* '/Chart' */ - mavlink_mission_count_t send_cnt_l; /* '/Chart_proc_mission_req_lst' */ - mavlink_mission_count_t mission_cnt; /* '/traffic_ctrl' */ - mavlink_mission_clear_all_t mav_mission_clear_all;/* '/mav_mission_clear_all' */ - mavlink_mission_ack_t mission_ack; /* '/Chart_proc_mission_upload' */ - mavlink_mission_ack_t ack; /* '/merge_ack' */ - mavlink_mission_ack_t send_ack_h; /* '/Chart_proc_mission_clr_all' */ - mavlink_mission_ack_t send_ack_d; /* '/Chart_proc_mission_req' */ - mavlink_mission_ack_t mission_ack_g; /* '/traffic_ctrl' */ - mavlink_extended_sys_state_t ext_sys_stat;/* '/Chart' */ - real_T Sum[3]; /* '/Sum' */ - real_T p1[3]; /* '/p1' */ - real_T Product2; /* '/Product2' */ - real_T Product3; /* '/Product3' */ - real_T Sum2; /* '/Sum2' */ - real_T sqrt_f; /* '/sqrt' */ - real_T UnitConversion[2]; /* '/Unit Conversion' */ - real_T Merge_g[4]; /* '/Merge' */ - real_T q[4]; /* '/q' */ - real_T Product; /* '/Product' */ - real_T Product1; /* '/Product1' */ - real_T Product2_i; /* '/Product2' */ - real_T Product3_k; /* '/Product3' */ - real_T Sum_e; /* '/Sum' */ - real_T Product_n; /* '/Product' */ - real_T Product3_h; /* '/Product3' */ - real_T Product1_o; /* '/Product1' */ - real_T Product2_e; /* '/Product2' */ - real_T Product2_h; /* '/Product2' */ - real_T Product1_m; /* '/Product1' */ - real_T Product3_b; /* '/Product3' */ - real_T Product_o; /* '/Product' */ - real_T Product3_m; /* '/Product3' */ - real_T Product2_k; /* '/Product2' */ - real_T Sum_j; /* '/Sum' */ - real_T Product1_b; /* '/Product1' */ - real_T Product2_eu; /* '/Product2' */ - real_T Sum_l; /* '/Sum' */ - real_T Product3_n; /* '/Product3' */ - real_T Product2_p; /* '/Product2' */ - real_T Sum_d; /* '/Sum' */ - real_T Product3_a; /* '/Product3' */ - real_T Product2_i3; /* '/Product2' */ - real_T Product1_e; /* '/Product1' */ - real_T Product_op; /* '/Product' */ - real_T Product1_i; /* '/Product1' */ - real_T Product2_c; /* '/Product2' */ - real_T Sum_dx; /* '/Sum' */ - real_T Product1_d; /* '/Product1' */ - real_T Product2_iv; /* '/Product2' */ - real_T Sum_i; /* '/Sum' */ - real_T Product1_f; /* '/Product1' */ - real_T Product2_k3; /* '/Product2' */ - real_T Sum_f; /* '/Sum' */ - real_T Product3_o; /* '/Product3' */ - real_T Product2_n; /* '/Product2' */ - real_T Product1_id; /* '/Product1' */ - real_T Product_d; /* '/Product' */ - real_T VectorConcatenate[9]; /* '/Vector Concatenate' */ - real_T u1u4; /* '/u(1)*u(4)' */ - real_T u3u4; /* '/u(3)*u(4)' */ - real_T u1u2; /* '/u(1)*u(2)' */ - real_T u2u3; /* '/u(2)*u(3)' */ - real_T VectorConcatenate_g[9]; /* '/Vector Concatenate' */ - real_T MathFunction2[9]; /* '/Math Function2' */ - real_T Product4[9]; /* '/Product4' */ - real_T sincos_o1; /* '/sincos' */ - real_T sincos_o2; /* '/sincos' */ - real_T Product3_a1; /* '/Product3' */ - real_T Product4_g; /* '/Product4' */ - real_T Sum2_m; /* '/Sum2' */ - real_T Product5; /* '/Product5' */ - real_T Product6; /* '/Product6' */ - real_T Sum3; /* '/Sum3' */ + mavlink_attitude_t att; /* '/Chart' */ + CommandMsg msg_o; /* '/send_cmd' */ + CommandMsg cmd; /* '/mission_proc' */ + mavlink_vfr_hud_t hud; /* '/Chart' */ + mavlink_status_t mav_status; /* '/mav_parser' */ + mavlink_param_request_read_t mav_param_req_read;/* '/mav_param_req_read' */ + mavlink_scaled_pressure_t pres; /* '/Chart' */ + mavlink_heartbeat_t heartbeat; /* '/Chart' */ + mavlink_command_ack_t command_ack; /* '/traffic_ctrl' */ + mavlink_command_ack_t send_ack; /* '/Chart_send_ack' */ + mavlink_set_mode_t mav_set_mode; /* '/mav_set_mode' */ + mavlink_param_request_list_t mav_param_request_list;/* '/mav_param_request_list' */ + mavlink_mission_set_current_t mav_mission_set_current;/* '/mav_mission_set_current' */ + mavlink_mission_request_t mav_mission_request;/* '/mav_mission_request' */ + mavlink_mission_request_list_t mav_mission_request_list;/* '/mav_mission_request_list' */ + mavlink_mission_request_int_t mission_req_int;/* '/Chart_proc_mission_upload' */ + mavlink_mission_request_int_t mission_req_int_a;/* '/traffic_ctrl' */ + mavlink_mission_current_t cur; /* '/req_cur' */ + mavlink_mission_current_t mission_cur;/* '/traffic_ctrl' */ + mavlink_mission_count_t mav_mission_count;/* '/mav_mission_count' */ + mavlink_mission_count_t send_cnt; /* '/Chart' */ + mavlink_mission_count_t send_cnt_l; /* '/Chart_proc_mission_req_lst' */ + mavlink_mission_count_t mission_cnt; /* '/traffic_ctrl' */ + mavlink_mission_clear_all_t mav_mission_clear_all;/* '/mav_mission_clear_all' */ + mavlink_mission_ack_t mission_ack; /* '/Chart_proc_mission_upload' */ + mavlink_mission_ack_t ack; /* '/merge_ack' */ + mavlink_mission_ack_t send_ack_h; /* '/Chart_proc_mission_clr_all' */ + mavlink_mission_ack_t send_ack_d; /* '/Chart_proc_mission_req' */ + mavlink_mission_ack_t mission_ack_g; /* '/traffic_ctrl' */ + mavlink_extended_sys_state_t ext_sys_stat;/* '/Chart' */ + real_T Sum[3]; /* '/Sum' */ + real_T p1[3]; /* '/p1' */ + real_T Product2; /* '/Product2' */ + real_T Product3; /* '/Product3' */ + real_T Sum2; /* '/Sum2' */ + real_T sqrt_f; /* '/sqrt' */ + real_T UnitConversion[2]; /* '/Unit Conversion' */ + real_T Merge_g[4]; /* '/Merge' */ + real_T q[4]; /* '/q' */ + real_T Product; /* '/Product' */ + real_T Product1; /* '/Product1' */ + real_T Product2_i; /* '/Product2' */ + real_T Product3_k; /* '/Product3' */ + real_T Sum_e; /* '/Sum' */ + real_T Product_n; /* '/Product' */ + real_T Product3_h; /* '/Product3' */ + real_T Product1_o; /* '/Product1' */ + real_T Product2_e; /* '/Product2' */ + real_T Product2_h; /* '/Product2' */ + real_T Product1_m; /* '/Product1' */ + real_T Product3_b; /* '/Product3' */ + real_T Product_o; /* '/Product' */ + real_T Product3_m; /* '/Product3' */ + real_T Product2_k; /* '/Product2' */ + real_T Sum_j; /* '/Sum' */ + real_T Product1_b; /* '/Product1' */ + real_T Product2_eu; /* '/Product2' */ + real_T Sum_l; /* '/Sum' */ + real_T Product3_n; /* '/Product3' */ + real_T Product2_p; /* '/Product2' */ + real_T Sum_d; /* '/Sum' */ + real_T Product3_a; /* '/Product3' */ + real_T Product2_i3; /* '/Product2' */ + real_T Product1_e; /* '/Product1' */ + real_T Product_op; /* '/Product' */ + real_T Product1_i; /* '/Product1' */ + real_T Product2_c; /* '/Product2' */ + real_T Sum_dx; /* '/Sum' */ + real_T Product1_d; /* '/Product1' */ + real_T Product2_iv; /* '/Product2' */ + real_T Sum_i; /* '/Sum' */ + real_T Product1_f; /* '/Product1' */ + real_T Product2_k3; /* '/Product2' */ + real_T Sum_f; /* '/Sum' */ + real_T Product3_o; /* '/Product3' */ + real_T Product2_n; /* '/Product2' */ + real_T Product1_id; /* '/Product1' */ + real_T Product_d; /* '/Product' */ + real_T VectorConcatenate[9]; /* '/Vector Concatenate' */ + real_T u1u4; /* '/u(1)*u(4)' */ + real_T u3u4; /* '/u(3)*u(4)' */ + real_T u1u2; /* '/u(1)*u(2)' */ + real_T u2u3; /* '/u(2)*u(3)' */ + real_T VectorConcatenate_g[9]; /* '/Vector Concatenate' */ + real_T MathFunction2[9]; /* '/Math Function2' */ + real_T Product4[9]; /* '/Product4' */ + real_T sincos_o1; /* '/sincos' */ + real_T sincos_o2; /* '/sincos' */ + real_T Product3_a1; /* '/Product3' */ + real_T Product4_g; /* '/Product4' */ + real_T Sum2_m; /* '/Sum2' */ + real_T Product5; /* '/Product5' */ + real_T Product6; /* '/Product6' */ + real_T Sum3; /* '/Sum3' */ real_T uDLookupTable; /* '/1-D Lookup Table' */ real_T uDLookupTable1; /* '/1-D Lookup Table1' */ real_T soundspeed_bias; /* '/1-D Lookup Table2' */ real_T Ps_bias; /* '/1-D Lookup Table3' */ real_T rho_bias; /* '/1-D Lookup Table4' */ - real_T MathFunction1[9]; /* '/Math Function1' */ - real_T ubvbwb[3]; /* '/ub,vb,wb' */ - real_T Product1_i2[3]; /* '/Product1' */ - real_T Ve[3]; /* '/Product1' */ - real_T Selector1[3]; /* '/Selector1' */ - real_T Selector2[2]; /* '/Selector2' */ - real_T Selector3[2]; /* '/Selector3' */ - real_T VectorConcatenate_l[7]; /* '/Vector Concatenate' */ - real_T Merge_b[3]; /* '/Merge' */ + real_T MathFunction1[9]; /* '/Math Function1' */ + real_T ubvbwb[3]; /* '/ub,vb,wb' */ + real_T Product1_i2[3]; /* '/Product1' */ + real_T Ve[3]; /* '/Product1' */ + real_T Selector1[3]; /* '/Selector1' */ + real_T Selector2[2]; /* '/Selector2' */ + real_T Selector3[2]; /* '/Selector3' */ + real_T VectorConcatenate_l[7]; /* '/Vector Concatenate' */ + real_T Merge_b[3]; /* '/Merge' */ real_T TmpSignalConversionAtProduct4Inport2[3]; - real_T Product3_nb[3]; /* '/Product3' */ - real_T MathFunction2_h[9]; /* '/Math Function2' */ - real_T Product3_ad[3]; /* '/Product3' */ - real_T Product_p; /* '/Product' */ - real_T Sum2_j; /* '/Sum2' */ - real_T N; /* '/N' */ - real_T Sum4; /* '/Sum4' */ - real_T w1; /* '/w1' */ - real_T M; /* '/M' */ - real_T Sum1; /* '/Sum1' */ - real_T w2; /* '/w2' */ - real_T Gain; /* '/Gain' */ - real_T w3; /* '/w3' */ - real_T Gain1; /* '/Gain1' */ - real_T TmpSignalConversionAtProduct2Inport2[3];/* '/w_ned' */ - real_T Product2_hc[3]; /* '/Product2' */ - real_T Sum3_d[3]; /* '/Sum3' */ - real_T Sum2_g[3]; /* '/Sum2' */ - real_T pqr[3]; /* '/p,q,r ' */ + real_T Product3_nb[3]; /* '/Product3' */ + real_T MathFunction2_h[9]; /* '/Math Function2' */ + real_T Product3_ad[3]; /* '/Product3' */ + real_T Product_p; /* '/Product' */ + real_T Sum2_j; /* '/Sum2' */ + real_T N; /* '/N' */ + real_T Sum4; /* '/Sum4' */ + real_T w1; /* '/w1' */ + real_T M; /* '/M' */ + real_T Sum1; /* '/Sum1' */ + real_T w2; /* '/w2' */ + real_T Gain; /* '/Gain' */ + real_T w3; /* '/w3' */ + real_T Gain1; /* '/Gain1' */ + real_T TmpSignalConversionAtProduct2Inport2[3];/* '/w_ned' */ + real_T Product2_hc[3]; /* '/Product2' */ + real_T Sum3_d[3]; /* '/Sum3' */ + real_T Sum2_g[3]; /* '/Sum2' */ + real_T pqr[3]; /* '/p,q,r ' */ real_T VWb[3]; /* '/Sum2' */ real_T Product_c; /* '/Product' */ real_T Product1_n; /* '/Product1' */ @@ -502,67 +502,60 @@ typedef struct { real_T Sum1_f; /* '/Sum1' */ real_T Product3_f; /* '/Product3' */ real_T mass; /* '/Constant1' */ - real_T Integrator; /* '/Integrator' */ - real_T table1D_mass; /* '/table1D_mass' */ + real_T Integrator; /* '/Integrator' */ + real_T table1D_mass; /* '/table1D_mass' */ real_T mass_e; /* '/Sum' */ - real_T if_p[3]; /* '/if' */ - real_T product; /* '/product' */ - real_T product_c; /* '/product' */ - real_T product_g; /* '/product' */ - real_T add[9]; /* '/add' */ - real_T MatrixConcatenation[18]; /* '/Matrix Concatenation' */ - real_T Selector2_j[9]; /* '/Selector2' */ + real_T if_k[3]; /* '/if' */ + real_T product; /* '/product' */ + real_T product_b; /* '/product' */ + real_T product_j; /* '/product' */ + real_T add[9]; /* '/add' */ + real_T MatrixConcatenation[18]; /* '/Matrix Concatenation' */ + real_T Selector2_j[9]; /* '/Selector2' */ real_T Product4_a; /* '/Product4' */ real_T u2rhoV2; /* '/1//2rhoV^2' */ real_T Product2_b; /* '/Product2' */ - real_T product_j; /* '/product' */ + real_T product_h; /* '/product' */ real_T saturation; /* '/saturation' */ + real_T saturation_a; /* '/saturation' */ real_T product_n; /* '/product' */ - real_T saturation_c; /* '/saturation' */ + real_T saturation_b; /* '/saturation' */ + real_T saturation_i; /* '/saturation' */ real_T dal; /* '/divide3' */ - real_T Integrator_p; /* '/Integrator' */ + real_T Integrator_p; /* '/Integrator' */ real_T Backlash3; /* '/Backlash3' */ real_T dar; /* '/divide4' */ - real_T Integrator_j; /* '/Integrator' */ + real_T Integrator_j; /* '/Integrator' */ real_T Backlash4; /* '/Backlash4' */ real_T Sum2_k; /* '/Sum2' */ real_T da; /* '/Gain2' */ - real_T product_cy; /* '/product' */ + real_T product_i; /* '/product' */ real_T del; /* '/divide' */ - real_T Integrator_a; /* '/Integrator' */ + real_T Integrator_a; /* '/Integrator' */ real_T Backlash; /* '/Backlash' */ real_T der; /* '/divide1' */ - real_T Integrator_g; /* '/Integrator' */ + real_T Integrator_g; /* '/Integrator' */ real_T Backlash1; /* '/Backlash1' */ real_T Sum_g; /* '/Sum' */ real_T de; /* '/Gain' */ - real_T product_a; /* '/product' */ - real_T product_h; /* '/product' */ + real_T product_c; /* '/product' */ + real_T product_m; /* '/product' */ real_T Backlash2; /* '/Backlash2' */ - real_T product_m; /* '/product' */ + real_T product_b5; /* '/product' */ real_T pqr_n[3]; /* '/Sum1' */ - real_T saturation_e; /* '/saturation' */ - real_T product_p; /* '/product' */ + real_T saturation_g; /* '/saturation' */ + real_T product_g; /* '/product' */ real_T product1; /* '/product1' */ real_T product2; /* '/product2' */ - real_T saturation_a; /* '/saturation' */ - real_T saturation_k; /* '/saturation' */ - real_T add_g; /* '/add' */ - real_T product_m4; /* '/product' */ - real_T Internal; /* '/Internal' */ - real_T product1_p; /* '/product1' */ - real_T Internal_d; /* '/Internal' */ - real_T product_k; /* '/product' */ - real_T product2_p; /* '/product2' */ - real_T Internal_p; /* '/Internal' */ - real_T product_e; /* '/product' */ + real_T add_h; /* '/add' */ + real_T product_iw; /* '/product' */ + real_T product_k; /* '/product' */ + real_T product1_g; /* '/product1' */ + real_T product_bo; /* '/product' */ + real_T product2_n; /* '/product2' */ real_T product3; /* '/product3' */ - real_T Internal_c; /* '/Internal' */ - real_T Internal_p2; /* '/Internal' */ - real_T product5; /* '/product5' */ - real_T product6; /* '/product6' */ - real_T add_a; /* '/add' */ - real_T add_gm; /* '/add' */ + real_T add_d; /* '/add' */ + real_T add_a; /* '/add' */ real_T Merge_h[3]; /* '/Merge' */ real_T Product_j[3]; /* '/Product' */ real_T Sum_jo[3]; /* '/Sum' */ @@ -573,43 +566,28 @@ typedef struct { real_T ixk; /* '/i x k' */ real_T jxi; /* '/j x i' */ real_T Sum_p[3]; /* '/Sum' */ - real_T product_ga; /* '/product' */ - real_T Internal_m; /* '/Internal' */ - real_T product1_e; /* '/product1' */ - real_T Internal_a; /* '/Internal' */ - real_T product2_n; /* '/product2' */ - real_T Internal_o; /* '/Internal' */ - real_T product3_p; /* '/product3' */ - real_T Internal_d2; /* '/Internal' */ - real_T Internal_ag; /* '/Internal' */ - real_T product5_l; /* '/product5' */ - real_T product6_h; /* '/product6' */ - real_T add_d; /* '/add' */ - real_T product_ja; /* '/product' */ - real_T Internal_oz; /* '/Internal' */ - real_T product1_k; /* '/product1' */ - real_T Internal_i; /* '/Internal' */ - real_T Internal_n; /* '/Internal' */ - real_T product3_d; /* '/product3' */ - real_T add_a4; /* '/add' */ - real_T product_kh; /* '/product' */ - real_T Internal_f; /* '/Internal' */ - real_T product1_h; /* '/product1' */ - real_T Internal_cp; /* '/Internal' */ - real_T product2_h; /* '/product2' */ - real_T Internal_h; /* '/Internal' */ - real_T product3_i; /* '/product3' */ - real_T Internal_if; /* '/Internal' */ - real_T Internal_l; /* '/Internal' */ - real_T product5_i; /* '/product5' */ - real_T product6_e; /* '/product6' */ - real_T add_n; /* '/add' */ + real_T product_kc; /* '/product' */ + real_T product1_i; /* '/product1' */ + real_T product2_i; /* '/product2' */ + real_T product3_f; /* '/product3' */ + real_T product4; /* '/product4' */ + real_T add_dy; /* '/add' */ + real_T product_ck; /* '/product' */ + real_T product1_o; /* '/product1' */ + real_T product2_p; /* '/product2' */ + real_T add_dp; /* '/add' */ + real_T product_mx; /* '/product' */ + real_T product1_j; /* '/product1' */ + real_T product2_ng; /* '/product2' */ + real_T product3_g; /* '/product3' */ + real_T product4_j; /* '/product4' */ + real_T add_c; /* '/add' */ real_T Product1_h[3]; /* '/Product1' */ real_T Product3_mg[3]; /* '/Product3' */ real_T Sum1_a[3]; /* '/Sum1' */ - real_T table1D_thrAB_map; /* '/table1D_thrAB_map' */ - real_T table1D_thr_map; /* '/table1D_thr_map' */ - real_T subtract; /* '/subtract' */ + real_T table1D_thrAB_map; /* '/table1D_thrAB_map' */ + real_T table1D_thr_map; /* '/table1D_thr_map' */ + real_T subtract; /* '/subtract' */ real_T engine_select; /* '/Switch' */ real_T Product_ci; /* '/Product' */ real_T Sum_m; /* '/Sum' */ @@ -623,170 +601,166 @@ typedef struct { real_T sin_l; /* '/sin' */ real_T abs_f; /* '/abs' */ real_T product1_f; /* '/product1' */ - real_T product_m4o; /* '/product' */ + real_T product_m4; /* '/product' */ real_T Add[6]; /* '/Add' */ - real_T Selector1_h[9]; /* '/Selector1' */ - real_T Product_f[3]; /* '/Product' */ - real_T Selector[9]; /* '/Selector' */ - real_T Product_jv[3]; /* '/Product' */ - real_T jxk_p; /* '/j x k' */ - real_T kxi_e; /* '/k x i' */ - real_T ixj_i; /* '/i x j' */ - real_T kxj_a; /* '/k x j' */ - real_T ixk_l; /* '/i x k' */ - real_T jxi_c; /* '/j x i' */ - real_T Sum_pn[3]; /* '/Sum' */ - real_T Sum2_o[3]; /* '/Sum2' */ - real_T Product2_bi[3]; /* '/Product2' */ - real_T Reshape[3]; /* '/Reshape' */ - real_T Accels[3]; /* '/Divide' */ + real_T Selector1_h[9]; /* '/Selector1' */ + real_T Product_f[3]; /* '/Product' */ + real_T Selector[9]; /* '/Selector' */ + real_T Product_jv[3]; /* '/Product' */ + real_T jxk_p; /* '/j x k' */ + real_T kxi_e; /* '/k x i' */ + real_T ixj_i; /* '/i x j' */ + real_T kxj_a; /* '/k x j' */ + real_T ixk_l; /* '/i x k' */ + real_T jxi_c; /* '/j x i' */ + real_T Sum_pn[3]; /* '/Sum' */ + real_T Sum2_o[3]; /* '/Sum2' */ + real_T Product2_bi[3]; /* '/Product2' */ + real_T Reshape[3]; /* '/Reshape' */ + real_T Accels[3]; /* '/Divide' */ real_T v_g; /* '/Sqrt' */ real_T psi_t; /* '/Trigonometric Function' */ real_T product_o; /* '/product' */ - real_T product_mc; /* '/product' */ - real_T product1_er; /* '/product1' */ - real_T add_g5; /* '/add' */ - real_T Product_j1; /* '/Product' */ - real_T Product1_hk; /* '/Product1' */ - real_T An; /* '/An' */ - real_T agl_m; /* '/Sum1' */ + real_T product_cl; /* '/product' */ + real_T product1_d; /* '/product1' */ + real_T add_m; /* '/add' */ + real_T Product_j1; /* '/Product' */ + real_T Product1_hk; /* '/Product1' */ + real_T An; /* '/An' */ + real_T agl_m; /* '/Sum1' */ real_T Merge1; /* '/Merge1' */ - real_T Integrator_c; /* '/Integrator' */ - real_T Sum_o; /* '/Sum' */ - real_T VectorConcatenate_b[9]; /* '/Vector Concatenate' */ - real_T MathFunction[9]; /* '/Math Function' */ - real_T Product1_oy[9]; /* '/Product1' */ - real_T MathFunction_f[9]; /* '/Math Function' */ - real_T MathFunction1_h[9]; /* '/Math Function1' */ - real_T MathFunction2_o[9]; /* '/Math Function2' */ - real_T Sum4_p[3]; /* '/Sum4' */ - real_T Product_g; /* '/Product' */ - real_T Product1_a; /* '/Product1' */ - real_T Product2_b5; /* '/Product2' */ - real_T Product3_p; /* '/Product3' */ - real_T Sum_c; /* '/Sum' */ - real_T Product_m; /* '/Product' */ - real_T Product1_p; /* '/Product1' */ - real_T Product2_ph; /* '/Product2' */ - real_T Product3_h0; /* '/Product3' */ - real_T TmpSignalConversionAtqInport1[4];/* '/qdot' */ - real_T Product5_f[3]; /* '/Product5' */ - real_T Product4_i[3]; /* '/Product4' */ - real_T Product2_o[3]; /* '/Product2' */ - real_T Product1_g[3]; /* '/Product1' */ - real_T p[3]; /* '/p' */ - real_T jxk_d; /* '/j x k' */ - real_T kxi_c; /* '/k x i' */ - real_T ixj_c; /* '/i x j' */ - real_T kxj_m; /* '/k x j' */ - real_T ixk_b; /* '/i x k' */ - real_T jxi_g; /* '/j x i' */ - real_T Sum_c3[3]; /* '/Sum' */ - real_T Sum2_d[3]; /* '/Sum2' */ - real_T Product2_biv[3]; /* '/Product2' */ - real_T Sum_a[3]; /* '/Sum' */ - real_T SumofElements[3]; /* '/Sum of Elements' */ - real_T Sum_fv[3]; /* '/Sum' */ - real_T Product_du[3]; /* '/Product' */ - real_T Product2_ez[3]; /* '/Product2' */ - real_T Sum2_kp[3]; /* '/Sum2' */ - real_T jxk_di; /* '/j x k' */ - real_T kxi_d; /* '/k x i' */ - real_T ixj_a; /* '/i x j' */ - real_T kxj_i; /* '/k x j' */ - real_T ixk_a; /* '/i x k' */ - real_T jxi_gn; /* '/j x i' */ - real_T Sum_iq[3]; /* '/Sum' */ - real_T jxk_h; /* '/j x k' */ - real_T kxi_m; /* '/k x i' */ - real_T ixj_ia; /* '/i x j' */ - real_T kxj_n; /* '/k x j' */ - real_T ixk_h; /* '/i x k' */ - real_T jxi_d; /* '/j x i' */ - real_T Sum_n[3]; /* '/Sum' */ - real_T jxk_c; /* '/j x k' */ - real_T kxi_l; /* '/k x i' */ - real_T ixj_k; /* '/i x j' */ - real_T kxj_e; /* '/k x j' */ - real_T ixk_i; /* '/i x k' */ - real_T jxi_h; /* '/j x i' */ - real_T Sum_h[3]; /* '/Sum' */ - real_T Product1_dy[3]; /* '/Product1' */ - real_T Sum_e4[3]; /* '/Sum' */ - real_T DeadZone[3]; /* '/Dead Zone' */ + real_T Integrator_c; /* '/Integrator' */ + real_T Sum_o; /* '/Sum' */ + real_T VectorConcatenate_b[9]; /* '/Vector Concatenate' */ + real_T MathFunction[9]; /* '/Math Function' */ + real_T Product1_oy[9]; /* '/Product1' */ + real_T MathFunction_f[9]; /* '/Math Function' */ + real_T MathFunction1_h[9]; /* '/Math Function1' */ + real_T MathFunction2_o[9]; /* '/Math Function2' */ + real_T Sum4_p[3]; /* '/Sum4' */ + real_T Product_g; /* '/Product' */ + real_T Product1_a; /* '/Product1' */ + real_T Product2_b5; /* '/Product2' */ + real_T Product3_p; /* '/Product3' */ + real_T Sum_c; /* '/Sum' */ + real_T Product_m; /* '/Product' */ + real_T Product1_p; /* '/Product1' */ + real_T Product2_ph; /* '/Product2' */ + real_T Product3_h0; /* '/Product3' */ + real_T TmpSignalConversionAtqInport1[4];/* '/qdot' */ + real_T Product5_f[3]; /* '/Product5' */ + real_T Product4_i[3]; /* '/Product4' */ + real_T Product2_o[3]; /* '/Product2' */ + real_T Product1_g[3]; /* '/Product1' */ + real_T p[3]; /* '/p' */ + real_T jxk_d; /* '/j x k' */ + real_T kxi_c; /* '/k x i' */ + real_T ixj_c; /* '/i x j' */ + real_T kxj_m; /* '/k x j' */ + real_T ixk_b; /* '/i x k' */ + real_T jxi_g; /* '/j x i' */ + real_T Sum_c3[3]; /* '/Sum' */ + real_T Sum2_d[3]; /* '/Sum2' */ + real_T Product2_biv[3]; /* '/Product2' */ + real_T Sum_a[3]; /* '/Sum' */ + real_T SumofElements[3]; /* '/Sum of Elements' */ + real_T Sum_fv[3]; /* '/Sum' */ + real_T Product_du[3]; /* '/Product' */ + real_T Product2_ez[3]; /* '/Product2' */ + real_T Sum2_kp[3]; /* '/Sum2' */ + real_T jxk_di; /* '/j x k' */ + real_T kxi_d; /* '/k x i' */ + real_T ixj_a; /* '/i x j' */ + real_T kxj_i; /* '/k x j' */ + real_T ixk_a; /* '/i x k' */ + real_T jxi_gn; /* '/j x i' */ + real_T Sum_iq[3]; /* '/Sum' */ + real_T jxk_h; /* '/j x k' */ + real_T kxi_m; /* '/k x i' */ + real_T ixj_ia; /* '/i x j' */ + real_T kxj_n; /* '/k x j' */ + real_T ixk_h; /* '/i x k' */ + real_T jxi_d; /* '/j x i' */ + real_T Sum_n[3]; /* '/Sum' */ + real_T jxk_c; /* '/j x k' */ + real_T kxi_l; /* '/k x i' */ + real_T ixj_k; /* '/i x j' */ + real_T kxj_e; /* '/k x j' */ + real_T ixk_i; /* '/i x k' */ + real_T jxi_h; /* '/j x i' */ + real_T Sum_h[3]; /* '/Sum' */ + real_T Product1_dy[3]; /* '/Product1' */ + real_T Sum_e4[3]; /* '/Sum' */ + real_T DeadZone[3]; /* '/Dead Zone' */ real_T Switch; /* '/Switch' */ - real_T Gain_l; /* '/Gain' */ - real_T Sum1_i; /* '/Sum1' */ - real_T Gain1_b; /* '/Gain1' */ - real_T Integrator1; /* '/Integrator1' */ - real_T Sum_hi; /* '/Sum' */ - real_T Gain_e; /* '/Gain' */ - real_T Sum1_e; /* '/Sum1' */ - real_T Gain1_d; /* '/Gain1' */ - real_T Integrator1_j; /* '/Integrator1' */ - real_T Sum_em; /* '/Sum' */ - real_T Gain_h; /* '/Gain' */ - real_T Sum1_l; /* '/Sum1' */ - real_T Gain1_m; /* '/Gain1' */ - real_T Integrator1_k; /* '/Integrator1' */ - real_T Sum_fn; /* '/Sum' */ - real_T Gain_b; /* '/Gain' */ - real_T Sum1_k; /* '/Sum1' */ - real_T Gain1_k; /* '/Gain1' */ - real_T Integrator1_d; /* '/Integrator1' */ - real_T Sum_cy; /* '/Sum' */ - real_T Gain_lj; /* '/Gain' */ - real_T product4; /* '/product4' */ - real_T product4_k; /* '/product4' */ - real_T product4_a; /* '/product4' */ - real_T product2_nk; /* '/product2' */ + real_T Gain_l; /* '/Gain' */ + real_T Sum1_i; /* '/Sum1' */ + real_T Gain1_b; /* '/Gain1' */ + real_T Integrator1; /* '/Integrator1' */ + real_T Sum_hi; /* '/Sum' */ + real_T Gain_e; /* '/Gain' */ + real_T Sum1_e; /* '/Sum1' */ + real_T Gain1_d; /* '/Gain1' */ + real_T Integrator1_j; /* '/Integrator1' */ + real_T Sum_em; /* '/Sum' */ + real_T Gain_h; /* '/Gain' */ + real_T Sum1_l; /* '/Sum1' */ + real_T Gain1_m; /* '/Gain1' */ + real_T Integrator1_k; /* '/Integrator1' */ + real_T Sum_fn; /* '/Sum' */ + real_T Gain_b; /* '/Gain' */ + real_T Sum1_k; /* '/Sum1' */ + real_T Gain1_k; /* '/Gain1' */ + real_T Integrator1_d; /* '/Integrator1' */ + real_T Sum_cy; /* '/Sum' */ + real_T Gain_lj; /* '/Gain' */ real_T TmpSignalConversionAtBytePackInport2[8]; - real_T boost_time; /* '/Unit Delay' */ - real_T Integrator_jc; /* '/Integrator' */ - real_T In1; /* '/In1' */ - real_T In1_i; /* '/In1' */ - real_T In1_m; /* '/In1' */ - real_T In1_d; /* '/In1' */ - real_T In1_o; /* '/In1' */ + real_T boost_time; /* '/Unit Delay' */ + real_T Integrator_jc; /* '/Integrator' */ + real_T In1; /* '/In1' */ + real_T In1_i; /* '/In1' */ + real_T In1_m; /* '/In1' */ + real_T In1_d; /* '/In1' */ + real_T In1_o; /* '/In1' */ real_T TmpSignalConversionAtDiscreteTransferFcnInport2[3]; real_T TmpSignalConversionAtDiscreteTransferFcnInport3[3]; real_T TmpSignalConversionAtDiscreteTransferFcnInport2_b[3]; real_T TmpSignalConversionAtDiscreteTransferFcnInport3_n[3]; - real_T SignalCopy; /* '/Signal Copy' */ - real_T SignalCopy1; /* '/Signal Copy1' */ - real_T SignalCopy2; /* '/Signal Copy2' */ - real_T alt_pres; /* '/Data Type Conversion1' */ - real_T SFunction_c; /* '/S-Function' */ - real_T UnitDelay_d[3]; /* '/Unit Delay' */ - real_T TmpSignalConversionAtSFunctionInport27[3];/* '/EKF14s' */ - real_T LLA[3]; /* '/Byte Unpack' */ - real_T LLA_i[3]; /* '/Byte Unpack' */ - real_T Subtract1_o[3]; /* '/Subtract1' */ - real_T Subtract_j[3]; /* '/Subtract' */ - real_T Subtract2[3]; /* '/Subtract2' */ - real_T Sum_cq[6]; /* '/Sum' */ - real_T LocalForcestoBodyAxes[3]; /* '/Local Forces to Body Axes' */ - real_T Sum_jz[3]; /* '/Sum' */ - real_T LocalForcestoBodyAxes_d[3]; /* '/Local Forces to Body Axes' */ - real_T Sum_lo[3]; /* '/Sum' */ - real_T LocalForcestoBodyAxes_a[3]; /* '/Local Forces to Body Axes' */ - real_T Sum_in[3]; /* '/Sum' */ - real_T TrigonometricFunction4; /* '/Trigonometric Function4' */ - real_T subtract1; /* '/subtract1' */ - real_T subtract_d; /* '/subtract' */ - real_T add_j[3]; /* '/add' */ - real_T Sum_b[3]; /* '/Sum' */ - real_T Elementproduct[6]; /* '/Element product' */ - real_T Add3[3]; /* '/Add3' */ + real_T SignalCopy; /* '/Signal Copy' */ + real_T SignalCopy1; /* '/Signal Copy1' */ + real_T SignalCopy2; /* '/Signal Copy2' */ + real_T alt_pres; /* '/Data Type Conversion1' */ + real_T SFunction_c; /* '/S-Function' */ + real_T UnitDelay_d[3]; /* '/Unit Delay' */ + real_T TmpSignalConversionAtSFunctionInport27[3];/* '/EKF14s' */ + real_T LLA[3]; /* '/Byte Unpack' */ + real_T LLA_i[3]; /* '/Byte Unpack' */ + real_T Subtract1_o[3]; /* '/Subtract1' */ + real_T Subtract_j[3]; /* '/Subtract' */ + real_T Subtract2[3]; /* '/Subtract2' */ + real_T Sum_cq[6]; /* '/Sum' */ + real_T LocalForcestoBodyAxes[3]; /* '/Local Forces to Body Axes' */ + real_T Sum_jz[3]; /* '/Sum' */ + real_T LocalForcestoBodyAxes_d[3]; /* '/Local Forces to Body Axes' */ + real_T Sum_lo[3]; /* '/Sum' */ + real_T LocalForcestoBodyAxes_a[3]; /* '/Local Forces to Body Axes' */ + real_T Sum_in[3]; /* '/Sum' */ + real_T TrigonometricFunction4; /* '/Trigonometric Function4' */ + real_T subtract1; /* '/subtract1' */ + real_T subtract_o; /* '/subtract' */ + real_T add_ht[3]; /* '/add' */ + real_T Sum_b[3]; /* '/Sum' */ + real_T Elementproduct[6]; /* '/Element product' */ + real_T Add3[3]; /* '/Add3' */ real_T TmpSignalConversionAtSelectorInport1[3]; - real_T SFunction_o1; /* '/S-Function' */ - real_T SFunction_o2; /* '/S-Function' */ - real_T SFunction_o3; /* '/S-Function' */ - real_T SFunction_o4; /* '/S-Function' */ - real_T Selector2_d; /* '/Selector2' */ - real_T Selector1_c; /* '/Selector1' */ - real_T Selector_m; /* '/Selector' */ - real_T MatrixConcatenate[3]; /* '/Matrix Concatenate' */ + real_T SFunction_o1; /* '/S-Function' */ + real_T SFunction_o2; /* '/S-Function' */ + real_T SFunction_o3; /* '/S-Function' */ + real_T SFunction_o4; /* '/S-Function' */ + real_T Selector2_d; /* '/Selector2' */ + real_T Selector1_c; /* '/Selector1' */ + real_T Selector_m; /* '/Selector' */ + real_T MatrixConcatenate[3]; /* '/Matrix Concatenate' */ real_T Acc_g[3]; /* '/To Body Axes' */ real_T a; /* '/Sum' */ real_T AirDensity; /* '/Sum2' */ @@ -814,513 +788,519 @@ typedef struct { real_T Product2_cg; /* '/Product2' */ real_T Product3_c; /* '/Product3' */ real_T CZ; /* '/Sum1' */ - CommandAck ack_e; /* '/proc_cmd' */ + CommandAck ack_e; /* '/proc_cmd' */ uint32_T TmpSignalConversionAtBytePackInport1[2]; uint32_T TmpSignalConversionAtBytePackInport1_l[3]; uint32_T TmpSignalConversionAtBytePackInport1_lf[2]; uint32_T TmpSignalConversionAtBytePackInport4[3]; - uint32_T SFunction_g; /* '/S-Function' */ - uint32_T BitwiseAND; /* '/Bitwise AND' */ - uint32_T solution_status; /* '/status_mgr' */ - uint32_T solution_status_c; /* '/Merge' */ - uint32_T time_stamp; /* '/Byte Unpack' */ - uint32_T gps_pos_status; /* '/Byte Unpack' */ - uint32_T gps_vel_status; /* '/Byte Unpack' */ - uint32_T solution_status_b; /* '/Merge' */ - uint32_T time_stamp_o; /* '/Byte Unpack' */ - uint32_T gps_pos_status_d; /* '/Byte Unpack' */ - uint32_T gps_vel_status_m; /* '/Byte Unpack' */ - uint32_T fileno; /* '/Byte Unpack' */ - uint32_T filelen; /* '/Byte Unpack' */ - uint32_T fileno_h; /* '/Byte Unpack' */ - uint32_T filelen_o; /* '/Byte Unpack' */ + uint32_T SFunction_g; /* '/S-Function' */ + uint32_T BitwiseAND; /* '/Bitwise AND' */ + uint32_T solution_status; /* '/status_mgr' */ + uint32_T solution_status_c; /* '/Merge' */ + uint32_T time_stamp; /* '/Byte Unpack' */ + uint32_T gps_pos_status; /* '/Byte Unpack' */ + uint32_T gps_vel_status; /* '/Byte Unpack' */ + uint32_T solution_status_b; /* '/Merge' */ + uint32_T time_stamp_o; /* '/Byte Unpack' */ + uint32_T gps_pos_status_d; /* '/Byte Unpack' */ + uint32_T gps_vel_status_m; /* '/Byte Unpack' */ + uint32_T fileno; /* '/Byte Unpack' */ + uint32_T filelen; /* '/Byte Unpack' */ + uint32_T fileno_h; /* '/Byte Unpack' */ + uint32_T filelen_o; /* '/Byte Unpack' */ uint32_T value; - uint32_T OutportBuffer_InsertedFor_gps_vel_status_at_inport_0;/* '/Constant' */ - uint32_T OutportBuffer_InsertedFor_gps_pos_status_at_inport_0;/* '/Constant' */ + uint32_T OutportBuffer_InsertedFor_gps_vel_status_at_inport_0;/* '/Constant' */ + uint32_T OutportBuffer_InsertedFor_gps_pos_status_at_inport_0;/* '/Constant' */ real32_T TmpSignalConversionAtBytePackInport2_o[13]; real32_T TmpSignalConversionAtBytePackInport2_or[45]; real32_T TmpSignalConversionAtBytePackInport3[20]; - real32_T Gain_n; /* '/Gain' */ - real32_T Gain_le; /* '/Gain' */ - real32_T ByteUnpack; /* '/Byte Unpack' */ - real32_T param1; /* '/Chart_proc_mission_upload' */ - real32_T param2; /* '/Chart_proc_mission_upload' */ - real32_T param3; /* '/Chart_proc_mission_upload' */ - real32_T param4; /* '/Chart_proc_mission_upload' */ - real32_T z; /* '/Chart_proc_mission_upload' */ - real32_T param1_o; /* '/chat_get_mission_item' */ - real32_T param2_h; /* '/chat_get_mission_item' */ - real32_T param3_m; /* '/chat_get_mission_item' */ - real32_T param4_c; /* '/chat_get_mission_item' */ - real32_T z_n; /* '/chat_get_mission_item' */ - real32_T f; /* '/Chart_proc_param_set' */ - real32_T vn; /* '/Chart' */ - real32_T ve; /* '/Chart' */ - real32_T vn_h; /* '/Chart' */ - real32_T ve_o; /* '/Chart' */ - real32_T Merge_f; /* '/Merge' */ - real32_T Sqrt; /* '/Sqrt' */ - real32_T rdot; /* '/Merge2' */ - real32_T dist; /* '/Merge2' */ - real32_T bearing_base; /* '/Merge2' */ - real32_T bearing; /* '/Merge2' */ - real32_T elevation_base; /* '/Merge2' */ - real32_T elevation; /* '/Merge2' */ - real32_T ht_diff; /* '/Merge2' */ - real32_T omega_des; /* '/Merge2' */ - real32_T dist_offset; /* '/Merge2' */ - real32_T horiz_offset; /* '/Merge2' */ - real32_T vert_offset; /* '/Merge2' */ - real32_T Product_ct; /* '/Product' */ - real32_T params[7]; /* '/mav' */ - real32_T thr_c; /* '/takeoff_task' */ - real32_T phi_c; /* '/takeoff_task' */ - real32_T tht_c; /* '/takeoff_task' */ - real32_T de_c; /* '/takeoff_task' */ - real32_T max_q_out; /* '/takeoff_task' */ - real32_T hdot_c; /* '/standby_emergency' */ - real32_T tht_c_d; /* '/standby_emergency' */ - real32_T phi_c_k; /* '/standby_emergency' */ - real32_T acts[3]; /* '/sweep_generator' */ - real32_T hdot_c_h; /* '/landing_task' */ - real32_T phi_c_o; /* '/landing_task' */ - real32_T tht_c_o; /* '/landing_task' */ - real32_T max_de_out; /* '/landing_task' */ - real32_T min_de_out; /* '/landing_task' */ - real32_T max_da_out; /* '/landing_task' */ - real32_T max_dr_out; /* '/landing_task' */ - real32_T params_i[7]; /* '/proc_cmd' */ - real32_T Gain1_dw; /* '/Gain1' */ - real32_T accel[3]; /* '/Product3' */ - real32_T Gain1_a[3]; /* '/Gain1' */ - real32_T DataTypeConversion1; /* '/Data Type Conversion1' */ - real32_T DataTypeConversion1_n; /* '/Data Type Conversion1' */ - real32_T DataTypeConversion1_m[3]; /* '/Data Type Conversion1' */ - real32_T DataTypeConversion2[3]; /* '/Data Type Conversion2' */ - real32_T DataTypeConversion3; /* '/Data Type Conversion3' */ - real32_T DataTypeConversion4; /* '/Data Type Conversion4' */ - real32_T SignalCopy_f; /* '/Signal Copy' */ - real32_T qbar; /* '/Saturation' */ - real32_T IAS; /* '/Sqrt' */ - real32_T qbar_j; /* '/zero_set' */ - real32_T Saturation; /* '/Saturation' */ - real32_T alt_pres_c; /* '/Data Type Conversion' */ - real32_T OutportBufferFormag_hdg; /* '/inpi' */ - real32_T hdg; /* '/Chart' */ - real32_T euler_angles[3]; /* '/EKF14s' */ - real32_T velocity_NED[3]; /* '/EKF14s' */ - real32_T gyro_bias[3]; /* '/EKF14s' */ - real32_T accel_bias[3]; /* '/EKF14s' */ - real32_T hdg_bias; /* '/EKF14s' */ - real32_T state_variances[14]; /* '/EKF14s' */ - real32_T euler_variances[3]; /* '/EKF14s' */ - real32_T velInnov[3]; /* '/EKF14s' */ - real32_T velInnovVar[3]; /* '/EKF14s' */ - real32_T hdgInnov; /* '/EKF14s' */ - real32_T hdgInnovVar; /* '/EKF14s' */ - real32_T Ps1; /* '/Data Type Conversion' */ - real32_T Temp_ps1; /* '/Gain2' */ - real32_T Ps2; /* '/Data Type Conversion2' */ - real32_T Gain1_c; /* '/Gain1' */ - real32_T Gain1_n; /* '/Gain1' */ - real32_T Temp_qbar1; /* '/Gain4' */ - real32_T Temp_total; /* '/Gain3' */ - real32_T Qbar1; /* '/add' */ - real32_T ByteUnpack_o3; /* '/Byte Unpack' */ - real32_T IAS_j; /* '/Byte Unpack' */ - real32_T LLA_acc[3]; /* '/Byte Unpack' */ - real32_T vel_ned[3]; /* '/Byte Unpack' */ - real32_T eulers[3]; /* '/Byte Unpack' */ - real32_T Accels_a[3]; /* '/Byte Unpack' */ - real32_T pqr_e[3]; /* '/Byte Unpack' */ - real32_T ByteUnpack_o3_h; /* '/Byte Unpack' */ - real32_T IAS_b; /* '/Byte Unpack' */ - real32_T qbar_h; /* '/Saturation' */ - real32_T Ps_m; /* '/Byte Unpack' */ - real32_T LLA_acc_m[3]; /* '/Byte Unpack' */ - real32_T vel_ned_ma[3]; /* '/Byte Unpack' */ - real32_T eulers_f[3]; /* '/Byte Unpack' */ - real32_T Accels_f[3]; /* '/Byte Unpack' */ - real32_T pqr_i[3]; /* '/Byte Unpack' */ - real32_T imu_temp_j; /* '/Byte Unpack' */ - int32_T x; /* '/Chart_proc_mission_upload' */ - int32_T y; /* '/Chart_proc_mission_upload' */ - int32_T x_k; /* '/chat_get_mission_item' */ - int32_T y_m; /* '/chat_get_mission_item' */ - int32_T Ps1_g; /* '/Byte Unpack' */ - int32_T Ps2_a; /* '/Byte Unpack' */ - int32_T ByteUnpack_o5; /* '/Byte Unpack' */ - int32_T ByteUnpack_o7; /* '/Byte Unpack' */ - int32_T Qbar1_c; /* '/Byte Unpack' */ - ENUM_mode mode; /* '/Chart' */ - ENUM_mode mode_k; /* '/takeoff_task' */ - ENUM_mode mode_j; /* '/standby_emergency' */ - ENUM_mode mode_c; /* '/landing_task' */ - ENUM_SystemState state; /* '/standby_emergency' */ - ENUM_LANDED_STATE landed_state_out; /* '/takeoff_task' */ - ENUM_LANDED_STATE landed_state_out_c;/* '/standby_emergency' */ - ENUM_LANDED_STATE landed_state_out_i;/* '/landing_task' */ - ENUM_CSAS_YAW CSAS_yaw; /* '/takeoff_task' */ - ENUM_CSAS_YAW CSAS_yaw_d; /* '/standby_emergency' */ - ENUM_CSAS_YAW CSAS_yaw_i; /* '/landing_task' */ - ENUM_CSAS_ROLL CSAS_roll; /* '/takeoff_task' */ - ENUM_CSAS_ROLL CSAS_roll_d; /* '/standby_emergency' */ - ENUM_CSAS_ROLL CSAS_roll_i; /* '/landing_task' */ - ENUM_CSAS_PITCH CSAS_pitch; /* '/takeoff_task' */ - ENUM_CSAS_PITCH CSAS_pitch_n; /* '/standby_emergency' */ - ENUM_CSAS_PITCH CSAS_pitch_l; /* '/landing_task' */ - ENUM_AT AT_out; /* '/Chart' */ - ENUM_AT AT; /* '/takeoff_task' */ - ENUM_AT AT_p; /* '/standby_emergency' */ - ENUM_AT AT_m; /* '/landing_task' */ - ENUM_AS_SEL AS_SEL; /* '/takeoff_task' */ - ENUM_AFCS_VERT AFCS_VERT_out; /* '/Chart' */ - ENUM_AFCS_VERT AFCS_VERT; /* '/takeoff_task' */ - ENUM_AFCS_VERT AFCS_VERT_e; /* '/standby_emergency' */ - ENUM_AFCS_VERT AFCS_VERT_em; /* '/landing_task' */ - ENUM_AFCS_LAT AFCS_LNAV; /* '/Chart' */ - ENUM_AFCS_LAT AFCS_LNAV_f; /* '/takeoff_task' */ - ENUM_AFCS_LAT AFCS_LNAV_d; /* '/standby_emergency' */ - ENUM_AFCS_LAT AFCS_LNAV_h; /* '/landing_task' */ - uint16_T UnitDelay_i; /* '/Unit Delay' */ + real32_T Gain_n; /* '/Gain' */ + real32_T Gain_le; /* '/Gain' */ + real32_T ByteUnpack; /* '/Byte Unpack' */ + real32_T param1; /* '/Chart_proc_mission_upload' */ + real32_T param2; /* '/Chart_proc_mission_upload' */ + real32_T param3; /* '/Chart_proc_mission_upload' */ + real32_T param4; /* '/Chart_proc_mission_upload' */ + real32_T z; /* '/Chart_proc_mission_upload' */ + real32_T param1_o; /* '/chat_get_mission_item' */ + real32_T param2_h; /* '/chat_get_mission_item' */ + real32_T param3_m; /* '/chat_get_mission_item' */ + real32_T param4_c; /* '/chat_get_mission_item' */ + real32_T z_n; /* '/chat_get_mission_item' */ + real32_T f; /* '/Chart_proc_param_set' */ + real32_T vn; /* '/Chart' */ + real32_T ve; /* '/Chart' */ + real32_T vn_h; /* '/Chart' */ + real32_T ve_o; /* '/Chart' */ + real32_T Merge_f; /* '/Merge' */ + real32_T Sqrt; /* '/Sqrt' */ + real32_T rdot; /* '/Merge2' */ + real32_T dist; /* '/Merge2' */ + real32_T bearing_base; /* '/Merge2' */ + real32_T bearing; /* '/Merge2' */ + real32_T elevation_base; /* '/Merge2' */ + real32_T elevation; /* '/Merge2' */ + real32_T ht_diff; /* '/Merge2' */ + real32_T omega_des; /* '/Merge2' */ + real32_T dist_offset; /* '/Merge2' */ + real32_T horiz_offset; /* '/Merge2' */ + real32_T vert_offset; /* '/Merge2' */ + real32_T Product_ct; /* '/Product' */ + real32_T params[7]; /* '/mav' */ + real32_T thr_c; /* '/takeoff_task' */ + real32_T phi_c; /* '/takeoff_task' */ + real32_T tht_c; /* '/takeoff_task' */ + real32_T de_c; /* '/takeoff_task' */ + real32_T max_q_out; /* '/takeoff_task' */ + real32_T hdot_c; /* '/standby_emergency' */ + real32_T tht_c_d; /* '/standby_emergency' */ + real32_T phi_c_k; /* '/standby_emergency' */ + real32_T acts[3]; /* '/sweep_generator' */ + real32_T hdot_c_h; /* '/landing_task' */ + real32_T phi_c_o; /* '/landing_task' */ + real32_T tht_c_o; /* '/landing_task' */ + real32_T max_de_out; /* '/landing_task' */ + real32_T min_de_out; /* '/landing_task' */ + real32_T max_da_out; /* '/landing_task' */ + real32_T max_dr_out; /* '/landing_task' */ + real32_T params_i[7]; /* '/proc_cmd' */ + real32_T Gain1_dw; /* '/Gain1' */ + real32_T accel[3]; /* '/Product3' */ + real32_T Gain1_a[3]; /* '/Gain1' */ + real32_T DataTypeConversion1; /* '/Data Type Conversion1' */ + real32_T DataTypeConversion1_n; /* '/Data Type Conversion1' */ + real32_T DataTypeConversion1_m[3]; /* '/Data Type Conversion1' */ + real32_T DataTypeConversion2[3]; /* '/Data Type Conversion2' */ + real32_T DataTypeConversion3; /* '/Data Type Conversion3' */ + real32_T DataTypeConversion4; /* '/Data Type Conversion4' */ + real32_T SignalCopy_f; /* '/Signal Copy' */ + real32_T qbar; /* '/Saturation' */ + real32_T IAS; /* '/Sqrt' */ + real32_T qbar_j; /* '/zero_set' */ + real32_T Saturation; /* '/Saturation' */ + real32_T alt_pres_c; /* '/Data Type Conversion' */ + real32_T OutportBufferFormag_hdg; /* '/inpi' */ + real32_T hdg; /* '/Chart' */ + real32_T euler_angles[3]; /* '/EKF14s' */ + real32_T velocity_NED[3]; /* '/EKF14s' */ + real32_T gyro_bias[3]; /* '/EKF14s' */ + real32_T accel_bias[3]; /* '/EKF14s' */ + real32_T hdg_bias; /* '/EKF14s' */ + real32_T state_variances[14]; /* '/EKF14s' */ + real32_T euler_variances[3]; /* '/EKF14s' */ + real32_T velInnov[3]; /* '/EKF14s' */ + real32_T velInnovVar[3]; /* '/EKF14s' */ + real32_T hdgInnov; /* '/EKF14s' */ + real32_T hdgInnovVar; /* '/EKF14s' */ + real32_T Ps1; /* '/Data Type Conversion' */ + real32_T Temp_ps1; /* '/Gain2' */ + real32_T Ps2; /* '/Data Type Conversion2' */ + real32_T Gain1_c; /* '/Gain1' */ + real32_T Gain1_n; /* '/Gain1' */ + real32_T Temp_qbar1; /* '/Gain4' */ + real32_T Temp_total; /* '/Gain3' */ + real32_T Qbar1; /* '/add' */ + real32_T ByteUnpack_o3; /* '/Byte Unpack' */ + real32_T IAS_j; /* '/Byte Unpack' */ + real32_T LLA_acc[3]; /* '/Byte Unpack' */ + real32_T vel_ned[3]; /* '/Byte Unpack' */ + real32_T eulers[3]; /* '/Byte Unpack' */ + real32_T Accels_a[3]; /* '/Byte Unpack' */ + real32_T pqr_e[3]; /* '/Byte Unpack' */ + real32_T ByteUnpack_o3_h; /* '/Byte Unpack' */ + real32_T IAS_b; /* '/Byte Unpack' */ + real32_T qbar_h; /* '/Saturation' */ + real32_T Ps_m; /* '/Byte Unpack' */ + real32_T LLA_acc_m[3]; /* '/Byte Unpack' */ + real32_T vel_ned_ma[3]; /* '/Byte Unpack' */ + real32_T eulers_f[3]; /* '/Byte Unpack' */ + real32_T Accels_f[3]; /* '/Byte Unpack' */ + real32_T pqr_i[3]; /* '/Byte Unpack' */ + real32_T imu_temp_j; /* '/Byte Unpack' */ + int32_T x; /* '/Chart_proc_mission_upload' */ + int32_T y; /* '/Chart_proc_mission_upload' */ + int32_T x_k; /* '/chat_get_mission_item' */ + int32_T y_m; /* '/chat_get_mission_item' */ + int32_T Ps1_g; /* '/Byte Unpack' */ + int32_T Ps2_a; /* '/Byte Unpack' */ + int32_T ByteUnpack_o5; /* '/Byte Unpack' */ + int32_T ByteUnpack_o7; /* '/Byte Unpack' */ + int32_T Qbar1_c; /* '/Byte Unpack' */ + ENUM_mode mode; /* '/Chart' */ + ENUM_mode mode_k; /* '/takeoff_task' */ + ENUM_mode mode_j; /* '/standby_emergency' */ + ENUM_mode mode_c; /* '/landing_task' */ + ENUM_SystemState state; /* '/standby_emergency' */ + ENUM_LANDED_STATE landed_state_out; /* '/takeoff_task' */ + ENUM_LANDED_STATE landed_state_out_c;/* '/standby_emergency' */ + ENUM_LANDED_STATE landed_state_out_i;/* '/landing_task' */ + ENUM_CSAS_YAW CSAS_yaw; /* '/takeoff_task' */ + ENUM_CSAS_YAW CSAS_yaw_d; /* '/standby_emergency' */ + ENUM_CSAS_YAW CSAS_yaw_i; /* '/landing_task' */ + ENUM_CSAS_ROLL CSAS_roll; /* '/takeoff_task' */ + ENUM_CSAS_ROLL CSAS_roll_d; /* '/standby_emergency' */ + ENUM_CSAS_ROLL CSAS_roll_i; /* '/landing_task' */ + ENUM_CSAS_PITCH CSAS_pitch; /* '/takeoff_task' */ + ENUM_CSAS_PITCH CSAS_pitch_n; /* '/standby_emergency' */ + ENUM_CSAS_PITCH CSAS_pitch_l; /* '/landing_task' */ + ENUM_AT AT_out; /* '/Chart' */ + ENUM_AT AT; /* '/takeoff_task' */ + ENUM_AT AT_p; /* '/standby_emergency' */ + ENUM_AT AT_m; /* '/landing_task' */ + ENUM_AS_SEL AS_SEL; /* '/takeoff_task' */ + ENUM_AFCS_VERT AFCS_VERT_out; /* '/Chart' */ + ENUM_AFCS_VERT AFCS_VERT; /* '/takeoff_task' */ + ENUM_AFCS_VERT AFCS_VERT_e; /* '/standby_emergency' */ + ENUM_AFCS_VERT AFCS_VERT_em; /* '/landing_task' */ + ENUM_AFCS_LAT AFCS_LNAV; /* '/Chart' */ + ENUM_AFCS_LAT AFCS_LNAV_f; /* '/takeoff_task' */ + ENUM_AFCS_LAT AFCS_LNAV_d; /* '/standby_emergency' */ + ENUM_AFCS_LAT AFCS_LNAV_h; /* '/landing_task' */ + uint16_T UnitDelay_i; /* '/Unit Delay' */ uint16_T Merge1_e; /* '/Merge1' */ uint16_T TmpSignalConversionAtBytePackInport3_p[8]; uint16_T TmpSignalConversionAtBytePackInport4_b[18]; uint16_T TmpSignalConversionAtBytePackInport5[10]; - uint16_T Subtract_m; /* '/Subtract' */ - uint16_T DataTypeConversion; /* '/Data Type Conversion' */ - uint16_T DataTypeConversion1_c; /* '/Data Type Conversion1' */ - uint16_T DataTypeConversion1_o; /* '/Data Type Conversion1' */ - uint16_T DataTypeConversion1_f; /* '/Data Type Conversion1' */ - uint16_T DataTypeConversion1_nd; /* '/Data Type Conversion1' */ - uint16_T DataTypeConversion1_g; /* '/Data Type Conversion1' */ - uint16_T kg2cg; /* '/kg2cg' */ - uint16_T idx; /* '/proc_param_value' */ - uint16_T param_cnt; /* '/find_val_capi' */ - uint16_T param_index; /* '/find_val_capi' */ - uint16_T set_cur; /* '/req_cur' */ - uint16_T seq; /* '/Chart_proc_mission_upload' */ - uint16_T command; /* '/Chart_proc_mission_upload' */ - uint16_T channels[18]; /* '/BusConversion_InsertedFor_rc_at_inport_0' */ - uint16_T channels_e[18]; /* '/BusConversion_InsertedFor_rc_at_inport_0' */ - uint16_T cnt; /* '/chat_get_mission_cnt' */ - uint16_T req_cur; /* '/Chart' */ - uint16_T seq_e; /* '/Chart_proc_mission_req' */ - uint16_T command_p; /* '/chat_get_mission_item' */ - uint16_T resp; /* '/Chart_proc_param_set' */ - uint16_T resp_c; /* '/Chart' */ - uint16_T resp_j; /* '/Chart_proc_param_req_read' */ - uint16_T width; /* '/Width' */ - uint16_T TmpSignalConversionAtSFunctionInport3[16];/* '/Chart' */ - uint16_T last_WP; /* '/mission_proc' */ - uint16_T mission_mode; /* '/mission_proc' */ - uint16_T cur_np; /* '/mission_proc' */ - uint16_T command_j; /* '/mav' */ - uint16_T WP_out; /* '/Chart' */ - uint16_T WP_out_k; /* '/landing_task' */ - uint16_T WP_out_kq; /* '/takeoff_task' */ - uint16_T peroid_out; /* '/Chart' */ - uint16_T WP_out_a; /* '/landing_task' */ - uint16_T WP_cur; /* '/proc_set_ cur' */ - uint16_T id; /* '/proc_cmd' */ - uint16_T OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0;/* '/Constant' */ - uint16_T err_hdr; /* '/parser' */ - uint16_T bad; /* '/parser' */ - uint16_T err_crc; /* '/parser' */ - uint16_T good; /* '/parser' */ - uint16_T msg_len; /* '/parser' */ - uint16_T crc_checksum_sfun; /* '/crc_checksum_sfun' */ - uint16_T err_hdr_f; /* '/parser' */ - uint16_T bad_f; /* '/parser' */ - uint16_T err_crc_a; /* '/parser' */ - uint16_T good_h; /* '/parser' */ - uint16_T pres_status; /* '/Byte Unpack' */ - uint16_T err_hdr_a; /* '/parser' */ - uint16_T bad_d; /* '/parser' */ - uint16_T err_crc_d; /* '/parser' */ - uint16_T good_n; /* '/parser' */ - uint16_T pres_status_f; /* '/Byte Unpack' */ - uint16_T err_hdr_ad; /* '/parser2' */ - uint16_T bad_j; /* '/parser2' */ - uint16_T err_crc_b; /* '/parser2' */ - uint16_T good_p; /* '/parser2' */ - uint16_T ByteUnpack_o2[2]; /* '/Byte Unpack' */ - uint16_T err_hdr_p; /* '/parser2' */ - uint16_T bad_m; /* '/parser2' */ - uint16_T err_crc_l; /* '/parser2' */ - uint16_T good_f; /* '/parser2' */ - uint16_T ByteUnpack_o2_a[2]; /* '/Byte Unpack' */ - uint16_T err_hdr_e; /* '/parser' */ - uint16_T bad_fi; /* '/parser' */ - uint16_T err_crc_o; /* '/parser' */ - uint16_T good_m; /* '/parser' */ - uint16_T err_hdr_h; /* '/parser' */ - uint16_T bad_c; /* '/parser' */ - uint16_T err_crc_e; /* '/parser' */ - uint16_T good_l; /* '/parser' */ - uint16_T err_hdr_e0; /* '/parser' */ - uint16_T bad_i; /* '/parser' */ - uint16_T err_crc_f; /* '/parser' */ - uint16_T good_g; /* '/parser' */ - uint16_T seq_f; /* '/Byte Unpack' */ - uint16_T voltages[4]; /* '/Byte Unpack' */ - uint16_T seq_h; /* '/Byte Unpack' */ - uint16_T seq_n; /* '/Byte Unpack' */ - uint16_T err_hdr_g; /* '/parser' */ - uint16_T bad_mn; /* '/parser' */ - uint16_T err_crc_as; /* '/parser' */ - uint16_T good_d; /* '/parser' */ - uint16_T group_voltage_mv; /* '/Byte Unpack' */ - uint16_T group_current_dA; /* '/Byte Unpack' */ - uint16_T remain_perc; /* '/Byte Unpack' */ - uint16_T low_temp_degC; /* '/Byte Unpack' */ - uint16_T hi_temp_degC; /* '/Byte Unpack' */ - uint16_T voltages_mv[14]; /* '/Byte Unpack' */ - uint16_T hi_voltage_mv; /* '/Byte Unpack' */ - uint16_T low_voltage_mv; /* '/Byte Unpack' */ - uint16_T group_voltage_mv_g; /* '/Byte Unpack' */ - uint16_T group_current_dA_c; /* '/Byte Unpack' */ - uint16_T remain_perc_n; /* '/Byte Unpack' */ - uint16_T low_temp_degC_a; /* '/Byte Unpack' */ - uint16_T hi_temp_degC_e; /* '/Byte Unpack' */ - uint16_T voltages_mv_c[7]; /* '/Byte Unpack' */ - uint16_T hi_voltage_mv_i; /* '/Byte Unpack' */ - uint16_T low_voltage_mv_h; /* '/Byte Unpack' */ - uint16_T Merge_h4; /* '/Merge' */ - int16_T param_idx; /* '/set_val_capi' */ - int16_T param_idx_p; /* '/find_idx_capi' */ - int16_T Temp_ps1_a; /* '/Byte Unpack' */ - int16_T Temp_total_b; /* '/Byte Unpack' */ - int16_T ByteUnpack_o6; /* '/Byte Unpack' */ - int16_T ByteUnpack_o8; /* '/Byte Unpack' */ - int16_T Temp_qbar1_m; /* '/Byte Unpack' */ - int16_T ByteUnpack_o11[3]; /* '/Byte Unpack' */ - int16_T temps[4]; /* '/Byte Unpack' */ + uint16_T Subtract_m; /* '/Subtract' */ + uint16_T DataTypeConversion; /* '/Data Type Conversion' */ + uint16_T DataTypeConversion1_c; /* '/Data Type Conversion1' */ + uint16_T DataTypeConversion1_o; /* '/Data Type Conversion1' */ + uint16_T DataTypeConversion1_f; /* '/Data Type Conversion1' */ + uint16_T DataTypeConversion1_nd; /* '/Data Type Conversion1' */ + uint16_T DataTypeConversion1_g; /* '/Data Type Conversion1' */ + uint16_T kg2cg; /* '/kg2cg' */ + uint16_T idx; /* '/proc_param_value' */ + uint16_T param_cnt; /* '/find_val_capi' */ + uint16_T param_index; /* '/find_val_capi' */ + uint16_T set_cur; /* '/req_cur' */ + uint16_T seq; /* '/Chart_proc_mission_upload' */ + uint16_T command; /* '/Chart_proc_mission_upload' */ + uint16_T channels[18]; /* '/BusConversion_InsertedFor_rc_at_inport_0' */ + uint16_T channels_e[18]; /* '/BusConversion_InsertedFor_rc_at_inport_0' */ + uint16_T cnt; /* '/chat_get_mission_cnt' */ + uint16_T req_cur; /* '/Chart' */ + uint16_T seq_e; /* '/Chart_proc_mission_req' */ + uint16_T command_p; /* '/chat_get_mission_item' */ + uint16_T resp; /* '/Chart_proc_param_set' */ + uint16_T resp_c; /* '/Chart' */ + uint16_T resp_j; /* '/Chart_proc_param_req_read' */ + uint16_T width; /* '/Width' */ + uint16_T TmpSignalConversionAtSFunctionInport3[16];/* '/Chart' */ + uint16_T last_WP; /* '/mission_proc' */ + uint16_T mission_mode; /* '/mission_proc' */ + uint16_T cur_np; /* '/mission_proc' */ + uint16_T command_j; /* '/mav' */ + uint16_T WP_out; /* '/Chart' */ + uint16_T WP_out_k; /* '/landing_task' */ + uint16_T WP_out_kq; /* '/takeoff_task' */ + uint16_T peroid_out; /* '/Chart' */ + uint16_T WP_out_a; /* '/landing_task' */ + uint16_T WP_cur; /* '/proc_set_ cur' */ + uint16_T id; /* '/proc_cmd' */ + uint16_T OutportBuffer_InsertedFor_gps_hdg_status_at_inport_0;/* '/Constant' */ + uint16_T err_hdr; /* '/parser' */ + uint16_T bad; /* '/parser' */ + uint16_T err_crc; /* '/parser' */ + uint16_T good; /* '/parser' */ + uint16_T msg_len; /* '/parser' */ + uint16_T crc_checksum_sfun; /* '/crc_checksum_sfun' */ + uint16_T err_hdr_f; /* '/parser' */ + uint16_T bad_f; /* '/parser' */ + uint16_T err_crc_a; /* '/parser' */ + uint16_T good_h; /* '/parser' */ + uint16_T pres_status; /* '/Byte Unpack' */ + uint16_T err_hdr_a; /* '/parser' */ + uint16_T bad_d; /* '/parser' */ + uint16_T err_crc_d; /* '/parser' */ + uint16_T good_n; /* '/parser' */ + uint16_T pres_status_f; /* '/Byte Unpack' */ + uint16_T err_hdr_ad; /* '/parser2' */ + uint16_T bad_j; /* '/parser2' */ + uint16_T err_crc_b; /* '/parser2' */ + uint16_T good_p; /* '/parser2' */ + uint16_T ByteUnpack_o2[2]; /* '/Byte Unpack' */ + uint16_T err_hdr_p; /* '/parser2' */ + uint16_T bad_m; /* '/parser2' */ + uint16_T err_crc_l; /* '/parser2' */ + uint16_T good_f; /* '/parser2' */ + uint16_T ByteUnpack_o2_a[2]; /* '/Byte Unpack' */ + uint16_T err_hdr_e; /* '/parser' */ + uint16_T bad_fi; /* '/parser' */ + uint16_T err_crc_o; /* '/parser' */ + uint16_T good_m; /* '/parser' */ + uint16_T err_hdr_h; /* '/parser' */ + uint16_T bad_c; /* '/parser' */ + uint16_T err_crc_e; /* '/parser' */ + uint16_T good_l; /* '/parser' */ + uint16_T err_hdr_e0; /* '/parser' */ + uint16_T bad_i; /* '/parser' */ + uint16_T err_crc_f; /* '/parser' */ + uint16_T good_g; /* '/parser' */ + uint16_T seq_f; /* '/Byte Unpack' */ + uint16_T voltages[4]; /* '/Byte Unpack' */ + uint16_T seq_h; /* '/Byte Unpack' */ + uint16_T seq_n; /* '/Byte Unpack' */ + uint16_T err_hdr_g; /* '/parser' */ + uint16_T bad_mn; /* '/parser' */ + uint16_T err_crc_as; /* '/parser' */ + uint16_T good_d; /* '/parser' */ + uint16_T group_voltage_mv; /* '/Byte Unpack' */ + uint16_T group_current_dA; /* '/Byte Unpack' */ + uint16_T remain_perc; /* '/Byte Unpack' */ + uint16_T low_temp_degC; /* '/Byte Unpack' */ + uint16_T hi_temp_degC; /* '/Byte Unpack' */ + uint16_T voltages_mv[14]; /* '/Byte Unpack' */ + uint16_T hi_voltage_mv; /* '/Byte Unpack' */ + uint16_T low_voltage_mv; /* '/Byte Unpack' */ + uint16_T group_voltage_mv_g; /* '/Byte Unpack' */ + uint16_T group_current_dA_c; /* '/Byte Unpack' */ + uint16_T remain_perc_n; /* '/Byte Unpack' */ + uint16_T low_temp_degC_a; /* '/Byte Unpack' */ + uint16_T hi_temp_degC_e; /* '/Byte Unpack' */ + uint16_T voltages_mv_c[7]; /* '/Byte Unpack' */ + uint16_T hi_voltage_mv_i; /* '/Byte Unpack' */ + uint16_T low_voltage_mv_h; /* '/Byte Unpack' */ + uint16_T Merge_h4; /* '/Merge' */ + int16_T param_idx; /* '/set_val_capi' */ + int16_T param_idx_p; /* '/find_idx_capi' */ + int16_T Temp_ps1_a; /* '/Byte Unpack' */ + int16_T Temp_total_b; /* '/Byte Unpack' */ + int16_T ByteUnpack_o6; /* '/Byte Unpack' */ + int16_T ByteUnpack_o8; /* '/Byte Unpack' */ + int16_T Temp_qbar1_m; /* '/Byte Unpack' */ + int16_T ByteUnpack_o11[3]; /* '/Byte Unpack' */ + int16_T temps[4]; /* '/Byte Unpack' */ uint8_T BitwiseAND6; /* '/Bitwise AND6' */ uint8_T UnitDelay_f[5]; /* '/Unit Delay' */ uint8_T Merge_gk[260]; /* '/Merge' */ uint8_T TmpSignalConversionAtBytePackInport4_bx[6]; - uint8_T BytePack[82]; /* '/Byte Pack' */ + uint8_T BytePack[82]; /* '/Byte Pack' */ uint8_T TmpSignalConversionAtBytePackInport5_h[16]; - uint8_T BytePack_g[76]; /* '/Byte Pack' */ - uint8_T BytePack_i[184]; /* '/Byte Pack' */ + uint8_T BytePack_g[76]; /* '/Byte Pack' */ + uint8_T BytePack_i[184]; /* '/Byte Pack' */ uint8_T TmpSignalConversionAtBytePackInport6[6]; - uint8_T BytePack_k[190]; /* '/Byte Pack' */ + uint8_T BytePack_k[190]; /* '/Byte Pack' */ uint8_T DataTypeConversion_n; /* '/Data Type Conversion' */ - uint8_T SFunction1_o1[70]; /* '/S-Function1' */ - uint8_T SFunction1_o2; /* '/S-Function1' */ - uint8_T u[4]; /* '/proc_param_value' */ - uint8_T param_name[16]; /* '/find_val_capi' */ - uint8_T param_value[4]; /* '/find_val_capi' */ - uint8_T param_type; /* '/find_val_capi' */ - uint8_T mission_type; /* '/Chart_proc_mission_upload' */ - uint8_T frame; /* '/Chart_proc_mission_upload' */ - uint8_T autocontinue; /* '/Chart_proc_mission_upload' */ - uint8_T ack_d; /* '/chat_clear_mission' */ - uint8_T ack_i; /* '/chat_update_mission_item' */ - uint8_T id_g; /* '/Signal Copy' */ - uint8_T seq_g; /* '/Unit Delay' */ - uint8_T mission_type_g; /* '/Chart_proc_mission_clr_all' */ - uint8_T ack_f; /* '/chat_clear_mission' */ - uint8_T type; /* '/Chart_proc_mission_req_lst' */ - uint8_T type_b; /* '/Chart_proc_mission_req' */ - uint8_T ack_iw; /* '/chat_get_mission_item' */ - uint8_T frame_l; /* '/chat_get_mission_item' */ - uint8_T autocont; /* '/chat_get_mission_item' */ - uint8_T name[16]; /* '/Chart_proc_param_set' */ - uint8_T value_n[4]; /* '/Chart_proc_param_set' */ - uint8_T type_f; /* '/Chart_proc_param_set' */ - uint8_T BytePack_h[4]; /* '/Byte Pack' */ - uint8_T name_g[16]; /* '/Chart_proc_param_req_read' */ - uint8_T mav_char_in; /* '/Selector' */ - uint8_T BitwiseOperator; /* '/Bitwise Operator' */ - uint8_T DataTypeConversion_d; /* '/Data Type Conversion' */ - uint8_T actuator_startup; /* '/standby_emergency' */ - uint8_T chan_out; /* '/sweep_generator' */ - uint8_T recovery_out; /* '/Chart' */ - uint8_T ch_out; /* '/Chart' */ - uint8_T sw_out; /* '/Chart' */ - uint8_T stage; /* '/status_mgr' */ - uint8_T data[64]; /* '/parser' */ - uint8_T msg_seq; /* '/parser' */ - uint8_T data_o[96]; /* '/parser' */ - uint8_T msg_data[96]; /* '/parser' */ - uint8_T day; /* '/Byte Unpack' */ - uint8_T hour; /* '/Byte Unpack' */ - uint8_T min; /* '/Byte Unpack' */ - uint8_T sec; /* '/Byte Unpack' */ - uint8_T sv_used; /* '/Byte Unpack' */ - uint8_T data_d[96]; /* '/parser' */ - uint8_T msg_data_j[96]; /* '/parser' */ - uint8_T month_p; /* '/Byte Unpack' */ - uint8_T day_m; /* '/Byte Unpack' */ - uint8_T hour_c; /* '/Byte Unpack' */ - uint8_T min_f; /* '/Byte Unpack' */ - uint8_T sec_a; /* '/Byte Unpack' */ - uint8_T sv_used_d; /* '/Byte Unpack' */ - uint8_T data_b[255]; /* '/parser2' */ - uint8_T data_a[255]; /* '/parser2' */ - uint8_T msg_id_ez[3]; /* '/parser' */ - uint8_T data_oz[35]; /* '/parser' */ - uint8_T data_l[16]; /* '/parser' */ - uint8_T data_an[52]; /* '/parser' */ - uint8_T hdr[3]; /* '/Byte Unpack' */ - uint8_T P500w_enabled; /* '/Byte Unpack' */ - uint8_T ByteUnpack_o3_n[2]; /* '/Byte Unpack' */ - uint8_T hdr_i[3]; /* '/Byte Unpack' */ - uint8_T BAT2_STA1; /* '/Byte Unpack' */ - uint8_T BAT2_STA2; /* '/Byte Unpack' */ - uint8_T ByteUnpack_o12[2]; /* '/Byte Unpack' */ - uint8_T hdr_d[3]; /* '/Byte Unpack' */ - uint8_T BAT1_STA1; /* '/Byte Unpack' */ - uint8_T BAT1_STA2; /* '/Byte Unpack' */ - uint8_T ByteUnpack_o12_n[2]; /* '/Byte Unpack' */ - uint8_T OutportBuffer_InsertedFor_satnum_used_at_inport_0;/* '/Constant1' */ + uint8_T SFunction1_o1[70]; /* '/S-Function1' */ + uint8_T SFunction1_o2; /* '/S-Function1' */ + uint8_T u[4]; /* '/proc_param_value' */ + uint8_T param_name[16]; /* '/find_val_capi' */ + uint8_T param_value[4]; /* '/find_val_capi' */ + uint8_T param_type; /* '/find_val_capi' */ + uint8_T mission_type; /* '/Chart_proc_mission_upload' */ + uint8_T frame; /* '/Chart_proc_mission_upload' */ + uint8_T autocontinue; /* '/Chart_proc_mission_upload' */ + uint8_T ack_d; /* '/chat_clear_mission' */ + uint8_T ack_i; /* '/chat_update_mission_item' */ + uint8_T id_g; /* '/Signal Copy' */ + uint8_T seq_g; /* '/Unit Delay' */ + uint8_T mission_type_g; /* '/Chart_proc_mission_clr_all' */ + uint8_T ack_f; /* '/chat_clear_mission' */ + uint8_T type; /* '/Chart_proc_mission_req_lst' */ + uint8_T type_b; /* '/Chart_proc_mission_req' */ + uint8_T ack_iw; /* '/chat_get_mission_item' */ + uint8_T frame_l; /* '/chat_get_mission_item' */ + uint8_T autocont; /* '/chat_get_mission_item' */ + uint8_T name[16]; /* '/Chart_proc_param_set' */ + uint8_T value_n[4]; /* '/Chart_proc_param_set' */ + uint8_T type_f; /* '/Chart_proc_param_set' */ + uint8_T BytePack_h[4]; /* '/Byte Pack' */ + uint8_T name_g[16]; /* '/Chart_proc_param_req_read' */ + uint8_T mav_char_in; /* '/Selector' */ + uint8_T BitwiseOperator; /* '/Bitwise Operator' */ + uint8_T DataTypeConversion_d; /* '/Data Type Conversion' */ + uint8_T actuator_startup; /* '/standby_emergency' */ + uint8_T chan_out; /* '/sweep_generator' */ + uint8_T recovery_out; /* '/Chart' */ + uint8_T ch_out; /* '/Chart' */ + uint8_T sw_out; /* '/Chart' */ + uint8_T stage; /* '/status_mgr' */ + uint8_T data[64]; /* '/parser' */ + uint8_T msg_seq; /* '/parser' */ + uint8_T data_o[96]; /* '/parser' */ + uint8_T msg_data[96]; /* '/parser' */ + uint8_T day; /* '/Byte Unpack' */ + uint8_T hour; /* '/Byte Unpack' */ + uint8_T min; /* '/Byte Unpack' */ + uint8_T sec; /* '/Byte Unpack' */ + uint8_T sv_used; /* '/Byte Unpack' */ + uint8_T data_d[96]; /* '/parser' */ + uint8_T msg_data_j[96]; /* '/parser' */ + uint8_T month_p; /* '/Byte Unpack' */ + uint8_T day_m; /* '/Byte Unpack' */ + uint8_T hour_c; /* '/Byte Unpack' */ + uint8_T min_f; /* '/Byte Unpack' */ + uint8_T sec_a; /* '/Byte Unpack' */ + uint8_T sv_used_d; /* '/Byte Unpack' */ + uint8_T data_b[255]; /* '/parser2' */ + uint8_T data_a[255]; /* '/parser2' */ + uint8_T msg_id_ez[3]; /* '/parser' */ + uint8_T data_oz[35]; /* '/parser' */ + uint8_T data_l[16]; /* '/parser' */ + uint8_T data_an[52]; /* '/parser' */ + uint8_T hdr[3]; /* '/Byte Unpack' */ + uint8_T P500w_enabled; /* '/Byte Unpack' */ + uint8_T ByteUnpack_o3_n[2]; /* '/Byte Unpack' */ + uint8_T hdr_i[3]; /* '/Byte Unpack' */ + uint8_T BAT2_STA1; /* '/Byte Unpack' */ + uint8_T BAT2_STA2; /* '/Byte Unpack' */ + uint8_T ByteUnpack_o12[2]; /* '/Byte Unpack' */ + uint8_T hdr_d[3]; /* '/Byte Unpack' */ + uint8_T BAT1_STA1; /* '/Byte Unpack' */ + uint8_T BAT1_STA2; /* '/Byte Unpack' */ + uint8_T ByteUnpack_o12_n[2]; /* '/Byte Unpack' */ + uint8_T OutportBuffer_InsertedFor_satnum_used_at_inport_0;/* '/Constant1' */ boolean_T NOT3; /* '/NOT3' */ boolean_T NOT4; /* '/NOT4' */ boolean_T NOT; /* '/NOT' */ boolean_T NOT1; /* '/NOT1' */ - boolean_T enable_cnt; /* '/Chart_proc_mission_upload' */ - boolean_T enable_item; /* '/Chart_proc_mission_upload' */ - boolean_T valid_o; /* '/true' */ - boolean_T mav_found; /* '/mav_parser' */ - boolean_T valid_n; /* '/valid_checking' */ - boolean_T ac; /* '/mission_proc' */ - boolean_T Merge_p; /* '/Merge' */ - boolean_T DataTypeConversion_b; /* '/Data Type Conversion' */ - boolean_T is_mission; /* '/mav' */ - boolean_T armed; /* '/landing_task' */ - boolean_T valid_l; /* '/valid_checking' */ - boolean_T ack_ej; /* '/proc_cmd' */ - boolean_T LogicalOperator; /* '/Logical Operator' */ - boolean_T enabled; /* '/tick' */ - boolean_T enabled_m; /* '/tick' */ - boolean_T enabled_a; /* '/tick' */ - boolean_T enabled_l; /* '/tick' */ - boolean_T enabled_e; /* '/tick' */ - boolean_T enabled_n; /* '/tick' */ - boolean_T enabled_i; /* '/tick' */ - boolean_T reset; /* '/status_mgr' */ - boolean_T hdg_ariv; /* '/Chart' */ - boolean_T valid_c; /* '/check_gps_valid' */ + boolean_T enable_cnt; /* '/Chart_proc_mission_upload' */ + boolean_T enable_item; /* '/Chart_proc_mission_upload' */ + boolean_T valid_o; /* '/true' */ + boolean_T mav_found; /* '/mav_parser' */ + boolean_T valid_n; /* '/valid_checking' */ + boolean_T ac; /* '/mission_proc' */ + boolean_T Merge_p; /* '/Merge' */ + boolean_T DataTypeConversion_b; /* '/Data Type Conversion' */ + boolean_T is_mission; /* '/mav' */ + boolean_T armed; /* '/landing_task' */ + boolean_T valid_l; /* '/valid_checking' */ + boolean_T ack_ej; /* '/proc_cmd' */ + boolean_T LogicalOperator; /* '/Logical Operator' */ + boolean_T enabled; /* '/tick' */ + boolean_T enabled_m; /* '/tick' */ + boolean_T enabled_a; /* '/tick' */ + boolean_T enabled_l; /* '/tick' */ + boolean_T enabled_e; /* '/tick' */ + boolean_T enabled_n; /* '/tick' */ + boolean_T enabled_i; /* '/tick' */ + boolean_T reset; /* '/status_mgr' */ + boolean_T hdg_ariv; /* '/Chart' */ + boolean_T valid_c; /* '/check_gps_valid' */ boolean_T SZN_ok; - boolean_T Compare; /* '/Compare' */ - boolean_T Compare_a; /* '/Compare' */ - boolean_T Compare_i; /* '/Compare' */ + boolean_T Compare; /* '/Compare' */ + boolean_T Compare_a; /* '/Compare' */ + boolean_T Compare_i; /* '/Compare' */ B_new_rec_SIL_T new_rec; /* '/new_rec' */ - B_sbg_ecom_log_nav_data_frame_SIL_T sbg_ecom_log_nav_data_frame_g;/* '/sbg_ecom_log_nav_data_frame' */ - B_sbg_ecom_log_euler_data_frame_SIL_T sbg_ecom_log_euler_data_frame_c;/* '/sbg_ecom_log_euler_data_frame' */ - B_sbg_ecom_log_nav_data_frame_SIL_T sbg_ecom_log_nav_data_frame;/* '/sbg_ecom_log_nav_data_frame' */ - B_sbg_ecom_log_euler_data_frame_SIL_T sbg_ecom_log_euler_data_frame;/* '/sbg_ecom_log_euler_data_frame' */ - B_GearGeometryForcesandMoments_SIL_i_T RightMainGearGeometryForcesandMoments;/* '/Right Main Gear Geometry Forces and Moments' */ - B_GearGeometryForcesandMoments_SIL_f_T NoseGearGeometryForcesandMoments;/* '/Nose Gear Geometry Forces and Moments' */ - B_GearGeometryForcesandMoments_SIL_T LeftMainGearGeometryForcesandMoments;/* '/Left Main Gear Geometry Forces and Moments' */ + B_sbg_ecom_log_nav_data_frame_SIL_T sbg_ecom_log_nav_data_frame_g;/* '/sbg_ecom_log_nav_data_frame' */ + B_sbg_ecom_log_euler_data_frame_SIL_T sbg_ecom_log_euler_data_frame_c;/* '/sbg_ecom_log_euler_data_frame' */ + B_sbg_ecom_log_nav_data_frame_SIL_T sbg_ecom_log_nav_data_frame;/* '/sbg_ecom_log_nav_data_frame' */ + B_sbg_ecom_log_euler_data_frame_SIL_T sbg_ecom_log_euler_data_frame;/* '/sbg_ecom_log_euler_data_frame' */ + B_GearGeometryForcesandMoments_SIL_i_T RightMainGearGeometryForcesandMoments;/* '/Right Main Gear Geometry Forces and Moments' */ + B_GearGeometryForcesandMoments_SIL_f_T NoseGearGeometryForcesandMoments;/* '/Nose Gear Geometry Forces and Moments' */ + B_GearGeometryForcesandMoments_SIL_T LeftMainGearGeometryForcesandMoments;/* '/Left Main Gear Geometry Forces and Moments' */ } B_SIL_T; /* Block states (default storage) for system '' */ typedef struct { C2 CC; /* '/Data Store Memory' */ - mavlink_message_t msgs_msgData; /* '/proc_queue' */ - mavlink_message_t msgs_msgData_h; /* '/push2msgs' */ + mavlink_message_t msgs_msgData; /* '/proc_queue' */ + mavlink_message_t msgs_msgData_h; /* '/push2msgs' */ Sensors sens; /* '/Data Store Memory' */ TrajGen UnitDelay_DSTATE; /* '/Unit Delay' */ - mavlink_serial_control_t send_echo_msgData;/* '/Chart_send_serial_control' */ - mavlink_serial_control_t serial_echoline_msgData;/* '/traffic_ctrl' */ - mavlink_autopilot_version_t ap_ver_msgData;/* '/send_auto_hw' */ - mavlink_autopilot_version_t ap_ver_queue_msgData;/* '/traffic_ctrl' */ - mavlink_mission_item_int_t mission_item_msgData;/* '/Chart_proc_mission_upload' */ - mavlink_mission_item_int_t send_req_msgData;/* '/Chart' */ - mavlink_mission_item_int_t send_item_msgData;/* '/Chart_proc_mission_req' */ - mavlink_mission_item_int_t mission_item_int_queue_msgData;/* '/traffic_ctrl' */ - MavMission m; /* '/chat_update_mission_item' */ - CommandMsg msg_msgData; /* '/send_cmd' */ - CommandMsg cmd_msgData; /* '/mission_proc' */ - CommandMsg cmd_msgData_g; /* '/proc_cmd' */ - CommandMsg cmd2_msgData; /* '/proc_cmd' */ - mavlink_param_value_t msg_msgData_e; /* '/proc_param_value' */ - mavlink_param_value_t param_val_queue_msgData;/* '/traffic_ctrl' */ - mavlink_command_ack_t command_ack_queue_msgData;/* '/traffic_ctrl' */ - mavlink_command_ack_t send_ack_msgData;/* '/Chart_send_ack' */ - MavFence f; /* '/chat_update_mission_item' */ - MavRally r; /* '/chat_update_mission_item' */ + mavlink_serial_control_t send_echo_msgData;/* '/Chart_send_serial_control' */ + mavlink_serial_control_t serial_echoline_msgData;/* '/traffic_ctrl' */ + mavlink_autopilot_version_t ap_ver_msgData;/* '/send_auto_hw' */ + mavlink_autopilot_version_t ap_ver_queue_msgData;/* '/traffic_ctrl' */ + mavlink_mission_item_int_t mission_item_msgData;/* '/Chart_proc_mission_upload' */ + mavlink_mission_item_int_t send_req_msgData;/* '/Chart' */ + mavlink_mission_item_int_t send_item_msgData;/* '/Chart_proc_mission_req' */ + mavlink_mission_item_int_t mission_item_int_queue_msgData;/* '/traffic_ctrl' */ + MavMission m; /* '/chat_update_mission_item' */ + CommandMsg msg_msgData; /* '/send_cmd' */ + CommandMsg cmd_msgData; /* '/mission_proc' */ + CommandMsg cmd_msgData_g; /* '/proc_cmd' */ + CommandMsg cmd2_msgData; /* '/proc_cmd' */ + mavlink_param_value_t msg_msgData_e; /* '/proc_param_value' */ + mavlink_param_value_t param_val_queue_msgData;/* '/traffic_ctrl' */ + mavlink_command_ack_t command_ack_queue_msgData;/* '/traffic_ctrl' */ + mavlink_command_ack_t send_ack_msgData;/* '/Chart_send_ack' */ + MavFence f; /* '/chat_update_mission_item' */ + MavRally r; /* '/chat_update_mission_item' */ real_T UnitDelay_DSTATE_k; /* '/Unit Delay' */ real_T UnitDelay1_DSTATE; /* '/Unit Delay1' */ real_T UnitDelay2_DSTATE; /* '/Unit Delay2' */ - real_T UnitDelay_DSTATE_g; /* '/Unit Delay' */ - real_T UnitDelay_DSTATE_p; /* '/Unit Delay' */ - real_T UnitDelay_DSTATE_f; /* '/Unit Delay' */ - real_T DiscreteTransferFcn_states[6];/* '/Discrete Transfer Fcn' */ - real_T DiscreteTransferFcn_states_e[6];/* '/Discrete Transfer Fcn' */ - real_T UnitDelay_DSTATE_l[3]; /* '/Unit Delay' */ - real_T UnitDelay_DSTATE_l3[3]; /* '/Unit Delay' */ - real_T m_bpLambda[3]; /* '/table3D_CL_aos' */ + real_T UnitDelay_DSTATE_g; /* '/Unit Delay' */ + real_T UnitDelay_DSTATE_p; /* '/Unit Delay' */ + real_T UnitDelay_DSTATE_f; /* '/Unit Delay' */ + real_T DiscreteTransferFcn_states[6];/* '/Discrete Transfer Fcn' */ + real_T DiscreteTransferFcn_states_e[6];/* '/Discrete Transfer Fcn' */ + real_T UnitDelay_DSTATE_l[3]; /* '/Unit Delay' */ + real_T UnitDelay_DSTATE_l3[3]; /* '/Unit Delay' */ + real_T m_bpLambda[3]; /* '/table3D_CL_base_delta' */ + real_T m_bpLambda_a[3]; /* '/table3D_CL_aos' */ real_T PrevY; /* '/Backlash3' */ real_T PrevY_i; /* '/Backlash4' */ - real_T m_bpLambda_c[3]; /* '/table3D_CL_da' */ + real_T m_bpLambda_d[3]; /* '/table3D_CL_da' */ real_T PrevY_b; /* '/Backlash' */ real_T PrevY_bo; /* '/Backlash1' */ - real_T m_bpLambda_a[3]; /* '/table3D_CL_de' */ + real_T m_bpLambda_l[3]; /* '/table3D_CL_de' */ real_T PrevY_p; /* '/Backlash2' */ - real_T m_bpLambda_m[3]; /* '/table3D_CL_dr' */ - real_T m_bpLambda_l[3]; /* '/table3D_CL_df' */ - real_T m_bpLambda_p[3]; /* '/table3D_CY_aos' */ - real_T m_bpLambda_me[3]; /* '/table3D_CY_da' */ - real_T m_bpLambda_i[3]; /* '/table3D_CY_dr' */ - real_T m_bpLambda_b[3]; /* '/table3D_CD_aos' */ - real_T m_bpLambda_bj[3]; /* '/table3D_CD_da' */ - real_T m_bpLambda_ay[3]; /* '/table3D_CD_de' */ - real_T m_bpLambda_h[3]; /* '/table3D_CD_dr' */ - real_T m_bpLambda_ms[3]; /* '/table3D_CD_df' */ - real_T m_bpLambda_d[3]; /* '/table3D_Cl_aos' */ - real_T m_bpLambda_d2[3]; /* '/table3D_Cl_da' */ - real_T m_bpLambda_e[3]; /* '/table3D_Cl_dr' */ - real_T m_bpLambda_j[3]; /* '/table3D_Cm_aos' */ - real_T m_bpLambda_ai[3]; /* '/table3D_Cm_da' */ - real_T m_bpLambda_jd[3]; /* '/table3D_Cm_de' */ - real_T m_bpLambda_jo[3]; /* '/table3D_Cm_dr' */ - real_T m_bpLambda_dm[3]; /* '/table3D_Cm_df' */ - real_T m_bpLambda_dg[3]; /* '/table3D_Cn_aos' */ - real_T m_bpLambda_o[3]; /* '/table3D_Cn_da' */ - real_T m_bpLambda_if[3]; /* '/table3D_Cn_dr' */ - real_T m_bpLambda_l1[3]; /* '/table3D_thrust' */ - real_T m_bpLambda_or[3]; /* '/table3D_cft' */ - real_T Product2_DWORK4[9]; /* '/Product2' */ - real_T m_bpLambda_ak[3]; /* '/table3D_Nh' */ - real_T last_lat1_in; /* '/nav_corner' */ - real_T last_lon1_in; /* '/nav_corner' */ - real_T DiscreteTransferFcn_tmp[3]; /* '/Discrete Transfer Fcn' */ - real_T DiscreteTransferFcn_tmp_f[3]; /* '/Discrete Transfer Fcn' */ - real_T qbar0; /* '/zero_set' */ - real_T SFunction_temp_table[8]; /* '/S-Function' */ - real_T SFunction_pres_table[8]; /* '/S-Function' */ - real_T Memory_PreviousInput; /* '/Memory' */ - real_T SFunction_temp_table_i[8]; /* '/S-Function' */ - real_T SFunction_pres_table_n[8]; /* '/S-Function' */ - real_T WGS84GravitySFunction_h; /* '/WGS84 Gravity S-Function' */ - real_T WGS84GravitySFunction_phi; /* '/WGS84 Gravity S-Function' */ - real_T WGS84GravitySFunction_lambda; /* '/WGS84 Gravity S-Function' */ - real_T WGS84GravitySFunction_gamma_h;/* '/WGS84 Gravity S-Function' */ - real_T WGS84GravitySFunction_gamma_phi;/* '/WGS84 Gravity S-Function' */ + real_T m_bpLambda_n[3]; /* '/table3D_CL_dr' */ + real_T m_bpLambda_c[3]; /* '/table3D_CL_df' */ + real_T m_bpLambda_f[3]; /* '/table3D_CY_base_delta' */ + real_T m_bpLambda_m[3]; /* '/table3D_CY_aos' */ + real_T m_bpLambda_j[3]; /* '/table3D_CY_da' */ + real_T m_bpLambda_a5[3]; /* '/table3D_CY_dr' */ + real_T m_bpLambda_b[3]; /* '/table3D_CD_base_delta' */ + real_T m_bpLambda_ay[3]; /* '/table3D_CD_aos' */ + real_T m_bpLambda_h[3]; /* '/table3D_CD_da' */ + real_T m_bpLambda_ms[3]; /* '/table3D_CD_de' */ + real_T m_bpLambda_o[3]; /* '/table3D_CD_dr' */ + real_T m_bpLambda_fr[3]; /* '/table3D_CD_df' */ + real_T m_bpLambda_g[3]; /* '/table3D_Cl_base_delta' */ + real_T m_bpLambda_ls[3]; /* '/table3D_Cl_aos' */ + real_T m_bpLambda_d1[3]; /* '/table3D_Cl_da' */ + real_T m_bpLambda_mp[3]; /* '/table3D_Cl_dr' */ + real_T m_bpLambda_mq[3]; /* '/table3D_Cm_base_delta' */ + real_T m_bpLambda_frx[3]; /* '/table3D_Cm_aos' */ + real_T m_bpLambda_c0[3]; /* '/table3D_Cm_da' */ + real_T m_bpLambda_nv[3]; /* '/table3D_Cm_de' */ + real_T m_bpLambda_ai[3]; /* '/table3D_Cm_dr' */ + real_T m_bpLambda_i[3]; /* '/table3D_Cm_df' */ + real_T m_bpLambda_al[3]; /* '/table3D_Cn_aos' */ + real_T m_bpLambda_k[3]; /* '/table3D_Cn_base_delta' */ + real_T m_bpLambda_lo[3]; /* '/table3D_Cn_da' */ + real_T m_bpLambda_be[3]; /* '/table3D_Cn_dr' */ + real_T m_bpLambda_ad[3]; /* '/table3D_thrust' */ + real_T m_bpLambda_adl[3]; /* '/table3D_cft' */ + real_T Product2_DWORK4[9]; /* '/Product2' */ + real_T m_bpLambda_p[3]; /* '/table3D_Nh' */ + real_T last_lat1_in; /* '/nav_corner' */ + real_T last_lon1_in; /* '/nav_corner' */ + real_T DiscreteTransferFcn_tmp[3]; /* '/Discrete Transfer Fcn' */ + real_T DiscreteTransferFcn_tmp_f[3]; /* '/Discrete Transfer Fcn' */ + real_T qbar0; /* '/zero_set' */ + real_T SFunction_temp_table[8]; /* '/S-Function' */ + real_T SFunction_pres_table[8]; /* '/S-Function' */ + real_T Memory_PreviousInput; /* '/Memory' */ + real_T SFunction_temp_table_i[8]; /* '/S-Function' */ + real_T SFunction_pres_table_n[8]; /* '/S-Function' */ + real_T WGS84GravitySFunction_h; /* '/WGS84 Gravity S-Function' */ + real_T WGS84GravitySFunction_phi; /* '/WGS84 Gravity S-Function' */ + real_T WGS84GravitySFunction_lambda; /* '/WGS84 Gravity S-Function' */ + real_T WGS84GravitySFunction_gamma_h;/* '/WGS84 Gravity S-Function' */ + real_T WGS84GravitySFunction_gamma_phi;/* '/WGS84 Gravity S-Function' */ real_T Product_DWORK4[9]; /* '/Product' */ real_T Product_DWORK4_h[9]; /* '/Product' */ - CommandAck ack_msgData; /* '/Chart_send_ack' */ - CommandAck ack_msgData_o; /* '/proc_cmd' */ - mavlink_mission_count_t mission_cnt_msgData;/* '/Chart_proc_mission_upload' */ - mavlink_mission_count_t send_cnt_msgData;/* '/Chart' */ - mavlink_mission_count_t send_cnt_msgData_d;/* '/Chart_proc_mission_req_lst' */ - mavlink_mission_count_t mission_cnt_queue_msgData;/* '/traffic_ctrl' */ - mavlink_mission_ack_t mission_ack_msgData;/* '/Chart_proc_mission_upload' */ - mavlink_mission_ack_t ack1_msgData; /* '/merge_ack' */ - mavlink_mission_ack_t ack2_msgData; /* '/merge_ack' */ - mavlink_mission_ack_t ack_msgData_a; /* '/merge_ack' */ - mavlink_mission_ack_t ack3_msgData; /* '/merge_ack' */ - mavlink_mission_ack_t send_ack_msgData_j;/* '/Chart_proc_mission_clr_all' */ - mavlink_mission_ack_t send_ack_msgData_b;/* '/Chart_proc_mission_req' */ - mavlink_mission_ack_t mission_ack_queue_msgData;/* '/traffic_ctrl' */ - mavlink_mission_current_t cur_msgData;/* '/req_cur' */ - mavlink_mission_current_t mission_cur_queue_msgData;/* '/traffic_ctrl' */ - mavlink_mission_request_int_t mission_req_int_msgData;/* '/Chart_proc_mission_upload' */ - mavlink_mission_request_int_t mission_req_int_queue_msgData;/* '/traffic_ctrl' */ + CommandAck ack_msgData; /* '/Chart_send_ack' */ + CommandAck ack_msgData_o; /* '/proc_cmd' */ + mavlink_mission_count_t mission_cnt_msgData;/* '/Chart_proc_mission_upload' */ + mavlink_mission_count_t send_cnt_msgData;/* '/Chart' */ + mavlink_mission_count_t send_cnt_msgData_d;/* '/Chart_proc_mission_req_lst' */ + mavlink_mission_count_t mission_cnt_queue_msgData;/* '/traffic_ctrl' */ + mavlink_mission_ack_t mission_ack_msgData;/* '/Chart_proc_mission_upload' */ + mavlink_mission_ack_t ack1_msgData; /* '/merge_ack' */ + mavlink_mission_ack_t ack2_msgData; /* '/merge_ack' */ + mavlink_mission_ack_t ack_msgData_a; /* '/merge_ack' */ + mavlink_mission_ack_t ack3_msgData; /* '/merge_ack' */ + mavlink_mission_ack_t send_ack_msgData_j;/* '/Chart_proc_mission_clr_all' */ + mavlink_mission_ack_t send_ack_msgData_b;/* '/Chart_proc_mission_req' */ + mavlink_mission_ack_t mission_ack_queue_msgData;/* '/traffic_ctrl' */ + mavlink_mission_current_t cur_msgData;/* '/req_cur' */ + mavlink_mission_current_t mission_cur_queue_msgData;/* '/traffic_ctrl' */ + mavlink_mission_request_int_t mission_req_int_msgData;/* '/Chart_proc_mission_upload' */ + mavlink_mission_request_int_t mission_req_int_queue_msgData;/* '/traffic_ctrl' */ Msg_uint16 EntityQueue_InsertedFor_req_cur_at_inport_0_Msg_uint16;/* synthesized block */ Msg_uint16 EntityQueue_InsertedFor_req_cur_at_inport_0_Out1_recvBuffer;/* synthesized block */ Msg_uint16 EntityQueue_InsertedFor_proc_set_cur_at_inport_0_Msg_uint16[10];/* synthesized block */ @@ -1445,306 +1425,307 @@ typedef struct { Queue_mavlink_serial_control_t EntityQueue_InsertedFor_traffic_ctrl_at_inport_10_Queue_mavlink;/* synthesized block */ MemPool_mavlink_serial_control_t slMsgMgr_MemPool_mavlink_serial_control_t;/* synthesized block */ - void* send_echo_msgInterface; /* '/Chart_send_serial_control' */ - void* msg_msgInterface; /* '/proc_param_value' */ - void* param_req_read_msgInterface; /* '/proc_param_value' */ - void* param_req_read_msgHandle; /* '/proc_param_value' */ - void* param_req_read_msgDataPtr; /* '/proc_param_value' */ - void* param_req_lst_msgInterface; /* '/proc_param_value' */ - void* param_req_lst_msgHandle; /* '/proc_param_value' */ - void* param_req_lst_msgDataPtr; /* '/proc_param_value' */ - void* param_set_msgInterface; /* '/proc_param_value' */ - void* param_set_msgHandle; /* '/proc_param_value' */ - void* param_set_msgDataPtr; /* '/proc_param_value' */ - void* req_cur_msgInterface; /* '/req_cur' */ - void* req_cur_msgHandle; /* '/req_cur' */ - void* req_cur_msgDataPtr; /* '/req_cur' */ - void* set_cur_msgInterface; /* '/req_cur' */ - void* cur_msgInterface; /* '/req_cur' */ - void* mission_cnt_msgInterface; /* '/Chart_proc_mission_upload' */ - void* mission_cnt_msgHandle; /* '/Chart_proc_mission_upload' */ - void* mission_cnt_msgDataPtr; /* '/Chart_proc_mission_upload' */ - void* mission_item_msgInterface; /* '/Chart_proc_mission_upload' */ - void* mission_item_msgHandle; /* '/Chart_proc_mission_upload' */ - void* mission_item_msgDataPtr; /* '/Chart_proc_mission_upload' */ - void* mission_req_int_msgInterface; /* '/Chart_proc_mission_upload' */ - void* mission_ack_msgInterface; /* '/Chart_proc_mission_upload' */ - void* ack1_msgInterface; /* '/merge_ack' */ - void* ack1_msgHandle; /* '/merge_ack' */ - void* ack1_msgDataPtr; /* '/merge_ack' */ - void* ack2_msgInterface; /* '/merge_ack' */ - void* ack2_msgHandle; /* '/merge_ack' */ - void* ack2_msgDataPtr; /* '/merge_ack' */ - void* ack_msgInterface; /* '/merge_ack' */ - void* ack3_msgInterface; /* '/merge_ack' */ - void* ack3_msgHandle; /* '/merge_ack' */ - void* ack3_msgDataPtr; /* '/merge_ack' */ - void* msgs_msgInterface; /* '/proc_queue' */ - void* msgs_msgHandle; /* '/proc_queue' */ - void* msgs_msgDataPtr; /* '/proc_queue' */ - void* msg_msgInterface_b; /* '/send_cmd' */ - void* ap_ver_msgInterface; /* '/send_auto_hw' */ - void* send_req_msgInterface; /* '/Chart' */ - void* send_ack_msgInterface; /* '/Chart_proc_mission_clr_all' */ - void* send_cnt_msgInterface; /* '/Chart' */ - void* send_cnt_msgInterface_j; /* '/Chart_proc_mission_req_lst' */ - void* req_cur_msgInterface_n; /* '/Chart' */ - void* send_item_msgInterface; /* '/Chart_proc_mission_req' */ - void* send_ack_msgInterface_a; /* '/Chart_proc_mission_req' */ - void* resp_msgInterface; /* '/Chart_proc_param_set' */ - void* resp_msgInterface_o; /* '/Chart' */ - void* resp_msgInterface_i; /* '/Chart_proc_param_req_read' */ - void* msgs_msgInterface_n; /* '/push2msgs' */ - void* param_val_queue_msgInterface; /* '/traffic_ctrl' */ - void* param_val_queue_msgHandle; /* '/traffic_ctrl' */ - void* param_val_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* mission_cnt_queue_msgInterface;/* '/traffic_ctrl' */ - void* mission_cnt_queue_msgHandle; /* '/traffic_ctrl' */ - void* mission_cnt_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* mission_req_int_queue_msgInterface;/* '/traffic_ctrl' */ - void* mission_req_int_queue_msgHandle;/* '/traffic_ctrl' */ - void* mission_req_int_queue_msgDataPtr;/* '/traffic_ctrl' */ - void* mission_item_int_queue_msgInterface;/* '/traffic_ctrl' */ - void* mission_item_int_queue_msgHandle;/* '/traffic_ctrl' */ - void* mission_item_int_queue_msgDataPtr;/* '/traffic_ctrl' */ - void* ap_ver_queue_msgInterface; /* '/traffic_ctrl' */ - void* ap_ver_queue_msgHandle; /* '/traffic_ctrl' */ - void* ap_ver_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* mission_ack_queue_msgInterface;/* '/traffic_ctrl' */ - void* mission_ack_queue_msgHandle; /* '/traffic_ctrl' */ - void* mission_ack_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* mission_cur_queue_msgInterface;/* '/traffic_ctrl' */ - void* mission_cur_queue_msgHandle; /* '/traffic_ctrl' */ - void* mission_cur_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* command_ack_queue_msgInterface;/* '/traffic_ctrl' */ - void* command_ack_queue_msgHandle; /* '/traffic_ctrl' */ - void* command_ack_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* serial_echoline_msgInterface; /* '/traffic_ctrl' */ - void* serial_echoline_msgHandle; /* '/traffic_ctrl' */ - void* serial_echoline_msgDataPtr; /* '/traffic_ctrl' */ - void* send_ack_msgInterface_c; /* '/Chart_send_ack' */ - void* ack_msgInterface_j; /* '/Chart_send_ack' */ - void* ack_msgHandle; /* '/Chart_send_ack' */ - void* ack_msgDataPtr; /* '/Chart_send_ack' */ - void* cmd_msgInterface; /* '/mission_proc' */ - void* set_cur_msgInterface_b; /* '/proc_set_ cur' */ - void* set_cur_msgHandle; /* '/proc_set_ cur' */ - void* set_cur_msgDataPtr; /* '/proc_set_ cur' */ - void* cmd_msgInterface_c; /* '/proc_cmd' */ - void* cmd_msgHandle; /* '/proc_cmd' */ - void* cmd_msgDataPtr; /* '/proc_cmd' */ - void* cmd2_msgInterface; /* '/proc_cmd' */ - void* cmd2_msgHandle; /* '/proc_cmd' */ - void* cmd2_msgDataPtr; /* '/proc_cmd' */ - void* ack_msgInterface_c; /* '/proc_cmd' */ + void* send_echo_msgInterface; /* '/Chart_send_serial_control' */ + void* msg_msgInterface; /* '/proc_param_value' */ + void* param_req_read_msgInterface; /* '/proc_param_value' */ + void* param_req_read_msgHandle; /* '/proc_param_value' */ + void* param_req_read_msgDataPtr; /* '/proc_param_value' */ + void* param_req_lst_msgInterface; /* '/proc_param_value' */ + void* param_req_lst_msgHandle; /* '/proc_param_value' */ + void* param_req_lst_msgDataPtr; /* '/proc_param_value' */ + void* param_set_msgInterface; /* '/proc_param_value' */ + void* param_set_msgHandle; /* '/proc_param_value' */ + void* param_set_msgDataPtr; /* '/proc_param_value' */ + void* req_cur_msgInterface; /* '/req_cur' */ + void* req_cur_msgHandle; /* '/req_cur' */ + void* req_cur_msgDataPtr; /* '/req_cur' */ + void* set_cur_msgInterface; /* '/req_cur' */ + void* cur_msgInterface; /* '/req_cur' */ + void* mission_cnt_msgInterface; /* '/Chart_proc_mission_upload' */ + void* mission_cnt_msgHandle; /* '/Chart_proc_mission_upload' */ + void* mission_cnt_msgDataPtr; /* '/Chart_proc_mission_upload' */ + void* mission_item_msgInterface; /* '/Chart_proc_mission_upload' */ + void* mission_item_msgHandle; /* '/Chart_proc_mission_upload' */ + void* mission_item_msgDataPtr; /* '/Chart_proc_mission_upload' */ + void* mission_req_int_msgInterface; /* '/Chart_proc_mission_upload' */ + void* mission_ack_msgInterface; /* '/Chart_proc_mission_upload' */ + void* ack1_msgInterface; /* '/merge_ack' */ + void* ack1_msgHandle; /* '/merge_ack' */ + void* ack1_msgDataPtr; /* '/merge_ack' */ + void* ack2_msgInterface; /* '/merge_ack' */ + void* ack2_msgHandle; /* '/merge_ack' */ + void* ack2_msgDataPtr; /* '/merge_ack' */ + void* ack_msgInterface; /* '/merge_ack' */ + void* ack3_msgInterface; /* '/merge_ack' */ + void* ack3_msgHandle; /* '/merge_ack' */ + void* ack3_msgDataPtr; /* '/merge_ack' */ + void* msgs_msgInterface; /* '/proc_queue' */ + void* msgs_msgHandle; /* '/proc_queue' */ + void* msgs_msgDataPtr; /* '/proc_queue' */ + void* msg_msgInterface_b; /* '/send_cmd' */ + void* ap_ver_msgInterface; /* '/send_auto_hw' */ + void* send_req_msgInterface; /* '/Chart' */ + void* send_ack_msgInterface; /* '/Chart_proc_mission_clr_all' */ + void* send_cnt_msgInterface; /* '/Chart' */ + void* send_cnt_msgInterface_j; /* '/Chart_proc_mission_req_lst' */ + void* req_cur_msgInterface_n; /* '/Chart' */ + void* send_item_msgInterface; /* '/Chart_proc_mission_req' */ + void* send_ack_msgInterface_a; /* '/Chart_proc_mission_req' */ + void* resp_msgInterface; /* '/Chart_proc_param_set' */ + void* resp_msgInterface_o; /* '/Chart' */ + void* resp_msgInterface_i; /* '/Chart_proc_param_req_read' */ + void* msgs_msgInterface_n; /* '/push2msgs' */ + void* param_val_queue_msgInterface; /* '/traffic_ctrl' */ + void* param_val_queue_msgHandle; /* '/traffic_ctrl' */ + void* param_val_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* mission_cnt_queue_msgInterface;/* '/traffic_ctrl' */ + void* mission_cnt_queue_msgHandle; /* '/traffic_ctrl' */ + void* mission_cnt_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* mission_req_int_queue_msgInterface;/* '/traffic_ctrl' */ + void* mission_req_int_queue_msgHandle;/* '/traffic_ctrl' */ + void* mission_req_int_queue_msgDataPtr;/* '/traffic_ctrl' */ + void* mission_item_int_queue_msgInterface;/* '/traffic_ctrl' */ + void* mission_item_int_queue_msgHandle;/* '/traffic_ctrl' */ + void* mission_item_int_queue_msgDataPtr;/* '/traffic_ctrl' */ + void* ap_ver_queue_msgInterface; /* '/traffic_ctrl' */ + void* ap_ver_queue_msgHandle; /* '/traffic_ctrl' */ + void* ap_ver_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* mission_ack_queue_msgInterface;/* '/traffic_ctrl' */ + void* mission_ack_queue_msgHandle; /* '/traffic_ctrl' */ + void* mission_ack_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* mission_cur_queue_msgInterface;/* '/traffic_ctrl' */ + void* mission_cur_queue_msgHandle; /* '/traffic_ctrl' */ + void* mission_cur_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* command_ack_queue_msgInterface;/* '/traffic_ctrl' */ + void* command_ack_queue_msgHandle; /* '/traffic_ctrl' */ + void* command_ack_queue_msgDataPtr; /* '/traffic_ctrl' */ + void* serial_echoline_msgInterface; /* '/traffic_ctrl' */ + void* serial_echoline_msgHandle; /* '/traffic_ctrl' */ + void* serial_echoline_msgDataPtr; /* '/traffic_ctrl' */ + void* send_ack_msgInterface_c; /* '/Chart_send_ack' */ + void* ack_msgInterface_j; /* '/Chart_send_ack' */ + void* ack_msgHandle; /* '/Chart_send_ack' */ + void* ack_msgDataPtr; /* '/Chart_send_ack' */ + void* cmd_msgInterface; /* '/mission_proc' */ + void* set_cur_msgInterface_b; /* '/proc_set_ cur' */ + void* set_cur_msgHandle; /* '/proc_set_ cur' */ + void* set_cur_msgDataPtr; /* '/proc_set_ cur' */ + void* cmd_msgInterface_c; /* '/proc_cmd' */ + void* cmd_msgHandle; /* '/proc_cmd' */ + void* cmd_msgDataPtr; /* '/proc_cmd' */ + void* cmd2_msgInterface; /* '/proc_cmd' */ + void* cmd2_msgHandle; /* '/proc_cmd' */ + void* cmd2_msgDataPtr; /* '/proc_cmd' */ + void* ack_msgInterface_c; /* '/proc_cmd' */ void* Assertion_slioAccessor; /* '/Assertion' */ void* Assertion_slioAccessor_a; /* '/Assertion' */ - real32_T UnitDelay_DSTATE_o; /* '/Unit Delay' */ - real32_T UnitDelay_DSTATE_d; /* '/Unit Delay' */ - real32_T UnitDelay_DSTATE_m; /* '/Unit Delay' */ - real32_T Delay_DSTATE; /* '/Delay' */ - real32_T Delay_DSTATE_i; /* '/Delay' */ - real32_T UnitDelay_DSTATE_om; /* '/Unit Delay' */ - real32_T Delay_DSTATE_m; /* '/Delay' */ - real32_T UnitDelay_DSTATE_e; /* '/Unit Delay' */ - real32_T Delay_DSTATE_it; /* '/Delay' */ - real32_T DiscreteTransferFcn_states_h[2];/* '/Discrete Transfer Fcn' */ - real32_T Delay_DSTATE_im; /* '/Delay' */ - real32_T UnitDelay_DSTATE_j; /* '/Unit Delay' */ - real32_T Delay2_DSTATE; /* '/Delay2' */ - real32_T Delay4_DSTATE; /* '/Delay4' */ - real32_T Delay3_DSTATE; /* '/Delay3' */ - real32_T DiscreteTimeIntegrator_DSTATE;/* '/Discrete-Time Integrator' */ - real32_T Delay1_DSTATE; /* '/Delay1' */ - real32_T DiscreteTimeIntegrator1_DSTATE;/* '/Discrete-Time Integrator1' */ - real32_T Delay_DSTATE_j; /* '/Delay' */ - real32_T DiscreteTransferFcn_states_he;/* '/Discrete Transfer Fcn' */ - real32_T Delay_DSTATE_e; /* '/Delay' */ - real32_T UnitDelay_DSTATE_n; /* '/Unit Delay' */ - real32_T DiscreteTimeIntegrator1_DSTATE_c;/* '/Discrete-Time Integrator1' */ - real32_T Delay_DSTATE_k[100]; /* '/Delay' */ - real32_T DiscreteTimeIntegrator_DSTATE_k;/* '/Discrete-Time Integrator' */ - real32_T IntVal_DSTATE; /* '/IntVal' */ - real32_T Delay_DSTATE_ew; /* '/Delay' */ - real32_T Delay_DSTATE_d; /* '/Delay' */ - real32_T last_hdot_c_DSTATE; /* '/last_hdot_c' */ - uint32_T UnitDelay_DSTATE_gx; /* '/Unit Delay' */ - uint32_T UnitDelay_DSTATE_h; /* '/Unit Delay' */ - uint32_T UnitDelay_DSTATE_ok; /* '/Unit Delay' */ - real32_T m_bpLambda_hz[3]; /* '/table3D_cft' */ - real32_T m_bpLambda_mr[3]; /* '/table3D_Nh' */ - real32_T last_az; /* '/nav_corner' */ - real32_T last_hdg; /* '/nav_corner' */ - real32_T DiscreteTransferFcn_tmp_i; /* '/Discrete Transfer Fcn' */ - real32_T t; /* '/sweep_generator' */ - real32_T freq; /* '/sweep_generator' */ - real32_T PrevY_e[3]; /* '/Rate Limiter' */ - real32_T PrevY_k[3]; /* '/Rate Limiter1' */ - real32_T cnt; /* '/zero_set' */ - real32_T qbar1; /* '/zero_set' */ - real32_T pqr0[3]; /* '/IMU_bias_fix' */ - real32_T cnt_a; /* '/IMU_bias_fix' */ - real32_T N0[3]; /* '/IMU_bias_fix' */ - real32_T scaleN; /* '/IMU_bias_fix' */ - real32_T states[14]; /* '/EKF14s' */ - real32_T P[196]; /* '/EKF14s' */ - real32_T Tbn_prev[9]; /* '/EKF14s' */ + real32_T UnitDelay_DSTATE_o; /* '/Unit Delay' */ + real32_T UnitDelay_DSTATE_d; /* '/Unit Delay' */ + real32_T UnitDelay_DSTATE_m; /* '/Unit Delay' */ + real32_T Delay_DSTATE; /* '/Delay' */ + real32_T Delay_DSTATE_i; /* '/Delay' */ + real32_T UnitDelay_DSTATE_om; /* '/Unit Delay' */ + real32_T Delay_DSTATE_m; /* '/Delay' */ + real32_T UnitDelay_DSTATE_e; /* '/Unit Delay' */ + real32_T Delay_DSTATE_it; /* '/Delay' */ + real32_T DiscreteTransferFcn_states_h[2];/* '/Discrete Transfer Fcn' */ + real32_T Delay_DSTATE_im; /* '/Delay' */ + real32_T UnitDelay_DSTATE_j; /* '/Unit Delay' */ + real32_T Delay2_DSTATE; /* '/Delay2' */ + real32_T Delay4_DSTATE; /* '/Delay4' */ + real32_T Delay3_DSTATE; /* '/Delay3' */ + real32_T DiscreteTimeIntegrator_DSTATE;/* '/Discrete-Time Integrator' */ + real32_T Delay1_DSTATE; /* '/Delay1' */ + real32_T DiscreteTimeIntegrator1_DSTATE;/* '/Discrete-Time Integrator1' */ + real32_T Delay_DSTATE_j; /* '/Delay' */ + real32_T DiscreteTransferFcn_states_he;/* '/Discrete Transfer Fcn' */ + real32_T Delay_DSTATE_e; /* '/Delay' */ + real32_T UnitDelay_DSTATE_n; /* '/Unit Delay' */ + real32_T DiscreteTimeIntegrator1_DSTATE_c;/* '/Discrete-Time Integrator1' */ + real32_T Delay_DSTATE_k[100]; /* '/Delay' */ + real32_T DiscreteTimeIntegrator_DSTATE_k;/* '/Discrete-Time Integrator' */ + real32_T IntVal_DSTATE; /* '/IntVal' */ + real32_T Delay_DSTATE_ew; /* '/Delay' */ + real32_T Delay_DSTATE_d; /* '/Delay' */ + real32_T last_hdot_c_DSTATE; /* '/last_hdot_c' */ + uint32_T UnitDelay_DSTATE_gx; /* '/Unit Delay' */ + uint32_T UnitDelay_DSTATE_h; /* '/Unit Delay' */ + uint32_T UnitDelay_DSTATE_ok; /* '/Unit Delay' */ + real32_T m_bpLambda_a0[3]; /* '/table3D_cft' */ + real32_T m_bpLambda_f0[3]; /* '/table3D_Nh' */ + real32_T last_az; /* '/nav_corner' */ + real32_T last_hdg; /* '/nav_corner' */ + real32_T DiscreteTransferFcn_tmp_i; /* '/Discrete Transfer Fcn' */ + real32_T t; /* '/sweep_generator' */ + real32_T freq; /* '/sweep_generator' */ + real32_T PrevY_e[3]; /* '/Rate Limiter' */ + real32_T PrevY_k[3]; /* '/Rate Limiter1' */ + real32_T cnt; /* '/zero_set' */ + real32_T qbar1; /* '/zero_set' */ + real32_T pqr0[3]; /* '/IMU_bias_fix' */ + real32_T cnt_a; /* '/IMU_bias_fix' */ + real32_T N0[3]; /* '/IMU_bias_fix' */ + real32_T scaleN; /* '/IMU_bias_fix' */ + real32_T states[14]; /* '/EKF14s' */ + real32_T P[196]; /* '/EKF14s' */ + real32_T Tbn_prev[9]; /* '/EKF14s' */ int32_T counter; /* synthesized block */ - uint32_T m_bpIndex[3]; /* '/table3D_CL_aos' */ - uint32_T m_bpIndex_k[3]; /* '/table3D_CL_da' */ - uint32_T m_bpIndex_c[3]; /* '/table3D_CL_de' */ - uint32_T m_bpIndex_a[3]; /* '/table3D_CL_dr' */ - uint32_T m_bpIndex_k3[3]; /* '/table3D_CL_df' */ - uint32_T m_bpIndex_kr[3]; /* '/table3D_CY_aos' */ - uint32_T m_bpIndex_p[3]; /* '/table3D_CY_da' */ - uint32_T m_bpIndex_i[3]; /* '/table3D_CY_dr' */ - uint32_T m_bpIndex_o[3]; /* '/table3D_CD_aos' */ - uint32_T m_bpIndex_g[3]; /* '/table3D_CD_da' */ - uint32_T m_bpIndex_az[3]; /* '/table3D_CD_de' */ - uint32_T m_bpIndex_p1[3]; /* '/table3D_CD_dr' */ - uint32_T m_bpIndex_m[3]; /* '/table3D_CD_df' */ - uint32_T m_bpIndex_j; /* '/1-D Lookup Table' */ - uint32_T m_bpIndex_an[3]; /* '/table3D_Cl_aos' */ - uint32_T m_bpIndex_im[3]; /* '/table3D_Cl_da' */ - uint32_T m_bpIndex_gc[3]; /* '/table3D_Cl_dr' */ - uint32_T m_bpIndex_mm[3]; /* '/table3D_Cm_aos' */ - uint32_T m_bpIndex_pa[3]; /* '/table3D_Cm_da' */ - uint32_T m_bpIndex_d[3]; /* '/table3D_Cm_de' */ - uint32_T m_bpIndex_f[3]; /* '/table3D_Cm_dr' */ - uint32_T m_bpIndex_pr[3]; /* '/table3D_Cm_df' */ - uint32_T m_bpIndex_p4[3]; /* '/table3D_Cn_aos' */ - uint32_T m_bpIndex_h[3]; /* '/table3D_Cn_da' */ - uint32_T m_bpIndex_ar[3]; /* '/table3D_Cn_dr' */ - uint32_T m_bpIndex_anb[2]; /* '/table2D_thrustAB' */ - uint32_T m_bpIndex_db[3]; /* '/table3D_thrust' */ - uint32_T m_bpIndex_il[2]; /* '/table2D_cftAB' */ - uint32_T m_bpIndex_g0[3]; /* '/table3D_cft' */ - uint32_T m_bpIndex_k2[2]; /* '/table2D_NhAB' */ - uint32_T m_bpIndex_k5[3]; /* '/table3D_Nh' */ - uint32_T m_bpIndex_b; /* '/1-D Lookup Table' */ - uint32_T m_bpIndex_kw; /* '/1-D Lookup Table' */ - uint32_T m_bpIndex_df; /* '/IAS_lookup' */ - uint32_T m_bpIndex_di; /* '/1-D Lookup Table' */ - uint32_T m_bpIndex_ay[2]; /* '/table2D_cftAB' */ - uint32_T m_bpIndex_me; /* '/P22' */ - uint32_T m_bpIndex_e; /* '/P12' */ - uint32_T m_bpIndex_pc; /* '/P21' */ - uint32_T m_bpIndex_gj; /* '/P11' */ - uint32_T m_bpIndex_d3[3]; /* '/table3D_cft' */ - uint32_T m_bpIndex_or[2]; /* '/table2D_NhAB' */ - uint32_T m_bpIndex_n[3]; /* '/table3D_Nh' */ - uint32_T last_seq; /* '/Chart' */ - uint32_T last_seq_j; /* '/Chart' */ - uint32_T wait_time; /* '/traffic_ctrl' */ - uint32_T temporalCounter_i1; /* '/traffic_ctrl' */ - uint32_T m_bpIndex_dn; /* '/1-D Lookup Table' */ - uint32_T temporalCounter_i1_j; /* '/takeoff_task' */ - uint32_T temporalCounter_i1_f; /* '/check_conn' */ - uint32_T m_bpIndex_paf; /* '/1-D Lookup Table' */ - uint32_T temporalCounter_i1_i; /* '/tick' */ - uint32_T temporalCounter_i1_d; /* '/tick' */ - uint32_T temporalCounter_i1_e; /* '/tick' */ - int_T p1_IWORK; /* '/p1' */ - int_T q_IWORK; /* '/q' */ - int_T pqr_IWORK; /* '/p,q,r ' */ - int_T Integrator_IWORK; /* '/Integrator' */ - int_T Integrator_IWORK_a; /* '/Integrator' */ - int_T Integrator_IWORK_c; /* '/Integrator' */ - int_T Integrator_IWORK_j; /* '/Integrator' */ - int_T Integrator_IWORK_ay; /* '/Integrator' */ - int_T p_IWORK; /* '/p' */ + uint32_T m_bpIndex[3]; /* '/table3D_CL_base_delta' */ + uint32_T m_bpIndex_c[3]; /* '/table3D_CL_aos' */ + uint32_T m_bpIndex_d[3]; /* '/table3D_CL_da' */ + uint32_T m_bpIndex_k[3]; /* '/table3D_CL_de' */ + uint32_T m_bpIndex_dw[3]; /* '/table3D_CL_dr' */ + uint32_T m_bpIndex_j[3]; /* '/table3D_CL_df' */ + uint32_T m_bpIndex_o[3]; /* '/table3D_CY_base_delta' */ + uint32_T m_bpIndex_p[3]; /* '/table3D_CY_aos' */ + uint32_T m_bpIndex_d4[3]; /* '/table3D_CY_da' */ + uint32_T m_bpIndex_da[3]; /* '/table3D_CY_dr' */ + uint32_T m_bpIndex_g[3]; /* '/table3D_CD_base_delta' */ + uint32_T m_bpIndex_a[3]; /* '/table3D_CD_aos' */ + uint32_T m_bpIndex_p1[3]; /* '/table3D_CD_da' */ + uint32_T m_bpIndex_m[3]; /* '/table3D_CD_de' */ + uint32_T m_bpIndex_l[3]; /* '/table3D_CD_dr' */ + uint32_T m_bpIndex_dh[3]; /* '/table3D_CD_df' */ + uint32_T m_bpIndex_ja; /* '/1-D Lookup Table' */ + uint32_T m_bpIndex_cs[3]; /* '/table3D_Cl_base_delta' */ + uint32_T m_bpIndex_jk[3]; /* '/table3D_Cl_aos' */ + uint32_T m_bpIndex_md[3]; /* '/table3D_Cl_da' */ + uint32_T m_bpIndex_f[3]; /* '/table3D_Cl_dr' */ + uint32_T m_bpIndex_ki[3]; /* '/table3D_Cm_base_delta' */ + uint32_T m_bpIndex_i[3]; /* '/table3D_Cm_aos' */ + uint32_T m_bpIndex_fc[3]; /* '/table3D_Cm_da' */ + uint32_T m_bpIndex_oc[3]; /* '/table3D_Cm_de' */ + uint32_T m_bpIndex_pa[3]; /* '/table3D_Cm_dr' */ + uint32_T m_bpIndex_i2[3]; /* '/table3D_Cm_df' */ + uint32_T m_bpIndex_cj[3]; /* '/table3D_Cn_aos' */ + uint32_T m_bpIndex_n[3]; /* '/table3D_Cn_base_delta' */ + uint32_T m_bpIndex_mr[3]; /* '/table3D_Cn_da' */ + uint32_T m_bpIndex_mj[3]; /* '/table3D_Cn_dr' */ + uint32_T m_bpIndex_e[3]; /* '/table3D_thrust' */ + uint32_T m_bpIndex_l0[3]; /* '/table3D_cft' */ + uint32_T m_bpIndex_lk[3]; /* '/table3D_Nh' */ + uint32_T m_bpIndex_b; /* '/1-D Lookup Table' */ + uint32_T m_bpIndex_kw; /* '/1-D Lookup Table' */ + uint32_T m_bpIndex_df; /* '/IAS_lookup' */ + uint32_T m_bpIndex_di; /* '/1-D Lookup Table' */ + uint32_T m_bpIndex_me; /* '/P22' */ + uint32_T m_bpIndex_eh; /* '/P12' */ + uint32_T m_bpIndex_pc; /* '/P21' */ + uint32_T m_bpIndex_gj; /* '/P11' */ + uint32_T m_bpIndex_h[3]; /* '/table3D_cft' */ + uint32_T m_bpIndex_ao[3]; /* '/table3D_Nh' */ + uint32_T last_seq; /* '/Chart' */ + uint32_T last_seq_j; /* '/Chart' */ + uint32_T wait_time; /* '/traffic_ctrl' */ + uint32_T temporalCounter_i1; /* '/traffic_ctrl' */ + uint32_T m_bpIndex_dn; /* '/1-D Lookup Table' */ + uint32_T temporalCounter_i1_j; /* '/takeoff_task' */ + uint32_T temporalCounter_i1_f; /* '/check_conn' */ + uint32_T m_bpIndex_paf; /* '/1-D Lookup Table' */ + uint32_T temporalCounter_i1_i; /* '/tick' */ + uint32_T temporalCounter_i1_d; /* '/tick' */ + uint32_T temporalCounter_i1_e; /* '/tick' */ + int_T p1_IWORK; /* '/p1' */ + int_T q_IWORK; /* '/q' */ + int_T pqr_IWORK; /* '/p,q,r ' */ + int_T Integrator_IWORK; /* '/Integrator' */ + int_T Integrator_IWORK_a; /* '/Integrator' */ + int_T Integrator_IWORK_c; /* '/Integrator' */ + int_T Integrator_IWORK_j; /* '/Integrator' */ + int_T Integrator_IWORK_ay; /* '/Integrator' */ + int_T p_IWORK; /* '/p' */ uint16_T Delay_DSTATE_mu[64]; /* '/Delay' */ - uint16_T UnitDelay_DSTATE_fe; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_b; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_oi; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_er; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_c; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_jh; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_a; /* '/Unit Delay' */ - uint16_T UnitDelay_DSTATE_okq; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_fe; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_b; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_oi; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_er; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_c; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_jh; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_a; /* '/Unit Delay' */ + uint16_T UnitDelay_DSTATE_okq; /* '/Unit Delay' */ uint16_T UnitDelay1_DSTATE_n; /* '/Unit Delay1' */ uint16_T UnitDelay2_1_DSTATE[18]; /* '/Unit Delay2' */ - uint16_T UnitDelay_DSTATE_ky; /* '/Unit Delay' */ - uint16_T last_seq_e; /* '/Chart' */ - uint16_T last_seq_i; /* '/Chart' */ - uint16_T last_seq_m; /* '/Chart' */ - uint16_T last_seq_o; /* '/Chart' */ - uint16_T last_seq_a; /* '/Chart' */ - uint16_T last_seq_f; /* '/Chart' */ - uint16_T last_seq_p; /* '/Chart' */ - uint16_T last_seq_mf; /* '/Chart' */ - uint16_T last_seq_h; /* '/Chart' */ - uint16_T last_seq_al; /* '/Chart' */ - uint16_T last_seq_pj; /* '/Chart' */ - uint16_T last_seq_ea; /* '/Chart' */ - uint16_T last_seq_ec; /* '/Chart' */ - uint16_T last_seq_k; /* '/Chart' */ - uint16_T temporalCounter_i1_eq; /* '/Chart' */ - uint16_T last_seq_io; /* '/Chart' */ - uint16_T temporalCounter_i1_n; /* '/Chart' */ - uint16_T last_seq_ha; /* '/Chart' */ - uint16_T temporalCounter_i1_p; /* '/Chart' */ - uint16_T temporalCounter_i1_ex; /* '/Chart' */ - uint16_T last_seq_md; /* '/Chart' */ - uint16_T temporalCounter_i1_pv; /* '/Chart' */ - uint16_T last_seq_ho; /* '/Chart' */ - uint16_T temporalCounter_i1_o; /* '/Chart' */ - uint16_T param_req_read_msgData; /* '/proc_param_value' */ - uint16_T param_req_lst_msgData; /* '/proc_param_value' */ - uint16_T param_set_msgData; /* '/proc_param_value' */ - uint16_T temporalCounter_i1_py; /* '/req_cur' */ - uint16_T req_cur_msgData; /* '/req_cur' */ - uint16_T set_cur_msgData; /* '/req_cur' */ - uint16_T count; /* '/Chart_proc_mission_upload' */ - uint16_T req_cur_msgData_d; /* '/Chart' */ - uint16_T resp_msgData; /* '/Chart_proc_param_set' */ - uint16_T resp_msgData_f; /* '/Chart' */ - uint16_T resp_msgData_n; /* '/Chart_proc_param_req_read' */ - uint16_T temporalCounter_i1_h; /* '/standby_emergency' */ - uint16_T temporalCounter_i1_dm; /* '/Chart' */ - uint16_T temporalCounter_i2; /* '/Chart' */ - uint16_T temporalCounter_i1_ov; /* '/landing_task' */ - uint16_T set_cur_msgData_e; /* '/proc_set_ cur' */ - uint16_T last_cnt; /* '/check_conn' */ - uint16_T temporalCounter_i1_c; /* '/check_gps_valid' */ + uint16_T UnitDelay_DSTATE_ky; /* '/Unit Delay' */ + uint16_T last_seq_e; /* '/Chart' */ + uint16_T last_seq_i; /* '/Chart' */ + uint16_T last_seq_m; /* '/Chart' */ + uint16_T last_seq_o; /* '/Chart' */ + uint16_T last_seq_a; /* '/Chart' */ + uint16_T last_seq_f; /* '/Chart' */ + uint16_T last_seq_p; /* '/Chart' */ + uint16_T last_seq_mf; /* '/Chart' */ + uint16_T last_seq_h; /* '/Chart' */ + uint16_T last_seq_al; /* '/Chart' */ + uint16_T last_seq_pj; /* '/Chart' */ + uint16_T last_seq_ea; /* '/Chart' */ + uint16_T last_seq_ec; /* '/Chart' */ + uint16_T last_seq_k; /* '/Chart' */ + uint16_T temporalCounter_i1_eq; /* '/Chart' */ + uint16_T last_seq_io; /* '/Chart' */ + uint16_T temporalCounter_i1_n; /* '/Chart' */ + uint16_T last_seq_ha; /* '/Chart' */ + uint16_T temporalCounter_i1_p; /* '/Chart' */ + uint16_T temporalCounter_i1_ex; /* '/Chart' */ + uint16_T last_seq_md; /* '/Chart' */ + uint16_T temporalCounter_i1_pv; /* '/Chart' */ + uint16_T last_seq_ho; /* '/Chart' */ + uint16_T temporalCounter_i1_o; /* '/Chart' */ + uint16_T param_req_read_msgData; /* '/proc_param_value' */ + uint16_T param_req_lst_msgData; /* '/proc_param_value' */ + uint16_T param_set_msgData; /* '/proc_param_value' */ + uint16_T temporalCounter_i1_py; /* '/req_cur' */ + uint16_T req_cur_msgData; /* '/req_cur' */ + uint16_T set_cur_msgData; /* '/req_cur' */ + uint16_T count; /* '/Chart_proc_mission_upload' */ + uint16_T req_cur_msgData_d; /* '/Chart' */ + uint16_T resp_msgData; /* '/Chart_proc_param_set' */ + uint16_T resp_msgData_f; /* '/Chart' */ + uint16_T resp_msgData_n; /* '/Chart_proc_param_req_read' */ + uint16_T temporalCounter_i1_h; /* '/standby_emergency' */ + uint16_T temporalCounter_i1_dm; /* '/Chart' */ + uint16_T temporalCounter_i2; /* '/Chart' */ + uint16_T temporalCounter_i1_ov; /* '/landing_task' */ + uint16_T set_cur_msgData_e; /* '/proc_set_ cur' */ + uint16_T last_cnt; /* '/check_conn' */ + uint16_T temporalCounter_i1_c; /* '/check_gps_valid' */ uint8_T Delay2_DSTATE_h[4]; /* '/Delay2' */ uint8_T UnitDelay_DSTATE_hx[5]; /* '/Unit Delay' */ uint8_T UnitDelay2_3_DSTATE; /* '/Unit Delay2' */ uint8_T UnitDelay2_2_DSTATE; /* '/Unit Delay2' */ - uint8_T UnitDelay_DSTATE_ho; /* '/Unit Delay' */ - uint8_T UnitDelay_DSTATE_b4; /* '/Unit Delay' */ + uint8_T UnitDelay_DSTATE_ho; /* '/Unit Delay' */ + uint8_T UnitDelay_DSTATE_b4; /* '/Unit Delay' */ boolean_T Delay1_DSTATE_e[4]; /* '/Delay1' */ boolean_T UnitDelay2_4_DSTATE; /* '/Unit Delay2' */ - int8_T If_ActiveSubsystem; /* '/If' */ - int8_T If_ActiveSubsystem_b; /* '/If' */ - int8_T If_ActiveSubsystem_e; /* '/If' */ + int8_T If_ActiveSubsystem; /* '/If' */ + int8_T If_ActiveSubsystem_b; /* '/If' */ + int8_T If_ActiveSubsystem_e; /* '/If' */ int8_T SwitchCase_ActiveSubsystem; /* '/Switch Case' */ - int8_T If1_ActiveSubsystem; /* '/If1' */ - int8_T If1_ActiveSubsystem_l; /* '/If1' */ - int8_T If_ActiveSubsystem_m; /* '/If' */ - int8_T If_ActiveSubsystem_g; /* '/If' */ - int8_T If1_ActiveSubsystem_j; /* '/If1' */ - int8_T If1_ActiveSubsystem_i; /* '/If1' */ - int8_T SwitchCase_ActiveSubsystem_g; /* '/Switch Case' */ - int8_T If_ActiveSubsystem_bj; /* '/If' */ - int8_T SwitchCase_ActiveSubsystem_c; /* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_a; /* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_av;/* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_c0;/* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_o; /* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_l; /* '/Switch Case' */ - int8_T If_ActiveSubsystem_a; /* '/If' */ - int8_T SwitchCase_ActiveSubsystem_avh;/* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_e; /* '/Switch Case' */ - int8_T If_ActiveSubsystem_l; /* '/If' */ - int8_T If_ActiveSubsystem_k; /* '/If' */ - int8_T SwitchCase_ActiveSubsystem_d; /* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_op;/* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_gm;/* '/Switch Case' */ - int8_T SwitchCase_ActiveSubsystem_ar;/* '/Switch Case' */ - int8_T If_ActiveSubsystem_h; /* '/If' */ - int8_T SwitchCase_ActiveSubsystem_gz;/* '/Switch Case' */ - int8_T If_ActiveSubsystem_i; /* '/If' */ + int8_T If1_ActiveSubsystem; /* '/If1' */ + int8_T If1_ActiveSubsystem_l; /* '/If1' */ + int8_T If_ActiveSubsystem_m; /* '/If' */ + int8_T If_ActiveSubsystem_g; /* '/If' */ + int8_T If1_ActiveSubsystem_j; /* '/If1' */ + int8_T If1_ActiveSubsystem_i; /* '/If1' */ + int8_T SwitchCase_ActiveSubsystem_g; /* '/Switch Case' */ + int8_T If_ActiveSubsystem_bj; /* '/If' */ + int8_T SwitchCase_ActiveSubsystem_c; /* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_a; /* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_av;/* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_c0;/* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_o; /* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_l; /* '/Switch Case' */ + int8_T If_ActiveSubsystem_a; /* '/If' */ + int8_T SwitchCase_ActiveSubsystem_avh;/* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_e; /* '/Switch Case' */ + int8_T If_ActiveSubsystem_l; /* '/If' */ + int8_T If_ActiveSubsystem_k; /* '/If' */ + int8_T SwitchCase_ActiveSubsystem_d; /* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_op;/* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_gm;/* '/Switch Case' */ + int8_T SwitchCase_ActiveSubsystem_ar;/* '/Switch Case' */ + int8_T If_ActiveSubsystem_h; /* '/If' */ + int8_T SwitchCase_ActiveSubsystem_gz;/* '/Switch Case' */ + int8_T If_ActiveSubsystem_i; /* '/If' */ uint8_T is_active_c3_kb3_rec; /* '/rec_ctrl' */ uint8_T is_c3_kb3_rec; /* '/rec_ctrl' */ uint8_T is_a20Hz1; /* '/rec_ctrl' */ @@ -1755,191 +1736,191 @@ typedef struct { uint8_T temporalCounter_i2_f; /* '/rec_ctrl' */ uint8_T temporalCounter_i3; /* '/rec_ctrl' */ uint8_T temporalCounter_i4; /* '/rec_ctrl' */ - uint8_T is_active_c90_kb3_autopilot; /* '/Chart' */ - uint8_T is_c90_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_a; /* '/Chart' */ - uint8_T is_active_c89_kb3_autopilot; /* '/Chart' */ - uint8_T is_c89_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_n0; /* '/Chart' */ - uint8_T is_active_c88_kb3_autopilot; /* '/Chart' */ - uint8_T is_c88_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_b; /* '/Chart' */ - uint8_T is_active_c87_kb3_autopilot; /* '/Chart' */ - uint8_T is_c87_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_f2; /* '/Chart' */ - uint8_T is_active_c86_kb3_autopilot; /* '/Chart' */ - uint8_T is_c86_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_iw; /* '/Chart' */ - uint8_T is_active_c85_kb3_autopilot; /* '/Chart' */ - uint8_T is_c85_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_k; /* '/Chart' */ - uint8_T is_active_c82_kb3_autopilot; /* '/Chart' */ - uint8_T is_c82_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_g; /* '/Chart' */ - uint8_T is_active_c81_kb3_autopilot; /* '/Chart' */ - uint8_T is_c81_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_jb; /* '/Chart' */ - uint8_T is_active_c78_kb3_autopilot; /* '/Chart' */ - uint8_T is_c78_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_kg; /* '/Chart' */ - uint8_T is_active_c69_kb3_autopilot; /* '/Chart' */ - uint8_T is_c69_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_je; /* '/Chart' */ - uint8_T is_active_c68_kb3_autopilot; /* '/Chart' */ - uint8_T is_c68_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_l; /* '/Chart' */ - uint8_T temporalCounter_i1_l; /* '/Chart' */ - uint8_T is_active_c67_kb3_autopilot; /* '/Chart' */ - uint8_T is_c67_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_fv; /* '/Chart' */ - uint8_T temporalCounter_i1_mf; /* '/Chart' */ - uint8_T is_active_c66_kb3_autopilot; /* '/Chart' */ - uint8_T is_c66_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_n; /* '/Chart' */ - uint8_T temporalCounter_i1_n2; /* '/Chart' */ - uint8_T is_active_c65_kb3_autopilot; /* '/Chart' */ - uint8_T is_c65_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_jy; /* '/Chart' */ - uint8_T temporalCounter_i1_o1; /* '/Chart' */ - uint8_T is_active_c64_kb3_autopilot; /* '/Chart' */ - uint8_T is_c64_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_ok; /* '/Chart' */ - uint8_T temporalCounter_i1_ms; /* '/Chart' */ - uint8_T is_active_c61_kb3_autopilot; /* '/Chart' */ - uint8_T is_c61_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_i1; /* '/Chart' */ - uint8_T is_active_c60_kb3_autopilot; /* '/Chart' */ - uint8_T is_c60_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_ja; /* '/Chart' */ - uint8_T is_active_c59_kb3_autopilot; /* '/Chart' */ - uint8_T is_c59_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_ji; /* '/Chart' */ - uint8_T is_active_c58_kb3_autopilot; /* '/Chart' */ - uint8_T is_c58_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_kc; /* '/Chart' */ - uint8_T is_active_c57_kb3_autopilot; /* '/Chart' */ - uint8_T is_c57_kb3_autopilot; /* '/Chart' */ - uint8_T is_active_c56_kb3_autopilot; /* '/Chart' */ - uint8_T is_c56_kb3_autopilot; /* '/Chart' */ - uint8_T is_active_c55_kb3_autopilot; /* '/Chart' */ - uint8_T is_c55_kb3_autopilot; /* '/Chart' */ - uint8_T is_active_c54_kb3_autopilot; /* '/Chart' */ - uint8_T is_c54_kb3_autopilot; /* '/Chart' */ - uint8_T is_active_c51_kb3_autopilot; /* '/Chart' */ - uint8_T is_c51_kb3_autopilot; /* '/Chart' */ - uint8_T is_active_c50_kb3_autopilot; /* '/Chart' */ - uint8_T is_c50_kb3_autopilot; /* '/Chart' */ - uint8_T icLoad; /* '/Delay' */ - uint8_T icLoad_m; /* '/Delay' */ - uint8_T is_active_c80_kb3_autopilot; /* '/Chart' */ - uint8_T is_c80_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_ac; /* '/Chart' */ - uint8_T is_active_c31_mavlink_utils; /* '/proc_param_value' */ - uint8_T is_c31_mavlink_utils; /* '/proc_param_value' */ - uint8_T temporalCounter_i1_ia; /* '/proc_param_value' */ - uint8_T is_active_c30_mavlink_utils; /* '/req_cur' */ - uint8_T is_active_c29_mavlink_utils; /* '/Chart_proc_mission_upload' */ - uint8_T is_c29_mavlink_utils; /* '/Chart_proc_mission_upload' */ - uint8_T retry; /* '/Chart_proc_mission_upload' */ - uint8_T temporalCounter_i1_n3; /* '/Chart_proc_mission_upload' */ - uint8_T is_active_c22_mavlink_utils; /* '/merge_ack' */ - uint8_T is_active_c47_kb3_autopilot; /* '/traffic_ctrl' */ - uint8_T is_c47_kb3_autopilot; /* '/traffic_ctrl' */ - uint8_T port_num; /* '/Chart' */ - uint8_T is_active_c36_kb3_autopilot; /* '/Chart_send_ack' */ - uint8_T stage; /* '/nav_corner' */ - uint8_T icLoad_p; /* '/Delay' */ - uint8_T icLoad_a; /* '/Delay' */ - uint8_T icLoad_d; /* '/Delay' */ - uint8_T icLoad_p1; /* '/Delay1' */ - uint8_T icLoad_b; /* '/Delay' */ - uint8_T icLoad_me; /* '/Delay' */ - uint8_T icLoad_i; /* '/IntVal' */ - uint8_T icLoad_l; /* '/Delay' */ - uint8_T icLoad_j; /* '/Delay' */ - uint8_T icLoad_o; /* '/last_hdot_c' */ - uint8_T is_active_c54_update_rc; /* '/valid_checking' */ - uint8_T is_c54_update_rc; /* '/valid_checking' */ - uint8_T seq1; /* '/valid_checking' */ - uint8_T id1; /* '/valid_checking' */ - uint8_T cnt_b; /* '/valid_checking' */ - uint8_T temporalCounter_i1_b5; /* '/valid_checking' */ - uint8_T is_active_c48_mission_proc; /* '/mission_proc' */ - uint8_T is_c48_mission_proc; /* '/mission_proc' */ - uint8_T is_active_c29_kb3_autopilot; /* '/Chart' */ - uint8_T is_c29_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_oc; /* '/Chart' */ - uint8_T is_active_c25_kb3_autopilot; /* '/landing_task' */ - uint8_T is_c25_kb3_autopilot; /* '/landing_task' */ - uint8_T temporalCounter_i1_ei; /* '/landing_task' */ - uint8_T is_active_c28_kb3_autopilot; /* '/takeoff_task' */ - uint8_T is_c28_kb3_autopilot; /* '/takeoff_task' */ - uint8_T is_active_c53_kb3_autopilot; /* '/standby_emergency' */ - uint8_T is_c53_kb3_autopilot; /* '/standby_emergency' */ - uint8_T is_active_c26_kb3_autopilot; /* '/sweep_generator' */ - uint8_T is_c26_kb3_autopilot; /* '/sweep_generator' */ - uint8_T is_active_c24_kb3_autopilot; /* '/TopLevelSwitch' */ - uint8_T is_c24_kb3_autopilot; /* '/TopLevelSwitch' */ - uint8_T is_active_c22_kb3_autopilot; /* '/Chart' */ - uint8_T is_c22_kb3_autopilot; /* '/Chart' */ - uint8_T is_parachute; /* '/Chart' */ - uint8_T is_cover; /* '/Chart' */ - uint8_T is_balloon; /* '/Chart' */ - uint8_T is_cut; /* '/Chart' */ - uint8_T is_active_c21_kb3_autopilot; /* '/landing_task' */ - uint8_T is_c21_kb3_autopilot; /* '/landing_task' */ - uint8_T cnt_m; /* '/landing_task' */ - uint8_T is_active_c14_C2_proc_comm; /* '/proc_set_ cur' */ - uint8_T is_c14_C2_proc_comm; /* '/proc_set_ cur' */ - uint8_T is_active_c54_update_rc_h; /* '/valid_checking' */ - uint8_T is_c54_update_rc_m; /* '/valid_checking' */ - uint8_T seq1_n; /* '/valid_checking' */ - uint8_T id1_n; /* '/valid_checking' */ - uint8_T cnt_k; /* '/valid_checking' */ - uint8_T temporalCounter_i1_hd; /* '/valid_checking' */ - uint8_T is_active_c13_C2_proc_comm; /* '/check_conn' */ - uint8_T is_c13_C2_proc_comm; /* '/check_conn' */ - uint8_T is_active_c19_kb3_autopilot; /* '/proc_cmd' */ - uint8_T is_c19_kb3_autopilot; /* '/proc_cmd' */ - uint8_T is_active_c2_kb3_dummy_io; /* '/tick' */ - uint8_T is_c2_kb3_dummy_io; /* '/tick' */ - uint8_T is_active_c5_kb3_dummy_io; /* '/tick' */ - uint8_T is_c5_kb3_dummy_io; /* '/tick' */ - uint8_T is_active_c4_kb3_dummy_io; /* '/tick' */ - uint8_T is_c4_kb3_dummy_io; /* '/tick' */ - uint8_T is_active_c14_ins_lib; /* '/status_mgr' */ - uint8_T is_c14_ins_lib; /* '/status_mgr' */ - uint8_T is_active_c13_ins_lib; /* '/zero_set' */ - uint8_T is_c13_ins_lib; /* '/zero_set' */ - uint8_T is_active_c11_ins_lib; /* '/IMU_bias_fix' */ - uint8_T is_c11_ins_lib; /* '/IMU_bias_fix' */ - uint8_T is_active_c10_ins_lib; /* '/Chart' */ - uint8_T is_c10_ins_lib; /* '/Chart' */ - uint8_T is_active_c9_ins_lib; /* '/check_gps_valid' */ - uint8_T is_c9_ins_lib; /* '/check_gps_valid' */ - uint8_T cnt_e; /* '/check_gps_valid' */ - uint8_T vel_reset_cnt; /* '/EKF14s' */ - uint8_T hdg_reset_cnt; /* '/EKF14s' */ - uint8_T is_active_c8_pack_parser; /* '/parser' */ - uint8_T is_c8_pack_parser; /* '/parser' */ - uint8_T is_active_c1_sbg; /* '/parser' */ - uint8_T is_c1_sbg; /* '/parser' */ - uint8_T is_active_c1_sbg_j; /* '/parser' */ - uint8_T is_c1_sbg_m; /* '/parser' */ - uint8_T is_active_c1_pack_parser; /* '/parser2' */ - uint8_T is_c1_pack_parser; /* '/parser2' */ - uint8_T sum_n; /* '/parser2' */ - uint8_T is_active_c1_pack_parser_c; /* '/parser2' */ - uint8_T is_c1_pack_parser_a; /* '/parser2' */ - uint8_T sum_b; /* '/parser2' */ - uint8_T is_active_c16_SIL; /* '/parser' */ - uint8_T is_c16_SIL; /* '/parser' */ - uint8_T is_active_c13_SIL; /* '/parser' */ - uint8_T is_c13_SIL; /* '/parser' */ - uint8_T is_active_c9_SIL; /* '/parser' */ - uint8_T is_c9_SIL; /* '/parser' */ - uint8_T is_active_c8_BMU_HLYJ20_F002LB;/* '/parser' */ - uint8_T is_c8_BMU_HLYJ20_F002LB; /* '/parser' */ + uint8_T is_active_c90_kb3_autopilot; /* '/Chart' */ + uint8_T is_c90_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_a; /* '/Chart' */ + uint8_T is_active_c89_kb3_autopilot; /* '/Chart' */ + uint8_T is_c89_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_n0; /* '/Chart' */ + uint8_T is_active_c88_kb3_autopilot; /* '/Chart' */ + uint8_T is_c88_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_b; /* '/Chart' */ + uint8_T is_active_c87_kb3_autopilot; /* '/Chart' */ + uint8_T is_c87_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_f2; /* '/Chart' */ + uint8_T is_active_c86_kb3_autopilot; /* '/Chart' */ + uint8_T is_c86_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_iw; /* '/Chart' */ + uint8_T is_active_c85_kb3_autopilot; /* '/Chart' */ + uint8_T is_c85_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_k; /* '/Chart' */ + uint8_T is_active_c82_kb3_autopilot; /* '/Chart' */ + uint8_T is_c82_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_g; /* '/Chart' */ + uint8_T is_active_c81_kb3_autopilot; /* '/Chart' */ + uint8_T is_c81_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_jb; /* '/Chart' */ + uint8_T is_active_c78_kb3_autopilot; /* '/Chart' */ + uint8_T is_c78_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_kg; /* '/Chart' */ + uint8_T is_active_c69_kb3_autopilot; /* '/Chart' */ + uint8_T is_c69_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_je; /* '/Chart' */ + uint8_T is_active_c68_kb3_autopilot; /* '/Chart' */ + uint8_T is_c68_kb3_autopilot; /* '/Chart' */ + uint8_T last_seq_l; /* '/Chart' */ + uint8_T temporalCounter_i1_l; /* '/Chart' */ + uint8_T is_active_c67_kb3_autopilot; /* '/Chart' */ + uint8_T is_c67_kb3_autopilot; /* '/Chart' */ + uint8_T last_seq_fv; /* '/Chart' */ + uint8_T temporalCounter_i1_mf; /* '/Chart' */ + uint8_T is_active_c66_kb3_autopilot; /* '/Chart' */ + uint8_T is_c66_kb3_autopilot; /* '/Chart' */ + uint8_T last_seq_n; /* '/Chart' */ + uint8_T temporalCounter_i1_n2; /* '/Chart' */ + uint8_T is_active_c65_kb3_autopilot; /* '/Chart' */ + uint8_T is_c65_kb3_autopilot; /* '/Chart' */ + uint8_T last_seq_jy; /* '/Chart' */ + uint8_T temporalCounter_i1_o1; /* '/Chart' */ + uint8_T is_active_c64_kb3_autopilot; /* '/Chart' */ + uint8_T is_c64_kb3_autopilot; /* '/Chart' */ + uint8_T last_seq_ok; /* '/Chart' */ + uint8_T temporalCounter_i1_ms; /* '/Chart' */ + uint8_T is_active_c61_kb3_autopilot; /* '/Chart' */ + uint8_T is_c61_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_i1; /* '/Chart' */ + uint8_T is_active_c60_kb3_autopilot; /* '/Chart' */ + uint8_T is_c60_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_ja; /* '/Chart' */ + uint8_T is_active_c59_kb3_autopilot; /* '/Chart' */ + uint8_T is_c59_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_ji; /* '/Chart' */ + uint8_T is_active_c58_kb3_autopilot; /* '/Chart' */ + uint8_T is_c58_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_kc; /* '/Chart' */ + uint8_T is_active_c57_kb3_autopilot; /* '/Chart' */ + uint8_T is_c57_kb3_autopilot; /* '/Chart' */ + uint8_T is_active_c56_kb3_autopilot; /* '/Chart' */ + uint8_T is_c56_kb3_autopilot; /* '/Chart' */ + uint8_T is_active_c55_kb3_autopilot; /* '/Chart' */ + uint8_T is_c55_kb3_autopilot; /* '/Chart' */ + uint8_T is_active_c54_kb3_autopilot; /* '/Chart' */ + uint8_T is_c54_kb3_autopilot; /* '/Chart' */ + uint8_T is_active_c51_kb3_autopilot; /* '/Chart' */ + uint8_T is_c51_kb3_autopilot; /* '/Chart' */ + uint8_T is_active_c50_kb3_autopilot; /* '/Chart' */ + uint8_T is_c50_kb3_autopilot; /* '/Chart' */ + uint8_T icLoad; /* '/Delay' */ + uint8_T icLoad_m; /* '/Delay' */ + uint8_T is_active_c80_kb3_autopilot; /* '/Chart' */ + uint8_T is_c80_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_ac; /* '/Chart' */ + uint8_T is_active_c31_mavlink_utils; /* '/proc_param_value' */ + uint8_T is_c31_mavlink_utils; /* '/proc_param_value' */ + uint8_T temporalCounter_i1_ia; /* '/proc_param_value' */ + uint8_T is_active_c30_mavlink_utils; /* '/req_cur' */ + uint8_T is_active_c29_mavlink_utils; /* '/Chart_proc_mission_upload' */ + uint8_T is_c29_mavlink_utils; /* '/Chart_proc_mission_upload' */ + uint8_T retry; /* '/Chart_proc_mission_upload' */ + uint8_T temporalCounter_i1_n3; /* '/Chart_proc_mission_upload' */ + uint8_T is_active_c22_mavlink_utils; /* '/merge_ack' */ + uint8_T is_active_c47_kb3_autopilot; /* '/traffic_ctrl' */ + uint8_T is_c47_kb3_autopilot; /* '/traffic_ctrl' */ + uint8_T port_num; /* '/Chart' */ + uint8_T is_active_c36_kb3_autopilot; /* '/Chart_send_ack' */ + uint8_T stage; /* '/nav_corner' */ + uint8_T icLoad_p; /* '/Delay' */ + uint8_T icLoad_a; /* '/Delay' */ + uint8_T icLoad_d; /* '/Delay' */ + uint8_T icLoad_p1; /* '/Delay1' */ + uint8_T icLoad_b; /* '/Delay' */ + uint8_T icLoad_me; /* '/Delay' */ + uint8_T icLoad_i; /* '/IntVal' */ + uint8_T icLoad_l; /* '/Delay' */ + uint8_T icLoad_j; /* '/Delay' */ + uint8_T icLoad_o; /* '/last_hdot_c' */ + uint8_T is_active_c54_update_rc; /* '/valid_checking' */ + uint8_T is_c54_update_rc; /* '/valid_checking' */ + uint8_T seq1; /* '/valid_checking' */ + uint8_T id1; /* '/valid_checking' */ + uint8_T cnt_b; /* '/valid_checking' */ + uint8_T temporalCounter_i1_b5; /* '/valid_checking' */ + uint8_T is_active_c48_mission_proc; /* '/mission_proc' */ + uint8_T is_c48_mission_proc; /* '/mission_proc' */ + uint8_T is_active_c29_kb3_autopilot; /* '/Chart' */ + uint8_T is_c29_kb3_autopilot; /* '/Chart' */ + uint8_T temporalCounter_i1_oc; /* '/Chart' */ + uint8_T is_active_c25_kb3_autopilot; /* '/landing_task' */ + uint8_T is_c25_kb3_autopilot; /* '/landing_task' */ + uint8_T temporalCounter_i1_ei; /* '/landing_task' */ + uint8_T is_active_c28_kb3_autopilot; /* '/takeoff_task' */ + uint8_T is_c28_kb3_autopilot; /* '/takeoff_task' */ + uint8_T is_active_c53_kb3_autopilot; /* '/standby_emergency' */ + uint8_T is_c53_kb3_autopilot; /* '/standby_emergency' */ + uint8_T is_active_c26_kb3_autopilot; /* '/sweep_generator' */ + uint8_T is_c26_kb3_autopilot; /* '/sweep_generator' */ + uint8_T is_active_c24_kb3_autopilot; /* '/TopLevelSwitch' */ + uint8_T is_c24_kb3_autopilot; /* '/TopLevelSwitch' */ + uint8_T is_active_c22_kb3_autopilot; /* '/Chart' */ + uint8_T is_c22_kb3_autopilot; /* '/Chart' */ + uint8_T is_parachute; /* '/Chart' */ + uint8_T is_cover; /* '/Chart' */ + uint8_T is_balloon; /* '/Chart' */ + uint8_T is_cut; /* '/Chart' */ + uint8_T is_active_c21_kb3_autopilot; /* '/landing_task' */ + uint8_T is_c21_kb3_autopilot; /* '/landing_task' */ + uint8_T cnt_m; /* '/landing_task' */ + uint8_T is_active_c14_C2_proc_comm; /* '/proc_set_ cur' */ + uint8_T is_c14_C2_proc_comm; /* '/proc_set_ cur' */ + uint8_T is_active_c54_update_rc_h; /* '/valid_checking' */ + uint8_T is_c54_update_rc_m; /* '/valid_checking' */ + uint8_T seq1_n; /* '/valid_checking' */ + uint8_T id1_n; /* '/valid_checking' */ + uint8_T cnt_k; /* '/valid_checking' */ + uint8_T temporalCounter_i1_hd; /* '/valid_checking' */ + uint8_T is_active_c13_C2_proc_comm; /* '/check_conn' */ + uint8_T is_c13_C2_proc_comm; /* '/check_conn' */ + uint8_T is_active_c19_kb3_autopilot; /* '/proc_cmd' */ + uint8_T is_c19_kb3_autopilot; /* '/proc_cmd' */ + uint8_T is_active_c2_kb3_dummy_io; /* '/tick' */ + uint8_T is_c2_kb3_dummy_io; /* '/tick' */ + uint8_T is_active_c5_kb3_dummy_io; /* '/tick' */ + uint8_T is_c5_kb3_dummy_io; /* '/tick' */ + uint8_T is_active_c4_kb3_dummy_io; /* '/tick' */ + uint8_T is_c4_kb3_dummy_io; /* '/tick' */ + uint8_T is_active_c14_ins_lib; /* '/status_mgr' */ + uint8_T is_c14_ins_lib; /* '/status_mgr' */ + uint8_T is_active_c13_ins_lib; /* '/zero_set' */ + uint8_T is_c13_ins_lib; /* '/zero_set' */ + uint8_T is_active_c11_ins_lib; /* '/IMU_bias_fix' */ + uint8_T is_c11_ins_lib; /* '/IMU_bias_fix' */ + uint8_T is_active_c10_ins_lib; /* '/Chart' */ + uint8_T is_c10_ins_lib; /* '/Chart' */ + uint8_T is_active_c9_ins_lib; /* '/check_gps_valid' */ + uint8_T is_c9_ins_lib; /* '/check_gps_valid' */ + uint8_T cnt_e; /* '/check_gps_valid' */ + uint8_T vel_reset_cnt; /* '/EKF14s' */ + uint8_T hdg_reset_cnt; /* '/EKF14s' */ + uint8_T is_active_c8_pack_parser; /* '/parser' */ + uint8_T is_c8_pack_parser; /* '/parser' */ + uint8_T is_active_c1_sbg; /* '/parser' */ + uint8_T is_c1_sbg; /* '/parser' */ + uint8_T is_active_c1_sbg_j; /* '/parser' */ + uint8_T is_c1_sbg_m; /* '/parser' */ + uint8_T is_active_c1_pack_parser; /* '/parser2' */ + uint8_T is_c1_pack_parser; /* '/parser2' */ + uint8_T sum_n; /* '/parser2' */ + uint8_T is_active_c1_pack_parser_c; /* '/parser2' */ + uint8_T is_c1_pack_parser_a; /* '/parser2' */ + uint8_T sum_b; /* '/parser2' */ + uint8_T is_active_c16_SIL; /* '/parser' */ + uint8_T is_c16_SIL; /* '/parser' */ + uint8_T is_active_c13_SIL; /* '/parser' */ + uint8_T is_c13_SIL; /* '/parser' */ + uint8_T is_active_c9_SIL; /* '/parser' */ + uint8_T is_c9_SIL; /* '/parser' */ + uint8_T is_active_c8_BMU_HLYJ20_F002LB;/* '/parser' */ + uint8_T is_c8_BMU_HLYJ20_F002LB; /* '/parser' */ boolean_T act; /* '/rec_ctrl' */ boolean_T EntityQueue_InsertedFor_proc_queue_at_inport_0_Out1_RecvMsgStat;/* synthesized block */ boolean_T EntityQueue_InsertedFor_proc_queue_at_inport_0_Out1_RecvDataSta;/* synthesized block */ @@ -1987,35 +1968,35 @@ typedef struct { boolean_T EntityQueue_InsertedFor_traffic_ctrl_at_inport_9_Out1_RecvDataS;/* synthesized block */ boolean_T EntityQueue_InsertedFor_traffic_ctrl_at_inport_10_Out1_RecvMsgS;/* synthesized block */ boolean_T EntityQueue_InsertedFor_traffic_ctrl_at_inport_10_Out1_RecvData;/* synthesized block */ - boolean_T forone; /* '/proc_param_value' */ - boolean_T param_req_read_isValid; /* '/proc_param_value' */ - boolean_T param_req_lst_isValid; /* '/proc_param_value' */ - boolean_T param_set_isValid; /* '/proc_param_value' */ - boolean_T req_cur_isValid; /* '/req_cur' */ - boolean_T mission_cnt_isValid; /* '/Chart_proc_mission_upload' */ - boolean_T mission_item_isValid; /* '/Chart_proc_mission_upload' */ - boolean_T ack1_isValid; /* '/merge_ack' */ - boolean_T ack2_isValid; /* '/merge_ack' */ - boolean_T ack3_isValid; /* '/merge_ack' */ - boolean_T msgs_isValid; /* '/proc_queue' */ - boolean_T param_val_queue_isValid; /* '/traffic_ctrl' */ - boolean_T mission_cnt_queue_isValid; /* '/traffic_ctrl' */ - boolean_T mission_item_int_queue_isValid;/* '/traffic_ctrl' */ - boolean_T mission_ack_queue_isValid; /* '/traffic_ctrl' */ - boolean_T mission_cur_queue_isValid; /* '/traffic_ctrl' */ - boolean_T mission_req_int_queue_isValid;/* '/traffic_ctrl' */ - boolean_T command_ack_queue_isValid; /* '/traffic_ctrl' */ - boolean_T ap_ver_queue_isValid; /* '/traffic_ctrl' */ - boolean_T serial_echoline_isValid; /* '/traffic_ctrl' */ - boolean_T ack_isValid; /* '/Chart_send_ack' */ - boolean_T stage_not_empty; /* '/nav_corner' */ - boolean_T Relay_Mode; /* '/Relay' */ - boolean_T set_cur_isValid; /* '/proc_set_ cur' */ - boolean_T cmd_isValid; /* '/proc_cmd' */ - boolean_T cmd2_isValid; /* '/proc_cmd' */ - boolean_T gps_use_started; /* '/EKF14s' */ - boolean_T P_reset; /* '/EKF14s' */ - boolean_T Tbn_prev_not_empty; /* '/EKF14s' */ + boolean_T forone; /* '/proc_param_value' */ + boolean_T param_req_read_isValid; /* '/proc_param_value' */ + boolean_T param_req_lst_isValid; /* '/proc_param_value' */ + boolean_T param_set_isValid; /* '/proc_param_value' */ + boolean_T req_cur_isValid; /* '/req_cur' */ + boolean_T mission_cnt_isValid; /* '/Chart_proc_mission_upload' */ + boolean_T mission_item_isValid; /* '/Chart_proc_mission_upload' */ + boolean_T ack1_isValid; /* '/merge_ack' */ + boolean_T ack2_isValid; /* '/merge_ack' */ + boolean_T ack3_isValid; /* '/merge_ack' */ + boolean_T msgs_isValid; /* '/proc_queue' */ + boolean_T param_val_queue_isValid; /* '/traffic_ctrl' */ + boolean_T mission_cnt_queue_isValid; /* '/traffic_ctrl' */ + boolean_T mission_item_int_queue_isValid;/* '/traffic_ctrl' */ + boolean_T mission_ack_queue_isValid; /* '/traffic_ctrl' */ + boolean_T mission_cur_queue_isValid; /* '/traffic_ctrl' */ + boolean_T mission_req_int_queue_isValid;/* '/traffic_ctrl' */ + boolean_T command_ack_queue_isValid; /* '/traffic_ctrl' */ + boolean_T ap_ver_queue_isValid; /* '/traffic_ctrl' */ + boolean_T serial_echoline_isValid; /* '/traffic_ctrl' */ + boolean_T ack_isValid; /* '/Chart_send_ack' */ + boolean_T stage_not_empty; /* '/nav_corner' */ + boolean_T Relay_Mode; /* '/Relay' */ + boolean_T set_cur_isValid; /* '/proc_set_ cur' */ + boolean_T cmd_isValid; /* '/proc_cmd' */ + boolean_T cmd2_isValid; /* '/proc_cmd' */ + boolean_T gps_use_started; /* '/EKF14s' */ + boolean_T P_reset; /* '/EKF14s' */ + boolean_T Tbn_prev_not_empty; /* '/EKF14s' */ boolean_T EnabledSubsystem6_MODE; /* '/Enabled Subsystem6' */ boolean_T EnabledSubsystem5_MODE; /* '/Enabled Subsystem5' */ boolean_T EnabledSubsystem4_MODE; /* '/Enabled Subsystem4' */ @@ -2023,130 +2004,130 @@ typedef struct { boolean_T EnabledSubsystem1_MODE; /* '/Enabled Subsystem1' */ boolean_T EnabledSubsystem_MODE; /* '/Enabled Subsystem' */ boolean_T enable_gear_MODE; /* '/enable_gear' */ - DW_theta2_SIL_T theta3_f; /* '/theta3' */ - DW_theta2_SIL_T theta2_f; /* '/theta2' */ - DW_theta1_SIL_T theta1_b; /* '/theta1' */ - DW_theta2_SIL_T theta3_d; /* '/theta3' */ - DW_theta2_SIL_T theta2_d; /* '/theta2' */ - DW_theta1_SIL_T theta1_p; /* '/theta1' */ - DW_theta2_SIL_T theta3; /* '/theta3' */ - DW_theta2_SIL_T theta2; /* '/theta2' */ - DW_theta1_SIL_T theta1; /* '/theta1' */ - DW_tick_SIL_f_T sf_tick_o; /* '/tick' */ - DW_tick_SIL_f_T sf_tick_m; /* '/tick' */ - DW_tick_SIL_T sf_tick_j; /* '/tick' */ - DW_tick_SIL_T sf_tick_f; /* '/tick' */ - DW_GearGeometryForcesandMoments_SIL_i_T RightMainGearGeometryForcesandMoments;/* '/Right Main Gear Geometry Forces and Moments' */ - DW_GearGeometryForcesandMoments_SIL_g_T NoseGearGeometryForcesandMoments;/* '/Nose Gear Geometry Forces and Moments' */ - DW_GearGeometryForcesandMoments_SIL_T LeftMainGearGeometryForcesandMoments;/* '/Left Main Gear Geometry Forces and Moments' */ - DW_ElseIfNotOrthogonal_SIL_T ElseIfNotOrthogonal_k;/* '/Else If Not Orthogonal' */ - DW_IfNotProper_SIL_T IfNotProper_h; /* '/If Not Proper' */ - DW_ElseIfNotOrthogonal_SIL_T ElseIfNotOrthogonal;/* '/Else If Not Orthogonal' */ - DW_IfNotProper_SIL_T IfNotProper; /* '/If Not Proper' */ + DW_theta2_SIL_T theta3_f; /* '/theta3' */ + DW_theta2_SIL_T theta2_f; /* '/theta2' */ + DW_theta1_SIL_T theta1_b; /* '/theta1' */ + DW_theta2_SIL_T theta3_d; /* '/theta3' */ + DW_theta2_SIL_T theta2_d; /* '/theta2' */ + DW_theta1_SIL_T theta1_p; /* '/theta1' */ + DW_theta2_SIL_T theta3; /* '/theta3' */ + DW_theta2_SIL_T theta2; /* '/theta2' */ + DW_theta1_SIL_T theta1; /* '/theta1' */ + DW_tick_SIL_f_T sf_tick_o; /* '/tick' */ + DW_tick_SIL_f_T sf_tick_m; /* '/tick' */ + DW_tick_SIL_T sf_tick_j; /* '/tick' */ + DW_tick_SIL_T sf_tick_f; /* '/tick' */ + DW_GearGeometryForcesandMoments_SIL_i_T RightMainGearGeometryForcesandMoments;/* '/Right Main Gear Geometry Forces and Moments' */ + DW_GearGeometryForcesandMoments_SIL_g_T NoseGearGeometryForcesandMoments;/* '/Nose Gear Geometry Forces and Moments' */ + DW_GearGeometryForcesandMoments_SIL_T LeftMainGearGeometryForcesandMoments;/* '/Left Main Gear Geometry Forces and Moments' */ + DW_ElseIfNotOrthogonal_SIL_T ElseIfNotOrthogonal_k;/* '/Else If Not Orthogonal' */ + DW_IfNotProper_SIL_T IfNotProper_h; /* '/If Not Proper' */ + DW_ElseIfNotOrthogonal_SIL_T ElseIfNotOrthogonal;/* '/Else If Not Orthogonal' */ + DW_IfNotProper_SIL_T IfNotProper; /* '/If Not Proper' */ } DW_SIL_T; /* Continuous states (default storage) */ typedef struct { - real_T p1_CSTATE[3]; /* '/p1' */ - real_T q_CSTATE[4]; /* '/q' */ - real_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ - real_T pqr_CSTATE[3]; /* '/p,q,r ' */ - real_T Integrator_CSTATE; /* '/Integrator' */ - real_T Integrator_CSTATE_k; /* '/Integrator' */ - real_T Integrator_CSTATE_i; /* '/Integrator' */ - real_T Integrator_CSTATE_g; /* '/Integrator' */ - real_T Integrator_CSTATE_d; /* '/Integrator' */ - real_T Integrator_CSTATE_gb; /* '/Integrator' */ - real_T p_CSTATE[3]; /* '/p' */ - real_T Integrator1_CSTATE; /* '/Integrator1' */ - real_T Integrator1_CSTATE_f; /* '/Integrator1' */ - real_T Integrator1_CSTATE_p; /* '/Integrator1' */ - real_T Integrator1_CSTATE_l; /* '/Integrator1' */ - real_T Integrator_CSTATE_f; /* '/Integrator' */ + real_T p1_CSTATE[3]; /* '/p1' */ + real_T q_CSTATE[4]; /* '/q' */ + real_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ + real_T pqr_CSTATE[3]; /* '/p,q,r ' */ + real_T Integrator_CSTATE; /* '/Integrator' */ + real_T Integrator_CSTATE_k; /* '/Integrator' */ + real_T Integrator_CSTATE_i; /* '/Integrator' */ + real_T Integrator_CSTATE_g; /* '/Integrator' */ + real_T Integrator_CSTATE_d; /* '/Integrator' */ + real_T Integrator_CSTATE_gb; /* '/Integrator' */ + real_T p_CSTATE[3]; /* '/p' */ + real_T Integrator1_CSTATE; /* '/Integrator1' */ + real_T Integrator1_CSTATE_f; /* '/Integrator1' */ + real_T Integrator1_CSTATE_p; /* '/Integrator1' */ + real_T Integrator1_CSTATE_l; /* '/Integrator1' */ + real_T Integrator_CSTATE_f; /* '/Integrator' */ } X_SIL_T; /* State derivatives (default storage) */ typedef struct { - real_T p1_CSTATE[3]; /* '/p1' */ - real_T q_CSTATE[4]; /* '/q' */ - real_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ - real_T pqr_CSTATE[3]; /* '/p,q,r ' */ - real_T Integrator_CSTATE; /* '/Integrator' */ - real_T Integrator_CSTATE_k; /* '/Integrator' */ - real_T Integrator_CSTATE_i; /* '/Integrator' */ - real_T Integrator_CSTATE_g; /* '/Integrator' */ - real_T Integrator_CSTATE_d; /* '/Integrator' */ - real_T Integrator_CSTATE_gb; /* '/Integrator' */ - real_T p_CSTATE[3]; /* '/p' */ - real_T Integrator1_CSTATE; /* '/Integrator1' */ - real_T Integrator1_CSTATE_f; /* '/Integrator1' */ - real_T Integrator1_CSTATE_p; /* '/Integrator1' */ - real_T Integrator1_CSTATE_l; /* '/Integrator1' */ - real_T Integrator_CSTATE_f; /* '/Integrator' */ + real_T p1_CSTATE[3]; /* '/p1' */ + real_T q_CSTATE[4]; /* '/q' */ + real_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ + real_T pqr_CSTATE[3]; /* '/p,q,r ' */ + real_T Integrator_CSTATE; /* '/Integrator' */ + real_T Integrator_CSTATE_k; /* '/Integrator' */ + real_T Integrator_CSTATE_i; /* '/Integrator' */ + real_T Integrator_CSTATE_g; /* '/Integrator' */ + real_T Integrator_CSTATE_d; /* '/Integrator' */ + real_T Integrator_CSTATE_gb; /* '/Integrator' */ + real_T p_CSTATE[3]; /* '/p' */ + real_T Integrator1_CSTATE; /* '/Integrator1' */ + real_T Integrator1_CSTATE_f; /* '/Integrator1' */ + real_T Integrator1_CSTATE_p; /* '/Integrator1' */ + real_T Integrator1_CSTATE_l; /* '/Integrator1' */ + real_T Integrator_CSTATE_f; /* '/Integrator' */ } XDot_SIL_T; /* State disabled */ typedef struct { - boolean_T p1_CSTATE[3]; /* '/p1' */ - boolean_T q_CSTATE[4]; /* '/q' */ - boolean_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ - boolean_T pqr_CSTATE[3]; /* '/p,q,r ' */ - boolean_T Integrator_CSTATE; /* '/Integrator' */ - boolean_T Integrator_CSTATE_k; /* '/Integrator' */ - boolean_T Integrator_CSTATE_i; /* '/Integrator' */ - boolean_T Integrator_CSTATE_g; /* '/Integrator' */ - boolean_T Integrator_CSTATE_d; /* '/Integrator' */ - boolean_T Integrator_CSTATE_gb; /* '/Integrator' */ - boolean_T p_CSTATE[3]; /* '/p' */ - boolean_T Integrator1_CSTATE; /* '/Integrator1' */ - boolean_T Integrator1_CSTATE_f; /* '/Integrator1' */ - boolean_T Integrator1_CSTATE_p; /* '/Integrator1' */ - boolean_T Integrator1_CSTATE_l; /* '/Integrator1' */ - boolean_T Integrator_CSTATE_f; /* '/Integrator' */ + boolean_T p1_CSTATE[3]; /* '/p1' */ + boolean_T q_CSTATE[4]; /* '/q' */ + boolean_T ubvbwb_CSTATE[3]; /* '/ub,vb,wb' */ + boolean_T pqr_CSTATE[3]; /* '/p,q,r ' */ + boolean_T Integrator_CSTATE; /* '/Integrator' */ + boolean_T Integrator_CSTATE_k; /* '/Integrator' */ + boolean_T Integrator_CSTATE_i; /* '/Integrator' */ + boolean_T Integrator_CSTATE_g; /* '/Integrator' */ + boolean_T Integrator_CSTATE_d; /* '/Integrator' */ + boolean_T Integrator_CSTATE_gb; /* '/Integrator' */ + boolean_T p_CSTATE[3]; /* '/p' */ + boolean_T Integrator1_CSTATE; /* '/Integrator1' */ + boolean_T Integrator1_CSTATE_f; /* '/Integrator1' */ + boolean_T Integrator1_CSTATE_p; /* '/Integrator1' */ + boolean_T Integrator1_CSTATE_l; /* '/Integrator1' */ + boolean_T Integrator_CSTATE_f; /* '/Integrator' */ } XDis_SIL_T; /* Invariant block signals for system '/new_rec' */ typedef struct { - const uint16_T Width1; /* '/Width1' */ - const uint8_T Width; /* '/Width' */ + const uint16_T Width1; /* '/Width1' */ + const uint8_T Width; /* '/Width' */ } ConstB_new_rec_SIL_T; /* Invariant block signals (default storage) */ typedef struct { - const real_T Sum; /* '/Sum' */ - const real_T Sum_p; /* '/Sum' */ - const real_T Product4; /* '/Product4' */ - const real_T Product1; /* '/Product1' */ - const real_T Sum1; /* '/Sum1' */ - const real_T Sum_j; /* '/Sum' */ - const real_T Product4_h; /* '/Product4' */ - const real_T Product1_f; /* '/Product1' */ - const real_T Sum1_a; /* '/Sum1' */ - const real_T Sum1_c; /* '/Sum1' */ - const real_T Product1_l; /* '/Product1' */ - const real_T Product2; /* '/Product2' */ - const real_T Sum1_n; /* '/Sum1' */ - const real_T Sum1_d; /* '/Sum1' */ - const real_T Product2_i; /* '/Product2' */ - const real_T Sum_i; /* '/Sum' */ - const real_T Product3; /* '/Product3' */ - const real_T Sum2; /* '/Sum2' */ - const real_T Sum_d; /* '/Sum' */ - const real_T UnitConversion; /* '/Unit Conversion' */ + const real_T Sum; /* '/Sum' */ + const real_T Sum_p; /* '/Sum' */ + const real_T Product4; /* '/Product4' */ + const real_T Product1; /* '/Product1' */ + const real_T Sum1; /* '/Sum1' */ + const real_T Sum_j; /* '/Sum' */ + const real_T Product4_h; /* '/Product4' */ + const real_T Product1_f; /* '/Product1' */ + const real_T Sum1_a; /* '/Sum1' */ + const real_T Sum1_c; /* '/Sum1' */ + const real_T Product1_l; /* '/Product1' */ + const real_T Product2; /* '/Product2' */ + const real_T Sum1_n; /* '/Sum1' */ + const real_T Sum1_d; /* '/Sum1' */ + const real_T Product2_i; /* '/Product2' */ + const real_T Sum_i; /* '/Sum' */ + const real_T Product3; /* '/Product3' */ + const real_T Sum2; /* '/Sum2' */ + const real_T Sum_d; /* '/Sum' */ + const real_T UnitConversion; /* '/Unit Conversion' */ const real_T TmpSignalConversionAtForEachSubsystemInport2[3]; - const real_T Selector1[3]; /* '/Selector1' */ - const real_T Selector[3]; /* '/Selector' */ - const real_T Selector2[3]; /* '/Selector2' */ + const real_T Selector1[3]; /* '/Selector1' */ + const real_T Selector[3]; /* '/Selector' */ + const real_T Selector2[3]; /* '/Selector2' */ const real_T Selector4; /* '/Selector4' */ - const uint16_T Width1; /* '/Width1' */ - const uint16_T Width1_a; /* '/Width1' */ - const uint16_T Width1_l; /* '/Width1' */ - const uint16_T Width1_i; /* '/Width1' */ - const uint8_T Width; /* '/Width' */ - const uint8_T Width_m; /* '/Width' */ - const uint8_T Width_a; /* '/Width' */ - const uint8_T Width_b; /* '/Width' */ - const boolean_T Compare; /* '/Compare' */ + const uint16_T Width1; /* '/Width1' */ + const uint16_T Width1_a; /* '/Width1' */ + const uint16_T Width1_l; /* '/Width1' */ + const uint16_T Width1_i; /* '/Width1' */ + const uint8_T Width; /* '/Width' */ + const uint8_T Width_m; /* '/Width' */ + const uint8_T Width_a; /* '/Width' */ + const uint8_T Width_b; /* '/Width' */ + const boolean_T Compare; /* '/Compare' */ ConstB_new_rec_SIL_T new_rec; /* '/new_rec' */ } ConstB_SIL_T; @@ -2224,31 +2205,31 @@ typedef struct { /* Parameters (default storage) */ struct P_SIL_T_ { real_T AccelBias[3]; /* Variable: AccelBias - * Referenced by: '/Measurement bias' + * Referenced by: '/Measurement bias' */ real_T AccelScaleMatrix[9]; /* Variable: AccelScaleMatrix - * Referenced by: '/Scale factors & Cross-coupling errors' + * Referenced by: '/Scale factors & Cross-coupling errors' */ real_T CD_parachute[7]; /* Variable: CD_parachute * Referenced by: '/1-D Lookup Table' */ real_T GyroBias[3]; /* Variable: GyroBias - * Referenced by: '/Measurement bias' + * Referenced by: '/Measurement bias' */ real_T GyroGBias[3]; /* Variable: GyroGBias - * Referenced by: '/g-sensitive bias' + * Referenced by: '/g-sensitive bias' */ real_T GyroScaleMatrix[9]; /* Variable: GyroScaleMatrix - * Referenced by: '/Scale factors & Cross-coupling errors ' + * Referenced by: '/Scale factors & Cross-coupling errors ' */ real_T IMUloc[3]; /* Variable: IMUloc - * Referenced by: '/wl_ins' + * Referenced by: '/wl_ins' */ real_T Ps_bias[3]; /* Variable: Ps_bias * Referenced by: '/1-D Lookup Table3' */ real_T Ps_sens_bias[3]; /* Variable: Ps_sens_bias - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ real_T disturb_freq; /* Variable: disturb_freq * Referenced by: '/gain2' @@ -2272,13 +2253,13 @@ struct P_SIL_T_ { * Referenced by: '/1-D Lookup Table' */ real_T mach_level[3]; /* Variable: mach_level - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ real_T mass0; /* Variable: mass0 * Referenced by: '/Constant1' */ real_T qbar_sens_bias[9]; /* Variable: qbar_sens_bias - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ real_T rho_bias[3]; /* Variable: rho_bias * Referenced by: '/1-D Lookup Table4' @@ -2289,7 +2270,7 @@ struct P_SIL_T_ { real_T throttle_rate; /* Variable: throttle_rate * Referenced by: * '/Constant9' - * '/Constant9' + * '/Constant9' */ real_T wind_east[3]; /* Variable: wind_east * Referenced by: '/1-D Lookup Table1' @@ -2301,147 +2282,147 @@ struct P_SIL_T_ { * '/1-D Lookup Table2' * '/1-D Lookup Table3' * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table1' + * '/1-D Lookup Table1' + * '/1-D Lookup Table1' */ real_T wind_north[3]; /* Variable: wind_north * Referenced by: '/1-D Lookup Table' */ real32_T ADRC_p_a; /* Variable: ADRC_p_a - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T ADRC_p_b0; /* Variable: ADRC_p_b0 - * Referenced by: '/Constant7' + * Referenced by: '/Constant7' */ real32_T ADRC_p_beta01; /* Variable: ADRC_p_beta01 - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ real32_T ADRC_p_beta02; /* Variable: ADRC_p_beta02 - * Referenced by: '/Constant6' + * Referenced by: '/Constant6' */ real32_T ADRC_p_d; /* Variable: ADRC_p_d - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ real32_T ADRC_p_wc; /* Variable: ADRC_p_wc - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ real32_T ADRC_wc_q; /* Variable: ADRC_wc_q - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ real32_T ADRC_wo_q; /* Variable: ADRC_wo_q - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T CLa; /* Variable: CLa - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T Clda_lst[11]; /* Variable: Clda_lst - * Referenced by: '/Clda' + * Referenced by: '/Clda' */ real32_T Clp_lst[11]; /* Variable: Clp_lst - * Referenced by: '/Clp' + * Referenced by: '/Clp' */ real32_T Cmde_lst[11]; /* Variable: Cmde_lst - * Referenced by: '/Cmde1' + * Referenced by: '/Cmde1' */ real32_T Cmq_lst[11]; /* Variable: Cmq_lst - * Referenced by: '/Cmq' + * Referenced by: '/Cmq' */ real32_T Cndr_lst[11]; /* Variable: Cndr_lst - * Referenced by: '/Cndr' + * Referenced by: '/Cndr' */ real32_T Cnr_lst[11]; /* Variable: Cnr_lst - * Referenced by: '/Clp' + * Referenced by: '/Clp' */ real32_T Csb; /* Variable: Csb - * Referenced by: '/Constant14' + * Referenced by: '/Constant14' */ real32_T Gamma_L1; /* Variable: Gamma_L1 * Referenced by: - * '/Gain2' - * '/Gain3' - * '/Gain4' - * '/Gain2' - * '/Gain3' - * '/Gain4' - * '/Gain2' - * '/Gain3' - * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' */ real32_T Ixx; /* Variable: Ixx - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T Iyy; /* Variable: Iyy - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T Izz; /* Variable: Izz - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T Ma_lst[11]; /* Variable: Ma_lst * Referenced by: - * '/P11' - * '/P12' - * '/P21' - * '/P22' - * '/Cmde1' - * '/Cmq' - * '/Clda' - * '/Clp' - * '/Clp' - * '/Cndr' + * '/P11' + * '/P12' + * '/P21' + * '/P22' + * '/Cmde1' + * '/Cmq' + * '/Clda' + * '/Clp' + * '/Clp' + * '/Cndr' */ real32_T Ma_lst2[6]; /* Variable: Ma_lst2 * Referenced by: - * '/roll_kd' - * '/roll_kp' + * '/roll_kd' + * '/roll_kp' */ real32_T P11_lst[11]; /* Variable: P11_lst - * Referenced by: '/P11' + * Referenced by: '/P11' */ real32_T P12_lst[11]; /* Variable: P12_lst - * Referenced by: '/P12' + * Referenced by: '/P12' */ real32_T P21_lst[11]; /* Variable: P21_lst - * Referenced by: '/P21' + * Referenced by: '/P21' */ real32_T P22_lst[11]; /* Variable: P22_lst - * Referenced by: '/P22' + * Referenced by: '/P22' */ real32_T RefArea; /* Variable: RefArea * Referenced by: - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' */ real32_T RefLen; /* Variable: RefLen * Referenced by: - * '/Constant3' - * '/Sc_Iyy' + * '/Constant3' + * '/Sc_Iyy' */ real32_T RefSpan; /* Variable: RefSpan * Referenced by: - * '/Constant2' - * '/Sc_Iyy' - * '/Constant2' - * '/Sc_Iyy' + * '/Constant2' + * '/Sc_Iyy' + * '/Constant2' + * '/Sc_Iyy' */ real32_T Toffset; /* Variable: Toffset - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T alt_lst[6]; /* Variable: alt_lst * Referenced by: - * '/1-D Lookup Table' - * '/IAS_lookup' + * '/1-D Lookup Table' + * '/IAS_lookup' */ real32_T dal0; /* Variable: dal0 - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ real32_T dar0; /* Variable: dar0 - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ real32_T de_takeoff; /* Variable: de_takeoff - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T deadband_da; /* Variable: deadband_da * Referenced by: @@ -2457,267 +2438,270 @@ struct P_SIL_T_ { * Referenced by: '/Backlash2' */ real32_T del0; /* Variable: del0 - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T delayAftLnch; /* Variable: delayAftLnch - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ real32_T den_tht_leadlag[2]; /* Variable: den_tht_leadlag - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ real32_T der0; /* Variable: der0 - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ real32_T det_time; /* Variable: det_time - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T door_level; /* Variable: door_level - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T dr0; /* Variable: dr0 - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ real32_T emergency_ias; /* Variable: emergency_ias - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ real32_T h_TD; /* Variable: h_TD - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T h_thr2rpm[8]; /* Variable: h_thr2rpm * Referenced by: - * '/Constant11' - * '/max_rpm' - * '/min_rpm' + * '/Constant11' + * '/max_rpm' + * '/min_rpm' */ real32_T ias_takeoff; /* Variable: ias_takeoff - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T inflect_time; /* Variable: inflect_time - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T k_dal; /* Variable: k_dal * Referenced by: * '/Constant7' - * '/Gain3' + * '/Gain3' */ real32_T k_dar; /* Variable: k_dar * Referenced by: * '/Constant8' - * '/Gain4' + * '/Gain4' */ real32_T k_del; /* Variable: k_del * Referenced by: * '/Constant' - * '/Gain1' + * '/Gain1' */ real32_T k_der; /* Variable: k_der * Referenced by: * '/Constant1' - * '/Gain' + * '/Gain' */ real32_T k_dr; /* Variable: k_dr * Referenced by: * '/Constant3' - * '/Gain2' + * '/Gain2' */ real32_T k_p; /* Variable: k_p - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ real32_T k_p2dr; /* Variable: k_p2dr - * Referenced by: '/gain4' + * Referenced by: '/gain4' */ real32_T k_r; /* Variable: k_r - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ real32_T k_r2da; /* Variable: k_r2da - * Referenced by: '/gain' + * Referenced by: '/gain' */ real32_T ksi_v2tht; /* Variable: ksi_v2tht - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T load_detect; /* Variable: load_detect - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T m; /* Variable: m * Referenced by: - * '/Constant5' - * '/Constant' + * '/Constant5' + * '/Constant' */ real32_T max_az; /* Variable: max_az - * Referenced by: '/Constant8' + * Referenced by: '/Constant8' */ real32_T max_da; /* Variable: max_da * Referenced by: - * '/Constant1' - * '/gain1' - * '/gain1' - * '/gain1' + * '/Constant1' + * '/gain1' + * '/gain1' + * '/gain1' */ real32_T max_de; /* Variable: max_de * Referenced by: - * '/Constant1' - * '/gain' - * '/gain' - * '/gain' + * '/Constant1' + * '/gain' + * '/gain' + * '/gain' */ real32_T max_dr; /* Variable: max_dr * Referenced by: - * '/Constant13' - * '/gain2' - * '/gain2' - * '/gain2' + * '/Constant13' + * '/gain2' + * '/gain2' + * '/gain2' */ real32_T max_hdot; /* Variable: max_hdot - * Referenced by: '/Constant9' + * Referenced by: '/Constant9' */ real32_T max_p; /* Variable: max_p - * Referenced by: '/Constant7' + * Referenced by: '/Constant7' */ real32_T max_phi; /* Variable: max_phi - * Referenced by: '/Constant Single1' + * Referenced by: '/Constant Single1' */ real32_T max_q; /* Variable: max_q - * Referenced by: '/Constant6' + * Referenced by: '/Constant6' */ real32_T max_rpm[8]; /* Variable: max_rpm - * Referenced by: '/max_rpm' + * Referenced by: '/max_rpm' */ real32_T max_rpm_lim; /* Variable: max_rpm_lim - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ real32_T max_thrust[8]; /* Variable: max_thrust - * Referenced by: '/Constant12' + * Referenced by: '/Constant12' */ real32_T max_tht; /* Variable: max_tht - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T min_abs_alt; /* Variable: min_abs_alt - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T min_de; /* Variable: min_de - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ real32_T min_hdot; /* Variable: min_hdot - * Referenced by: '/Constant10' + * Referenced by: '/Constant10' */ real32_T min_ias; /* Variable: min_ias * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ real32_T min_rpm[8]; /* Variable: min_rpm - * Referenced by: '/min_rpm' + * Referenced by: '/min_rpm' */ real32_T min_rpm_lim; /* Variable: min_rpm_lim - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ real32_T min_tht; /* Variable: min_tht - * Referenced by: '/Constant Single' + * Referenced by: '/Constant Single' */ real32_T num_tht_leadlag[2]; /* Variable: num_tht_leadlag - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ real32_T r_TD; /* Variable: r_TD - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T recovery_ias; /* Variable: recovery_ias - * Referenced by: '/Constant' + * Referenced by: '/Constant' + */ + real32_T recovery_max_da; /* Variable: recovery_max_da + * Referenced by: '/landing_task' */ real32_T relay_on; /* Variable: relay_on - * Referenced by: '/Relay' + * Referenced by: '/Relay' */ real32_T relay_out; /* Variable: relay_out - * Referenced by: '/Relay' + * Referenced by: '/Relay' */ real32_T roll_b0_gain; /* Variable: roll_b0_gain - * Referenced by: '/Constant18' + * Referenced by: '/Constant18' */ real32_T roll_beta_01; /* Variable: roll_beta_01 - * Referenced by: '/Constant16' + * Referenced by: '/Constant16' */ real32_T roll_beta_02; /* Variable: roll_beta_02 - * Referenced by: '/Constant17' + * Referenced by: '/Constant17' */ real32_T roll_kd_lst[6]; /* Variable: roll_kd_lst - * Referenced by: '/roll_kd' + * Referenced by: '/roll_kd' */ real32_T roll_kp_lst[6]; /* Variable: roll_kp_lst - * Referenced by: '/roll_kp' + * Referenced by: '/roll_kp' */ real32_T tas_gl[6]; /* Variable: tas_gl - * Referenced by: '/IAS_lookup' + * Referenced by: '/IAS_lookup' */ real32_T tas_qc[6]; /* Variable: tas_qc - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ real32_T use_deadbandComp; /* Variable: use_deadbandComp * Referenced by: - * '/Constant1' - * '/gain1' + * '/Constant1' + * '/gain1' */ real32_T w_as; /* Variable: w_as - * Referenced by: '/Constant Single6' + * Referenced by: '/Constant Single6' */ real32_T w_p; /* Variable: w_p - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ real32_T w_r; /* Variable: w_r - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ real32_T w_v; /* Variable: w_v - * Referenced by: '/Constant Single10' + * Referenced by: '/Constant Single10' */ real32_T w_v2tht; /* Variable: w_v2tht - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ real32_T w_x; /* Variable: w_x - * Referenced by: '/Constant Single9' + * Referenced by: '/Constant Single9' */ real32_T w_y; /* Variable: w_y - * Referenced by: '/Constant Single7' + * Referenced by: '/Constant Single7' */ real32_T washout_r_den[3]; /* Variable: washout_r_den - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ real32_T washout_r_num[2]; /* Variable: washout_r_num - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ uint16_T system_id; /* Variable: system_id * Referenced by: * '/Constant' - * '/system_id' - * '/Chart_proc_mission_clr_all' - * '/Chart' - * '/Chart' - * '/Chart_proc_mission_req' - * '/Chart_proc_mission_req_lst' - * '/Chart' - * '/Chart' - * '/Chart_proc_param_req_read' - * '/Chart_proc_param_set' - * '/system_id' - * '/system_id' + * '/system_id' + * '/Chart_proc_mission_clr_all' + * '/Chart' + * '/Chart' + * '/Chart_proc_mission_req' + * '/Chart_proc_mission_req_lst' + * '/Chart' + * '/Chart' + * '/Chart_proc_param_req_read' + * '/Chart_proc_param_set' + * '/system_id' + * '/system_id' */ boolean_T force_sysauto_level; /* Variable: force_sysauto_level * Referenced by: - * '/Constant1' - * '/Constant2' - * '/Constant2' + * '/Constant1' + * '/Constant2' + * '/Constant2' */ boolean_T linked_default; /* Variable: linked_default - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ boolean_T use_ext_ins; /* Variable: use_ext_ins * Referenced by: '/Constant2' */ uint8_T act_sw_mode; /* Variable: act_sw_mode - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ uint8_T door_idx; /* Variable: door_idx - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ uint8_T use_tht_leadlag; /* Variable: use_tht_leadlag - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ }; @@ -2852,126 +2836,123 @@ extern const ConstP_SIL_T SIL_ConstP; * */ extern real_T Att0[3]; /* Variable: Att0 - * Referenced by: '/Initial Euler Angles' + * Referenced by: '/Initial Euler Angles' */ extern real_T BoosterUncertGain; /* Variable: BoosterUncertGain - * Referenced by: '/Param_BoosterUncertGain' + * Referenced by: '/Param_BoosterUncertGain' */ extern real_T CD0UncertVal; /* Variable: CD0UncertVal - * Referenced by: '/Param_CD0UncertVal' + * Referenced by: '/Param_CD0UncertVal' */ extern real_T CG_bias_m[3]; /* Variable: CG_bias_m - * Referenced by: '/Param_CG_bias_m' + * Referenced by: '/Param_CG_bias_m' */ extern real_T CL0UncertVal; /* Variable: CL0UncertVal - * Referenced by: '/Param_CL0UncertVal' + * Referenced by: '/Param_CL0UncertVal' */ extern real_T CLaUncertGain; /* Variable: CLaUncertGain - * Referenced by: '/Param_CLaUncertGain' + * Referenced by: '/Param_CLaUncertGain' */ extern real_T CLdeUncertGain; /* Variable: CLdeUncertGain - * Referenced by: '/Param_CLdeUncertGain' + * Referenced by: '/Param_CLdeUncertGain' */ extern real_T CLqUncertGain; /* Variable: CLqUncertGain - * Referenced by: '/Param_CLqUncertGain' + * Referenced by: '/Param_CLqUncertGain' */ extern real_T CY0UncertVal; /* Variable: CY0UncertVal - * Referenced by: '/Param_CY0UncertVal' + * Referenced by: '/Param_CY0UncertVal' */ extern real_T CYbUncertGain; /* Variable: CYbUncertGain - * Referenced by: '/Param_CYbUncertGain' - */ -extern real_T CYdaUncertGain; /* Variable: CYdaUncertGain - * Referenced by: '/Param_CYdaUncertGain' + * Referenced by: '/Param_CYbUncertGain' */ extern real_T CYdrUncertGain; /* Variable: CYdrUncertGain - * Referenced by: '/Param_CYdrUncertGain' + * Referenced by: '/Param_CYdrUncertGain' */ extern real_T CYpUncertGain; /* Variable: CYpUncertGain - * Referenced by: '/Param_CYpUncertGain' + * Referenced by: '/Param_CYpUncertGain' */ extern real_T CYrUncertGain; /* Variable: CYrUncertGain - * Referenced by: '/Param_CYrUncertGain' + * Referenced by: '/Param_CYrUncertGain' */ extern real_T Cl0UncertVal; /* Variable: Cl0UncertVal - * Referenced by: '/Param_Cl0UncertVal' + * Referenced by: '/Param_Cl0UncertVal' */ extern real_T ClbUncertGain; /* Variable: ClbUncertGain - * Referenced by: '/Param_ClbUncertGain' + * Referenced by: '/Param_ClbUncertGain' */ extern real_T CldaUncertGain; /* Variable: CldaUncertGain - * Referenced by: '/Param_CldaUncertGain' + * Referenced by: '/Param_CldaUncertGain' */ extern real_T CldrUncertGain; /* Variable: CldrUncertGain - * Referenced by: '/Param_CldrUncertGain' + * Referenced by: '/Param_CldrUncertGain' */ extern real_T ClpUncertGain; /* Variable: ClpUncertGain - * Referenced by: '/Param_ClpUncertGain' + * Referenced by: '/Param_ClpUncertGain' */ extern real_T ClrUncertGain; /* Variable: ClrUncertGain - * Referenced by: '/Param_ClrUncertGain' + * Referenced by: '/Param_ClrUncertGain' */ extern real_T Cm0UncertVal; /* Variable: Cm0UncertVal - * Referenced by: '/Param_Cm0UncertVal' + * Referenced by: '/Param_Cm0UncertVal' */ extern real_T CmaUncertGain; /* Variable: CmaUncertGain - * Referenced by: '/Param_CmaUncertGain' + * Referenced by: '/Param_CmaUncertGain' */ extern real_T CmdeUncertGain; /* Variable: CmdeUncertGain - * Referenced by: '/Param_CmdeUncertGain' + * Referenced by: '/Param_CmdeUncertGain' */ extern real_T CmqUncertGain; /* Variable: CmqUncertGain - * Referenced by: '/Param_CmqUncertGain' + * Referenced by: '/Param_CmqUncertGain' */ extern real_T Cn0UncertVal; /* Variable: Cn0UncertVal - * Referenced by: '/Param_Cn0UncertVal' + * Referenced by: '/Param_Cn0UncertVal' */ extern real_T CnbUncertGain; /* Variable: CnbUncertGain - * Referenced by: '/Param_CnbUncertGain' + * Referenced by: '/Param_CnbUncertGain' */ extern real_T CndaUncertGain; /* Variable: CndaUncertGain - * Referenced by: '/Param_CndaUncertGain' + * Referenced by: '/Param_CndaUncertGain' */ extern real_T CndrUncertGain; /* Variable: CndrUncertGain - * Referenced by: '/Param_CndrUncertGain' + * Referenced by: '/Param_CndrUncertGain' */ extern real_T CnpUncertGain; /* Variable: CnpUncertGain - * Referenced by: '/Param_CnpUncertGain' + * Referenced by: '/Param_CnpUncertGain' */ extern real_T CnrUncertGain; /* Variable: CnrUncertGain - * Referenced by: '/Param_CnrUncertGain' + * Referenced by: '/Param_CnrUncertGain' */ extern real_T InertiaMoments_bias_kg_m2[9];/* Variable: InertiaMoments_bias_kg_m2 - * Referenced by: '/Param_InertiaMoments_bias_kg_m2' + * Referenced by: '/Param_InertiaMoments_bias_kg_m2' */ extern real_T ThrustUncertGain; /* Variable: ThrustUncertGain - * Referenced by: '/Param_ThrustUncertGain' + * Referenced by: '/Param_ThrustUncertGain' */ extern real_T V0[3]; /* Variable: V0 - * Referenced by: '/ub,vb,wb' + * Referenced by: '/ub,vb,wb' */ extern real_T X0[3]; /* Variable: X0 * Referenced by: - * '/omega_earth2' - * '/omega_earth2' + * '/omega_earth2' + * '/omega_earth2' */ extern real_T booster_att_rad[3]; /* Variable: booster_att_rad - * Referenced by: '/Param_booster_att_rad' + * Referenced by: '/Param_booster_att_rad' */ extern real_T booster_pos_m[3]; /* Variable: booster_pos_m - * Referenced by: '/Param_booster_pos_m' + * Referenced by: '/Param_booster_pos_m' */ extern real_T engine_att_rad[3]; /* Variable: engine_att_rad - * Referenced by: '/Param_engine_att_rad' + * Referenced by: '/Param_engine_att_rad' */ extern real_T engine_pos_m[3]; /* Variable: engine_pos_m - * Referenced by: '/Param_engine_pos_m' + * Referenced by: '/Param_engine_pos_m' */ extern real_T force_CG; /* Variable: force_CG - * Referenced by: '/Param_force_CG' + * Referenced by: '/Param_force_CG' */ extern real_T force_CG_pos_m[3]; /* Variable: force_CG_pos_m - * Referenced by: '/Param_force_CG_pos_m' + * Referenced by: '/Param_force_CG_pos_m' */ extern real_T hground; /* Variable: hground * Referenced by: '/Constant1' @@ -3033,315 +3014,316 @@ extern RT_MODEL_SIL_T *const SIL_M; * Block '/table3D_ChDfr' : Unused code path elimination * Block '/product' : Unused code path elimination * Block '/table3D_ChDr' : Unused code path elimination - * Block '/product' : Unused code path elimination + * Block '/saturation' : Unused code path elimination * Block '/product' : Unused code path elimination - * Block '/Unit Conversion' : Unused code path elimination - * Block '/Const_m' : Unused code path elimination + * Block '/product' : Unused code path elimination + * Block '/Unit Conversion' : Unused code path elimination + * Block '/Const_m' : Unused code path elimination * Block '/Gain1' : Unused code path elimination * Block '/Math Function2' : Unused code path elimination * Block '/Sqrt1' : Unused code path elimination * Block '/Sum3' : Unused code path elimination * Block '/Trigonometric Function1' : Unused code path elimination - * Block '/Sum1' : Unused code path elimination - * Block '/Const_m' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination + * Block '/Sum1' : Unused code path elimination + * Block '/Const_m' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Saturation' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant' : Unused code path elimination * Block '/Sum' : Unused code path elimination * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Saturation' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant Single5' : Unused code path elimination + * Block '/Constant Single6' : Unused code path elimination + * Block '/Constant Single7' : Unused code path elimination + * Block '/Constant Single8' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Constant4' : Unused code path elimination + * Block '/Constant5' : Unused code path elimination + * Block '/Constant6' : Unused code path elimination + * Block '/Constant7' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination * Block '/Constant2' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant Single5' : Unused code path elimination - * Block '/Constant Single6' : Unused code path elimination - * Block '/Constant Single7' : Unused code path elimination - * Block '/Constant Single8' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Constant4' : Unused code path elimination - * Block '/Constant5' : Unused code path elimination - * Block '/Constant6' : Unused code path elimination - * Block '/Constant7' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Constant3' : Unused code path elimination - * Block '/Constant4' : Unused code path elimination - * Block '/Constant5' : Unused code path elimination - * Block '/Constant6' : Unused code path elimination - * Block '/Constant7' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Gain1' : Unused code path elimination - * Block '/Product2' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/LowerRelop1' : Unused code path elimination - * Block '/Switch' : Unused code path elimination - * Block '/Switch2' : Unused code path elimination - * Block '/UpperRelop' : Unused code path elimination + * Block '/Constant3' : Unused code path elimination + * Block '/Constant4' : Unused code path elimination + * Block '/Constant5' : Unused code path elimination + * Block '/Constant6' : Unused code path elimination + * Block '/Constant7' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Gain1' : Unused code path elimination + * Block '/Product2' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/LowerRelop1' : Unused code path elimination + * Block '/Switch' : Unused code path elimination + * Block '/Switch2' : Unused code path elimination + * Block '/UpperRelop' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Signal Conversion' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Signal Conversion' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Signal Copy' : Unused code path elimination + * Block '/Signal Copy1' : Unused code path elimination + * Block '/Signal Copy3' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination + * Block '/Data Type Duplicate' : Unused code path elimination + * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Signal Copy' : Unused code path elimination - * Block '/Signal Copy1' : Unused code path elimination - * Block '/Signal Copy3' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/Data Type Duplicate' : Unused code path elimination - * Block '/Data Type Propagation' : Unused code path elimination - * Block '/table2D_thrustAB' : Unused code path elimination - * Block '/add' : Unused code path elimination - * Block '/product' : Unused code path elimination - * Block '/product1' : Unused code path elimination - * Block '/product2' : Unused code path elimination - * Block '/table3D_thrust' : Unused code path elimination - * Block '/Const_m' : Unused code path elimination - * Block '/Param_ThrustUncertGain' : Unused code path elimination - * Block '/Param_engine_att_rad' : Unused code path elimination - * Block '/Param_engine_pos_m' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Data Type Conversion' : Unused code path elimination - * Block '/Sum' : Unused code path elimination - * Block '/Unit Delay' : Unused code path elimination - * Block '/Constant Single4' : Unused code path elimination - * Block '/Constant Single5' : Unused code path elimination - * Block '/Constant Single8' : Unused code path elimination - * Block '/Constant2' : Unused code path elimination - * Block '/Sc_Iyy1' : Unused code path elimination - * Block '/gain' : Unused code path elimination - * Block '/qbarSc1' : Unused code path elimination - * Block '/1-D Lookup Table' : Unused code path elimination - * Block '/Constant1' : Unused code path elimination - * Block '/Constant5' : Unused code path elimination - * Block '/Constant6' : Unused code path elimination - * Block '/Constant7' : Unused code path elimination - * Block '/Product' : Unused code path elimination - * Block '/gain' : Unused code path elimination - * Block '/product2' : Unused code path elimination - * Block '/yaw_kei' : Unused code path elimination - * Block '/yaw_kep' : Unused code path elimination - * Block '/yaw_kp' : Unused code path elimination - * Block '/yaw_kp1' : Unused code path elimination + * Block '/table2D_thrustAB' : Unused code path elimination + * Block '/add' : Unused code path elimination + * Block '/product' : Unused code path elimination + * Block '/product1' : Unused code path elimination + * Block '/product2' : Unused code path elimination + * Block '/table3D_thrust' : Unused code path elimination + * Block '/Const_m' : Unused code path elimination + * Block '/Param_ThrustUncertGain' : Unused code path elimination + * Block '/Param_engine_att_rad' : Unused code path elimination + * Block '/Param_engine_pos_m' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Data Type Conversion' : Unused code path elimination + * Block '/Sum' : Unused code path elimination + * Block '/Unit Delay' : Unused code path elimination + * Block '/Constant Single4' : Unused code path elimination + * Block '/Constant Single5' : Unused code path elimination + * Block '/Constant Single8' : Unused code path elimination + * Block '/Constant2' : Unused code path elimination + * Block '/Sc_Iyy1' : Unused code path elimination + * Block '/gain' : Unused code path elimination + * Block '/qbarSc1' : Unused code path elimination + * Block '/1-D Lookup Table' : Unused code path elimination + * Block '/Constant1' : Unused code path elimination + * Block '/Constant5' : Unused code path elimination + * Block '/Constant6' : Unused code path elimination + * Block '/Constant7' : Unused code path elimination + * Block '/Product' : Unused code path elimination + * Block '/gain' : Unused code path elimination + * Block '/product2' : Unused code path elimination + * Block '/yaw_kei' : Unused code path elimination + * Block '/yaw_kep' : Unused code path elimination + * Block '/yaw_kp' : Unused code path elimination + * Block '/yaw_kp1' : Unused code path elimination * Block '/Reshape' : Reshape block reduction * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction * Block '/Reshape' : Reshape block reduction * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 * Block '/Reshape' : Reshape block reduction - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/reshape' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape' : Reshape block reduction - * Block '/Reshape1' : Reshape block reduction - * Block '/Reshape2' : Reshape block reduction - * Block '/Reshape' : Reshape block reduction - * Block '/Reshape 3x3 -> 9' : Reshape block reduction - * Block '/Reshape' : Reshape block reduction - * Block '/Reshape' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape1' : Reshape block reduction - * Block '/Reshape2' : Reshape block reduction - * Block '/Reshape1' : Reshape block reduction - * Block '/Reshape2' : Reshape block reduction - * Block '/Reshape1' : Reshape block reduction - * Block '/Reshape' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Manual Switch' : Eliminated due to constant selection input - * Block '/Manual Switch1' : Eliminated due to constant selection input - * Block '/Manual Switch2' : Eliminated due to constant selection input - * Block '/Manual Switch3' : Eliminated due to constant selection input - * Block '/Manual Switch5' : Eliminated due to constant selection input - * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Unit Conversion' : Eliminated nontunable gain of 1 - * Block '/Switch' : Eliminated due to constant selection input - * Block '/Reshape1' : Reshape block reduction - * Block '/Zero-Order Hold2' : Eliminated since input and output rates are identical - * Block '/Zero-Order Hold4' : Eliminated since input and output rates are identical - * Block '/Switch' : Eliminated due to constant selection input - * Block '/Zero-Order Hold1' : Eliminated since input and output rates are identical - * Block '/Manual Switch' : Eliminated due to constant selection input - * Block '/Reshape' : Reshape block reduction - * Block '/Manual Switch' : Eliminated due to constant selection input - * Block '/Manual Switch' : Eliminated due to constant selection input - * Block '/Manual Switch1' : Eliminated due to constant selection input - * Block '/Manual Switch' : Eliminated due to constant selection input - * Block '/Manual Switch1' : Eliminated due to constant selection input - * Block '/Constant15' : Unused code path elimination - * Block '/Constant17' : Unused code path elimination - * Block '/Constant18' : Unused code path elimination - * Block '/Constant21' : Unused code path elimination - * Block '/Constant27' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/Constant' : Unused code path elimination - * Block '/1-D Lookup Table1' : Unused code path elimination - * Block '/1-D Lookup Table1' : Unused code path elimination - * Block '/1-D Lookup Table1' : Unused code path elimination + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/reshape' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape' : Reshape block reduction + * Block '/Reshape1' : Reshape block reduction + * Block '/Reshape2' : Reshape block reduction + * Block '/Reshape' : Reshape block reduction + * Block '/Reshape 3x3 -> 9' : Reshape block reduction + * Block '/Reshape' : Reshape block reduction + * Block '/Reshape' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape1' : Reshape block reduction + * Block '/Reshape2' : Reshape block reduction + * Block '/Reshape1' : Reshape block reduction + * Block '/Reshape2' : Reshape block reduction + * Block '/Reshape1' : Reshape block reduction + * Block '/Reshape' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Manual Switch' : Eliminated due to constant selection input + * Block '/Manual Switch1' : Eliminated due to constant selection input + * Block '/Manual Switch2' : Eliminated due to constant selection input + * Block '/Manual Switch3' : Eliminated due to constant selection input + * Block '/Manual Switch5' : Eliminated due to constant selection input + * Block '/Reshape (9) to [3x3] column-major' : Reshape block reduction + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Unit Conversion' : Eliminated nontunable gain of 1 + * Block '/Switch' : Eliminated due to constant selection input + * Block '/Reshape1' : Reshape block reduction + * Block '/Zero-Order Hold2' : Eliminated since input and output rates are identical + * Block '/Zero-Order Hold4' : Eliminated since input and output rates are identical + * Block '/Switch' : Eliminated due to constant selection input + * Block '/Zero-Order Hold1' : Eliminated since input and output rates are identical + * Block '/Manual Switch' : Eliminated due to constant selection input + * Block '/Reshape' : Reshape block reduction + * Block '/Manual Switch' : Eliminated due to constant selection input + * Block '/Manual Switch' : Eliminated due to constant selection input + * Block '/Manual Switch1' : Eliminated due to constant selection input + * Block '/Manual Switch' : Eliminated due to constant selection input + * Block '/Manual Switch1' : Eliminated due to constant selection input + * Block '/Constant15' : Unused code path elimination + * Block '/Constant17' : Unused code path elimination + * Block '/Constant18' : Unused code path elimination + * Block '/Constant21' : Unused code path elimination + * Block '/Constant27' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/Constant' : Unused code path elimination + * Block '/1-D Lookup Table1' : Unused code path elimination + * Block '/1-D Lookup Table1' : Unused code path elimination + * Block '/1-D Lookup Table1' : Unused code path elimination */ /*- @@ -3428,1337 +3410,1266 @@ extern RT_MODEL_SIL_T *const SIL_M; * '' : 'SIL/FDM/aerodynamics/Func_alpha_deg' * '' : 'SIL/FDM/aerodynamics/Func_alpha_deg_delta' * '' : 'SIL/FDM/aerodynamics/Func_beta_deg' - * '' : 'SIL/FDM/aerodynamics/Func_coeff' - * '' : 'SIL/FDM/aerodynamics/Func_da_deg' - * '' : 'SIL/FDM/aerodynamics/Func_de_deg' - * '' : 'SIL/FDM/aerodynamics/Func_dr_deg' - * '' : 'SIL/FDM/aerodynamics/Func_mach_delta' - * '' : 'SIL/FDM/aerodynamics/Func_p_norm' - * '' : 'SIL/FDM/aerodynamics/Func_q_norm' - * '' : 'SIL/FDM/aerodynamics/Func_qbarSb' - * '' : 'SIL/FDM/aerodynamics/Func_qbarSc' - * '' : 'SIL/FDM/aerodynamics/Func_r_norm' - * '' : 'SIL/FDM/aerodynamics/actuators_sel' - * '' : 'SIL/FDM/aerodynamics/aero_sel' - * '' : 'SIL/FDM/aerodynamics/aerodynamics_create' - * '' : 'SIL/FDM/aerodynamics/constants' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss1' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss2' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss3' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss4' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss1/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss1/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss1/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss2/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss2/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss2/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss3/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss3/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss3/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss4/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss4/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_CY/uss4/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss1' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss2' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss3' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss4' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss1/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss1/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss1/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss2/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss2/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss2/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss3/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss3/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss3/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss4/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss4/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cl/uss4/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss1' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss2' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss1/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss1/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss1/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss2/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss2/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cm/uss2/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss1' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss2' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss3' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss4' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss1/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss1/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss1/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss2/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss2/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss2/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss3/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss3/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss3/LTI System/Output Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss4/LTI System' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss4/LTI System/Input Delay' - * '' : 'SIL/FDM/aerodynamics/Func_Cn/uss4/LTI System/Output Delay' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model' - * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model ' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Density Conversion' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Length Conversion' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Pressure Conversion' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Temperature Conversion' - * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Velocity Conversion' - * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Acceleration Conversion' - * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Angle Conversion' - * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Length Conversion' - * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Velocity Conversion2' - * '' : 'SIL/FDM/booster/Func_mass_kg' - * '' : 'SIL/FDM/booster/Func_thrust_N' - * '' : 'SIL/FDM/booster/constants' - * '' : 'SIL/FDM/booster/ctrls_sel' - * '' : 'SIL/FDM/booster/propulsion_create' - * '' : 'SIL/FDM/disturb/disturb' - * '' : 'SIL/FDM/disturb/disturb/Engine_i' - * '' : 'SIL/FDM/disturb/disturb/Engine_i/If Action Subsystem' - * '' : 'SIL/FDM/disturb/disturb/Engine_i/If Action Subsystem/Cross Product' - * '' : 'SIL/FDM/mass/Subsystem' - * '' : 'SIL/FDM/mass/default' - * '' : 'SIL/FDM/massbalance/Func_CG_m' - * '' : 'SIL/FDM/massbalance/Func_Ixx_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_Ixy_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_Ixz_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_Iyy_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_Iyz_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_Izz_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_inertiaMoments_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_neg_Ixy_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_neg_Ixz_kg_m2' - * '' : 'SIL/FDM/massbalance/Func_neg_Iyz_kg_m2' - * '' : 'SIL/FDM/massbalance/constants' - * '' : 'SIL/FDM/massbalance/massbalance_create' - * '' : 'SIL/FDM/propagate/Euler_Dynamics' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics' - * '' : 'SIL/FDM/propagate/Euler_Dynamics/PosLLA' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/N_n' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/PosLLA' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/WeightFM' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI ' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Celestial Longitude of Greenwich' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF to Inertial' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Velocity Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Velocity Conversion2' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Rotation Angles to Direction Cosine Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A11' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A12' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A13' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A21' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A22' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A23' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A31' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A32' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A33' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/Create Transformation Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A11' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A12' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A13' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A21' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A22' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A23' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A31' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A32' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A33' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/Create Transformation Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/AxisRotDefault' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/AxisRotZeroR3' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Get DCM Values' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotOrthogonal' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal/Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal/Warning' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper/Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper/Warning' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotOrthogonal/transpose*dcm ~= eye(3)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper/Determinant of 3x3 Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper/determinant does not equal 1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/trace(DCM)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/diag(DCM)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) -sin(theta)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(theta)sin(phi) - (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(theta)sin(psi) + (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/if s~=0; s=0.5//s' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/u(1) -(u(5)+u(9)) +1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) +sin(theta)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(theta)sin(phi) + (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(theta)sin(psi) + (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/if s~=0; s=0.5//s' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/u(5) -(u(1)+u(9)) +1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) -sin(theta)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(theta)sin(phi) + (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(theta)sin(psi) - (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/if s~=0; s=0.5//s' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/u(9) -(u(1)+u(5)) +1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) +sin(theta)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(theta)sin(phi) - (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(theta)sin(psi) - (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotOrthogonal' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal/Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal/Warning' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper/Error' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper/Warning' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotOrthogonal/transpose*dcm ~= eye(3)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper/Determinant of 3x3 Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper/determinant does not equal 1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A11' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A12' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A13' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A21' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A22' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A23' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A31' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A32' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A33' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Create 3x3 Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize/Quaternion Modulus' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize/Quaternion Modulus/Quaternion Norm' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Rotation Angles to Direction Cosine Matrix/Create 3x3 Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize/Quaternion Modulus' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize/Quaternion Modulus/Quaternion Norm' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Radius at Geocentric Latitude' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A11' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A12' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A13' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A21' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A22' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A23' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A31' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A32' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A33' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/Create Transformation Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A11' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A12' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A13' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A21' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A22' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A23' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A31' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A32' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A33' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/Create Transformation Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion2' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Latitude Wrap 90' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Radius at Geocentric Latitude' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Radius at Geocentric Latitude/Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Wrap Longitude' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Compare To Constant' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Wrap Angle 180' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Wrap Angle 180/Compare To Constant' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Wrap Longitude/Compare To Constant' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Radius at Geocentric Latitude/Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe/Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe/Subsystem1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb/Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb/Subsystem1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)/Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)/Subsystem1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp/Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp/Subsystem1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/I x w' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/I x w1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product/Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product/Subsystem1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia/Mass input//output momentum' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia/Mass input//output momentum/For Each Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Subsystem2' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Subsystem3' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^1' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^2' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^3' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem2' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem3' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem4' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF to Inertial/Create 3x3 Matrix' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/Angle Conversion' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/M+h' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/N+h' - * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/e2' - * '' : 'SIL/FDM/propulsion/Func_Nh' - * '' : 'SIL/FDM/propulsion/Func_Nh_AB' - * '' : 'SIL/FDM/propulsion/Func_Nh_thr' - * '' : 'SIL/FDM/propulsion/Func_cft' - * '' : 'SIL/FDM/propulsion/Func_cft_AB' - * '' : 'SIL/FDM/propulsion/Func_cft_thr' - * '' : 'SIL/FDM/propulsion/Func_fuelrate' - * '' : 'SIL/FDM/propulsion/Func_thr' - * '' : 'SIL/FDM/propulsion/Func_thrAB' - * '' : 'SIL/FDM/propulsion/Func_thrAB_1' - * '' : 'SIL/FDM/propulsion/Func_thrust_AB' - * '' : 'SIL/FDM/propulsion/Func_thrust_N' - * '' : 'SIL/FDM/propulsion/Func_thrust_thr' - * '' : 'SIL/FDM/propulsion/aero_sel' - * '' : 'SIL/FDM/propulsion/constants' - * '' : 'SIL/FDM/propulsion/ctrls_sel' - * '' : 'SIL/FDM/propulsion/kin_sel' - * '' : 'SIL/FDM/propulsion/propulsion_create' - * '' : 'SIL/FDM/tricycle landing gear/Compare To Constant' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/detect_WOW' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/detect_WOW' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/detect_WOW' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' - * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' - * '' : 'SIL/HAL_dummy_inputs/Subsystem' - * '' : 'SIL/HAL_dummy_inputs/actuator_feedback' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser' - * '' : 'SIL/HAL_dummy_inputs/ecu_parser' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser' - * '' : 'SIL/HAL_dummy_inputs/rec_parser' - * '' : 'SIL/HAL_dummy_inputs/rec_parser1' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg127' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg28' - * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg56' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgA0' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgA1' - * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgFF' - * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser' - * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/ecu_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/ecu_msg_unpack/unpack_ecu2ap' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant1' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant2' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant3' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant4' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant5' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgCFV' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgSZN' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgCFV/Chart' - * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgSZN/Compare To Constant' - * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser' - * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/parser2' - * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/rec_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/rec_msg_unpack/msg0' - * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser' - * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/parser2' - * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/rec_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/rec_msg_unpack/msg0' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/Function-Call Subsystem' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_alt_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_as_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_euler_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_hdt_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_pos_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_utc_tim_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_vel_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_imu_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_nav_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/Function-Call Subsystem' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_alt_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_as_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_euler_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_hdt_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_pos_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_utc_tim_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_vel_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_imu_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_nav_data_frame' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/Function-Call Subsystem' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/parser' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/Function-Call Subsystem/crc_checksum' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1/Degrees to Radians1' - * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1/Degrees to Radians2' - * '' : 'SIL/dummy_INS/INS' - * '' : 'SIL/dummy_INS/plant2ins' - * '' : 'SIL/dummy_INS/INS/Compare To Constant1' - * '' : 'SIL/dummy_INS/INS/Compare To Constant2' - * '' : 'SIL/dummy_INS/INS/Degrees to Radians' - * '' : 'SIL/dummy_INS/INS/EKF' - * '' : 'SIL/dummy_INS/INS/Subsystem' - * '' : 'SIL/dummy_INS/INS/check_gps_valid' - * '' : 'SIL/dummy_INS/INS/hdt_sel' - * '' : 'SIL/dummy_INS/INS/imu_proc' - * '' : 'SIL/dummy_INS/INS/ps_proc' - * '' : 'SIL/dummy_INS/INS/qbar_proc' - * '' : 'SIL/dummy_INS/INS/status_mgr' - * '' : 'SIL/dummy_INS/INS/EKF/EKF14s' - * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem' - * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem1' - * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem1/MATLAB Function' - * '' : 'SIL/dummy_INS/INS/hdt_sel/Chart' - * '' : 'SIL/dummy_INS/INS/imu_proc/Degrees to Radians' - * '' : 'SIL/dummy_INS/INS/imu_proc/IMU_bias_fix' - * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix' - * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/Rotation Angles to Direction Cosine Matrix' - * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/cal_mag_hdg' - * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/Rotation Angles to Direction Cosine Matrix/Create 3x3 Matrix' - * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/cal_mag_hdg/inpi' - * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude' - * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude/Length Conversion' - * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude/Pressure Conversion' - * '' : 'SIL/dummy_INS/INS/qbar_proc/zero_set' - * '' : 'SIL/dummy_INS/plant2ins/IMU' - * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg' - * '' : 'SIL/dummy_INS/plant2ins/gnss_pos' - * '' : 'SIL/dummy_INS/plant2ins/gnss_tim' - * '' : 'SIL/dummy_INS/plant2ins/gnss_vel' - * '' : 'SIL/dummy_INS/plant2ins/mag' - * '' : 'SIL/dummy_INS/plant2ins/ps' - * '' : 'SIL/dummy_INS/plant2ins/qbar' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Radians to Degrees' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Acceleration Conversion' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics/No Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics/Second-order Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)/Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)/Subsystem1' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d/Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d/Subsystem1' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d/Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d/Subsystem1' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics/No Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics/Second-order Dynamics' - * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg/tick' - * '' : 'SIL/dummy_INS/plant2ins/gnss_pos/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/gnss_pos/tick' - * '' : 'SIL/dummy_INS/plant2ins/gnss_tim/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/gnss_tim/tick' - * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/tick' - * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/Enabled Subsystem/Radians to Degrees' - * '' : 'SIL/dummy_INS/plant2ins/mag/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/mag/tick' - * '' : 'SIL/dummy_INS/plant2ins/ps/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/ps/tick' - * '' : 'SIL/dummy_INS/plant2ins/qbar/Enabled Subsystem' - * '' : 'SIL/dummy_INS/plant2ins/qbar/tick' - * '' : 'SIL/dummy_input/ins2sens' - * '' : 'SIL/dummy_output/Enabled Subsystem' - * '' : 'SIL/dummy_output/Enabled Subsystem1' - * '' : 'SIL/dummy_output/Enabled Subsystem2' - * '' : 'SIL/dummy_output/Enabled Subsystem3' - * '' : 'SIL/dummy_output/Enabled Subsystem4' - * '' : 'SIL/dummy_output/Enabled Subsystem5' - * '' : 'SIL/dummy_output/Enabled Subsystem6' - * '' : 'SIL/dummy_output/Subsystem' - * '' : 'SIL/dummy_output/Subsystem1' - * '' : 'SIL/dummy_output/Subsystem2' - * '' : 'SIL/dummy_output/Subsystem3' - * '' : 'SIL/dummy_output/Subsystem4' - * '' : 'SIL/dummy_output/Subsystem5' - * '' : 'SIL/dummy_output/actuator' - * '' : 'SIL/dummy_output/actuator1' - * '' : 'SIL/dummy_output/actuator2' - * '' : 'SIL/dummy_output/actuator3' - * '' : 'SIL/dummy_output/dynamic_rate_saturation' - * '' : 'SIL/dummy_output/launch' - * '' : 'SIL/dummy_output/dynamic_rate_saturation/If Action Subsystem' - * '' : 'SIL/dummy_output/dynamic_rate_saturation/Subsystem' - * '' : 'SIL/dummy_output/dynamic_rate_saturation/Subsystem/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/cmd2pwm' - * '' : 'SIL/kb3_autopilot/communiation_and_command' - * '' : 'SIL/kb3_autopilot/controller' - * '' : 'SIL/kb3_autopilot/mavlink_data_link' - * '' : 'SIL/kb3_autopilot/param' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor' - * '' : 'SIL/kb3_autopilot/cmd2pwm/CCM_ctrl_cnt' - * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_kb2_2' - * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_kb3' - * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb' - * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb1' - * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb2' - * '' : 'SIL/kb3_autopilot/cmd2pwm/thr' - * '' : 'SIL/kb3_autopilot/cmd2pwm/thr/Subsystem' - * '' : 'SIL/kb3_autopilot/cmd2pwm/thr/Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_pre_proc' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation' - * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/no_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/act_sweep' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/bit_mode' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/dist_trans' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/proc_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/sdas_cmd' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_fuel_est' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/takeoff_tht' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/act_sweep/Degrees to Radians' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm/Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm/Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_base_alt' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_base_alt_baro' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_cur_base_alt' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AFCS_vert' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AS_SEL' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AT' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/BMU' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/CCM' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/CSAS_YAW' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/ECU' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/USE_ADRC' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/actuators' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/alt' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/rec' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/ECU/Chart' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/actuators/Degrees to Radians' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/Compare To Constant1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/pass_through' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/force_recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/normal_recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/takeoff_tht/Degrees to Radians' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/operation' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/standby' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/xbit' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi/Compare To Constant1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1/Compare To Constant1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem/Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/check_conn' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/invalid' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid_checking' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/auto_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/aux_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/brake_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/gear_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale6' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale7' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale8' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale9' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/proc_set_ cur' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/pass_through' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/parachute' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine/get_load' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine/landing_task' - * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/parachute/Chart' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/Level1_sel' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/Level1_sel/TopLevelSwitch' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/standby' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/Level2_sel' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/Level2_sel/Chart' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/manual' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/semi auto' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/Level3_sel' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/Level3_sel/Chart' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/RTB' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/hold' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/idle' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/landing' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/takeoff' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/waypoint' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/landing/landing_task' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/takeoff/takeoff_task' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/waypoint/Chart' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/get_WP' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/mission_proc' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/get_WP/mav' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/Switch Case Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/landing' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/takeoff' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/wp' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/landing/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/takeoff/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/wp/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant2' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant3' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant4' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant5' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant6' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant7' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant8' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2/Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/standby/standby_emergency' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/idle' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/manual' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/stab' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/sweep_generator' - * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/no_updates' - * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/update_mission_traj' - * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/update_mission_traj/mav' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/invalid' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid_checking' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/auto_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/aux_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/brake_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/gear_sw' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale6' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale7' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale8' - * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale9' - * '' : 'SIL/kb3_autopilot/controller/AFCS' - * '' : 'SIL/kb3_autopilot/controller/CSAS' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal' - * '' : 'SIL/kb3_autopilot/controller/mix' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/OFF' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic2' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/dycmd2dpsicmd1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err2' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/dycmd2dpsicmd1/Saturation dpsi' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/off' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/gamma' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/hdot' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/AGL' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/H' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/VNAV' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation Hdot_c' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation Hdot_c1' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation k' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp/Compare To Constant' - * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp/Compare To Zero' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/ASPD_ERROR' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/COMMAND' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/OFF' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS/turbine_engine_as_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS/turbine_engine_as_ctrl/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/COMMAND' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/OFF' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/COMMAND/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/Compare To Constant' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/pass_q_c' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Control Law' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/State Predictor' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/cal eta' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO/leso' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/tht_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/disable_lead_lag' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/enable_lead_lag' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/enable_lead_lag/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/tht_ctrl/sat q_c' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/COMMAND' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/OFF' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/COMMAND/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/Compare To Constant' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/Compare To Constant1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/pass_p_c' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Control Law' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/State Predictor' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/cal eta' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/TD r0=4(x1-x0)//Td^2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/TD r0=4(x1-x0)//Td^2/fhan' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl/phi_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl/phi_ctrl/sat p_c' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/MATLAB Function' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/MATLAB Function4' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function3' - * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function4' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/COMMAND' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/OFF' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/pass_r_c' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl/azctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl/azctrl/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/Saturation Dynamic1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Control Law' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/State Predictor' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/cal eta' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/COMMAND/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING/yaw_daming' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU2AP' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/afterburning' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/no_afterburning' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/afterburning/Chart' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/no_afterburning/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager/get_max_rpm' - * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager/get_min_rpm' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/Subsystem' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/Subsystem/Saturation Dynamic' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh_AB' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh_thr' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft_AB' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft_thr' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_fuelrate' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thr' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrAB' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrAB_1' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_AB' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_N' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_thr' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/aero_sel' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/constants' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/ctrls_sel' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/kin_sel' - * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/propulsion_create' - * '' : 'SIL/kb3_autopilot/controller/mix/mix' - * '' : 'SIL/kb3_autopilot/controller/mix/no_mix' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/vel' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt/use_baro_alt' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt/use_gps_alt' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_circle' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_corner' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_line' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/home' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_circle/nav_circle' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_corner/nav_corner' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_line/nav_line' - * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/home/nav_point' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/ack_convert' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/get_cur' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_gps_rtcm_data' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/ack_convert/Chart_send_ack' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/ap_ver_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/cmd_ack_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_ack_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_cnt_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_cur_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_item_int_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_req_int_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/param_val_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/ser_ctrl_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/traffic_ctrl' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/attitude_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/bmu_state' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ccm_state' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/emb_atmo_com_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ext_sys_stat_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/glb_pos_int_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins1_state' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins2_state' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/nav_ctrl_out_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/scal_pres_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/svo_out_raw_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/turbine_state' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/vfr_hud_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/attitude_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/bmu_state/bmu_state_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ccm_state/ccm_state_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/emb_atmo_com_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ext_sys_stat_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/glb_pos_int_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_vel' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/Radians to Degrees' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc/heartbeat' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc/heartbeat/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins1_state/Radians to Degrees' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins2_state/Radians to Degrees' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/nav_ctrl_out_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/scal_pres_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/svo_out_raw_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc/cal_drop_perc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/turbine_state/turbine_state_enc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/vfr_hud_enc/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/defaults' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec/Function-Call Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec/parse_and_proc' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/proc_queue' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue/process_new_message' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue/process_new_message/push2msgs' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/REQUEST_AUTOPILOT_CAPABILITIES' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/default' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/REQUEST_AUTOPILOT_CAPABILITIES/send_auto_hw' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/default/send_cmd' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_gps_rtcm_data/proc_gps_rtcm_data' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/merge_ack' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_cnt' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_item' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_set_cur' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/req_cur' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/Chart_proc_mission_clr_all' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/model/chat_clear_mission' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_cnt/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_item/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/Chart_proc_mission_req' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/model/chat_get_mission_item' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/Chart_proc_mission_req_lst' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/model/chat_get_mission_cnt' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_set_cur/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/Chart_proc_mission_upload' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/model/chat_clear_mission' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/model/chat_update_mission_item' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_lst' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_value' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_capi/find_val_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_lst/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/Chart_proc_param_req_read' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_capi/find_idx_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/Chart_proc_param_set' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/Chart_proc_param_set/f2u' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_capi/set_val_capi' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem1' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_value/u2f' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc/proc_rc_chs_ov' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc/proc_rc_chs_ov/proc_by_id' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Compare To Constant' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Subsystem/hal_serial_cmdline' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Chart' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/If Action Subsystem' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/hal_serial_echoline' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/If Action Subsystem/Chart_send_serial_control' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod/proc_set_mod' - * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod/proc_set_mod/proc_by_id' - * '' : 'SIL/kb3_autopilot/param/IAS' - * '' : 'SIL/kb3_autopilot/param/Mach' - * '' : 'SIL/kb3_autopilot/param/Subsystem' - * '' : 'SIL/kb3_autopilot/param/TAS' - * '' : 'SIL/kb3_autopilot/param/Za' - * '' : 'SIL/kb3_autopilot/param/climb_char' - * '' : 'SIL/kb3_autopilot/param/dec_char' - * '' : 'SIL/kb3_autopilot/param/mixer' - * '' : 'SIL/kb3_autopilot/param/pitch_effic' - * '' : 'SIL/kb3_autopilot/param/roll_effic' - * '' : 'SIL/kb3_autopilot/param/yaw_effic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/dummy_atmo_temp' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/dummy_totoal_temp' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_EAS_subsonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_TAS' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_qbar' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_sound_speed' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_static_temp' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/cal_CAS_subsonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/subsonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic/While Iterator Subsystem' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic/While Iterator Subsystem/Compare To Constant' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/cal_mach_subsonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/subsonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic/While Iterator Subsystem' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic/While Iterator Subsystem/Compare To Constant' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon1' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon2' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon3' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon4' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon5' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon6' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor1' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor10' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor11' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor12' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor13' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor14' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor15' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor16' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor17' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor18' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor19' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor2' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor20' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor21' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor22' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor23_28' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor29' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor3' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor30' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor31' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor32' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor4' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor5' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor6' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor7' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor8' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor9' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon1/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon2/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon3/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon4/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon5/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon6/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7/Compare To Constant' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor1/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor10/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor11/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor12/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor13/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor14/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor15/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor16/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor17/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor18/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor19/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor2/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor20/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor21/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor22/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor23_28/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor29/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor3/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor30/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor31/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor32/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor4/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor5/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor6/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor7/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor8/Chart' - * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor9/Chart' - * '' : 'SIL/outer_recorder/new_rec' - * '' : 'SIL/outer_recorder/rec20Hz' - * '' : 'SIL/outer_recorder/rec20Hz1' - * '' : 'SIL/outer_recorder/rec5Hz' - * '' : 'SIL/outer_recorder/rec5Hz1' - * '' : 'SIL/outer_recorder/rec_ctrl' - * '' : 'SIL/outer_recorder/rec20Hz/pkg1' - * '' : 'SIL/outer_recorder/rec20Hz1/pkg1' - * '' : 'SIL/outer_recorder/rec5Hz/pkg2' - * '' : 'SIL/outer_recorder/rec5Hz1/pkg2' + * '' : 'SIL/FDM/aerodynamics/Func_beta_deg_delta' + * '' : 'SIL/FDM/aerodynamics/Func_coeff' + * '' : 'SIL/FDM/aerodynamics/Func_da_deg' + * '' : 'SIL/FDM/aerodynamics/Func_de_deg' + * '' : 'SIL/FDM/aerodynamics/Func_dr_deg' + * '' : 'SIL/FDM/aerodynamics/Func_mach_delta' + * '' : 'SIL/FDM/aerodynamics/Func_p_norm' + * '' : 'SIL/FDM/aerodynamics/Func_q_norm' + * '' : 'SIL/FDM/aerodynamics/Func_qbarSb' + * '' : 'SIL/FDM/aerodynamics/Func_qbarSc' + * '' : 'SIL/FDM/aerodynamics/Func_r_norm' + * '' : 'SIL/FDM/aerodynamics/actuators_sel' + * '' : 'SIL/FDM/aerodynamics/aero_sel' + * '' : 'SIL/FDM/aerodynamics/aerodynamics_create' + * '' : 'SIL/FDM/aerodynamics/constants' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model' + * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model ' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Density Conversion' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Length Conversion' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Pressure Conversion' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Temperature Conversion' + * '' : 'SIL/FDM/atmosphere/COESA Atmosphere Model/Velocity Conversion' + * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Acceleration Conversion' + * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Angle Conversion' + * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Length Conversion' + * '' : 'SIL/FDM/atmosphere/WGS84 Gravity Model /Velocity Conversion2' + * '' : 'SIL/FDM/booster/Func_mass_kg' + * '' : 'SIL/FDM/booster/Func_thrust_N' + * '' : 'SIL/FDM/booster/constants' + * '' : 'SIL/FDM/booster/ctrls_sel' + * '' : 'SIL/FDM/booster/propulsion_create' + * '' : 'SIL/FDM/disturb/disturb' + * '' : 'SIL/FDM/disturb/disturb/Engine_i' + * '' : 'SIL/FDM/disturb/disturb/Engine_i/If Action Subsystem' + * '' : 'SIL/FDM/disturb/disturb/Engine_i/If Action Subsystem/Cross Product' + * '' : 'SIL/FDM/mass/Subsystem' + * '' : 'SIL/FDM/mass/default' + * '' : 'SIL/FDM/massbalance/Func_CG_m' + * '' : 'SIL/FDM/massbalance/Func_Ixx_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_Ixy_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_Ixz_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_Iyy_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_Iyz_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_Izz_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_inertiaMoments_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_neg_Ixy_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_neg_Ixz_kg_m2' + * '' : 'SIL/FDM/massbalance/Func_neg_Iyz_kg_m2' + * '' : 'SIL/FDM/massbalance/constants' + * '' : 'SIL/FDM/massbalance/massbalance_create' + * '' : 'SIL/FDM/propagate/Euler_Dynamics' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics' + * '' : 'SIL/FDM/propagate/Euler_Dynamics/PosLLA' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/N_n' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/PosLLA' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/WeightFM' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI ' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Celestial Longitude of Greenwich' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF to Inertial' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Velocity Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Velocity Conversion2' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Rotation Angles to Direction Cosine Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A11' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A12' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A13' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A21' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A22' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A23' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A31' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A32' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/A33' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED/Create Transformation Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A11' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A12' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A13' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A21' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A22' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A23' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A31' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A32' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/A33' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix ECEF to NED1/Create Transformation Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/AxisRotDefault' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/AxisRotZeroR3' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Get DCM Values' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotOrthogonal' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal/Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/Else If Not Orthogonal/Warning' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper/Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/If Not Proper/Warning' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotOrthogonal/transpose*dcm ~= eye(3)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper/Determinant of 3x3 Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Rotation Angles/Validate DCM/If Warning//Error/isNotProper/determinant does not equal 1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/trace(DCM)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/diag(DCM)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) -sin(theta)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(theta)sin(phi) - (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/cos(theta)sin(psi) + (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/if s~=0; s=0.5//s' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(1,1)/u(1) -(u(5)+u(9)) +1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) +sin(theta)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(theta)sin(phi) + (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/cos(theta)sin(psi) + (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/if s~=0; s=0.5//s' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(2,2)/u(5) -(u(1)+u(9)) +1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) -sin(theta)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(theta)sin(phi) + (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/cos(theta)sin(psi) - (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/if s~=0; s=0.5//s' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Negative Trace/Maximum Value at DCM(3,3)/u(9) -(u(1)+u(5)) +1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(phi)sin(theta)cos(psi) + sin(phi)sin(psi) +sin(theta)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(theta)sin(phi) - (cos(phi)sin(theta)sin(psi) - sin(phi)cos(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Positive Trace/cos(theta)sin(psi) - (sin(phi)sin(theta)cos(psi) - cos(phi)sin(psi))' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotOrthogonal' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal/Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/Else If Not Orthogonal/Warning' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper/Error' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/If Not Proper/Warning' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotOrthogonal/transpose*dcm ~= eye(3)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper/Determinant of 3x3 Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Direction Cosine Matrix to Quaternions/Validate DCM/If Warning//Error/isNotProper/determinant does not equal 1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A11' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A12' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A13' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A21' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A22' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A23' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A31' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A32' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/A33' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Create 3x3 Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize/Quaternion Modulus' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Quaternions to Direction Cosine Matrix/Quaternion Normalize/Quaternion Modulus/Quaternion Norm' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/Rotation Angles to Direction Cosine Matrix/Create 3x3 Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize/Quaternion Modulus' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate DCM & Euler Angles/qdot/Quaternion Normalize/Quaternion Modulus/Quaternion Norm' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Radius at Geocentric Latitude' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A11' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A12' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A13' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A21' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A22' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A23' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A31' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A32' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/A33' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED/Create Transformation Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A11' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A12' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A13' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A21' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A22' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A23' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A31' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A32' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/A33' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Direction Cosine Matrix ECI to NED1/Create Transformation Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Conversion2' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Latitude Wrap 90' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Radius at Geocentric Latitude' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Geodetic to Geocentric Latitude/Radius at Geocentric Latitude/Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Wrap Longitude' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Compare To Constant' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Wrap Angle 180' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Latitude Wrap 90/Wrap Angle 180/Compare To Constant' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/LatLong wrap/Wrap Longitude/Compare To Constant' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /LLA to ECEF Position/Radius at Geocentric Latitude/Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe/Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Position in EI /pxwe/Subsystem1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb/Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/Vbxwb/Subsystem1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)/Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wex(wexp)/Subsystem1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp/Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate Velocity in Body Axes/wexp/Subsystem1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/I x w' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/I x w1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product/Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Calculate omega_dot/3x3 Cross Product/Subsystem1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia/Mass input//output momentum' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/Determine Force, Mass & Inertia/Mass input//output momentum/For Each Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Subsystem2' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/Subsystem3' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^1' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^2' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/e^3' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem2' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem3' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF Position to LLA/While Iterator Subsystem/Subsystem4' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/ECEF to Inertial/Create 3x3 Matrix' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/Angle Conversion' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/M+h' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/N+h' + * '' : 'SIL/FDM/propagate/Quad_ECEF_Dynamics/6DOF ECEF (Quaternion)/w_ned/e2' + * '' : 'SIL/FDM/propulsion/Func_Nh' + * '' : 'SIL/FDM/propulsion/Func_Nh_AB' + * '' : 'SIL/FDM/propulsion/Func_Nh_thr' + * '' : 'SIL/FDM/propulsion/Func_cft' + * '' : 'SIL/FDM/propulsion/Func_cft_AB' + * '' : 'SIL/FDM/propulsion/Func_cft_thr' + * '' : 'SIL/FDM/propulsion/Func_fuelrate' + * '' : 'SIL/FDM/propulsion/Func_thr' + * '' : 'SIL/FDM/propulsion/Func_thrAB' + * '' : 'SIL/FDM/propulsion/Func_thrAB_1' + * '' : 'SIL/FDM/propulsion/Func_thrust_AB' + * '' : 'SIL/FDM/propulsion/Func_thrust_N' + * '' : 'SIL/FDM/propulsion/Func_thrust_thr' + * '' : 'SIL/FDM/propulsion/aero_sel' + * '' : 'SIL/FDM/propulsion/constants' + * '' : 'SIL/FDM/propulsion/ctrls_sel' + * '' : 'SIL/FDM/propulsion/kin_sel' + * '' : 'SIL/FDM/propulsion/propulsion_create' + * '' : 'SIL/FDM/tricycle landing gear/Compare To Constant' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/detect_WOW' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Left Main Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/detect_WOW' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Nose Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/detect_WOW' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Gear Force and Pos/Strut Normal Force' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Calc Tire Force/SinCosPsi' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/Forces and distances to LMN/3x3 Cross Product/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/GenerateGroundFM/induced_ve/Subsystem1' + * '' : 'SIL/FDM/tricycle landing gear/enable_gear/Right Main Gear Geometry Forces and Moments/Subsystem/Create 3x3 Matrix' + * '' : 'SIL/HAL_dummy_inputs/Subsystem' + * '' : 'SIL/HAL_dummy_inputs/actuator_feedback' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser' + * '' : 'SIL/HAL_dummy_inputs/ecu_parser' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser' + * '' : 'SIL/HAL_dummy_inputs/rec_parser' + * '' : 'SIL/HAL_dummy_inputs/rec_parser1' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg127' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg28' + * '' : 'SIL/HAL_dummy_inputs/bmu_parser/bmu_parser/bmu_msg_unpack/msg56' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgA0' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgA1' + * '' : 'SIL/HAL_dummy_inputs/ccm_parser/ccm_parser/ccm_msg_unpack/msgFF' + * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser' + * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/ecu_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/ecu_parser/ecu_parser/ecu_msg_unpack/unpack_ecu2ap' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant1' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant2' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant3' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant4' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/Compare To Constant5' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgCFV' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgSZN' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgCFV/Chart' + * '' : 'SIL/HAL_dummy_inputs/flvl_parser/flvl_parser/ccm_msg_unpack/msgSZN/Compare To Constant' + * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser' + * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/parser2' + * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/rec_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/rec_parser/rec_parser/rec_msg_unpack/msg0' + * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser' + * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/parser2' + * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/rec_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/rec_parser1/rec_parser/rec_msg_unpack/msg0' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/Function-Call Subsystem' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_alt_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_as_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_euler_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_hdt_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_pos_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_utc_tim_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_vel_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_imu_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser/sbg_parser/sbg_msg_unpack/sbg_ecom_log_nav_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/Function-Call Subsystem' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_alt_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_baro_as_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_euler_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_hdt_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_pos_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_utc_tim_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_gps_vel_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_imu_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sbg_parser1/sbg_parser/sbg_msg_unpack/sbg_ecom_log_nav_data_frame' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/Function-Call Subsystem' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/parser' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/Function-Call Subsystem/crc_checksum' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1/Degrees to Radians1' + * '' : 'SIL/HAL_dummy_inputs/sdas_parser/sdas_parser/sdas_msg_unpack/msg1/Degrees to Radians2' + * '' : 'SIL/dummy_INS/INS' + * '' : 'SIL/dummy_INS/plant2ins' + * '' : 'SIL/dummy_INS/INS/Compare To Constant1' + * '' : 'SIL/dummy_INS/INS/Compare To Constant2' + * '' : 'SIL/dummy_INS/INS/Degrees to Radians' + * '' : 'SIL/dummy_INS/INS/EKF' + * '' : 'SIL/dummy_INS/INS/Subsystem' + * '' : 'SIL/dummy_INS/INS/check_gps_valid' + * '' : 'SIL/dummy_INS/INS/hdt_sel' + * '' : 'SIL/dummy_INS/INS/imu_proc' + * '' : 'SIL/dummy_INS/INS/ps_proc' + * '' : 'SIL/dummy_INS/INS/qbar_proc' + * '' : 'SIL/dummy_INS/INS/status_mgr' + * '' : 'SIL/dummy_INS/INS/EKF/EKF14s' + * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem' + * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem1' + * '' : 'SIL/dummy_INS/INS/Subsystem/If Action Subsystem1/MATLAB Function' + * '' : 'SIL/dummy_INS/INS/hdt_sel/Chart' + * '' : 'SIL/dummy_INS/INS/imu_proc/Degrees to Radians' + * '' : 'SIL/dummy_INS/INS/imu_proc/IMU_bias_fix' + * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix' + * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/Rotation Angles to Direction Cosine Matrix' + * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/cal_mag_hdg' + * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/Rotation Angles to Direction Cosine Matrix/Create 3x3 Matrix' + * '' : 'SIL/dummy_INS/INS/imu_proc/install_fix/cal_mag_hdg/inpi' + * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude' + * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude/Length Conversion' + * '' : 'SIL/dummy_INS/INS/ps_proc/Pressure Altitude/Pressure Conversion' + * '' : 'SIL/dummy_INS/INS/qbar_proc/zero_set' + * '' : 'SIL/dummy_INS/plant2ins/IMU' + * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg' + * '' : 'SIL/dummy_INS/plant2ins/gnss_pos' + * '' : 'SIL/dummy_INS/plant2ins/gnss_tim' + * '' : 'SIL/dummy_INS/plant2ins/gnss_vel' + * '' : 'SIL/dummy_INS/plant2ins/mag' + * '' : 'SIL/dummy_INS/plant2ins/ps' + * '' : 'SIL/dummy_INS/plant2ins/qbar' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Radians to Degrees' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Acceleration Conversion' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics/No Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/Dynamics/Second-order Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)/Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x (w x d)/Subsystem1' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d/Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/w x (w x d)/w x d/Subsystem1' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d/Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Accelerometer/wdot x d/Subsystem1' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics/No Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/IMU/Three-axis Inertial Measurement Unit/Three-axis Gyroscope/Dynamics/Second-order Dynamics' + * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/gnss_hdg/tick' + * '' : 'SIL/dummy_INS/plant2ins/gnss_pos/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/gnss_pos/tick' + * '' : 'SIL/dummy_INS/plant2ins/gnss_tim/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/gnss_tim/tick' + * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/tick' + * '' : 'SIL/dummy_INS/plant2ins/gnss_vel/Enabled Subsystem/Radians to Degrees' + * '' : 'SIL/dummy_INS/plant2ins/mag/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/mag/tick' + * '' : 'SIL/dummy_INS/plant2ins/ps/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/ps/tick' + * '' : 'SIL/dummy_INS/plant2ins/qbar/Enabled Subsystem' + * '' : 'SIL/dummy_INS/plant2ins/qbar/tick' + * '' : 'SIL/dummy_input/ins2sens' + * '' : 'SIL/dummy_output/Enabled Subsystem' + * '' : 'SIL/dummy_output/Enabled Subsystem1' + * '' : 'SIL/dummy_output/Enabled Subsystem2' + * '' : 'SIL/dummy_output/Enabled Subsystem3' + * '' : 'SIL/dummy_output/Enabled Subsystem4' + * '' : 'SIL/dummy_output/Enabled Subsystem5' + * '' : 'SIL/dummy_output/Enabled Subsystem6' + * '' : 'SIL/dummy_output/Subsystem' + * '' : 'SIL/dummy_output/Subsystem1' + * '' : 'SIL/dummy_output/Subsystem2' + * '' : 'SIL/dummy_output/Subsystem3' + * '' : 'SIL/dummy_output/Subsystem4' + * '' : 'SIL/dummy_output/Subsystem5' + * '' : 'SIL/dummy_output/actuator' + * '' : 'SIL/dummy_output/actuator1' + * '' : 'SIL/dummy_output/actuator2' + * '' : 'SIL/dummy_output/actuator3' + * '' : 'SIL/dummy_output/dynamic_rate_saturation' + * '' : 'SIL/dummy_output/launch' + * '' : 'SIL/dummy_output/dynamic_rate_saturation/If Action Subsystem' + * '' : 'SIL/dummy_output/dynamic_rate_saturation/Subsystem' + * '' : 'SIL/dummy_output/dynamic_rate_saturation/Subsystem/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/cmd2pwm' + * '' : 'SIL/kb3_autopilot/communiation_and_command' + * '' : 'SIL/kb3_autopilot/controller' + * '' : 'SIL/kb3_autopilot/mavlink_data_link' + * '' : 'SIL/kb3_autopilot/param' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor' + * '' : 'SIL/kb3_autopilot/cmd2pwm/CCM_ctrl_cnt' + * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_kb2_2' + * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_kb3' + * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb' + * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb1' + * '' : 'SIL/kb3_autopilot/cmd2pwm/cmd_zkxb2' + * '' : 'SIL/kb3_autopilot/cmd2pwm/thr' + * '' : 'SIL/kb3_autopilot/cmd2pwm/thr/Subsystem' + * '' : 'SIL/kb3_autopilot/cmd2pwm/thr/Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_pre_proc' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation' + * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/no_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/act_sweep' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/bit_mode' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/dist_trans' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/proc_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/sdas_cmd' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_fuel_est' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/takeoff_tht' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/act_sweep/Degrees to Radians' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/actuator_cmd/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/arm/Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/armed_dissarmed/disarm/Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_base_alt' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_base_alt_baro' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/base_asl/set_cur_base_alt' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set throttle/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_as/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_gs/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/change_speed/set_speed/set_hdot/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AFCS_vert' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AS_SEL' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/AT' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/BMU' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/CCM' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/CSAS_YAW' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/ECU' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/USE_ADRC' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/actuators' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/alt' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/rec' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/ECU/Chart' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/actuators/Degrees to Radians' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/Compare To Constant1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/pass_through' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/cut/recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/force_recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/set_parameter/recovery/normal_recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/takeoff_tht/Degrees to Radians' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/operation' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/standby' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/toplevel_sw/If Action Subsystem/xbit' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi/Compare To Constant1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/trim_alpha/If Action Subsystem/range_pi1/Compare To Constant1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_cmd/proc_params/way_point_jump/Subsystem/Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_conn/check_conn' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/invalid' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid_checking' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/auto_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/aux_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/brake_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/gear_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale6' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale7' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale8' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_rc/valid/rescale9' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/C2_proc/update_wp_cur/proc_set_ cur' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/pass_through' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/parachute' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine/get_load' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/engine/landing_task' + * '' : 'SIL/kb3_autopilot/communiation_and_command/recovery/recovery/parachute/Chart' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/Level1_sel' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/Level1_sel/TopLevelSwitch' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/standby' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/Level2_sel' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/Level2_sel/Chart' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/manual' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/semi auto' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/Level3_sel' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/Level3_sel/Chart' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/RTB' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/hold' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/idle' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/landing' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/takeoff' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/waypoint' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/landing/landing_task' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/takeoff/takeoff_task' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/SubRouting/waypoint/Chart' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/get_WP' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/mission_proc' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/get_WP/mav' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/Switch Case Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/landing' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/takeoff' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/wp' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/landing/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/takeoff/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/SubRouting/mission/mission_sel/valid_test/wp/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant2' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant3' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant4' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant5' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant6' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant7' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/Compare To Constant8' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/operational/SubRouting/auto/auto_recovery/If Action Subsystem2/Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/standby/standby_emergency' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/idle' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/manual' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/stab' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/communiation_and_command/system_automation/SubRouting/xbit/act_sweep/sweep_generator' + * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/no_updates' + * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/update_mission_traj' + * '' : 'SIL/kb3_autopilot/communiation_and_command/trajectory_plan/update_mission_traj/mav' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/invalid' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid_checking' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/auto_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/aux_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/brake_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/gear_sw' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale6' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale7' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale8' + * '' : 'SIL/kb3_autopilot/communiation_and_command/update_rc/valid/rescale9' + * '' : 'SIL/kb3_autopilot/controller/AFCS' + * '' : 'SIL/kb3_autopilot/controller/CSAS' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal' + * '' : 'SIL/kb3_autopilot/controller/mix' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/OFF' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/Saturation Dynamic2' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/dycmd2dpsicmd1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/psi_err2' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_LAT/LNAV2PHI/Lat Guide2/dycmd2dpsicmd1/Saturation dpsi' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/off' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/as2tht/ctrl_vt_by_tht/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/gamma' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/ctrl_gamma_by_tht_afcs/ctrl_gamma_by_tht/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/hdot' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/AGL' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/H' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/VNAV' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation Hdot_c' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation Hdot_c1' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/hdot/vnav/dH2hdot/Saturation k' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp/Compare To Constant' + * '' : 'SIL/kb3_autopilot/controller/AFCS/AFCS_vert/gamma2tht/stall_protect_for_wp/Compare To Zero' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/ASPD_ERROR' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/COMMAND' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/OFF' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS/turbine_engine_as_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/AT/AS/turbine_engine_as_ctrl/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/COMMAND' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/OFF' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/COMMAND/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/Compare To Constant' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/pass_q_c' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Control Law' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/State Predictor' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/cal eta' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl/qctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/q_ctrl_ADRC/qctrl/qctrl_LADRC/Subsystem2/LESO/leso' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/tht_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/disable_lead_lag' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/enable_lead_lag' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/lead lag/enable_lead_lag/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/pitch/THT_Q_CTRL/tht_ctrl/tht_ctrl/sat q_c' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/COMMAND' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/OFF' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/COMMAND/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/Compare To Constant' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/Compare To Constant1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/pass_p_c' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Control Law' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/State Predictor' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/cal eta' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl/pctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/TD r0=4(x1-x0)//Td^2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/TD r0=4(x1-x0)//Td^2/fhan' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/p_ctrl_ADRC/ADRC_ROLL/pctrl_LADRC/Subsystem3/eso/fal/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl/phi_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl/phi_ctrl/sat p_c' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/MATLAB Function' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/MATLAB Function4' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL/ADRC_ROLL/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function3' + * '' : 'SIL/kb3_autopilot/controller/CSAS/roll/ROLL_CTRL/roll_ctrl_ADRC/ADRC_ROLL1/MATLAB Function4' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/COMMAND' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/OFF' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/pass_r_c' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl/azctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/ay_ctrl/azctrl/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/Saturation Dynamic1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Control Law' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/State Predictor' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/cal eta' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta1/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta2/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/AY_R_CTRL/r_ctrl/rctrl/L1AC/L1 ctrl2/Adaptation Laws/theta3/f_tht' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/COMMAND/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/CSAS/yaw/DAMPING/yaw_daming' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU2AP' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/afterburning' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/no_afterburning' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/afterburning/Chart' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/AP2ECU/no_afterburning/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager/get_max_rpm' + * '' : 'SIL/kb3_autopilot/controller/arm_disarm/ECU_manager/get_min_rpm' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/Subsystem' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/dynamic_rate_saturation/Subsystem/Saturation Dynamic' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh_AB' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_Nh_thr' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft_AB' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_cft_thr' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_fuelrate' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thr' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrAB' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrAB_1' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_AB' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_N' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/Func_thrust_thr' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/aero_sel' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/constants' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/ctrls_sel' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/kin_sel' + * '' : 'SIL/kb3_autopilot/controller/fuel_cal/propulsion/propulsion_create' + * '' : 'SIL/kb3_autopilot/controller/mix/mix' + * '' : 'SIL/kb3_autopilot/controller/mix/no_mix' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/vel' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt/use_baro_alt' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/alt/use_gps_alt' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_circle' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_corner' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_line' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/home' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_circle/nav_circle' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_corner/nav_corner' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/case_line/nav_line' + * '' : 'SIL/kb3_autopilot/controller/trajectory_generation/update_nav_info/route_nav/home/nav_point' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/ack_convert' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/get_cur' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_gps_rtcm_data' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/ack_convert/Chart_send_ack' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/ap_ver_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/cmd_ack_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_ack_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_cnt_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_cur_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_item_int_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/mission_req_int_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/param_val_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/ser_ctrl_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/traffic_ctrl' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/attitude_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/bmu_state' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ccm_state' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/emb_atmo_com_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ext_sys_stat_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/glb_pos_int_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins1_state' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins2_state' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/nav_ctrl_out_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/scal_pres_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/svo_out_raw_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/turbine_state' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/vfr_hud_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/attitude_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/bmu_state/bmu_state_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ccm_state/ccm_state_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/emb_atmo_com_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ext_sys_stat_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/glb_pos_int_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_vel' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/gps_raw_int_enc/Chart/get_cog/Radians to Degrees' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc/heartbeat' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/heartbeat_enc/heartbeat/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins1_state/Radians to Degrees' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/ins2_state/Radians to Degrees' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/nav_ctrl_out_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/scal_pres_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/svo_out_raw_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/sys_stat_enc/cal_drop_perc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/turbine_state/turbine_state_enc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_enc_and_send/loop_download/vfr_hud_enc/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/defaults' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/cmd_long_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/gps_rtcm_data1/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_clr_all_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_cnt_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_item_int_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_req_lst_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/mission_set_cur_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_get_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_req_lst_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/param_set_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/rc_channels_override_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec/Function-Call Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/dec_and_proc_each/set_mode_dec/parse_and_proc' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/proc_queue' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue/process_new_message' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/mavlink_parse_and_proc/parse_mav_msgs/parse_to_msg_queue/process_new_message/push2msgs' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/REQUEST_AUTOPILOT_CAPABILITIES' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/default' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/REQUEST_AUTOPILOT_CAPABILITIES/send_auto_hw' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_command/proc_cmd_long/proc_by_id/default/send_cmd' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_gps_rtcm_data/proc_gps_rtcm_data' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/merge_ack' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_cnt' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_item' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_set_cur' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/req_cur' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/Chart_proc_mission_clr_all' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_clr_all/dummy clear_mission/Variant Model/model/chat_clear_mission' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_cnt/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_item/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/Chart_proc_mission_req' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req/user-defined get_mission_item/Variant Model/model/chat_get_mission_item' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/Chart_proc_mission_req_lst' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_req_lst/user-defined get_mission_cnt/Variant Model/model/chat_get_mission_cnt' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_set_cur/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/Chart_proc_mission_upload' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy clear_mission/Variant Model/model/chat_clear_mission' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_mission/proc_mission_upload/dummy update_mission_item/Variant Model/model/chat_update_mission_item' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_lst' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_value' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/find_val/Variant Model/find_val_capi/find_val_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_lst/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/Chart_proc_param_req_read' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_capi/find_idx_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_req_read/find_idx/Variant Model/find_idx_sim/For Iterator Subsystem/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/Chart_proc_param_set' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/Chart_proc_param_set/f2u' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_capi/set_val_capi' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem1' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_set/set_val/Variant Model/set_val_sim/For Iterator Subsystem/If Action Subsystem/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_params/proc_param_value/u2f' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc/proc_rc_chs_ov' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_rc/proc_rc_chs_ov/proc_by_id' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Compare To Constant' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_control/proc_serial_control/Subsystem/hal_serial_cmdline' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Chart' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/If Action Subsystem' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/hal_serial_echoline' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_serial_echo/Subsystem/If Action Subsystem/Chart_send_serial_control' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod/proc_set_mod' + * '' : 'SIL/kb3_autopilot/mavlink_data_link/proc_set_mod/proc_set_mod/proc_by_id' + * '' : 'SIL/kb3_autopilot/param/IAS' + * '' : 'SIL/kb3_autopilot/param/Mach' + * '' : 'SIL/kb3_autopilot/param/Subsystem' + * '' : 'SIL/kb3_autopilot/param/TAS' + * '' : 'SIL/kb3_autopilot/param/Za' + * '' : 'SIL/kb3_autopilot/param/climb_char' + * '' : 'SIL/kb3_autopilot/param/dec_char' + * '' : 'SIL/kb3_autopilot/param/mixer' + * '' : 'SIL/kb3_autopilot/param/pitch_effic' + * '' : 'SIL/kb3_autopilot/param/roll_effic' + * '' : 'SIL/kb3_autopilot/param/yaw_effic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/dummy_atmo_temp' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/dummy_totoal_temp' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_EAS_subsonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_TAS' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_qbar' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_sound_speed' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_static_temp' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/cal_CAS_subsonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/subsonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic/While Iterator Subsystem' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_CAS/supersonic/While Iterator Subsystem/Compare To Constant' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/cal_mach_subsonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/subsonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic/While Iterator Subsystem' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/AtmosComputer/DAS/cal_mach/supersonic/While Iterator Subsystem/Compare To Constant' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon1' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon2' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon3' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon4' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon5' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon6' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor1' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor10' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor11' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor12' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor13' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor14' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor15' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor16' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor17' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor18' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor19' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor2' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor20' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor21' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor22' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor23_28' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor29' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor3' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor30' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor31' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor32' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor4' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor5' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor6' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor7' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor8' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor9' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon1/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon2/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon3/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon4/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon5/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon6/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/mon7/Compare To Constant' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor1/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor10/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor11/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor12/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor13/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor14/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor15/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor16/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor17/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor18/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor19/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor2/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor20/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor21/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor22/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor23_28/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor29/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor3/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor30/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor31/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor32/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor4/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor5/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor6/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor7/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor8/Chart' + * '' : 'SIL/kb3_autopilot/sen_proc_monitor/health_monitor/monitor9/Chart' + * '' : 'SIL/outer_recorder/new_rec' + * '' : 'SIL/outer_recorder/rec20Hz' + * '' : 'SIL/outer_recorder/rec20Hz1' + * '' : 'SIL/outer_recorder/rec5Hz' + * '' : 'SIL/outer_recorder/rec5Hz1' + * '' : 'SIL/outer_recorder/rec_ctrl' + * '' : 'SIL/outer_recorder/rec20Hz/pkg1' + * '' : 'SIL/outer_recorder/rec20Hz1/pkg1' + * '' : 'SIL/outer_recorder/rec5Hz/pkg2' + * '' : 'SIL/outer_recorder/rec5Hz1/pkg2' */ #endif /* RTW_HEADER_SIL_h_ */ diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c index 793d990..f1705e4 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -268,79 +268,79 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = { { 107, TARGET_STRING("recovery_ias"), 1, 3, 0 }, - { 108, TARGET_STRING("relay_on"), 1, 3, 0 }, + { 108, TARGET_STRING("recovery_max_da"), 1, 3, 0 }, - { 109, TARGET_STRING("relay_out"), 1, 3, 0 }, + { 109, TARGET_STRING("relay_on"), 1, 3, 0 }, - { 110, TARGET_STRING("roll_b0_gain"), 1, 3, 0 }, + { 110, TARGET_STRING("relay_out"), 1, 3, 0 }, - { 111, TARGET_STRING("roll_beta_01"), 1, 3, 0 }, + { 111, TARGET_STRING("roll_b0_gain"), 1, 3, 0 }, - { 112, TARGET_STRING("roll_beta_02"), 1, 3, 0 }, + { 112, TARGET_STRING("roll_beta_01"), 1, 3, 0 }, - { 113, TARGET_STRING("roll_kd_lst"), 1, 4, 0 }, + { 113, TARGET_STRING("roll_beta_02"), 1, 3, 0 }, - { 114, TARGET_STRING("roll_kp_lst"), 1, 4, 0 }, + { 114, TARGET_STRING("roll_kd_lst"), 1, 4, 0 }, - { 115, TARGET_STRING("tas_gl"), 1, 4, 0 }, + { 115, TARGET_STRING("roll_kp_lst"), 1, 4, 0 }, - { 116, TARGET_STRING("tas_qc"), 1, 4, 0 }, + { 116, TARGET_STRING("tas_gl"), 1, 4, 0 }, - { 117, TARGET_STRING("use_deadbandComp"), 1, 3, 0 }, + { 117, TARGET_STRING("tas_qc"), 1, 4, 0 }, - { 118, TARGET_STRING("w_as"), 1, 3, 0 }, + { 118, TARGET_STRING("use_deadbandComp"), 1, 3, 0 }, - { 119, TARGET_STRING("w_p"), 1, 3, 0 }, + { 119, TARGET_STRING("w_as"), 1, 3, 0 }, - { 120, TARGET_STRING("w_r"), 1, 3, 0 }, + { 120, TARGET_STRING("w_p"), 1, 3, 0 }, - { 121, TARGET_STRING("w_v"), 1, 3, 0 }, + { 121, TARGET_STRING("w_r"), 1, 3, 0 }, - { 122, TARGET_STRING("w_v2tht"), 1, 3, 0 }, + { 122, TARGET_STRING("w_v"), 1, 3, 0 }, - { 123, TARGET_STRING("w_x"), 1, 3, 0 }, + { 123, TARGET_STRING("w_v2tht"), 1, 3, 0 }, - { 124, TARGET_STRING("w_y"), 1, 3, 0 }, + { 124, TARGET_STRING("w_x"), 1, 3, 0 }, - { 125, TARGET_STRING("washout_r_den"), 1, 0, 0 }, + { 125, TARGET_STRING("w_y"), 1, 3, 0 }, - { 126, TARGET_STRING("washout_r_num"), 1, 6, 0 }, + { 126, TARGET_STRING("washout_r_den"), 1, 0, 0 }, - { 127, TARGET_STRING("system_id"), 2, 3, 0 }, + { 127, TARGET_STRING("washout_r_num"), 1, 6, 0 }, - { 128, TARGET_STRING("force_sysauto_level"), 3, 3, 0 }, + { 128, TARGET_STRING("system_id"), 2, 3, 0 }, - { 129, TARGET_STRING("linked_default"), 3, 3, 0 }, + { 129, TARGET_STRING("force_sysauto_level"), 3, 3, 0 }, - { 130, TARGET_STRING("use_ext_ins"), 3, 3, 0 }, + { 130, TARGET_STRING("linked_default"), 3, 3, 0 }, - { 131, TARGET_STRING("act_sw_mode"), 4, 3, 0 }, + { 131, TARGET_STRING("use_ext_ins"), 3, 3, 0 }, - { 132, TARGET_STRING("door_idx"), 4, 3, 0 }, + { 132, TARGET_STRING("act_sw_mode"), 4, 3, 0 }, - { 133, TARGET_STRING("use_tht_leadlag"), 4, 3, 0 }, + { 133, TARGET_STRING("door_idx"), 4, 3, 0 }, - { 134, TARGET_STRING("Att0"), 0, 0, 0 }, + { 134, TARGET_STRING("use_tht_leadlag"), 4, 3, 0 }, - { 135, TARGET_STRING("BoosterUncertGain"), 0, 3, 0 }, + { 135, TARGET_STRING("Att0"), 0, 0, 0 }, - { 136, TARGET_STRING("CD0UncertVal"), 0, 3, 0 }, + { 136, TARGET_STRING("BoosterUncertGain"), 0, 3, 0 }, - { 137, TARGET_STRING("CG_bias_m"), 0, 0, 0 }, + { 137, TARGET_STRING("CD0UncertVal"), 0, 3, 0 }, - { 138, TARGET_STRING("CL0UncertVal"), 0, 3, 0 }, + { 138, TARGET_STRING("CG_bias_m"), 0, 0, 0 }, - { 139, TARGET_STRING("CLaUncertGain"), 0, 3, 0 }, + { 139, TARGET_STRING("CL0UncertVal"), 0, 3, 0 }, - { 140, TARGET_STRING("CLdeUncertGain"), 0, 3, 0 }, + { 140, TARGET_STRING("CLaUncertGain"), 0, 3, 0 }, - { 141, TARGET_STRING("CLqUncertGain"), 0, 3, 0 }, + { 141, TARGET_STRING("CLdeUncertGain"), 0, 3, 0 }, - { 142, TARGET_STRING("CY0UncertVal"), 0, 3, 0 }, + { 142, TARGET_STRING("CLqUncertGain"), 0, 3, 0 }, - { 143, TARGET_STRING("CYbUncertGain"), 0, 3, 0 }, + { 143, TARGET_STRING("CY0UncertVal"), 0, 3, 0 }, - { 144, TARGET_STRING("CYdaUncertGain"), 0, 3, 0 }, + { 144, TARGET_STRING("CYbUncertGain"), 0, 3, 0 }, { 145, TARGET_STRING("CYdrUncertGain"), 0, 3, 0 }, @@ -519,43 +519,43 @@ static void* rtDataAddrMap[] = { &SIL_P.num_tht_leadlag[0], /* 105: Model Parameter */ &SIL_P.r_TD, /* 106: Model Parameter */ &SIL_P.recovery_ias, /* 107: Model Parameter */ - &SIL_P.relay_on, /* 108: Model Parameter */ - &SIL_P.relay_out, /* 109: Model Parameter */ - &SIL_P.roll_b0_gain, /* 110: Model Parameter */ - &SIL_P.roll_beta_01, /* 111: Model Parameter */ - &SIL_P.roll_beta_02, /* 112: Model Parameter */ - &SIL_P.roll_kd_lst[0], /* 113: Model Parameter */ - &SIL_P.roll_kp_lst[0], /* 114: Model Parameter */ - &SIL_P.tas_gl[0], /* 115: Model Parameter */ - &SIL_P.tas_qc[0], /* 116: Model Parameter */ - &SIL_P.use_deadbandComp, /* 117: Model Parameter */ - &SIL_P.w_as, /* 118: Model Parameter */ - &SIL_P.w_p, /* 119: Model Parameter */ - &SIL_P.w_r, /* 120: Model Parameter */ - &SIL_P.w_v, /* 121: Model Parameter */ - &SIL_P.w_v2tht, /* 122: Model Parameter */ - &SIL_P.w_x, /* 123: Model Parameter */ - &SIL_P.w_y, /* 124: Model Parameter */ - &SIL_P.washout_r_den[0], /* 125: Model Parameter */ - &SIL_P.washout_r_num[0], /* 126: Model Parameter */ - &SIL_P.system_id, /* 127: Model Parameter */ - &SIL_P.force_sysauto_level, /* 128: Model Parameter */ - &SIL_P.linked_default, /* 129: Model Parameter */ - &SIL_P.use_ext_ins, /* 130: Model Parameter */ - &SIL_P.act_sw_mode, /* 131: Model Parameter */ - &SIL_P.door_idx, /* 132: Model Parameter */ - &SIL_P.use_tht_leadlag, /* 133: Model Parameter */ - Att0, /* 134: Model Parameter */ - &BoosterUncertGain, /* 135: Model Parameter */ - &CD0UncertVal, /* 136: Model Parameter */ - CG_bias_m, /* 137: Model Parameter */ - &CL0UncertVal, /* 138: Model Parameter */ - &CLaUncertGain, /* 139: Model Parameter */ - &CLdeUncertGain, /* 140: Model Parameter */ - &CLqUncertGain, /* 141: Model Parameter */ - &CY0UncertVal, /* 142: Model Parameter */ - &CYbUncertGain, /* 143: Model Parameter */ - &CYdaUncertGain, /* 144: Model Parameter */ + &SIL_P.recovery_max_da, /* 108: Model Parameter */ + &SIL_P.relay_on, /* 109: Model Parameter */ + &SIL_P.relay_out, /* 110: Model Parameter */ + &SIL_P.roll_b0_gain, /* 111: Model Parameter */ + &SIL_P.roll_beta_01, /* 112: Model Parameter */ + &SIL_P.roll_beta_02, /* 113: Model Parameter */ + &SIL_P.roll_kd_lst[0], /* 114: Model Parameter */ + &SIL_P.roll_kp_lst[0], /* 115: Model Parameter */ + &SIL_P.tas_gl[0], /* 116: Model Parameter */ + &SIL_P.tas_qc[0], /* 117: Model Parameter */ + &SIL_P.use_deadbandComp, /* 118: Model Parameter */ + &SIL_P.w_as, /* 119: Model Parameter */ + &SIL_P.w_p, /* 120: Model Parameter */ + &SIL_P.w_r, /* 121: Model Parameter */ + &SIL_P.w_v, /* 122: Model Parameter */ + &SIL_P.w_v2tht, /* 123: Model Parameter */ + &SIL_P.w_x, /* 124: Model Parameter */ + &SIL_P.w_y, /* 125: Model Parameter */ + &SIL_P.washout_r_den[0], /* 126: Model Parameter */ + &SIL_P.washout_r_num[0], /* 127: Model Parameter */ + &SIL_P.system_id, /* 128: Model Parameter */ + &SIL_P.force_sysauto_level, /* 129: Model Parameter */ + &SIL_P.linked_default, /* 130: Model Parameter */ + &SIL_P.use_ext_ins, /* 131: Model Parameter */ + &SIL_P.act_sw_mode, /* 132: Model Parameter */ + &SIL_P.door_idx, /* 133: Model Parameter */ + &SIL_P.use_tht_leadlag, /* 134: Model Parameter */ + Att0, /* 135: Model Parameter */ + &BoosterUncertGain, /* 136: Model Parameter */ + &CD0UncertVal, /* 137: Model Parameter */ + CG_bias_m, /* 138: Model Parameter */ + &CL0UncertVal, /* 139: Model Parameter */ + &CLaUncertGain, /* 140: Model Parameter */ + &CLdeUncertGain, /* 141: Model Parameter */ + &CLqUncertGain, /* 142: Model Parameter */ + &CY0UncertVal, /* 143: Model Parameter */ + &CYbUncertGain, /* 144: Model Parameter */ &CYdrUncertGain, /* 145: Model Parameter */ &CYpUncertGain, /* 146: Model Parameter */ &CYrUncertGain, /* 147: Model Parameter */ @@ -701,10 +701,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = { rtElementMap, rtSampleTimeMap, rtDimensionArray }, "float", - { 531616206U, - 1652972652U, - 3195624525U, - 1822082049U }, + { 2282259408U, + 2797026634U, + 1710884651U, + 138794991U }, (NULL), 0, 0 }; diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h index ad4aab4..30f3121 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c b/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c index 66c7ce2..3997280 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -18,49 +18,49 @@ /* Invariant block signals (default storage) */ const ConstB_SIL_T SIL_ConstB = { - 0.99664718933525254, /* '/Sum' */ - 0.99664718933525254, /* '/Sum' */ - 0.99330562000985867, /* '/Product4' */ - 1.0067394967422765, /* '/Product1' */ - 0.006739496742276474, /* '/Sum1' */ - 0.99664718933525254, /* '/Sum' */ - 0.99330562000985867, /* '/Product4' */ - 1.0067394967422765, /* '/Product1' */ - 0.006739496742276474, /* '/Sum1' */ - 0.99664718933525254, /* '/Sum1' */ - 6.3567523142451793E+6, /* '/Product1' */ - 0.99330562000985867, /* '/Product2' */ - 0.00669437999014133, /* '/Sum1' */ - 0.99330562000985867, /* '/Sum1' */ - 0.0067394967422764488, /* '/Product2' */ - 0.99664718933525254, /* '/Sum' */ - 0.99330562000985867, /* '/Product3' */ - 0.00669437999014133, /* '/Sum2' */ - 0.99330562000985867, /* '/Sum' */ - 0.0, /* '/Unit Conversion' */ + 0.99664718933525254, /* '/Sum' */ + 0.99664718933525254, /* '/Sum' */ + 0.99330562000985867, /* '/Product4' */ + 1.0067394967422765, /* '/Product1' */ + 0.006739496742276474, /* '/Sum1' */ + 0.99664718933525254, /* '/Sum' */ + 0.99330562000985867, /* '/Product4' */ + 1.0067394967422765, /* '/Product1' */ + 0.006739496742276474, /* '/Sum1' */ + 0.99664718933525254, /* '/Sum1' */ + 6.3567523142451793E+6, /* '/Product1' */ + 0.99330562000985867, /* '/Product2' */ + 0.00669437999014133, /* '/Sum1' */ + 0.99330562000985867, /* '/Sum1' */ + 0.0067394967422764488, /* '/Product2' */ + 0.99664718933525254, /* '/Sum' */ + 0.99330562000985867, /* '/Product3' */ + 0.00669437999014133, /* '/Sum2' */ + 0.99330562000985867, /* '/Sum' */ + 0.0, /* '/Unit Conversion' */ { 0.0, 0.0, 0.0 }, /* synthesized block */ - { -0.5, 0.5, 0.6 }, /* '/Selector1' */ + { -0.5, 0.5, 0.6 }, /* '/Selector1' */ - { 1.0, 0.0, 0.96 }, /* '/Selector' */ + { 1.0, 0.0, 0.96 }, /* '/Selector' */ - { -0.5, -0.5, 0.6 }, /* '/Selector2' */ + { -0.5, -0.5, 0.6 }, /* '/Selector2' */ 1.0, /* '/Selector4' */ - 87U, /* '/Width1' */ - 81U, /* '/Width1' */ - 189U, /* '/Width1' */ - 195U, /* '/Width1' */ - 82U, /* '/Width' */ - 76U, /* '/Width' */ - 184U, /* '/Width' */ - 190U, /* '/Width' */ - 1, /* '/Compare' */ + 87U, /* '/Width1' */ + 81U, /* '/Width1' */ + 189U, /* '/Width1' */ + 195U, /* '/Width1' */ + 82U, /* '/Width' */ + 76U, /* '/Width' */ + 184U, /* '/Width' */ + 190U, /* '/Width' */ + 1, /* '/Compare' */ /* Start of '/new_rec' */ { - 9U, /* '/Width1' */ - 4U /* '/Width' */ + 9U, /* '/Width1' */ + 4U /* '/Width' */ } /* End of '/new_rec' */ }; @@ -68,12 +68,12 @@ const ConstB_SIL_T SIL_ConstB = { /* Block parameters (default storage) */ P_SIL_T SIL_P = { /* Variable: AccelBias - * Referenced by: '/Measurement bias' + * Referenced by: '/Measurement bias' */ { 0.0, 0.0, 0.0 }, /* Variable: AccelScaleMatrix - * Referenced by: '/Scale factors & Cross-coupling errors' + * Referenced by: '/Scale factors & Cross-coupling errors' */ { 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 }, @@ -83,22 +83,22 @@ P_SIL_T SIL_P = { { 0.0, 0.0, 3.0, 3.0, 30.0, 30.0, 30.0 }, /* Variable: GyroBias - * Referenced by: '/Measurement bias' + * Referenced by: '/Measurement bias' */ { 0.0, 0.0, 0.0 }, /* Variable: GyroGBias - * Referenced by: '/g-sensitive bias' + * Referenced by: '/g-sensitive bias' */ { 0.0, 0.0, 0.0 }, /* Variable: GyroScaleMatrix - * Referenced by: '/Scale factors & Cross-coupling errors ' + * Referenced by: '/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: '/wl_ins' + * Referenced by: '/wl_ins' */ { 0.0, 0.0, 0.0 }, @@ -108,7 +108,7 @@ P_SIL_T SIL_P = { { 0.0, 0.0, 0.0 }, /* Variable: Ps_sens_bias - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 0.0, 0.0, 0.0 }, @@ -148,7 +148,7 @@ P_SIL_T SIL_P = { { 0.0, 0.5, 1.6, 6.6, 7.7, 9.0, 10.0 }, /* Variable: mach_level - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 0.3, 0.6, 0.8 }, @@ -158,7 +158,7 @@ P_SIL_T SIL_P = { 255.0, /* Variable: qbar_sens_bias - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }, @@ -175,7 +175,7 @@ P_SIL_T SIL_P = { /* Variable: throttle_rate * Referenced by: * '/Constant9' - * '/Constant9' + * '/Constant9' */ 0.038461538461538464, @@ -191,8 +191,8 @@ P_SIL_T SIL_P = { * '/1-D Lookup Table2' * '/1-D Lookup Table3' * '/1-D Lookup Table4' - * '/1-D Lookup Table1' - * '/1-D Lookup Table1' + * '/1-D Lookup Table1' + * '/1-D Lookup Table1' */ { 1300.0, 5000.0, 10000.0 }, @@ -202,216 +202,216 @@ P_SIL_T SIL_P = { { 1.0, 5.0, 5.0 }, /* Variable: ADRC_p_a - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 0.5F, /* Variable: ADRC_p_b0 - * Referenced by: '/Constant7' + * Referenced by: '/Constant7' */ -300.0F, /* Variable: ADRC_p_beta01 - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ 20.0F, /* Variable: ADRC_p_beta02 - * Referenced by: '/Constant6' + * Referenced by: '/Constant6' */ 56.0F, /* Variable: ADRC_p_d - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ 0.05F, /* Variable: ADRC_p_wc - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ 10.0F, /* Variable: ADRC_wc_q - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ 7.0F, /* Variable: ADRC_wo_q - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 10.0F, /* Variable: CLa - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 4.0F, /* Variable: Clda_lst - * Referenced by: '/Clda' + * Referenced by: '/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: '/Clp' + * Referenced by: '/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: '/Cmde1' + * Referenced by: '/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: '/Cmq' + * Referenced by: '/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: '/Cndr' + * Referenced by: '/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: '/Clp' + * Referenced by: '/Clp' */ { -1.2527F, -1.4036F, -1.3428F, -1.3764F, -1.473F, -1.706F, -1.2978F, -1.3471F, -1.357F, -1.4332F, -1.4512F }, /* Variable: Csb - * Referenced by: '/Constant14' + * Referenced by: '/Constant14' */ 1.4F, /* Variable: Gamma_L1 * Referenced by: - * '/Gain2' - * '/Gain3' - * '/Gain4' - * '/Gain2' - * '/Gain3' - * '/Gain4' - * '/Gain2' - * '/Gain3' - * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' + * '/Gain2' + * '/Gain3' + * '/Gain4' */ 2000.0F, /* Variable: Ixx - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 9.0F, /* Variable: Iyy - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 300.0F, /* Variable: Izz - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 300.0F, /* Variable: Ma_lst * Referenced by: - * '/P11' - * '/P12' - * '/P21' - * '/P22' - * '/Cmde1' - * '/Cmq' - * '/Clda' - * '/Clp' - * '/Clp' - * '/Cndr' + * '/P11' + * '/P12' + * '/P21' + * '/P22' + * '/Cmde1' + * '/Cmq' + * '/Clda' + * '/Clp' + * '/Clp' + * '/Cndr' */ { 0.2F, 0.3F, 0.6F, 0.8F, 0.9F, 0.95F, 1.05F, 1.1F, 1.2F, 1.3F, 1.5F }, /* Variable: Ma_lst2 * Referenced by: - * '/roll_kd' - * '/roll_kp' + * '/roll_kd' + * '/roll_kp' */ { 0.3F, 0.4F, 0.8F, 1.0F, 1.4F, 1.5F }, /* Variable: P11_lst - * Referenced by: '/P11' + * Referenced by: '/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: '/P12' + * Referenced by: '/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: '/P21' + * Referenced by: '/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: '/P22' + * Referenced by: '/P22' */ { 0.7993F, 0.7994F, 0.758F, 0.7385F, 0.7327F, 0.7349F, 0.7192F, 0.7283F, 0.753F, 0.706F, 0.6672F }, /* Variable: RefArea * Referenced by: - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' - * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' + * '/Sc_Iyy' */ 0.919F, /* Variable: RefLen * Referenced by: - * '/Constant3' - * '/Sc_Iyy' + * '/Constant3' + * '/Sc_Iyy' */ 0.659F, /* Variable: RefSpan * Referenced by: - * '/Constant2' - * '/Sc_Iyy' - * '/Constant2' - * '/Sc_Iyy' + * '/Constant2' + * '/Sc_Iyy' + * '/Constant2' + * '/Sc_Iyy' */ 1.7F, /* Variable: Toffset - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 0.0F, /* Variable: alt_lst * Referenced by: - * '/1-D Lookup Table' - * '/IAS_lookup' + * '/1-D Lookup Table' + * '/IAS_lookup' */ { 0.0F, 1500.0F, 5000.0F, 11000.0F, 12000.0F, 13000.0F }, /* Variable: dal0 - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ -0.0490626954F, /* Variable: dar0 - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ -0.0382268503F, /* Variable: de_takeoff - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ -0.0523F, @@ -435,391 +435,396 @@ P_SIL_T SIL_P = { 0.0026F, /* Variable: del0 - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 0.00710974F, /* Variable: delayAftLnch - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ 0.7F, /* Variable: den_tht_leadlag - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ { 1.0F, -0.9277F }, /* Variable: der0 - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ 0.0163907F, /* Variable: det_time - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 5.0F, /* Variable: door_level - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 17.0F, /* Variable: dr0 - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ 0.0F, /* Variable: emergency_ias - * Referenced by: '/Constant5' + * Referenced by: '/Constant5' */ 120.0F, /* Variable: h_TD - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 0.02F, /* Variable: h_thr2rpm * Referenced by: - * '/Constant11' - * '/max_rpm' - * '/min_rpm' + * '/Constant11' + * '/max_rpm' + * '/min_rpm' */ { 0.0F, 3900.0F, 4000.0F, 5900.0F, 6000.0F, 9900.0F, 10000.0F, 12000.0F }, /* Variable: ias_takeoff - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 140.0F, /* Variable: inflect_time - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 22.5F, /* Variable: k_dal * Referenced by: * '/Constant7' - * '/Gain3' + * '/Gain3' */ -1.1149F, /* Variable: k_dar * Referenced by: * '/Constant8' - * '/Gain4' + * '/Gain4' */ -1.1144F, /* Variable: k_del * Referenced by: * '/Constant' - * '/Gain1' + * '/Gain1' */ -1.0094F, /* Variable: k_der * Referenced by: * '/Constant1' - * '/Gain' + * '/Gain' */ 1.0155F, /* Variable: k_dr * Referenced by: * '/Constant3' - * '/Gain2' + * '/Gain2' */ -1.0F, /* Variable: k_p - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ 10.0F, /* Variable: k_p2dr - * Referenced by: '/gain4' + * Referenced by: '/gain4' */ 0.0F, /* Variable: k_r - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ 5.0F, /* Variable: k_r2da - * Referenced by: '/gain' + * Referenced by: '/gain' */ 0.0F, /* Variable: ksi_v2tht - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 0.8F, /* Variable: load_detect - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 5.0F, /* Variable: m * Referenced by: - * '/Constant5' - * '/Constant' + * '/Constant5' + * '/Constant' */ 200.0F, /* Variable: max_az - * Referenced by: '/Constant8' + * Referenced by: '/Constant8' */ 5.0F, /* Variable: max_da * Referenced by: - * '/Constant1' - * '/gain1' - * '/gain1' - * '/gain1' + * '/Constant1' + * '/gain1' + * '/gain1' + * '/gain1' */ 0.4363F, /* Variable: max_de * Referenced by: - * '/Constant1' - * '/gain' - * '/gain' - * '/gain' + * '/Constant1' + * '/gain' + * '/gain' + * '/gain' */ 0.349F, /* Variable: max_dr * Referenced by: - * '/Constant13' - * '/gain2' - * '/gain2' - * '/gain2' + * '/Constant13' + * '/gain2' + * '/gain2' + * '/gain2' */ 0.349F, /* Variable: max_hdot - * Referenced by: '/Constant9' + * Referenced by: '/Constant9' */ 100.0F, /* Variable: max_p - * Referenced by: '/Constant7' + * Referenced by: '/Constant7' */ 0.7F, /* Variable: max_phi - * Referenced by: '/Constant Single1' + * Referenced by: '/Constant Single1' */ 0.7F, /* Variable: max_q - * Referenced by: '/Constant6' + * Referenced by: '/Constant6' */ 0.4F, /* Variable: max_rpm - * Referenced by: '/max_rpm' + * Referenced by: '/max_rpm' */ { 46000.0F, 46000.0F, 46000.0F, 46000.0F, 46000.0F, 46000.0F, 46000.0F, 46000.0F }, /* Variable: max_rpm_lim - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ 46000.0F, /* Variable: max_thrust - * Referenced by: '/Constant12' + * Referenced by: '/Constant12' */ { 1700.0F, 1267.0F, 1267.0F, 1043.0F, 1043.0F, 582.0F, 582.0F, 434.0F }, /* Variable: max_tht - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 0.34904F, /* Variable: min_abs_alt - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 1650.0F, /* Variable: min_de - * Referenced by: '/Constant2' + * Referenced by: '/Constant2' */ -0.349F, /* Variable: min_hdot - * Referenced by: '/Constant10' + * Referenced by: '/Constant10' */ -50.0F, /* Variable: min_ias * Referenced by: - * '/Constant' - * '/Constant' + * '/Constant' + * '/Constant' */ 90.0F, /* Variable: min_rpm - * Referenced by: '/min_rpm' + * Referenced by: '/min_rpm' */ { 20000.0F, 20000.0F, 28000.0F, 28000.0F, 33000.0F, 33000.0F, 38000.0F, 38000.0F }, /* Variable: min_rpm_lim - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ 20000.0F, /* Variable: min_tht - * Referenced by: '/Constant Single' + * Referenced by: '/Constant Single' */ -0.2F, /* Variable: num_tht_leadlag - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ { 2.9277F, -2.8554F }, /* Variable: r_TD - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 400.0F, /* Variable: recovery_ias - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ - 85.0F, + 80.0F, + + /* Variable: recovery_max_da + * Referenced by: '/landing_task' + */ + 0.2618F, /* Variable: relay_on - * Referenced by: '/Relay' + * Referenced by: '/Relay' */ 0.01F, /* Variable: relay_out - * Referenced by: '/Relay' + * Referenced by: '/Relay' */ 0.0035F, /* Variable: roll_b0_gain - * Referenced by: '/Constant18' + * Referenced by: '/Constant18' */ 1.0F, /* Variable: roll_beta_01 - * Referenced by: '/Constant16' + * Referenced by: '/Constant16' */ 70.0F, /* Variable: roll_beta_02 - * Referenced by: '/Constant17' + * Referenced by: '/Constant17' */ 100.0F, /* Variable: roll_kd_lst - * Referenced by: '/roll_kd' + * Referenced by: '/roll_kd' */ { 0.18F, 0.06F, 0.06F, 0.06F, 0.06F, 0.083F }, /* Variable: roll_kp_lst - * Referenced by: '/roll_kp' + * Referenced by: '/roll_kp' */ { -0.275F, -0.18F, -0.09F, -0.09F, -0.06F, -0.075F }, /* Variable: tas_gl - * Referenced by: '/IAS_lookup' + * Referenced by: '/IAS_lookup' */ { 100.0F, 100.0F, 150.0F, 200.0F, 220.0F, 230.0F }, /* Variable: tas_qc - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ { 200.0F, 200.0F, 240.0F, 240.0F, 240.0F, 240.0F }, /* Variable: use_deadbandComp * Referenced by: - * '/Constant1' - * '/gain1' + * '/Constant1' + * '/gain1' */ 0.0F, /* Variable: w_as - * Referenced by: '/Constant Single6' + * Referenced by: '/Constant Single6' */ 0.5F, /* Variable: w_p - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ 8.0F, /* Variable: w_r - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ 5.0F, /* Variable: w_v - * Referenced by: '/Constant Single10' + * Referenced by: '/Constant Single10' */ 0.2F, /* Variable: w_v2tht - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 0.4F, /* Variable: w_x - * Referenced by: '/Constant Single9' + * Referenced by: '/Constant Single9' */ 0.15F, /* Variable: w_y - * Referenced by: '/Constant Single7' + * Referenced by: '/Constant Single7' */ 0.15F, /* Variable: washout_r_den - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ { 1.0F, -1.802F, 0.8025F }, /* Variable: washout_r_num - * Referenced by: '/Constant4' + * Referenced by: '/Constant4' */ { 0.193F, -0.193F }, /* Variable: system_id * Referenced by: * '/Constant' - * '/system_id' - * '/Chart_proc_mission_clr_all' - * '/Chart' - * '/Chart' - * '/Chart_proc_mission_req' - * '/Chart_proc_mission_req_lst' - * '/Chart' - * '/Chart' - * '/Chart_proc_param_req_read' - * '/Chart_proc_param_set' - * '/system_id' - * '/system_id' + * '/system_id' + * '/Chart_proc_mission_clr_all' + * '/Chart' + * '/Chart' + * '/Chart_proc_mission_req' + * '/Chart_proc_mission_req_lst' + * '/Chart' + * '/Chart' + * '/Chart_proc_param_req_read' + * '/Chart_proc_param_set' + * '/system_id' + * '/system_id' */ 1U, /* Variable: force_sysauto_level * Referenced by: - * '/Constant1' - * '/Constant2' - * '/Constant2' + * '/Constant1' + * '/Constant2' + * '/Constant2' */ 1, /* Variable: linked_default - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 0, @@ -829,17 +834,17 @@ P_SIL_T SIL_P = { 1, /* Variable: act_sw_mode - * Referenced by: '/Constant3' + * Referenced by: '/Constant3' */ 0U, /* Variable: door_idx - * Referenced by: '/Constant1' + * Referenced by: '/Constant1' */ 1U, /* Variable: use_tht_leadlag - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ 0U }; @@ -961,7 +966,7 @@ const ConstP_SIL_T SIL_ConstP = { { 0.0F, 5.0F, 0.0F, 0.0F, 10000.0F }, - { 408647099, 1092150626 } + { 408647099, 1091600000 } }, { 0U, 16U, 1U, @@ -987,7 +992,7 @@ const ConstP_SIL_T SIL_ConstP = { 178U, 1U, - { 0.0F, 160.0F, 0.0F, 0.0F, 0.0F }, + { 0.0F, 167.0F, 0.0F, 0.0F, 0.0F }, { 0, 0 } }, { 0U, @@ -1101,7 +1106,7 @@ const ConstP_SIL_T SIL_ConstP = { { 0.0F, 500.0F, 9000.0F, 0.0F, 3500.0F }, - { 410458284, 1098426818 } + { 410458284, 1097794444 } }, { 2U, 178U, 1U, @@ -1115,7 +1120,7 @@ const ConstP_SIL_T SIL_ConstP = { { 0.0F, 500.0F, 9000.0F, 0.0F, 2200.0F }, - { 408647182, 1098426818 } + { 408647182, 1097794444 } }, { 0U, 16U, 1U, diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h b/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h index d8b1c36..9699743 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -114,6 +114,10 @@ extern const real_T rtCP_pooled_HdmWqt75Q2L5[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]; +extern const real_T rtCP_pooled_Y6EdLXWf0d61[200]; +extern const real_T rtCP_pooled_tyB5HnUkNiox[5]; +extern const real_T rtCP_pooled_NznRCPETWQN5[5]; +extern const real_T rtCP_pooled_T50Nv1CYdHVP[8]; extern const real_T rtCP_pooled_7JZOx9Tdg1mh[1188]; extern const real_T rtCP_pooled_OFmdmy1yqgT5[12]; extern const real_T rtCP_pooled_KiWPnQ4Q30z8[9]; @@ -127,42 +131,39 @@ extern const real_T rtCP_pooled_wVWvKu0cKtgQ[120]; extern const real_T rtCP_pooled_4VolexDeOQH9[5]; extern const real_T rtCP_pooled_AkwhaKSG3BJi[2]; extern const real_T rtCP_pooled_SnkLXHvYMKY3[132]; -extern const real_T rtCP_pooled_vOif71asOc3d[35]; -extern const real_T rtCP_pooled_tyB5HnUkNiox[5]; -extern const real_T rtCP_pooled_u3r8S9kxAlDy[7]; +extern const real_T rtCP_pooled_8lJmxZGHAEDN[200]; extern const real_T rtCP_pooled_zaLLLl7KrsrN[1188]; extern const real_T rtCP_pooled_sdXgciYmBEIf[1452]; extern const real_T rtCP_pooled_AmJLBOfapPOq[1452]; extern const real_T rtCP_pooled_ss7I3WTuiKbz[132]; extern const real_T rtCP_pooled_Og3UmZWc1IIY[132]; -extern const real_T rtCP_pooled_BtTnlNVYJtQl[35]; extern const real_T rtCP_pooled_DvpKxRs9BimS[192]; +extern const real_T rtCP_pooled_j3XKuW1bY27O[200]; extern const real_T rtCP_pooled_6p5MbqoERyS0[1188]; extern const real_T rtCP_pooled_lzk84Dt5SFR5[1452]; extern const real_T rtCP_pooled_a0rgCclOacxT[1320]; extern const real_T rtCP_pooled_AwijKydYy6hE[1452]; extern const real_T rtCP_pooled_AFvqXBetCVoy[120]; -extern const real_T rtCP_pooled_ApfFge06SZNS[35]; +extern const real_T rtCP_pooled_iSnQomL6j8CD[200]; extern const real_T rtCP_pooled_i7VqVc2QjHz3[1188]; extern const real_T rtCP_pooled_HFGUj7lywJJ0[1452]; extern const real_T rtCP_pooled_tZ7Y6F22i1SD[1452]; extern const real_T rtCP_pooled_ZmrXMsqk3LLd[132]; extern const real_T rtCP_pooled_4WI8ImbLUCCp[132]; -extern const real_T rtCP_pooled_TK1D8Okj745j[35]; extern const real_T rtCP_pooled_9LxbhQtCDGAu[192]; +extern const real_T rtCP_pooled_ANkH4WVEnzlp[200]; extern const real_T rtCP_pooled_yftYaFd5P11L[1188]; extern const real_T rtCP_pooled_wgHlGXioeYG0[1452]; extern const real_T rtCP_pooled_Rv4xQgbZ6rjn[1320]; extern const real_T rtCP_pooled_2h8ws0oGdcaQ[1452]; extern const real_T rtCP_pooled_pBdDGT0ZBZUD[120]; extern const real_T rtCP_pooled_MOrwNEnlsarU[132]; -extern const real_T rtCP_pooled_gox4yXeWb8y7[35]; extern const real_T rtCP_pooled_BJYx0pAYp7ts[1188]; +extern const real_T rtCP_pooled_lCsqB7p5zD9u[200]; extern const real_T rtCP_pooled_mqhihk0Qi3KG[1452]; extern const real_T rtCP_pooled_bgN2d44PozdQ[1452]; extern const real_T rtCP_pooled_q9xYuZOIGRsA[132]; extern const real_T rtCP_pooled_ncmXBnhm4PT3[132]; -extern const real_T rtCP_pooled_JbpqCzZbzeET[35]; extern const real_T rtCP_pooled_Zr87vUglm0jR[160]; extern const real_T rtCP_pooled_6of7idOcGIUG[10]; extern const real_T rtCP_pooled_9d1wyEHLKC6F[16]; @@ -195,95 +196,94 @@ extern const real32_T rtCP_pooled_zZTlIFBN7RuM[160]; extern const real32_T rtCP_pooled_pRK3GfMcVL5c[1920]; extern const uint32_T rtCP_pooled_QoUfS3pLidPZ[2]; extern const uint32_T rtCP_pooled_a3Su5DwHejJI[2]; -extern const uint32_T rtCP_pooled_N5BWK8VB4SVZ[3]; extern const uint32_T rtCP_pooled_rsQCCyrSe0iD[3]; extern const uint32_T rtCP_pooled_qhm2sJNkM8ZA[2]; +extern const uint32_T rtCP_pooled_acbjO3pUobsw[3]; extern const uint32_T rtCP_pooled_Ba2CSbS20NHS[3]; extern const uint32_T rtCP_pooled_tp41aZnwbpRn[3]; extern const uint32_T rtCP_pooled_ookOwc1aktQs[3]; extern const uint32_T rtCP_pooled_xajQbV3b7pKD[3]; extern const uint32_T rtCP_pooled_m0RoyDA7k6Aj[2]; -extern const uint32_T rtCP_pooled_0iMFGncC8bWW[2]; extern const uint8_T rtCP_pooled_e6HU8n7YauPz; extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table1D_CGz_tableData rtCP_pooled_P2CZdUIuAAzx /* Expression: kb3_massbalance_mdl.tab_CGz - * Referenced by: '/table1D_CGz' + * Referenced by: '/table1D_CGz' */ #define rtCP_table1D_CGz_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_CGz' + * Referenced by: '/table1D_CGz' */ #define rtCP_table1D_CGy_tableData rtCP_pooled_jCajZwqM7jWe /* Expression: kb3_massbalance_mdl.tab_CGy - * Referenced by: '/table1D_CGy' + * Referenced by: '/table1D_CGy' */ #define rtCP_table1D_CGy_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_CGy' + * Referenced by: '/table1D_CGy' */ #define rtCP_table1D_CGx_tableData rtCP_pooled_4Src5T2FEfp4 /* Expression: kb3_massbalance_mdl.tab_CGx - * Referenced by: '/table1D_CGx' + * Referenced by: '/table1D_CGx' */ #define rtCP_table1D_CGx_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_CGx' + * Referenced by: '/table1D_CGx' */ #define rtCP_Bias1_Bias rtCP_pooled_FEWufo6vVHrj /* Expression: -eye(3) - * Referenced by: '/Bias1' + * Referenced by: '/Bias1' */ #define rtCP_Bias1_Bias_n rtCP_pooled_FEWufo6vVHrj /* Expression: -eye(3) - * Referenced by: '/Bias1' + * Referenced by: '/Bias1' */ #define rtCP_Constant_Value_d rtCP_pooled_B5TQ9jFT4w0p /* Expression: [0 0 0] - * Referenced by: '/Constant' + * Referenced by: '/Constant' */ #define rtCP_uDLookupTable_tableData rtCP_pooled_rHZ1tzHHMPq6 /* Expression: [1 2] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_bp01Data rtCP_pooled_k7Wx2QZrSe2U /* Expression: [1.25 2] - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_Gain1_Gain_my rtCP_pooled_bDcwUj8yZ6yU /* Expression: [1 1 -1] - * Referenced by: '/Gain1' + * Referenced by: '/Gain1' */ #define rtCP_table1D_mass_tableData rtCP_pooled_EsdjLy9HZCOh /* Expression: kb3_booster_mdl.tab_mass - * Referenced by: '/table1D_mass' + * Referenced by: '/table1D_mass' */ #define rtCP_table1D_mass_bp01Data rtCP_pooled_lNe8VrimgzRr /* Expression: kb3_booster_mdl.indep_time2 - * Referenced by: '/table1D_mass' + * Referenced by: '/table1D_mass' */ #define rtCP_table1D_Ixx_tableData rtCP_pooled_0ENxgpMbE0JJ /* Expression: kb3_massbalance_mdl.tab_Ixx - * Referenced by: '/table1D_Ixx' + * Referenced by: '/table1D_Ixx' */ #define rtCP_table1D_Ixx_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Ixx' + * Referenced by: '/table1D_Ixx' */ #define rtCP_table1D_Ixy_tableData rtCP_pooled_DYeKQQ6pLFcS /* Expression: kb3_massbalance_mdl.tab_Ixy - * Referenced by: '/table1D_Ixy' + * Referenced by: '/table1D_Ixy' */ #define rtCP_table1D_Ixy_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Ixy' + * Referenced by: '/table1D_Ixy' */ #define rtCP_table1D_Ixz_tableData rtCP_pooled_2GO8NCj6frX9 /* Expression: kb3_massbalance_mdl.tab_Ixz - * Referenced by: '/table1D_Ixz' + * Referenced by: '/table1D_Ixz' */ #define rtCP_table1D_Ixz_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Ixz' + * Referenced by: '/table1D_Ixz' */ #define rtCP_table1D_Iyy_tableData rtCP_pooled_Rq7cIctTqV2g /* Expression: kb3_massbalance_mdl.tab_Iyy - * Referenced by: '/table1D_Iyy' + * Referenced by: '/table1D_Iyy' */ #define rtCP_table1D_Iyy_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Iyy' + * Referenced by: '/table1D_Iyy' */ #define rtCP_table1D_Iyz_tableData rtCP_pooled_ItpCzTCwyaSt /* Expression: kb3_massbalance_mdl.tab_Iyz - * Referenced by: '/table1D_Iyz' + * Referenced by: '/table1D_Iyz' */ #define rtCP_table1D_Iyz_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Iyz' + * Referenced by: '/table1D_Iyz' */ #define rtCP_table1D_Izz_tableData rtCP_pooled_HdmWqt75Q2L5 /* Expression: kb3_massbalance_mdl.tab_Izz - * Referenced by: '/table1D_Izz' + * Referenced by: '/table1D_Izz' */ #define rtCP_table1D_Izz_bp01Data rtCP_pooled_FBZf74BY6z8K /* Expression: kb3_massbalance_mdl.indep_mass_kg - * Referenced by: '/table1D_Izz' + * Referenced by: '/table1D_Izz' */ #define rtCP_table2D_CL_base_tableData rtCP_pooled_BJdk4U1Bhf7G /* Expression: kb3_aerodynamics_mdl.tab_CL_base * Referenced by: '/table2D_CL_base' @@ -294,6 +294,18 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CL_base_bp02Data rtCP_pooled_t2T18F7cFuQ1 /* Expression: kb3_aerodynamics_mdl.indep_mach * Referenced by: '/table2D_CL_base' */ +#define rtCP_table3D_CL_base_delta_tableData rtCP_pooled_Y6EdLXWf0d61/* Expression: kb3_aerodynamics_mdl.tab_CL_base_delta + * Referenced by: '/table3D_CL_base_delta' + */ +#define rtCP_table3D_CL_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_CL_base_delta' + */ +#define rtCP_table3D_CL_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_CL_base_delta' + */ +#define rtCP_table3D_CL_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_CL_base_delta' + */ #define rtCP_table3D_CL_aos_tableData rtCP_pooled_7JZOx9Tdg1mh /* Expression: kb3_aerodynamics_mdl.tab_CL_aos * Referenced by: '/table3D_CL_aos' */ @@ -303,7 +315,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CL_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_CL_aos' */ -#define rtCP_table3D_CL_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CL_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CL_aos' */ #define rtCP_table3D_CL_da_tableData rtCP_pooled_6xXxcTtlzY89 /* Expression: kb3_aerodynamics_mdl.tab_CL_da @@ -315,7 +327,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CL_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_CL_da' */ -#define rtCP_table3D_CL_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CL_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CL_da' */ #define rtCP_table3D_CL_de_tableData rtCP_pooled_3dhvehETtlPr /* Expression: kb3_aerodynamics_mdl.tab_CL_de @@ -327,7 +339,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CL_de_bp02Data rtCP_pooled_3sqycdPa0lQP /* Expression: kb3_aerodynamics_mdl.indep_de_deg * Referenced by: '/table3D_CL_de' */ -#define rtCP_table3D_CL_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CL_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CL_de' */ #define rtCP_table3D_CL_dr_tableData rtCP_pooled_aZZsd0uGpV7n /* Expression: kb3_aerodynamics_mdl.tab_CL_dr @@ -339,7 +351,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CL_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_CL_dr' */ -#define rtCP_table3D_CL_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CL_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CL_dr' */ #define rtCP_table3D_CL_df_tableData rtCP_pooled_wVWvKu0cKtgQ /* Expression: kb3_aerodynamics_mdl.tab_CL_df @@ -351,7 +363,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CL_df_bp02Data rtCP_pooled_4VolexDeOQH9 /* Expression: kb3_aerodynamics_mdl.indep_df_deg * Referenced by: '/table3D_CL_df' */ -#define rtCP_table3D_CL_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach3 +#define rtCP_table3D_CL_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach4 * Referenced by: '/table3D_CL_df' */ #define rtCP_table2D_CLq_tableData rtCP_pooled_SnkLXHvYMKY3 /* Expression: kb3_aerodynamics_mdl.tab_CLq @@ -360,18 +372,21 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CLq_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_CLq' */ -#define rtCP_table2D_CLq_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_CLq_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_CLq' */ -#define rtCP_table2D_delta_CL_tableData rtCP_pooled_vOif71asOc3d /* Expression: kb3_aerodynamics_mdl.tab_delta_CL - * Referenced by: '/table2D_delta_CL' - */ -#define rtCP_table2D_delta_CL_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_CL' - */ -#define rtCP_table2D_delta_CL_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_CL' - */ +#define rtCP_table3D_CY_base_delta_tableData rtCP_pooled_8lJmxZGHAEDN/* Expression: kb3_aerodynamics_mdl.tab_CY_base_delta + * Referenced by: '/table3D_CY_base_delta' + */ +#define rtCP_table3D_CY_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_CY_base_delta' + */ +#define rtCP_table3D_CY_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_CY_base_delta' + */ +#define rtCP_table3D_CY_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_CY_base_delta' + */ #define rtCP_table3D_CY_aos_tableData rtCP_pooled_zaLLLl7KrsrN /* Expression: kb3_aerodynamics_mdl.tab_CY_aos * Referenced by: '/table3D_CY_aos' */ @@ -381,7 +396,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CY_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_CY_aos' */ -#define rtCP_table3D_CY_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CY_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CY_aos' */ #define rtCP_table3D_CY_da_tableData rtCP_pooled_sdXgciYmBEIf /* Expression: kb3_aerodynamics_mdl.tab_CY_da @@ -393,7 +408,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CY_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_CY_da' */ -#define rtCP_table3D_CY_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CY_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CY_da' */ #define rtCP_table3D_CY_dr_tableData rtCP_pooled_AmJLBOfapPOq /* Expression: kb3_aerodynamics_mdl.tab_CY_dr @@ -405,7 +420,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CY_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_CY_dr' */ -#define rtCP_table3D_CY_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CY_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CY_dr' */ #define rtCP_table2D_CYp_tableData rtCP_pooled_ss7I3WTuiKbz /* Expression: kb3_aerodynamics_mdl.tab_CYp @@ -414,7 +429,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CYp_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_CYp' */ -#define rtCP_table2D_CYp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_CYp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_CYp' */ #define rtCP_table2D_CYr_tableData rtCP_pooled_Og3UmZWc1IIY /* Expression: kb3_aerodynamics_mdl.tab_CYr @@ -423,18 +438,9 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CYr_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_CYr' */ -#define rtCP_table2D_CYr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_CYr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_CYr' */ -#define rtCP_table2D_delta_CYb_tableData rtCP_pooled_BtTnlNVYJtQl/* Expression: kb3_aerodynamics_mdl.tab_delta_CYb - * Referenced by: '/table2D_delta_CYb' - */ -#define rtCP_table2D_delta_CYb_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_CYb' - */ -#define rtCP_table2D_delta_CYb_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_CYb' - */ #define rtCP_table2D_CD_base_tableData rtCP_pooled_DvpKxRs9BimS /* Expression: kb3_aerodynamics_mdl.tab_CD_base * Referenced by: '/table2D_CD_base' */ @@ -444,6 +450,18 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CD_base_bp02Data rtCP_pooled_t2T18F7cFuQ1 /* Expression: kb3_aerodynamics_mdl.indep_mach * Referenced by: '/table2D_CD_base' */ +#define rtCP_table3D_CD_base_delta_tableData rtCP_pooled_j3XKuW1bY27O/* Expression: kb3_aerodynamics_mdl.tab_CD_base_delta + * Referenced by: '/table3D_CD_base_delta' + */ +#define rtCP_table3D_CD_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_CD_base_delta' + */ +#define rtCP_table3D_CD_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_CD_base_delta' + */ +#define rtCP_table3D_CD_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_CD_base_delta' + */ #define rtCP_table3D_CD_aos_tableData rtCP_pooled_6p5MbqoERyS0 /* Expression: kb3_aerodynamics_mdl.tab_CD_aos * Referenced by: '/table3D_CD_aos' */ @@ -453,7 +471,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_CD_aos' */ -#define rtCP_table3D_CD_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CD_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CD_aos' */ #define rtCP_table3D_CD_da_tableData rtCP_pooled_lzk84Dt5SFR5 /* Expression: kb3_aerodynamics_mdl.tab_CD_da @@ -465,7 +483,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_CD_da' */ -#define rtCP_table3D_CD_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CD_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CD_da' */ #define rtCP_table3D_CD_de_tableData rtCP_pooled_a0rgCclOacxT /* Expression: kb3_aerodynamics_mdl.tab_CD_de @@ -477,7 +495,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_de_bp02Data rtCP_pooled_3sqycdPa0lQP /* Expression: kb3_aerodynamics_mdl.indep_de_deg * Referenced by: '/table3D_CD_de' */ -#define rtCP_table3D_CD_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CD_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CD_de' */ #define rtCP_table3D_CD_dr_tableData rtCP_pooled_AwijKydYy6hE /* Expression: kb3_aerodynamics_mdl.tab_CD_dr @@ -489,7 +507,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_CD_dr' */ -#define rtCP_table3D_CD_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_CD_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_CD_dr' */ #define rtCP_table3D_CD_df_tableData rtCP_pooled_AFvqXBetCVoy /* Expression: kb3_aerodynamics_mdl.tab_CD_df @@ -501,18 +519,21 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_df_bp02Data rtCP_pooled_4VolexDeOQH9 /* Expression: kb3_aerodynamics_mdl.indep_df_deg * Referenced by: '/table3D_CD_df' */ -#define rtCP_table3D_CD_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach3 +#define rtCP_table3D_CD_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach4 * Referenced by: '/table3D_CD_df' */ -#define rtCP_table2D_delta_CD_tableData rtCP_pooled_ApfFge06SZNS /* Expression: kb3_aerodynamics_mdl.tab_delta_CD - * Referenced by: '/table2D_delta_CD' - */ -#define rtCP_table2D_delta_CD_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_CD' - */ -#define rtCP_table2D_delta_CD_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_CD' - */ +#define rtCP_table3D_Cl_base_delta_tableData rtCP_pooled_iSnQomL6j8CD/* Expression: kb3_aerodynamics_mdl.tab_Cl_base_delta + * Referenced by: '/table3D_Cl_base_delta' + */ +#define rtCP_table3D_Cl_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_Cl_base_delta' + */ +#define rtCP_table3D_Cl_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_Cl_base_delta' + */ +#define rtCP_table3D_Cl_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_Cl_base_delta' + */ #define rtCP_table3D_Cl_aos_tableData rtCP_pooled_i7VqVc2QjHz3 /* Expression: kb3_aerodynamics_mdl.tab_Cl_aos * Referenced by: '/table3D_Cl_aos' */ @@ -522,7 +543,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cl_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_Cl_aos' */ -#define rtCP_table3D_Cl_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cl_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cl_aos' */ #define rtCP_table3D_Cl_da_tableData rtCP_pooled_HFGUj7lywJJ0 /* Expression: kb3_aerodynamics_mdl.tab_Cl_da @@ -534,7 +555,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cl_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_Cl_da' */ -#define rtCP_table3D_Cl_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cl_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cl_da' */ #define rtCP_table3D_Cl_dr_tableData rtCP_pooled_tZ7Y6F22i1SD /* Expression: kb3_aerodynamics_mdl.tab_Cl_dr @@ -546,7 +567,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cl_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_Cl_dr' */ -#define rtCP_table3D_Cl_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cl_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cl_dr' */ #define rtCP_table2D_Clp_tableData rtCP_pooled_ZmrXMsqk3LLd /* Expression: kb3_aerodynamics_mdl.tab_Clp @@ -555,7 +576,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Clp_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_Clp' */ -#define rtCP_table2D_Clp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_Clp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_Clp' */ #define rtCP_table2D_Clr_tableData rtCP_pooled_4WI8ImbLUCCp /* Expression: kb3_aerodynamics_mdl.tab_Clr @@ -564,18 +585,9 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Clr_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_Clr' */ -#define rtCP_table2D_Clr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_Clr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_Clr' */ -#define rtCP_table2D_delta_Clb_tableData rtCP_pooled_TK1D8Okj745j/* Expression: kb3_aerodynamics_mdl.tab_delta_Clb - * Referenced by: '/table2D_delta_Clb' - */ -#define rtCP_table2D_delta_Clb_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_Clb' - */ -#define rtCP_table2D_delta_Clb_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_Clb' - */ #define rtCP_table2D_Cm_base_tableData rtCP_pooled_9LxbhQtCDGAu /* Expression: kb3_aerodynamics_mdl.tab_Cm_base * Referenced by: '/table2D_Cm_base' */ @@ -585,6 +597,18 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cm_base_bp02Data rtCP_pooled_t2T18F7cFuQ1 /* Expression: kb3_aerodynamics_mdl.indep_mach * Referenced by: '/table2D_Cm_base' */ +#define rtCP_table3D_Cm_base_delta_tableData rtCP_pooled_ANkH4WVEnzlp/* Expression: kb3_aerodynamics_mdl.tab_Cm_base_delta + * Referenced by: '/table3D_Cm_base_delta' + */ +#define rtCP_table3D_Cm_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_Cm_base_delta' + */ +#define rtCP_table3D_Cm_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_Cm_base_delta' + */ +#define rtCP_table3D_Cm_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_Cm_base_delta' + */ #define rtCP_table3D_Cm_aos_tableData rtCP_pooled_yftYaFd5P11L /* Expression: kb3_aerodynamics_mdl.tab_Cm_aos * Referenced by: '/table3D_Cm_aos' */ @@ -594,7 +618,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cm_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_Cm_aos' */ -#define rtCP_table3D_Cm_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cm_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cm_aos' */ #define rtCP_table3D_Cm_da_tableData rtCP_pooled_wgHlGXioeYG0 /* Expression: kb3_aerodynamics_mdl.tab_Cm_da @@ -606,7 +630,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cm_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_Cm_da' */ -#define rtCP_table3D_Cm_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cm_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cm_da' */ #define rtCP_table3D_Cm_de_tableData rtCP_pooled_Rv4xQgbZ6rjn /* Expression: kb3_aerodynamics_mdl.tab_Cm_de @@ -618,7 +642,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cm_de_bp02Data rtCP_pooled_3sqycdPa0lQP /* Expression: kb3_aerodynamics_mdl.indep_de_deg * Referenced by: '/table3D_Cm_de' */ -#define rtCP_table3D_Cm_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cm_de_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cm_de' */ #define rtCP_table3D_Cm_dr_tableData rtCP_pooled_2h8ws0oGdcaQ /* Expression: kb3_aerodynamics_mdl.tab_Cm_dr @@ -630,7 +654,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cm_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_Cm_dr' */ -#define rtCP_table3D_Cm_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cm_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cm_dr' */ #define rtCP_table3D_Cm_df_tableData rtCP_pooled_pBdDGT0ZBZUD /* Expression: kb3_aerodynamics_mdl.tab_Cm_df @@ -642,7 +666,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cm_df_bp02Data rtCP_pooled_4VolexDeOQH9 /* Expression: kb3_aerodynamics_mdl.indep_df_deg * Referenced by: '/table3D_Cm_df' */ -#define rtCP_table3D_Cm_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach3 +#define rtCP_table3D_Cm_df_bp03Data rtCP_pooled_AkwhaKSG3BJi /* Expression: kb3_aerodynamics_mdl.indep_mach4 * Referenced by: '/table3D_Cm_df' */ #define rtCP_table2D_Cmq_tableData rtCP_pooled_MOrwNEnlsarU /* Expression: kb3_aerodynamics_mdl.tab_Cmq @@ -651,18 +675,9 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cmq_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_Cmq' */ -#define rtCP_table2D_Cmq_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_Cmq_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_Cmq' */ -#define rtCP_table2D_delta_Cm_tableData rtCP_pooled_gox4yXeWb8y7 /* Expression: kb3_aerodynamics_mdl.tab_delta_Cm - * Referenced by: '/table2D_delta_Cm' - */ -#define rtCP_table2D_delta_Cm_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_Cm' - */ -#define rtCP_table2D_delta_Cm_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_Cm' - */ #define rtCP_table3D_Cn_aos_tableData rtCP_pooled_BJYx0pAYp7ts /* Expression: kb3_aerodynamics_mdl.tab_Cn_aos * Referenced by: '/table3D_Cn_aos' */ @@ -672,9 +687,21 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cn_aos_bp02Data rtCP_pooled_KiWPnQ4Q30z8 /* Expression: kb3_aerodynamics_mdl.indep_beta_deg * Referenced by: '/table3D_Cn_aos' */ -#define rtCP_table3D_Cn_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cn_aos_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cn_aos' */ +#define rtCP_table3D_Cn_base_delta_tableData rtCP_pooled_lCsqB7p5zD9u/* Expression: kb3_aerodynamics_mdl.tab_Cn_base_delta + * Referenced by: '/table3D_Cn_base_delta' + */ +#define rtCP_table3D_Cn_base_delta_bp01Data rtCP_pooled_tyB5HnUkNiox/* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta + * Referenced by: '/table3D_Cn_base_delta' + */ +#define rtCP_table3D_Cn_base_delta_bp02Data rtCP_pooled_NznRCPETWQN5/* Expression: kb3_aerodynamics_mdl.indep_beta_deg_delta + * Referenced by: '/table3D_Cn_base_delta' + */ +#define rtCP_table3D_Cn_base_delta_bp03Data rtCP_pooled_T50Nv1CYdHVP/* Expression: kb3_aerodynamics_mdl.indep_mach2 + * Referenced by: '/table3D_Cn_base_delta' + */ #define rtCP_table3D_Cn_da_tableData rtCP_pooled_mqhihk0Qi3KG /* Expression: kb3_aerodynamics_mdl.tab_Cn_da * Referenced by: '/table3D_Cn_da' */ @@ -684,7 +711,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cn_da_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_da_deg * Referenced by: '/table3D_Cn_da' */ -#define rtCP_table3D_Cn_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cn_da_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cn_da' */ #define rtCP_table3D_Cn_dr_tableData rtCP_pooled_bgN2d44PozdQ /* Expression: kb3_aerodynamics_mdl.tab_Cn_dr @@ -696,7 +723,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_Cn_dr_bp02Data rtCP_pooled_A6D8hXQs6qRZ /* Expression: kb3_aerodynamics_mdl.indep_dr_deg * Referenced by: '/table3D_Cn_dr' */ -#define rtCP_table3D_Cn_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table3D_Cn_dr_bp03Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table3D_Cn_dr' */ #define rtCP_table2D_Cnp_tableData rtCP_pooled_q9xYuZOIGRsA /* Expression: kb3_aerodynamics_mdl.tab_Cnp @@ -705,7 +732,7 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cnp_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_Cnp' */ -#define rtCP_table2D_Cnp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_Cnp_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_Cnp' */ #define rtCP_table2D_Cnr_tableData rtCP_pooled_ncmXBnhm4PT3 /* Expression: kb3_aerodynamics_mdl.tab_Cnr @@ -714,195 +741,183 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cnr_bp01Data rtCP_pooled_OFmdmy1yqgT5 /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg2 * Referenced by: '/table2D_Cnr' */ -#define rtCP_table2D_Cnr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach2 +#define rtCP_table2D_Cnr_bp02Data rtCP_pooled_KcgwWd5kyTBU /* Expression: kb3_aerodynamics_mdl.indep_mach3 * Referenced by: '/table2D_Cnr' */ -#define rtCP_table2D_delta_Cnb_tableData rtCP_pooled_JbpqCzZbzeET/* Expression: kb3_aerodynamics_mdl.tab_delta_Cnb - * Referenced by: '/table2D_delta_Cnb' - */ -#define rtCP_table2D_delta_Cnb_bp01Data rtCP_pooled_tyB5HnUkNiox /* Expression: kb3_aerodynamics_mdl.indep_alpha_deg_delta - * Referenced by: '/table2D_delta_Cnb' - */ -#define rtCP_table2D_delta_Cnb_bp02Data rtCP_pooled_u3r8S9kxAlDy /* Expression: kb3_aerodynamics_mdl.indep_mach_delta - * Referenced by: '/table2D_delta_Cnb' - */ #define rtCP_table2D_thrustAB_tableData rtCP_pooled_Zr87vUglm0jR /* Expression: kb3_propulsion_mdl.tab_thrustAB - * Referenced by: '/table2D_thrustAB' + * Referenced by: '/table2D_thrustAB' */ #define rtCP_table2D_thrustAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2 - * Referenced by: '/table2D_thrustAB' + * Referenced by: '/table2D_thrustAB' */ #define rtCP_table2D_thrustAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table2D_thrustAB' + * Referenced by: '/table2D_thrustAB' */ #define rtCP_table1D_thrAB_map_tableData rtCP_pooled_LXQm1g6rykWj/* Expression: kb3_propulsion_mdl.tab_thrAB_map - * Referenced by: '/table1D_thrAB_map' + * Referenced by: '/table1D_thrAB_map' */ #define rtCP_table1D_thrAB_map_bp01Data rtCP_pooled_IuWi5CgmvR8W /* Expression: kb3_propulsion_mdl.indep_throttle - * Referenced by: '/table1D_thrAB_map' + * Referenced by: '/table1D_thrAB_map' */ #define rtCP_table1D_thr_map_tableData rtCP_pooled_DYcs5MdN9zE9 /* Expression: kb3_propulsion_mdl.tab_thr_map - * Referenced by: '/table1D_thr_map' + * Referenced by: '/table1D_thr_map' */ #define rtCP_table1D_thr_map_bp01Data rtCP_pooled_IuWi5CgmvR8W /* Expression: kb3_propulsion_mdl.indep_throttle - * Referenced by: '/table1D_thr_map' + * Referenced by: '/table1D_thr_map' */ #define rtCP_table3D_thrust_tableData rtCP_pooled_7mOEGGePz2xm /* Expression: kb3_propulsion_mdl.tab_thrust - * Referenced by: '/table3D_thrust' + * Referenced by: '/table3D_thrust' */ #define rtCP_table3D_thrust_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach - * Referenced by: '/table3D_thrust' + * Referenced by: '/table3D_thrust' */ #define rtCP_table3D_thrust_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table3D_thrust' + * Referenced by: '/table3D_thrust' */ #define rtCP_table3D_thrust_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr - * Referenced by: '/table3D_thrust' + * Referenced by: '/table3D_thrust' */ #define rtCP_table2D_cftAB_tableData rtCP_pooled_RlS7r0LGt7JQ /* Expression: kb3_propulsion_mdl.tab_cftAB - * Referenced by: '/table2D_cftAB' + * Referenced by: '/table2D_cftAB' */ #define rtCP_table2D_cftAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2 - * Referenced by: '/table2D_cftAB' + * Referenced by: '/table2D_cftAB' */ #define rtCP_table2D_cftAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table2D_cftAB' + * Referenced by: '/table2D_cftAB' */ #define rtCP_table3D_cft_tableData rtCP_pooled_1jjca2Oj8nTm /* Expression: kb3_propulsion_mdl.tab_cft - * Referenced by: '/table3D_cft' + * Referenced by: '/table3D_cft' */ #define rtCP_table3D_cft_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach - * Referenced by: '/table3D_cft' + * Referenced by: '/table3D_cft' */ #define rtCP_table3D_cft_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table3D_cft' + * Referenced by: '/table3D_cft' */ #define rtCP_table3D_cft_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr - * Referenced by: '/table3D_cft' + * Referenced by: '/table3D_cft' */ #define rtCP_table1D_thrust_tableData rtCP_pooled_CZNBGvU8AdwP /* Expression: kb3_booster_mdl.tab_thrust - * Referenced by: '/table1D_thrust' + * Referenced by: '/table1D_thrust' */ #define rtCP_table1D_thrust_bp01Data rtCP_pooled_XV5wljJs37pb /* Expression: kb3_booster_mdl.indep_time - * Referenced by: '/table1D_thrust' + * Referenced by: '/table1D_thrust' */ #define rtCP_table2D_NhAB_tableData rtCP_pooled_aDZD8UOYGVWw /* Expression: kb3_propulsion_mdl.tab_NhAB - * Referenced by: '/table2D_NhAB' + * Referenced by: '/table2D_NhAB' */ #define rtCP_table2D_NhAB_bp01Data rtCP_pooled_6of7idOcGIUG /* Expression: kb3_propulsion_mdl.indep_mach2 - * Referenced by: '/table2D_NhAB' + * Referenced by: '/table2D_NhAB' */ #define rtCP_table2D_NhAB_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table2D_NhAB' + * Referenced by: '/table2D_NhAB' */ #define rtCP_table3D_Nh_tableData rtCP_pooled_0HfvtrFi8uTo /* Expression: kb3_propulsion_mdl.tab_Nh - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ #define rtCP_table3D_Nh_bp01Data rtCP_pooled_ywCCZP562lF9 /* Expression: kb3_propulsion_mdl.indep_mach - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ #define rtCP_table3D_Nh_bp02Data rtCP_pooled_9d1wyEHLKC6F /* Expression: kb3_propulsion_mdl.indep_alt_m - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ #define rtCP_table3D_Nh_bp03Data rtCP_pooled_E0AX1Lz0NDcN /* Expression: kb3_propulsion_mdl.indep_thr - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ #define rtCP_uDLookupTable_tableData_l rtCP_pooled_ILYhw3wLpXtl /* Computed Parameter: rtCP_uDLookupTable_tableData_l - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_bp01Data_i rtCP_pooled_35WmkkJSFruV /* Computed Parameter: rtCP_uDLookupTable_bp01Data_i - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_tableData_i rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_i - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_bp01Data_l rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_l - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_tableData_a rtCP_pooled_HF8NWw8ahBZB /* Computed Parameter: rtCP_uDLookupTable_tableData_a - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ #define rtCP_uDLookupTable_bp01Data_g rtCP_pooled_NsfoROSYwB8n /* Computed Parameter: rtCP_uDLookupTable_bp01Data_g - * Referenced by: '/1-D Lookup Table' + * Referenced by: '/1-D Lookup Table' */ -#define rtCP_table2D_cftAB_tableData_n rtCP_pooled_A05DoahVwG6e /* Computed Parameter: rtCP_table2D_cftAB_tableData_n - * Referenced by: '/table2D_cftAB' +#define rtCP_table2D_cftAB_tableData_o rtCP_pooled_A05DoahVwG6e /* Computed Parameter: rtCP_table2D_cftAB_tableData_o + * Referenced by: '/table2D_cftAB' */ -#define rtCP_table2D_cftAB_bp01Data_n rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_cftAB_bp01Data_n - * Referenced by: '/table2D_cftAB' +#define rtCP_table2D_cftAB_bp01Data_c rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_cftAB_bp01Data_c + * Referenced by: '/table2D_cftAB' */ -#define rtCP_table2D_cftAB_bp02Data_m rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_cftAB_bp02Data_m - * Referenced by: '/table2D_cftAB' +#define rtCP_table2D_cftAB_bp02Data_l rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_cftAB_bp02Data_l + * Referenced by: '/table2D_cftAB' */ -#define rtCP_table1D_thrAB_map_tableData_f rtCP_pooled_YtY2876fJdi4/* Computed Parameter: rtCP_table1D_thrAB_map_tableData_f - * Referenced by: '/table1D_thrAB_map' +#define rtCP_table1D_thrAB_map_tableData_b rtCP_pooled_YtY2876fJdi4/* Computed Parameter: rtCP_table1D_thrAB_map_tableData_b + * Referenced by: '/table1D_thrAB_map' */ -#define rtCP_table1D_thrAB_map_bp01Data_a rtCP_pooled_8oAFyuceoFlQ/* Computed Parameter: rtCP_table1D_thrAB_map_bp01Data_a - * Referenced by: '/table1D_thrAB_map' +#define rtCP_table1D_thrAB_map_bp01Data_o rtCP_pooled_8oAFyuceoFlQ/* Computed Parameter: rtCP_table1D_thrAB_map_bp01Data_o + * Referenced by: '/table1D_thrAB_map' */ -#define rtCP_table1D_thr_map_tableData_a rtCP_pooled_iDGBVG9z8tBx/* Computed Parameter: rtCP_table1D_thr_map_tableData_a - * Referenced by: '/table1D_thr_map' +#define rtCP_table1D_thr_map_tableData_p rtCP_pooled_iDGBVG9z8tBx/* Computed Parameter: rtCP_table1D_thr_map_tableData_p + * Referenced by: '/table1D_thr_map' */ -#define rtCP_table1D_thr_map_bp01Data_j rtCP_pooled_8oAFyuceoFlQ /* Computed Parameter: rtCP_table1D_thr_map_bp01Data_j - * Referenced by: '/table1D_thr_map' +#define rtCP_table1D_thr_map_bp01Data_o rtCP_pooled_8oAFyuceoFlQ /* Computed Parameter: rtCP_table1D_thr_map_bp01Data_o + * Referenced by: '/table1D_thr_map' */ -#define rtCP_table3D_cft_tableData_m rtCP_pooled_89Nhzifd6aSY /* Computed Parameter: rtCP_table3D_cft_tableData_m - * Referenced by: '/table3D_cft' +#define rtCP_table3D_cft_tableData_i rtCP_pooled_89Nhzifd6aSY /* Computed Parameter: rtCP_table3D_cft_tableData_i + * Referenced by: '/table3D_cft' */ -#define rtCP_table3D_cft_bp01Data_j rtCP_pooled_ohnMAdtcG72M /* Computed Parameter: rtCP_table3D_cft_bp01Data_j - * Referenced by: '/table3D_cft' +#define rtCP_table3D_cft_bp01Data_l rtCP_pooled_ohnMAdtcG72M /* Computed Parameter: rtCP_table3D_cft_bp01Data_l + * Referenced by: '/table3D_cft' */ -#define rtCP_table3D_cft_bp02Data_n rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_cft_bp02Data_n - * Referenced by: '/table3D_cft' +#define rtCP_table3D_cft_bp02Data_h rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_cft_bp02Data_h + * Referenced by: '/table3D_cft' */ -#define rtCP_table3D_cft_bp03Data_c rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_cft_bp03Data_c - * Referenced by: '/table3D_cft' +#define rtCP_table3D_cft_bp03Data_j rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_cft_bp03Data_j + * Referenced by: '/table3D_cft' */ -#define rtCP_table2D_NhAB_tableData_p rtCP_pooled_zZTlIFBN7RuM /* Computed Parameter: rtCP_table2D_NhAB_tableData_p - * Referenced by: '/table2D_NhAB' +#define rtCP_table2D_NhAB_tableData_g rtCP_pooled_zZTlIFBN7RuM /* Computed Parameter: rtCP_table2D_NhAB_tableData_g + * Referenced by: '/table2D_NhAB' */ -#define rtCP_table2D_NhAB_bp01Data_f rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_NhAB_bp01Data_f - * Referenced by: '/table2D_NhAB' +#define rtCP_table2D_NhAB_bp01Data_l rtCP_pooled_CjwZJxM33sUf /* Computed Parameter: rtCP_table2D_NhAB_bp01Data_l + * Referenced by: '/table2D_NhAB' */ -#define rtCP_table2D_NhAB_bp02Data_h rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_NhAB_bp02Data_h - * Referenced by: '/table2D_NhAB' +#define rtCP_table2D_NhAB_bp02Data_c rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table2D_NhAB_bp02Data_c + * Referenced by: '/table2D_NhAB' */ -#define rtCP_table3D_Nh_tableData_p rtCP_pooled_pRK3GfMcVL5c /* Computed Parameter: rtCP_table3D_Nh_tableData_p - * Referenced by: '/table3D_Nh' +#define rtCP_table3D_Nh_tableData_b rtCP_pooled_pRK3GfMcVL5c /* Computed Parameter: rtCP_table3D_Nh_tableData_b + * Referenced by: '/table3D_Nh' */ #define rtCP_table3D_Nh_bp01Data_m rtCP_pooled_ohnMAdtcG72M /* Computed Parameter: rtCP_table3D_Nh_bp01Data_m - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ -#define rtCP_table3D_Nh_bp02Data_a rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_Nh_bp02Data_a - * Referenced by: '/table3D_Nh' +#define rtCP_table3D_Nh_bp02Data_o rtCP_pooled_4R9HnDqNNfyC /* Computed Parameter: rtCP_table3D_Nh_bp02Data_o + * Referenced by: '/table3D_Nh' */ -#define rtCP_table3D_Nh_bp03Data_e rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_Nh_bp03Data_e - * Referenced by: '/table3D_Nh' +#define rtCP_table3D_Nh_bp03Data_l rtCP_pooled_aoFl7QCPgCDt /* Computed Parameter: rtCP_table3D_Nh_bp03Data_l + * Referenced by: '/table3D_Nh' */ #define rtCP_uDLookupTable1_maxIndex rtCP_pooled_QoUfS3pLidPZ /* Computed Parameter: rtCP_uDLookupTable1_maxIndex - * Referenced by: '/1-D Lookup Table1' + * Referenced by: '/1-D Lookup Table1' */ #define rtCP_table2D_cftAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_cftAB_maxIndex - * Referenced by: '/table2D_cftAB' - */ -#define rtCP_table3D_cft_maxIndex rtCP_pooled_N5BWK8VB4SVZ /* Computed Parameter: rtCP_table3D_cft_maxIndex - * Referenced by: '/table3D_cft' + * Referenced by: '/table2D_cftAB' */ #define rtCP_table3D_cft_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_cft_dimSizes - * Referenced by: '/table3D_cft' + * Referenced by: '/table3D_cft' */ #define rtCP_table2D_NhAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_NhAB_maxIndex - * Referenced by: '/table2D_NhAB' - */ -#define rtCP_table3D_Nh_maxIndex rtCP_pooled_N5BWK8VB4SVZ /* Computed Parameter: rtCP_table3D_Nh_maxIndex - * Referenced by: '/table3D_Nh' + * Referenced by: '/table2D_NhAB' */ #define rtCP_table3D_Nh_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_Nh_dimSizes - * Referenced by: '/table3D_Nh' + * Referenced by: '/table3D_Nh' */ #define rtCP_table2D_CL_base_maxIndex rtCP_pooled_qhm2sJNkM8ZA /* Computed Parameter: rtCP_table2D_CL_base_maxIndex * Referenced by: '/table2D_CL_base' */ +#define rtCP_table3D_CL_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_CL_base_delta_dimSizes + * Referenced by: '/table3D_CL_base_delta' + */ #define rtCP_table3D_CL_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_CL_aos_dimSizes * Referenced by: '/table3D_CL_aos' */ @@ -921,9 +936,9 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CLq_maxIndex rtCP_pooled_m0RoyDA7k6Aj /* Computed Parameter: rtCP_table2D_CLq_maxIndex * Referenced by: '/table2D_CLq' */ -#define rtCP_table2D_delta_CL_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_CL_maxIndex - * Referenced by: '/table2D_delta_CL' - */ +#define rtCP_table3D_CY_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_CY_base_delta_dimSizes + * Referenced by: '/table3D_CY_base_delta' + */ #define rtCP_table3D_CY_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_CY_aos_dimSizes * Referenced by: '/table3D_CY_aos' */ @@ -939,12 +954,12 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_CYr_maxIndex rtCP_pooled_m0RoyDA7k6Aj /* Computed Parameter: rtCP_table2D_CYr_maxIndex * Referenced by: '/table2D_CYr' */ -#define rtCP_table2D_delta_CYb_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_CYb_maxIndex - * Referenced by: '/table2D_delta_CYb' - */ #define rtCP_table2D_CD_base_maxIndex rtCP_pooled_qhm2sJNkM8ZA /* Computed Parameter: rtCP_table2D_CD_base_maxIndex * Referenced by: '/table2D_CD_base' */ +#define rtCP_table3D_CD_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_CD_base_delta_dimSizes + * Referenced by: '/table3D_CD_base_delta' + */ #define rtCP_table3D_CD_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_CD_aos_dimSizes * Referenced by: '/table3D_CD_aos' */ @@ -960,9 +975,9 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table3D_CD_df_dimSizes rtCP_pooled_xajQbV3b7pKD /* Computed Parameter: rtCP_table3D_CD_df_dimSizes * Referenced by: '/table3D_CD_df' */ -#define rtCP_table2D_delta_CD_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_CD_maxIndex - * Referenced by: '/table2D_delta_CD' - */ +#define rtCP_table3D_Cl_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_Cl_base_delta_dimSizes + * Referenced by: '/table3D_Cl_base_delta' + */ #define rtCP_table3D_Cl_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_Cl_aos_dimSizes * Referenced by: '/table3D_Cl_aos' */ @@ -978,12 +993,12 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Clr_maxIndex rtCP_pooled_m0RoyDA7k6Aj /* Computed Parameter: rtCP_table2D_Clr_maxIndex * Referenced by: '/table2D_Clr' */ -#define rtCP_table2D_delta_Clb_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_Clb_maxIndex - * Referenced by: '/table2D_delta_Clb' - */ #define rtCP_table2D_Cm_base_maxIndex rtCP_pooled_qhm2sJNkM8ZA /* Computed Parameter: rtCP_table2D_Cm_base_maxIndex * Referenced by: '/table2D_Cm_base' */ +#define rtCP_table3D_Cm_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_Cm_base_delta_dimSizes + * Referenced by: '/table3D_Cm_base_delta' + */ #define rtCP_table3D_Cm_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_Cm_aos_dimSizes * Referenced by: '/table3D_Cm_aos' */ @@ -1002,12 +1017,12 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cmq_maxIndex rtCP_pooled_m0RoyDA7k6Aj /* Computed Parameter: rtCP_table2D_Cmq_maxIndex * Referenced by: '/table2D_Cmq' */ -#define rtCP_table2D_delta_Cm_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_Cm_maxIndex - * Referenced by: '/table2D_delta_Cm' - */ #define rtCP_table3D_Cn_aos_dimSizes rtCP_pooled_Ba2CSbS20NHS /* Computed Parameter: rtCP_table3D_Cn_aos_dimSizes * Referenced by: '/table3D_Cn_aos' */ +#define rtCP_table3D_Cn_base_delta_dimSizes rtCP_pooled_acbjO3pUobsw/* Computed Parameter: rtCP_table3D_Cn_base_delta_dimSizes + * Referenced by: '/table3D_Cn_base_delta' + */ #define rtCP_table3D_Cn_da_dimSizes rtCP_pooled_tp41aZnwbpRn /* Computed Parameter: rtCP_table3D_Cn_da_dimSizes * Referenced by: '/table3D_Cn_da' */ @@ -1020,38 +1035,26 @@ extern const uint8_T rtCP_pooled_mhMab4fllVU3; #define rtCP_table2D_Cnr_maxIndex rtCP_pooled_m0RoyDA7k6Aj /* Computed Parameter: rtCP_table2D_Cnr_maxIndex * Referenced by: '/table2D_Cnr' */ -#define rtCP_table2D_delta_Cnb_maxIndex rtCP_pooled_0iMFGncC8bWW /* Computed Parameter: rtCP_table2D_delta_Cnb_maxIndex - * Referenced by: '/table2D_delta_Cnb' - */ #define rtCP_table2D_thrustAB_maxIndex rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_thrustAB_maxIndex - * Referenced by: '/table2D_thrustAB' - */ -#define rtCP_table3D_thrust_maxIndex rtCP_pooled_N5BWK8VB4SVZ /* Computed Parameter: rtCP_table3D_thrust_maxIndex - * Referenced by: '/table3D_thrust' + * Referenced by: '/table2D_thrustAB' */ #define rtCP_table3D_thrust_dimSizes rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_thrust_dimSizes - * Referenced by: '/table3D_thrust' + * Referenced by: '/table3D_thrust' */ -#define rtCP_table2D_cftAB_maxIndex_b rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_cftAB_maxIndex_b - * Referenced by: '/table2D_cftAB' +#define rtCP_table2D_cftAB_maxIndex_e rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_cftAB_maxIndex_e + * Referenced by: '/table2D_cftAB' */ -#define rtCP_table3D_cft_maxIndex_h rtCP_pooled_N5BWK8VB4SVZ /* Computed Parameter: rtCP_table3D_cft_maxIndex_h - * Referenced by: '/table3D_cft' +#define rtCP_table3D_cft_dimSizes_d rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_cft_dimSizes_d + * Referenced by: '/table3D_cft' */ -#define rtCP_table3D_cft_dimSizes_c rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_cft_dimSizes_c - * Referenced by: '/table3D_cft' +#define rtCP_table2D_NhAB_maxIndex_i rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_NhAB_maxIndex_i + * Referenced by: '/table2D_NhAB' */ -#define rtCP_table2D_NhAB_maxIndex_h rtCP_pooled_a3Su5DwHejJI /* Computed Parameter: rtCP_table2D_NhAB_maxIndex_h - * Referenced by: '/table2D_NhAB' - */ -#define rtCP_table3D_Nh_maxIndex_d rtCP_pooled_N5BWK8VB4SVZ /* Computed Parameter: rtCP_table3D_Nh_maxIndex_d - * Referenced by: '/table3D_Nh' - */ -#define rtCP_table3D_Nh_dimSizes_i rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_Nh_dimSizes_i - * Referenced by: '/table3D_Nh' +#define rtCP_table3D_Nh_dimSizes_o rtCP_pooled_rsQCCyrSe0iD /* Computed Parameter: rtCP_table3D_Nh_dimSizes_o + * Referenced by: '/table3D_Nh' */ #define rtCP_mav_parser_P1 rtCP_pooled_e6HU8n7YauPz /* Expression: Channel - * Referenced by: '/mav_parser' + * Referenced by: '/mav_parser' */ #define rtCP_ConstantBP_Value_hk rtCP_pooled_mhMab4fllVU3 /* Computed Parameter: rtCP_ConstantBP_Value_hk * Referenced by: '/Constant BP' diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h b/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h index 402149d..0e5f8b4 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) diff --git a/SIL/work/SIL_ert_shrlib_rtw/buildInfo.mat b/SIL/work/SIL_ert_shrlib_rtw/buildInfo.mat index aa4b668..592d317 100644 Binary files a/SIL/work/SIL_ert_shrlib_rtw/buildInfo.mat and b/SIL/work/SIL_ert_shrlib_rtw/buildInfo.mat differ diff --git a/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h b/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h index 8b6dee4..9624c79 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h +++ b/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Sep 17 13:17:14 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) diff --git a/SIL/work/SIL_win64.dll b/SIL/work/SIL_win64.dll index 6d816d2..30f333d 100644 Binary files a/SIL/work/SIL_win64.dll and b/SIL/work/SIL_win64.dll differ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.c b/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.c index e664524..92b32ef 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.h b/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.h index 2dfad51..18b6dd5 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/BINARYSEARCH_real32_T.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_BINARYSEARCH_real32_T diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.c b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.c index ef151f0..9fb4e78 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h index 2616266..cb8aba5 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_CalcAtmosCOESA diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c index 6200f63..26d2ee7 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h index ab774c5..a453a42 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_CalcPAltCOESA diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c index 86fe68e..d3b7ed0 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h index 68afd41..0fd71a4 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_InitCalcAtmosCOESA diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.c b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.c index 3d7562e..e0baab4 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.h b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.h index ff2d71e..fbc1d44 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUpEven_real_T_real_T.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_LookUpEven_real_T_real_T diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.c b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.c index fc70a69..1097678 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.h b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.h index 7304344..c9f3dbd 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/LookUp_real32_T_real32_T.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_LookUp_real32_T_real32_T diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c index 85b0e4d..3da642f 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c @@ -3,15 +3,15 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" #include "Quat2Tbn_XRdqRR86.h" -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ void Quat2Tbn_XRdqRR86(const real32_T quat[4], real32_T Tbn[9]) { real32_T Tbn_tmp; diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h index cdd75d3..a952c02 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_Quat2Tbn_XRdqRR86 diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.c b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.c index 1b9bcdd..4501356 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.h b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.h index 265ebf3..ec6c35e 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_binsearch_u32d diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.c deleted file mode 100644 index db169d7..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * File: binsearch_u32d_prevIdx.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "binsearch_u32d_prevIdx.h" - -uint32_T binsearch_u32d_prevIdx(real_T u, const real_T bp[], uint32_T startIndex, - uint32_T maxIndex) -{ - uint32_T bpIndex; - uint32_T iRght; - uint32_T iLeft; - uint32_T found; - - /* Binary Search using Previous Index */ - bpIndex = startIndex; - iLeft = 0U; - iRght = maxIndex; - found = 0U; - while (found == 0U) { - if (u < bp[bpIndex]) { - iRght = bpIndex - 1U; - bpIndex = (iRght + iLeft) >> 1U; - } else if (u < bp[bpIndex + 1U]) { - found = 1U; - } else { - iLeft = bpIndex + 1U; - bpIndex = (iRght + iLeft) >> 1U; - } - } - - return bpIndex; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.h b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.h deleted file mode 100644 index deb7963..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32d_prevIdx.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: binsearch_u32d_prevIdx.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_binsearch_u32d_prevIdx -#define SHARE_binsearch_u32d_prevIdx -#include "rtwtypes.h" - -extern uint32_T binsearch_u32d_prevIdx(real_T u, const real_T bp[], uint32_T - startIndex, uint32_T maxIndex); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c new file mode 100644 index 0000000..b9127f7 --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c @@ -0,0 +1,42 @@ +/* + * File: binsearch_u32f.c + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#include "rtwtypes.h" +#include "binsearch_u32f.h" + +uint32_T binsearch_u32f(real32_T u, const real32_T bp[], uint32_T startIndex, + uint32_T maxIndex) +{ + uint32_T bpIndex; + uint32_T iRght; + uint32_T bpIdx; + + /* Binary Search */ + bpIdx = startIndex; + bpIndex = 0U; + iRght = maxIndex; + while (iRght - bpIndex > 1U) { + if (u < bp[bpIdx]) { + iRght = bpIdx; + } else { + bpIndex = bpIdx; + } + + bpIdx = (iRght + bpIndex) >> 1U; + } + + return bpIndex; +} + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h new file mode 100644 index 0000000..0859e19 --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h @@ -0,0 +1,24 @@ +/* + * File: binsearch_u32f.h + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#ifndef SHARE_binsearch_u32f +#define SHARE_binsearch_u32f +#include "rtwtypes.h" + +extern uint32_T binsearch_u32f(real32_T u, const real32_T bp[], uint32_T + startIndex, uint32_T maxIndex); + +#endif + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.c deleted file mode 100644 index c3d2c53..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * File: binsearch_u32f_prevIdx.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "binsearch_u32f_prevIdx.h" - -uint32_T binsearch_u32f_prevIdx(real32_T u, const real32_T bp[], uint32_T - startIndex, uint32_T maxIndex) -{ - uint32_T bpIndex; - uint32_T iRght; - uint32_T iLeft; - uint32_T found; - - /* Binary Search using Previous Index */ - bpIndex = startIndex; - iLeft = 0U; - iRght = maxIndex; - found = 0U; - while (found == 0U) { - if (u < bp[bpIndex]) { - iRght = bpIndex - 1U; - bpIndex = (iRght + iLeft) >> 1U; - } else if (u < bp[bpIndex + 1U]) { - found = 1U; - } else { - iLeft = bpIndex + 1U; - bpIndex = (iRght + iLeft) >> 1U; - } - } - - return bpIndex; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.h b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.h deleted file mode 100644 index a5b1973..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f_prevIdx.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: binsearch_u32f_prevIdx.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_binsearch_u32f_prevIdx -#define SHARE_binsearch_u32f_prevIdx -#include "rtwtypes.h" - -extern uint32_T binsearch_u32f_prevIdx(real32_T u, const real32_T bp[], uint32_T - startIndex, uint32_T maxIndex); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/builtin_typeid_types.h b/SIL/work/slprj/ert_shrlib/_sharedutils/builtin_typeid_types.h index 04a7a7f..58969ef 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/builtin_typeid_types.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/builtin_typeid_types.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef BUILTIN_TYPEID_TYPES_H diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/const_params.c b/SIL/work/slprj/ert_shrlib/_sharedutils/const_params.c index 28d93f4..82dfcde 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/const_params.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/const_params.c @@ -3,9 +3,9 @@ * * Code generation for model "SIL". * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C source code generated on : Sat Jul 24 09:56:52 2021 + * C source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" @@ -255,9 +255,6 @@ const real_T rtCP_pooled_0HfvtrFi8uTo[1920] = { 23000.0, 23023.0, 23092.0, 43054.0, 43639.0, 44293.0, 41083.0, 41124.0, 41248.0, 41452.0, 41737.0, 42100.0, 42540.0, 43054.0, 43639.0, 44293.0 } ; -extern const uint32_T rtCP_pooled_0iMFGncC8bWW[2]; -const uint32_T rtCP_pooled_0iMFGncC8bWW[2] = { 4U, 6U } ; - extern const real_T rtCP_pooled_1jjca2Oj8nTm[1920]; const real_T rtCP_pooled_1jjca2Oj8nTm[1920] = { 103.49, 98.562, 92.599, 87.483, 84.364, 81.245, 78.126, 75.007, 71.888, 68.769, 94.507, 90.083, 84.859, 80.232, @@ -1799,6 +1796,33 @@ const real32_T rtCP_pooled_89Nhzifd6aSY[1920] = { 103.49F, 98.562F, 92.599F, 50.061F, 50.015F, 50.31F, 50.849F, 52.02F, 54.003F, 56.771F, 60.623F, 65.857F } ; +extern const real_T rtCP_pooled_8lJmxZGHAEDN[200]; +const real_T rtCP_pooled_8lJmxZGHAEDN[200] = { 0.001229, 0.000248, 0.00035, + -0.0007, -0.003689, -0.000156, -0.000106, 0.000302, -4.0E-6, -0.001195, 0.0, + 0.0, 0.0, 0.0, 0.0, 0.000156, 0.000106, -0.000302, 4.0E-6, 0.001195, -0.001229, + -0.000248, -0.00035, 0.0007, 0.003689, -0.0096, -0.009663, -0.00921, -0.009646, + -0.010911, -0.00422, -0.003791, -0.003342, -0.003554, -0.004128, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.00422, 0.003791, 0.003342, 0.003554, 0.004128, 0.0096, 0.009663, + 0.00921, 0.009646, 0.010911, -0.00083, -0.001586, -0.001668, -0.002596, + -0.00471, -0.001062, -0.000861, -0.000583, -0.000913, -0.001716, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.001062, 0.000861, 0.000583, 0.000913, 0.001716, 0.00083, 0.001586, + 0.001668, 0.002596, 0.00471, 0.002616, 0.001216, 0.000757, -0.000366, + -0.002693, 0.000292, 0.000303, 0.000437, 3.6E-5, -0.000902, 0.0, 0.0, 0.0, 0.0, + 0.0, -0.000292, -0.000303, -0.000437, -3.6E-5, 0.000902, -0.002616, -0.001216, + -0.000757, 0.000366, 0.002693, 0.002798, 0.000133, -0.000847, -0.002053, + -0.00299, 0.000556, 0.000159, 3.4E-5, -0.000736, -0.001109, 0.0, 0.0, 0.0, 0.0, + 0.0, -0.000556, -0.000159, -3.4E-5, 0.000736, 0.001109, -0.002798, -0.000133, + 0.000847, 0.002053, 0.00299, 0.007968, 0.006378, 0.00567, 0.004408, 0.002204, + 0.003233, 0.003227, 0.003198, 0.002673, 0.00176, 0.0, 0.0, 0.0, 0.0, 0.0, + -0.003233, -0.003227, -0.003198, -0.002673, -0.00176, -0.007968, -0.006378, + -0.00567, -0.004408, -0.002204, -0.003481, -0.004523, -0.005019, -0.005428, + -0.005993, -0.002722, -0.002937, -0.003037, -0.002995, -0.003085, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.002722, 0.002937, 0.003037, 0.002995, 0.003085, 0.003481, + 0.004523, 0.005019, 0.005428, 0.005993, -0.006309, -0.011526, -0.013584, + -0.015154, -0.016143, -0.003438, -0.00589, -0.006823, -0.007276, -0.007092, + 0.0, 0.0, 0.0, 0.0, 0.0, 0.003438, 0.00589, 0.006823, 0.007276, 0.007092, + 0.006309, 0.011526, 0.013584, 0.015154, 0.016143 } ; + extern const real32_T rtCP_pooled_8oAFyuceoFlQ[3]; const real32_T rtCP_pooled_8oAFyuceoFlQ[3] = { 0.0F, 0.5F, 1.0F } ; @@ -1881,6 +1905,35 @@ const real_T rtCP_pooled_AFvqXBetCVoy[120] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 0.018258, 0.020793, 0.025747, 0.030611, 0.035221, 0.04386, 0.04928, 0.04028, 0.02488 } ; +extern const real_T rtCP_pooled_ANkH4WVEnzlp[200]; +const real_T rtCP_pooled_ANkH4WVEnzlp[200] = { 0.005587, 0.006116, 0.007502, + 0.009304, 0.009533, 0.006403, 0.006237, 0.006924, 0.007898, 0.008029, 0.00766, + 0.007241, 0.007233, 0.007476, 0.007701, 0.006403, 0.006237, 0.006924, 0.007898, + 0.008029, 0.005587, 0.006116, 0.007502, 0.009304, 0.009533, 0.009522, 0.010139, + 0.011571, 0.012994, 0.012534, 0.006953, 0.006662, 0.007448, 0.008282, 0.008509, + 0.008043, 0.007466, 0.007437, 0.007656, 0.007904, 0.006953, 0.006662, 0.007448, + 0.008282, 0.008509, 0.009522, 0.010139, 0.011571, 0.012994, 0.012534, 0.003528, + 0.004082, 0.005607, 0.007444, 0.008524, 0.005665, 0.00508, 0.005655, 0.006474, + 0.006915, 0.008189, 0.007117, 0.006795, 0.00676, 0.006842, 0.005665, 0.00508, + 0.005655, 0.006474, 0.006915, 0.003528, 0.004082, 0.005607, 0.007444, 0.008524, + -0.001116, -0.001892, -0.001008, 0.000295, 0.001181, 0.003747, 0.002581, + 0.0026, 0.003008, 0.002674, 0.006979, 0.005513, 0.004601, 0.004164, 0.003177, + 0.003747, 0.002581, 0.0026, 0.003008, 0.002674, -0.001116, -0.001892, + -0.001008, 0.000295, 0.001181, -0.006573, -0.009658, -0.009166, -0.011487, + -0.006791, 0.001997, -0.00167, -0.002587, -0.006169, -0.000274, 0.006752, + 0.002763, 0.000711, -0.003632, 0.002404, 0.001997, -0.00167, -0.002587, + -0.006169, -0.000274, -0.006573, -0.009658, -0.009166, -0.011487, -0.006791, + 0.014187, 0.00978, 0.008049, 0.006921, 0.003096, 0.014404, 0.01162, 0.010594, + 0.010177, 0.008173, 0.015822, 0.013956, 0.012958, 0.012732, 0.012172, 0.014404, + 0.01162, 0.010594, 0.010177, 0.008173, 0.014187, 0.00978, 0.008049, 0.006921, + 0.003096, 0.017917, 0.013391, 0.011515, 0.010261, 0.007529, 0.019401, 0.016211, + 0.014805, 0.013757, 0.011019, 0.018677, 0.016006, 0.014799, 0.014201, 0.012208, + 0.019401, 0.016211, 0.014805, 0.013757, 0.011019, 0.017917, 0.013391, 0.011515, + 0.010261, 0.007529, 0.022583, 0.01633, 0.01314, 0.010116, 0.005322, 0.01827, + 0.015252, 0.014047, 0.012754, 0.010125, 0.015287, 0.014069, 0.013436, 0.013116, + 0.01142, 0.01827, 0.015252, 0.014047, 0.012754, 0.010125, 0.022583, 0.01633, + 0.01314, 0.010116, 0.005322 } ; + extern const real_T rtCP_pooled_AkwhaKSG3BJi[2]; const real_T rtCP_pooled_AkwhaKSG3BJi[2] = { 0.2, 0.3 } ; @@ -2074,13 +2127,6 @@ const real_T rtCP_pooled_AmJLBOfapPOq[1452] = { -0.099716, -0.10062, -0.101421, 0.042261, 0.04202, 0.041802, 0.041399, 0.041169, 0.041034, 0.041034, 0.041034, 0.041034, 0.041034 } ; -extern const real_T rtCP_pooled_ApfFge06SZNS[35]; -const real_T rtCP_pooled_ApfFge06SZNS[35] = { 0.002614, 0.002517, 0.002526, - 0.002518, 0.002565, 0.002428, 0.002338, 0.002346, 0.00234, 0.002373, 0.003746, - 0.003591, 0.003617, 0.003652, 0.003874, 0.004173, 0.003969, 0.004062, 0.004267, - 0.005463, 0.003913, 0.004747, 0.005059, 0.005831, 0.006736, 0.013071, 0.01245, - 0.012434, 0.012647, 0.013542, 0.01143, 0.01086, 0.01073, 0.01066, 0.01098 } ; - extern const real_T rtCP_pooled_AwijKydYy6hE[1452]; const real_T rtCP_pooled_AwijKydYy6hE[1452] = { 0.011031, 0.011283, 0.011592, 0.011703, 0.011532, 0.011072, 0.01081, 0.0107, 0.01051, 0.01048, 0.01031, @@ -2446,14 +2492,6 @@ const real_T rtCP_pooled_BJdk4U1Bhf7G[192] = { -0.268582, -0.143046, -0.019941, extern const uint32_T rtCP_pooled_Ba2CSbS20NHS[3]; const uint32_T rtCP_pooled_Ba2CSbS20NHS[3] = { 1U, 12U, 108U } ; -extern const real_T rtCP_pooled_BtTnlNVYJtQl[35]; -const real_T rtCP_pooled_BtTnlNVYJtQl[35] = { -0.001745, -0.001754, -0.001887, - -0.001746, -0.001271, 0.000384, 0.000186, -2.0E-6, 3.9E-5, 0.000179, -0.001443, - -0.001503, -0.001591, -0.001467, -0.001183, -0.002334, -0.002281, -0.002309, - -0.002165, -0.001905, -0.002573, -0.002288, -0.002234, -0.002076, -0.002221, - -0.004085, -0.003943, -0.003892, -0.003708, -0.003509, -0.001512, -0.001449, - -0.00143, -0.001426, -0.00148 } ; - extern const real_T rtCP_pooled_CZNBGvU8AdwP[8]; const real_T rtCP_pooled_CZNBGvU8AdwP[8] = { 0.0, 12126.045, 13622.528, 13888.184, 13891.448, 13475.493, 0.0, 0.0 } ; @@ -2718,13 +2756,6 @@ const real_T rtCP_pooled_ItpCzTCwyaSt[6] = { 0.009, 0.012, 0.013, 0.007, 0.015, extern const real_T rtCP_pooled_IuWi5CgmvR8W[3]; const real_T rtCP_pooled_IuWi5CgmvR8W[3] = { 0.0, 0.5, 1.0 } ; -extern const real_T rtCP_pooled_JbpqCzZbzeET[35]; -const real_T rtCP_pooled_JbpqCzZbzeET[35] = { 0.002735, 0.002647, 0.002621, - 0.002675, 0.002764, 0.001988, 0.001913, 0.001929, 0.002084, 0.002447, 0.002486, - 0.002364, 0.002318, 0.002389, 0.002555, 0.002998, 0.002881, 0.002801, 0.002817, - 0.002858, 0.003079, 0.002847, 0.002719, 0.002692, 0.002885, 0.004271, 0.004119, - 0.003976, 0.003847, 0.003684, 0.00304, 0.003104, 0.003133, 0.003178, 0.0033 } ; - extern const real_T rtCP_pooled_KcgwWd5kyTBU[11]; const real_T rtCP_pooled_KcgwWd5kyTBU[11] = { 0.2, 0.3, 0.6, 0.8, 0.9, 0.95, 1.05, 1.1, 1.2, 1.3, 1.5 } ; @@ -2758,12 +2789,12 @@ const real_T rtCP_pooled_MOrwNEnlsarU[132] = { -7.317189, -7.224123, -7.34046, -7.619333, -7.657752, -7.773296, -7.965679, -7.965393, -7.965393, -7.965393, -7.965393, -7.965393, -7.965393 } ; -extern const uint32_T rtCP_pooled_N5BWK8VB4SVZ[3]; -const uint32_T rtCP_pooled_N5BWK8VB4SVZ[3] = { 9U, 15U, 11U } ; - extern const real32_T rtCP_pooled_NsfoROSYwB8n[3]; const real32_T rtCP_pooled_NsfoROSYwB8n[3] = { 5.0F, 10.0F, 15.0F } ; +extern const real_T rtCP_pooled_NznRCPETWQN5[5]; +const real_T rtCP_pooled_NznRCPETWQN5[5] = { -5.0, -2.0, 0.0, 2.0, 5.0 } ; + extern const real_T rtCP_pooled_OFmdmy1yqgT5[12]; const real_T rtCP_pooled_OFmdmy1yqgT5[12] = { -4.0, -2.0, 0.0, 1.0, 2.0, 4.0, 6.0, 8.0, 12.0, 16.0, 20.0, 24.0 } ; @@ -3012,18 +3043,44 @@ const real_T rtCP_pooled_SnkLXHvYMKY3[132] = { 7.503275, 7.462604, 7.456775, 5.926021, 5.772057, 6.156822, 6.157396, 5.772057, 5.772057, 5.772057, 5.772057, 5.772057 } ; -extern const real_T rtCP_pooled_TK1D8Okj745j[35]; -const real_T rtCP_pooled_TK1D8Okj745j[35] = { -0.000202, -0.000188, -0.000185, - -0.000164, -0.000178, -0.000229, -0.000231, -0.000235, -0.000217, -0.000211, - -0.00012, -0.000161, -0.000176, -0.000164, -0.000177, -5.8E-5, -0.000102, - -0.000131, -0.000135, -0.000138, 0.000118, -2.7E-5, -0.000108, -0.000198, - 3.9E-5, -0.000343, -5.1E-5, 4.7E-5, 6.8E-5, -3.6E-5, -0.000588, -0.000745, - -0.0008, -0.000832, -0.000851 } ; +extern const real_T rtCP_pooled_T50Nv1CYdHVP[8]; +const real_T rtCP_pooled_T50Nv1CYdHVP[8] = { 0.2, 0.3, 0.6, 0.8, 0.9, 1.2, 1.5, + 1.7 } ; extern const real_T rtCP_pooled_XV5wljJs37pb[8]; const real_T rtCP_pooled_XV5wljJs37pb[8] = { 0.0, 0.04, 0.5, 1.0, 1.5, 1.83, 1.92, 2.0 } ; +extern const real_T rtCP_pooled_Y6EdLXWf0d61[200]; +const real_T rtCP_pooled_Y6EdLXWf0d61[200] = { -0.004052, -0.000597, 0.001862, + 0.003704, 0.004546, -0.003364, 2.2E-5, 0.002233, 0.004072, 0.005516, -0.003417, + -0.00034, 0.001302, 0.002899, 0.004967, -0.003364, 2.2E-5, 0.002233, 0.004072, + 0.005516, -0.004052, -0.000597, 0.001862, 0.003704, 0.004546, -0.006405, + -0.002967, -0.000267, 0.001842, 0.003206, -0.003717, -0.000506, 0.001763, + 0.003692, 0.005247, -0.003785, -0.000411, 0.001343, 0.003068, 0.005426, + -0.003717, -0.000506, 0.001763, 0.003692, 0.005247, -0.006405, -0.002967, + -0.000267, 0.001842, 0.003206, -0.004711, -0.000867, 0.002066, 0.004539, + 0.005914, -0.003983, 7.4E-5, 0.002831, 0.005288, 0.007497, -0.004681, + -0.000188, 0.002119, 0.00445, 0.007538, -0.003983, 7.4E-5, 0.002831, 0.005288, + 0.007497, -0.004711, -0.000867, 0.002066, 0.004539, 0.005914, -0.002071, + 0.002599, 0.006502, 0.010178, 0.012245, -0.00291, 0.00173, 0.00542, 0.009, + 0.012113, -0.003745, 0.00119, 0.004379, 0.007694, 0.011763, -0.00291, 0.00173, + 0.00542, 0.009, 0.012113, -0.002071, 0.002599, 0.006502, 0.010178, 0.012245, + 0.001083, 0.008387, 0.013561, 0.02195, 0.014883, -0.002785, 0.004788, 0.010205, + 0.01874, 0.008015, -0.004106, 0.003614, 0.008443, 0.016054, 0.00449, -0.002785, + 0.004788, 0.010205, 0.01874, 0.008015, 0.001083, 0.008387, 0.013561, 0.02195, + 0.014883, -0.004871, 0.00089, 0.004586, 0.007174, 0.009813, -0.007916, + -0.002942, 0.000548, 0.003089, 0.006388, -0.010542, -0.006053, -0.003184, + -0.000954, 0.003243, -0.007916, -0.002942, 0.000548, 0.003089, 0.006388, + -0.004871, 0.00089, 0.004586, 0.007174, 0.009813, -0.007761, -0.00484, + -0.00309, -0.001925, 0.00013, -0.010375, -0.007516, -0.00572, -0.004301, + -0.001074, -0.010083, -0.007018, -0.00525, -0.003928, -0.000925, -0.010375, + -0.007516, -0.00572, -0.004301, -0.001074, -0.007761, -0.00484, -0.00309, + -0.001925, 0.00013, -0.010937, -0.0081, -0.006491, -0.004874, -0.002445, + -0.009169, -0.007335, -0.006201, -0.004985, -0.002531, -0.007677, -0.005735, + -0.004614, -0.003633, -0.001433, -0.009169, -0.007335, -0.006201, -0.004985, + -0.002531, -0.010937, -0.0081, -0.006491, -0.004874, -0.002445 } ; + extern const real32_T rtCP_pooled_YtY2876fJdi4[3]; const real32_T rtCP_pooled_YtY2876fJdi4[3] = { 0.0F, 0.0F, 1.0F } ; @@ -3438,6 +3495,9 @@ const real_T rtCP_pooled_aZZsd0uGpV7n[1452] = { 0.00209, 0.001789, 0.001955, -0.00074, -0.00125, -0.00173, -0.00218, -0.00218, -0.00218, -0.00218, -0.00218 } ; +extern const uint32_T rtCP_pooled_acbjO3pUobsw[3]; +const uint32_T rtCP_pooled_acbjO3pUobsw[3] = { 1U, 5U, 25U } ; + extern const real32_T rtCP_pooled_aoFl7QCPgCDt[12]; const real32_T rtCP_pooled_aoFl7QCPgCDt[12] = { 0.5F, 0.55F, 0.6F, 0.65F, 0.7F, 0.75F, 0.8F, 0.85F, 0.9F, 0.95F, 1.0F, 1.03F } ; @@ -3636,14 +3696,6 @@ const real_T rtCP_pooled_bgN2d44PozdQ[1452] = { 0.082016, 0.082775, 0.083472, extern const uint8_T rtCP_pooled_e6HU8n7YauPz; const uint8_T rtCP_pooled_e6HU8n7YauPz = 0U; -extern const real_T rtCP_pooled_gox4yXeWb8y7[35]; -const real_T rtCP_pooled_gox4yXeWb8y7[35] = { 0.006589, 0.006216, 0.006318, - 0.006507, 0.006727, 0.006918, 0.006407, 0.006473, 0.006703, 0.006979, 0.007133, - 0.006182, 0.005972, 0.005964, 0.006127, 0.005798, 0.004492, 0.003743, 0.003362, - 0.002529, 0.005271, 0.001421, -0.001427, -0.004749, 0.001423, 0.016755, - 0.014834, 0.013964, 0.013496, 0.012752, 0.01855, 0.01584, 0.01479, 0.01388, - 0.01185 } ; - extern const real_T rtCP_pooled_i7VqVc2QjHz3[1188]; const real_T rtCP_pooled_i7VqVc2QjHz3[1188] = { 0.014878, 0.017219, 0.019888, 0.0214, 0.022962, 0.026193, 0.029069, 0.031383, 0.035038, 0.034568, 0.03491, @@ -3801,12 +3853,95 @@ const real_T rtCP_pooled_i7VqVc2QjHz3[1188] = { 0.014878, 0.017219, 0.019888, extern const real32_T rtCP_pooled_iDGBVG9z8tBx[3]; const real32_T rtCP_pooled_iDGBVG9z8tBx[3] = { 0.5F, 1.03F, 1.03F } ; +extern const real_T rtCP_pooled_iSnQomL6j8CD[200]; +const real_T rtCP_pooled_iSnQomL6j8CD[200] = { 0.001197, 0.001175, 0.001173, + 0.001089, 0.001167, 0.000404, 0.00037, 0.000373, 0.000328, 0.000372, 0.0, 0.0, + 0.0, 0.0, 0.0, -0.000404, -0.00037, -0.000373, -0.000328, -0.000372, -0.001197, + -0.001175, -0.001173, -0.001089, -0.001167, 0.001359, 0.001406, 0.00143, + 0.001344, 0.001309, 0.00043, 0.00044, 0.00046, 0.000429, 0.000454, 0.0, 0.0, + 0.0, 0.0, 0.0, -0.00043, -0.00044, -0.00046, -0.000429, -0.000454, -0.001359, + -0.001406, -0.00143, -0.001344, -0.001309, 0.00086, 0.001097, 0.001179, + 0.001129, 0.001188, 0.0002, 0.000289, 0.000328, 0.000302, 0.00035, 0.0, 0.0, + 0.0, 0.0, 0.0, -0.0002, -0.000289, -0.000328, -0.000302, -0.00035, -0.00086, + -0.001097, -0.001179, -0.001129, -0.001188, 0.000596, 0.000843, 0.000986, + 0.001019, 0.001036, 7.6E-5, 0.000182, 0.000251, 0.000257, 0.000282, 0.0, 0.0, + 0.0, 0.0, 0.0, -7.6E-5, -0.000182, -0.000251, -0.000257, -0.000282, -0.000596, + -0.000843, -0.000986, -0.001019, -0.001036, -0.000295, 0.000471, 0.000869, + 0.001278, 0.000164, -0.000259, 4.3E-5, 0.000228, 0.000453, -6.5E-5, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.000259, -4.3E-5, -0.000228, -0.000453, 6.5E-5, 0.000295, + -0.000471, -0.000869, -0.001278, -0.000164, 0.002019, 0.000669, 0.000199, + 9.4E-5, 0.000624, 0.000846, 0.000237, 4.8E-5, 3.0E-5, 0.000265, 0.0, 0.0, 0.0, + 0.0, 0.0, -0.000846, -0.000237, -4.8E-5, -3.0E-5, -0.000265, -0.002019, + -0.000669, -0.000199, -9.4E-5, -0.000624, 0.003093, 0.003956, 0.004267, + 0.004453, 0.004604, 0.000982, 0.00137, 0.001508, 0.001577, 0.001579, 0.0, 0.0, + 0.0, 0.0, 0.0, -0.000982, -0.00137, -0.001508, -0.001577, -0.001579, -0.003093, + -0.003956, -0.004267, -0.004453, -0.004604, 0.002494, 0.002098, 0.002103, + 0.002181, 0.002481, 0.000663, 0.00046, 0.00051, 0.000647, 0.000991, 0.0, 0.0, + 0.0, 0.0, 0.0, -0.000663, -0.00046, -0.00051, -0.000647, -0.000991, -0.002494, + -0.002098, -0.002103, -0.002181, -0.002481 } ; + +extern const real_T rtCP_pooled_j3XKuW1bY27O[200]; +const real_T rtCP_pooled_j3XKuW1bY27O[200] = { 0.000687, 0.000107, -0.000488, + -7.5E-5, 3.4E-5, 0.003104, 0.002763, 0.002208, 0.002614, 0.00274, 0.002155, + 0.002012, 0.001538, 0.001969, 0.001994, 0.003104, 0.002763, 0.002208, 0.002614, + 0.00274, 0.000687, 0.000107, -0.000488, -7.5E-5, 3.4E-5, -0.00147, -0.002074, + -0.002684, -0.00231, -0.002092, 0.00224, 0.001937, 0.001399, 0.001808, + 0.001956, 0.001977, 0.001842, 0.001375, 0.001806, 0.001822, 0.00224, 0.001937, + 0.001399, 0.001808, 0.001956, -0.00147, -0.002074, -0.002684, -0.00231, + -0.002092, 0.000671, 5.1E-5, -0.000588, -0.000147, 0.000183, 0.003909, 0.00355, + 0.002982, 0.00346, 0.003765, 0.003322, 0.003127, 0.002624, 0.003149, 0.003357, + 0.003909, 0.00355, 0.002982, 0.00346, 0.003765, 0.000671, 5.1E-5, -0.000588, + -0.000147, 0.000183, 0.00151, 0.000909, 0.000247, 0.00105, 0.002355, 0.004613, + 0.004208, 0.00358, 0.004368, 0.005615, 0.003737, 0.003484, 0.002917, 0.003729, + 0.004906, 0.004613, 0.004208, 0.00358, 0.004368, 0.005615, 0.00151, 0.000909, + 0.000247, 0.00105, 0.002355, 0.001415, 0.001883, 0.001002, 0.002955, 0.004525, + 0.004492, 0.005126, 0.004287, 0.006189, 0.007192, 0.00347, 0.004241, 0.00344, + 0.005251, 0.006114, 0.004492, 0.005126, 0.004287, 0.006189, 0.007192, 0.001415, + 0.001883, 0.001002, 0.002955, 0.004525, 0.011189, 0.010779, 0.00982, 0.011271, + 0.012305, 0.014118, 0.013463, 0.012293, 0.013621, 0.014467, 0.012477, 0.011787, + 0.010562, 0.011883, 0.012744, 0.014118, 0.013463, 0.012293, 0.013621, 0.014467, + 0.011189, 0.010779, 0.00982, 0.011271, 0.012305, 0.009413, 0.008927, 0.007862, + 0.009009, 0.009592, 0.009785, 0.009182, 0.00803, 0.009103, 0.009457, 0.010848, + 0.010176, 0.00894, 0.009844, 0.010098, 0.009785, 0.009182, 0.00803, 0.009103, + 0.009457, 0.009413, 0.008927, 0.007862, 0.009009, 0.009592, 0.008024, 0.007003, + 0.005895, 0.006788, 0.007425, 0.008267, 0.007711, 0.006705, 0.007614, 0.00794, + 0.009245, 0.008792, 0.007738, 0.008513, 0.008548, 0.008267, 0.007711, 0.006705, + 0.007614, 0.00794, 0.008024, 0.007003, 0.005895, 0.006788, 0.007425 } ; + extern const real_T rtCP_pooled_jCajZwqM7jWe[6]; const real_T rtCP_pooled_jCajZwqM7jWe[6] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 } ; extern const real_T rtCP_pooled_k7Wx2QZrSe2U[2]; const real_T rtCP_pooled_k7Wx2QZrSe2U[2] = { 1.25, 2.0 } ; +extern const real_T rtCP_pooled_lCsqB7p5zD9u[200]; +const real_T rtCP_pooled_lCsqB7p5zD9u[200] = { -0.008947, -0.008031, -0.007795, + -0.007929, -0.008197, -0.003156, -0.002641, -0.002531, -0.002737, -0.003221, + 0.0, 0.0, 0.0, 0.0, 0.0, 0.003156, 0.002641, 0.002531, 0.002737, 0.003221, + 0.008947, 0.008031, 0.007795, 0.007929, 0.008197, -0.005136, -0.004353, + -0.00437, -0.005043, -0.006693, -0.00178, -0.00122, -0.001155, -0.001541, + -0.002556, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00178, 0.00122, 0.001155, 0.001541, + 0.002556, 0.005136, 0.004353, 0.00437, 0.005043, 0.006693, -0.007136, + -0.006108, -0.005822, -0.006095, -0.006819, -0.002458, -0.001837, -0.001664, + -0.001878, -0.002507, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002458, 0.001837, 0.001664, + 0.001878, 0.002507, 0.007136, 0.006108, 0.005822, 0.006095, 0.006819, + -0.008807, -0.007633, -0.007135, -0.007116, -0.007278, -0.00308, -0.002499, + -0.002263, -0.002351, -0.00268, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00308, 0.002499, + 0.002263, 0.002351, 0.00268, 0.008807, 0.007633, 0.007135, 0.007116, 0.007278, + -0.008586, -0.006645, -0.005813, -0.005624, -0.006512, -0.003106, -0.002352, + -0.001995, -0.001854, -0.002365, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003106, 0.002352, + 0.001995, 0.001854, 0.002365, 0.008586, 0.006645, 0.005813, 0.005624, 0.006512, + -0.014534, -0.012892, -0.012054, -0.011393, -0.010797, -0.005853, -0.005362, + -0.005081, -0.0049, -0.004678, 0.0, 0.0, 0.0, 0.0, 0.0, 0.005853, 0.005362, + 0.005081, 0.0049, 0.004678, 0.014534, 0.012892, 0.012054, 0.011393, 0.010797, + -0.00909, -0.008332, -0.008203, -0.008355, -0.009256, -0.002039, -0.001903, + -0.001965, -0.002189, -0.002514, 0.0, 0.0, 0.0, 0.0, 0.0, 0.002039, 0.001903, + 0.001965, 0.002189, 0.002514, 0.00909, 0.008332, 0.008203, 0.008355, 0.009256, + -0.007062, -0.002908, -0.001527, -0.000774, -0.001635, -0.001615, 0.000459, + 0.001018, 0.001097, 0.000313, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001615, -0.000459, + -0.001018, -0.001097, -0.000313, 0.007062, 0.002908, 0.001527, 0.000774, + 0.001635 } ; + extern const real_T rtCP_pooled_lNe8VrimgzRr[9]; const real_T rtCP_pooled_lNe8VrimgzRr[9] = { 0.0, 0.04, 0.5, 1.0, 1.5, 1.83, 1.92, 1.94, 2.0 } ; @@ -4910,18 +5045,6 @@ const uint32_T rtCP_pooled_tp41aZnwbpRn[3] = { 1U, 12U, 132U } ; extern const real_T rtCP_pooled_tyB5HnUkNiox[5]; const real_T rtCP_pooled_tyB5HnUkNiox[5] = { -2.0, 0.0, 1.0, 2.0, 4.0 } ; -extern const real_T rtCP_pooled_u3r8S9kxAlDy[7]; -const real_T rtCP_pooled_u3r8S9kxAlDy[7] = { 0.2, 0.3, 0.6, 0.8, 0.9, 1.2, 1.5 } -; - -extern const real_T rtCP_pooled_vOif71asOc3d[35]; -const real_T rtCP_pooled_vOif71asOc3d[35] = { -0.002899, 0.000138, 0.001795, - 0.003326, 0.005366, -0.003244, 8.2E-5, 0.001876, 0.003491, 0.00581, -0.004167, - 0.000258, 0.002652, 0.004816, 0.007845, -0.003177, 0.001675, 0.005086, - 0.008068, 0.012048, -0.003398, 0.004236, 0.010839, 0.016557, 0.00491, - -0.010769, -0.006289, -0.003683, -0.001185, 0.003037, -0.00991, -0.00686, - -0.00529, -0.00375, -0.00077 } ; - extern const real_T rtCP_pooled_wVWvKu0cKtgQ[120]; const real_T rtCP_pooled_wVWvKu0cKtgQ[120] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04344, 0.04368, 0.043305, 0.04313, 0.04289, 0.04217, diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c new file mode 100644 index 0000000..c6f2c1a --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c @@ -0,0 +1,46 @@ +/* + * File: intrp3d_fu32fl_pw.c + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#include "rtwtypes.h" +#include "intrp3d_fu32fl_pw.h" + +real32_T intrp3d_fu32fl_pw(const uint32_T bpIndex[], const real32_T frac[], + const real32_T table[], const uint32_T stride[]) +{ + real32_T yL_2d; + uint32_T offset_2d; + real32_T yL_1d; + uint32_T offset_0d; + + /* Column-major Interpolation 3-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Overflow mode: 'portable wrapping' + */ + offset_2d = (bpIndex[2U] * stride[2U] + bpIndex[1U] * stride[1U]) + bpIndex[0U]; + yL_1d = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + + table[offset_2d]; + offset_0d = offset_2d + stride[1U]; + yL_2d = (((table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + + table[offset_0d]) - yL_1d) * frac[1U] + yL_1d; + offset_2d += stride[2U]; + yL_1d = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + + table[offset_2d]; + offset_0d = offset_2d + stride[1U]; + return (((((table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + + table[offset_0d]) - yL_1d) * frac[1U] + yL_1d) - yL_2d) * frac[2U] + + yL_2d; +} + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h new file mode 100644 index 0000000..ecb17ae --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h @@ -0,0 +1,24 @@ +/* + * File: intrp3d_fu32fl_pw.h + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#ifndef SHARE_intrp3d_fu32fl_pw +#define SHARE_intrp3d_fu32fl_pw +#include "rtwtypes.h" + +extern real32_T intrp3d_fu32fl_pw(const uint32_T bpIndex[], const real32_T frac[], + const real32_T table[], const uint32_T stride[]); + +#endif + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.c deleted file mode 100644 index dac0ec2..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * File: intrp3d_fu32fla_pw.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "intrp3d_fu32fla_pw.h" - -real32_T intrp3d_fu32fla_pw(const uint32_T bpIndex[], const real32_T frac[], - const real32_T table[], const uint32_T stride[], const uint32_T maxIndex[]) -{ - real32_T y; - uint32_T offset_2d; - real32_T yR_1d; - uint32_T offset_0d; - real32_T yL_1d; - - /* Column-major Interpolation 3-D - Interpolation method: 'Linear point-slope' - Use last breakpoint for index at or above upper limit: 'on' - Overflow mode: 'portable wrapping' - */ - offset_2d = (bpIndex[2U] * stride[2U] + bpIndex[1U] * stride[1U]) + bpIndex[0U]; - if (bpIndex[0U] == maxIndex[0U]) { - y = table[offset_2d]; - } else { - y = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + table[offset_2d]; - } - - if (bpIndex[1U] == maxIndex[1U]) { - } else { - offset_0d = offset_2d + stride[1U]; - if (bpIndex[0U] == maxIndex[0U]) { - yR_1d = table[offset_0d]; - } else { - yR_1d = (table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + - table[offset_0d]; - } - - y += (yR_1d - y) * frac[1U]; - } - - if (bpIndex[2U] == maxIndex[2U]) { - } else { - offset_2d += stride[2U]; - if (bpIndex[0U] == maxIndex[0U]) { - yL_1d = table[offset_2d]; - } else { - yL_1d = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + - table[offset_2d]; - } - - if (bpIndex[1U] == maxIndex[1U]) { - } else { - offset_0d = offset_2d + stride[1U]; - if (bpIndex[0U] == maxIndex[0U]) { - yR_1d = table[offset_0d]; - } else { - yR_1d = (table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + - table[offset_0d]; - } - - yL_1d += (yR_1d - yL_1d) * frac[1U]; - } - - y += (yL_1d - y) * frac[2U]; - } - - return y; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.h deleted file mode 100644 index 7f5b6fb..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fla_pw.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File: intrp3d_fu32fla_pw.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_intrp3d_fu32fla_pw -#define SHARE_intrp3d_fu32fla_pw -#include "rtwtypes.h" - -extern real32_T intrp3d_fu32fla_pw(const uint32_T bpIndex[], const real32_T - frac[], const real32_T table[], const uint32_T stride[], const uint32_T - maxIndex[]); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.c index 3e2d6ac..43e456a 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.h index 8e884e0..e35d939 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_l_pw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_intrp3d_l_pw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.c deleted file mode 100644 index 3745c5d..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * File: intrp3d_la_pw.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "intrp3d_la_pw.h" - -real_T intrp3d_la_pw(const uint32_T bpIndex[], const real_T frac[], const real_T - table[], const uint32_T stride[], const uint32_T maxIndex[]) -{ - real_T y; - uint32_T offset_2d; - real_T yR_1d; - uint32_T offset_0d; - real_T yL_1d; - - /* Column-major Interpolation 3-D - Interpolation method: 'Linear point-slope' - Use last breakpoint for index at or above upper limit: 'on' - Overflow mode: 'portable wrapping' - */ - offset_2d = (bpIndex[2U] * stride[2U] + bpIndex[1U] * stride[1U]) + bpIndex[0U]; - if (bpIndex[0U] == maxIndex[0U]) { - y = table[offset_2d]; - } else { - y = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + table[offset_2d]; - } - - if (bpIndex[1U] == maxIndex[1U]) { - } else { - offset_0d = offset_2d + stride[1U]; - if (bpIndex[0U] == maxIndex[0U]) { - yR_1d = table[offset_0d]; - } else { - yR_1d = (table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + - table[offset_0d]; - } - - y += (yR_1d - y) * frac[1U]; - } - - if (bpIndex[2U] == maxIndex[2U]) { - } else { - offset_2d += stride[2U]; - if (bpIndex[0U] == maxIndex[0U]) { - yL_1d = table[offset_2d]; - } else { - yL_1d = (table[offset_2d + 1U] - table[offset_2d]) * frac[0U] + - table[offset_2d]; - } - - if (bpIndex[1U] == maxIndex[1U]) { - } else { - offset_0d = offset_2d + stride[1U]; - if (bpIndex[0U] == maxIndex[0U]) { - yR_1d = table[offset_0d]; - } else { - yR_1d = (table[offset_0d + 1U] - table[offset_0d]) * frac[0U] + - table[offset_0d]; - } - - yL_1d += (yR_1d - yL_1d) * frac[1U]; - } - - y += (yL_1d - y) * frac[2U]; - } - - return y; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.h deleted file mode 100644 index 0021b20..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_la_pw.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: intrp3d_la_pw.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_intrp3d_la_pw -#define SHARE_intrp3d_la_pw -#include "rtwtypes.h" - -extern real_T intrp3d_la_pw(const uint32_T bpIndex[], const real_T frac[], const - real_T table[], const uint32_T stride[], const uint32_T maxIndex[]); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c index b9b2baf..7f6be7b 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.h index 0efb7ae..35a649e 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_binlcpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.c index ec34893..62312d5 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.h index 84a8e94..b9b0a71 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlxpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_binlxpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.c index f80b3cc..5e88034 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.h index c92a1ef..678d878 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlcpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_iflf_binlcpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.c index e1e7ccc..7ed8809 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.h index 214ba5c..195be23 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_binlxpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_iflf_binlxpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.c index 71283b5..d536c7d 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.h index 5792f0a..f570966 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_iflf_pbinlcapw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_iflf_pbinlcapw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.c index 8aae855..5fff3c6 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.h index 522869c..e6b4f32 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_pbinlcapw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look1_pbinlcapw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.c index d155347..4dbb46f 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.h index f05b8df..65410cb 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlcpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look2_binlcpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c index 7ec770d..48830fc 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.h index 9a9f3f9..64c7ae6 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_look2_binlxpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.c new file mode 100644 index 0000000..d1204d2 --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.c @@ -0,0 +1,117 @@ +/* + * File: look2_iflf_binlxpw.c + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#include "rtwtypes.h" +#include "look2_iflf_binlxpw.h" + +real32_T look2_iflf_binlxpw(real32_T u0, real32_T u1, const real32_T bp0[], + const real32_T bp1[], const real32_T table[], const uint32_T maxIndex[], + uint32_T stride) +{ + real32_T frac; + uint32_T bpIndices[2]; + real32_T fractions[2]; + real32_T yL_1d; + uint32_T iRght; + uint32_T bpIdx; + uint32_T iLeft; + + /* Column-major Lookup 2-D + Search method: 'binary' + Use previous index: 'off' + Interpolation method: 'Linear point-slope' + Extrapolation method: 'Linear' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Linear' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u0 <= bp0[0U]) { + iLeft = 0U; + frac = (u0 - bp0[0U]) / (bp0[1U] - bp0[0U]); + } else if (u0 < bp0[maxIndex[0U]]) { + /* Binary Search */ + bpIdx = maxIndex[0U] >> 1U; + iLeft = 0U; + iRght = maxIndex[0U]; + while (iRght - iLeft > 1U) { + if (u0 < bp0[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + frac = (u0 - bp0[iLeft]) / (bp0[iLeft + 1U] - bp0[iLeft]); + } else { + iLeft = maxIndex[0U] - 1U; + frac = (u0 - bp0[maxIndex[0U] - 1U]) / (bp0[maxIndex[0U]] - bp0[maxIndex[0U] + - 1U]); + } + + fractions[0U] = frac; + bpIndices[0U] = iLeft; + + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Linear' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u1 <= bp1[0U]) { + iLeft = 0U; + frac = (u1 - bp1[0U]) / (bp1[1U] - bp1[0U]); + } else if (u1 < bp1[maxIndex[1U]]) { + /* Binary Search */ + bpIdx = maxIndex[1U] >> 1U; + iLeft = 0U; + iRght = maxIndex[1U]; + while (iRght - iLeft > 1U) { + if (u1 < bp1[bpIdx]) { + iRght = bpIdx; + } else { + iLeft = bpIdx; + } + + bpIdx = (iRght + iLeft) >> 1U; + } + + frac = (u1 - bp1[iLeft]) / (bp1[iLeft + 1U] - bp1[iLeft]); + } else { + iLeft = maxIndex[1U] - 1U; + frac = (u1 - bp1[maxIndex[1U] - 1U]) / (bp1[maxIndex[1U]] - bp1[maxIndex[1U] + - 1U]); + } + + /* Column-major Interpolation 2-D + Interpolation method: 'Linear point-slope' + Use last breakpoint for index at or above upper limit: 'off' + Overflow mode: 'portable wrapping' + */ + bpIdx = iLeft * stride + bpIndices[0U]; + yL_1d = (table[bpIdx + 1U] - table[bpIdx]) * fractions[0U] + table[bpIdx]; + bpIdx += stride; + return (((table[bpIdx + 1U] - table[bpIdx]) * fractions[0U] + table[bpIdx]) - + yL_1d) * frac + yL_1d; +} + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h new file mode 100644 index 0000000..c596732 --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h @@ -0,0 +1,25 @@ +/* + * File: look2_iflf_binlxpw.h + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#ifndef SHARE_look2_iflf_binlxpw +#define SHARE_look2_iflf_binlxpw +#include "rtwtypes.h" + +extern real32_T look2_iflf_binlxpw(real32_T u0, real32_T u1, const real32_T bp0[], + const real32_T bp1[], const real32_T table[], const uint32_T maxIndex[], + uint32_T stride); + +#endif + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.c deleted file mode 100644 index fbe4954..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.c +++ /dev/null @@ -1,143 +0,0 @@ -/* - * File: look2_iflf_pbinlcapw.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "look2_iflf_pbinlcapw.h" - -real32_T look2_iflf_pbinlcapw(real32_T u0, real32_T u1, const real32_T bp0[], - const real32_T bp1[], const real32_T table[], uint32_T prevIndex[], const - uint32_T maxIndex[], uint32_T stride) -{ - real32_T y; - real32_T frac; - uint32_T bpIndices[2]; - real32_T fractions[2]; - uint32_T startIndex; - real32_T yR_1d; - uint32_T iRght; - uint32_T iLeft; - uint32_T found; - - /* Column-major Lookup 2-D - Search method: 'binary' - Use previous index: 'on' - Interpolation method: 'Linear point-slope' - Extrapolation method: 'Clip' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u0 <= bp0[0U]) { - startIndex = 0U; - frac = 0.0F; - } else if (u0 < bp0[maxIndex[0U]]) { - startIndex = prevIndex[0U]; - - /* Binary Search using Previous Index */ - iLeft = 0U; - iRght = maxIndex[0U]; - found = 0U; - while (found == 0U) { - if (u0 < bp0[startIndex]) { - iRght = startIndex - 1U; - startIndex = (iRght + iLeft) >> 1U; - } else if (u0 < bp0[startIndex + 1U]) { - found = 1U; - } else { - iLeft = startIndex + 1U; - startIndex = (iRght + iLeft) >> 1U; - } - } - - frac = (u0 - bp0[startIndex]) / (bp0[startIndex + 1U] - bp0[startIndex]); - } else { - startIndex = maxIndex[0U]; - frac = 0.0F; - } - - prevIndex[0U] = startIndex; - fractions[0U] = frac; - bpIndices[0U] = startIndex; - - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u1 <= bp1[0U]) { - startIndex = 0U; - frac = 0.0F; - } else if (u1 < bp1[maxIndex[1U]]) { - startIndex = prevIndex[1U]; - - /* Binary Search using Previous Index */ - iLeft = 0U; - iRght = maxIndex[1U]; - found = 0U; - while (found == 0U) { - if (u1 < bp1[startIndex]) { - iRght = startIndex - 1U; - startIndex = (iRght + iLeft) >> 1U; - } else if (u1 < bp1[startIndex + 1U]) { - found = 1U; - } else { - iLeft = startIndex + 1U; - startIndex = (iRght + iLeft) >> 1U; - } - } - - frac = (u1 - bp1[startIndex]) / (bp1[startIndex + 1U] - bp1[startIndex]); - } else { - startIndex = maxIndex[1U]; - frac = 0.0F; - } - - prevIndex[1U] = startIndex; - - /* Column-major Interpolation 2-D - Interpolation method: 'Linear point-slope' - Use last breakpoint for index at or above upper limit: 'on' - Overflow mode: 'portable wrapping' - */ - iLeft = startIndex * stride + bpIndices[0U]; - if (bpIndices[0U] == maxIndex[0U]) { - y = table[iLeft]; - } else { - y = (table[iLeft + 1U] - table[iLeft]) * fractions[0U] + table[iLeft]; - } - - if (startIndex == maxIndex[1U]) { - } else { - iLeft += stride; - if (bpIndices[0U] == maxIndex[0U]) { - yR_1d = table[iLeft]; - } else { - yR_1d = (table[iLeft + 1U] - table[iLeft]) * fractions[0U] + table[iLeft]; - } - - y += (yR_1d - y) * frac; - } - - return y; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.h deleted file mode 100644 index a800d1f..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_pbinlcapw.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File: look2_iflf_pbinlcapw.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_look2_iflf_pbinlcapw -#define SHARE_look2_iflf_pbinlcapw -#include "rtwtypes.h" - -extern real32_T look2_iflf_pbinlcapw(real32_T u0, real32_T u1, const real32_T - bp0[], const real32_T bp1[], const real32_T table[], uint32_T prevIndex[], - const uint32_T maxIndex[], uint32_T stride); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.c deleted file mode 100644 index 2f6f2cd..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.c +++ /dev/null @@ -1,143 +0,0 @@ -/* - * File: look2_pbinlcapw.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "look2_pbinlcapw.h" - -real_T look2_pbinlcapw(real_T u0, real_T u1, const real_T bp0[], const real_T - bp1[], const real_T table[], uint32_T prevIndex[], const uint32_T maxIndex[], - uint32_T stride) -{ - real_T y; - real_T frac; - uint32_T bpIndices[2]; - real_T fractions[2]; - uint32_T startIndex; - real_T yR_1d; - uint32_T iRght; - uint32_T iLeft; - uint32_T found; - - /* Column-major Lookup 2-D - Search method: 'binary' - Use previous index: 'on' - Interpolation method: 'Linear point-slope' - Extrapolation method: 'Clip' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u0 <= bp0[0U]) { - startIndex = 0U; - frac = 0.0; - } else if (u0 < bp0[maxIndex[0U]]) { - startIndex = prevIndex[0U]; - - /* Binary Search using Previous Index */ - iLeft = 0U; - iRght = maxIndex[0U]; - found = 0U; - while (found == 0U) { - if (u0 < bp0[startIndex]) { - iRght = startIndex - 1U; - startIndex = (iRght + iLeft) >> 1U; - } else if (u0 < bp0[startIndex + 1U]) { - found = 1U; - } else { - iLeft = startIndex + 1U; - startIndex = (iRght + iLeft) >> 1U; - } - } - - frac = (u0 - bp0[startIndex]) / (bp0[startIndex + 1U] - bp0[startIndex]); - } else { - startIndex = maxIndex[0U]; - frac = 0.0; - } - - prevIndex[0U] = startIndex; - fractions[0U] = frac; - bpIndices[0U] = startIndex; - - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u1 <= bp1[0U]) { - startIndex = 0U; - frac = 0.0; - } else if (u1 < bp1[maxIndex[1U]]) { - startIndex = prevIndex[1U]; - - /* Binary Search using Previous Index */ - iLeft = 0U; - iRght = maxIndex[1U]; - found = 0U; - while (found == 0U) { - if (u1 < bp1[startIndex]) { - iRght = startIndex - 1U; - startIndex = (iRght + iLeft) >> 1U; - } else if (u1 < bp1[startIndex + 1U]) { - found = 1U; - } else { - iLeft = startIndex + 1U; - startIndex = (iRght + iLeft) >> 1U; - } - } - - frac = (u1 - bp1[startIndex]) / (bp1[startIndex + 1U] - bp1[startIndex]); - } else { - startIndex = maxIndex[1U]; - frac = 0.0; - } - - prevIndex[1U] = startIndex; - - /* Column-major Interpolation 2-D - Interpolation method: 'Linear point-slope' - Use last breakpoint for index at or above upper limit: 'on' - Overflow mode: 'portable wrapping' - */ - iLeft = startIndex * stride + bpIndices[0U]; - if (bpIndices[0U] == maxIndex[0U]) { - y = table[iLeft]; - } else { - y = (table[iLeft + 1U] - table[iLeft]) * fractions[0U] + table[iLeft]; - } - - if (startIndex == maxIndex[1U]) { - } else { - iLeft += stride; - if (bpIndices[0U] == maxIndex[0U]) { - yR_1d = table[iLeft]; - } else { - yR_1d = (table[iLeft + 1U] - table[iLeft]) * fractions[0U] + table[iLeft]; - } - - y += (yR_1d - y) * frac; - } - - return y; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.h deleted file mode 100644 index 3fbc8ea..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_pbinlcapw.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File: look2_pbinlcapw.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_look2_pbinlcapw -#define SHARE_look2_pbinlcapw -#include "rtwtypes.h" - -extern real_T look2_pbinlcapw(real_T u0, real_T u1, const real_T bp0[], const - real_T bp1[], const real_T table[], uint32_T prevIndex[], const uint32_T - maxIndex[], uint32_T stride); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.c deleted file mode 100644 index 1ab8601..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - * File: plook_bincpa.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "binsearch_u32d_prevIdx.h" -#include "plook_bincpa.h" - -uint32_T plook_bincpa(real_T u, const real_T bp[], uint32_T maxIndex, real_T - *fraction, uint32_T *prevIndex) -{ - uint32_T bpIndex; - uint32_T startIndex; - - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u <= bp[0U]) { - bpIndex = 0U; - *fraction = 0.0; - } else if (u < bp[maxIndex]) { - startIndex = *prevIndex; - bpIndex = binsearch_u32d_prevIdx(u, bp, startIndex, maxIndex); - *fraction = (u - bp[bpIndex]) / (bp[bpIndex + 1U] - bp[bpIndex]); - } else { - bpIndex = maxIndex; - *fraction = 0.0; - } - - *prevIndex = bpIndex; - return bpIndex; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.h b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.h deleted file mode 100644 index d17b4bb..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_bincpa.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: plook_bincpa.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_plook_bincpa -#define SHARE_plook_bincpa -#include "rtwtypes.h" - -extern uint32_T plook_bincpa(real_T u, const real_T bp[], uint32_T maxIndex, - real_T *fraction, uint32_T *prevIndex); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c index 4e99415..41f1666 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.h b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.h index 64bcb08..4a8cecc 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_plook_binx diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.c deleted file mode 100644 index ea0dd1a..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - * File: plook_u32ff_bincpa.c - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#include "rtwtypes.h" -#include "binsearch_u32f_prevIdx.h" -#include "plook_u32ff_bincpa.h" - -uint32_T plook_u32ff_bincpa(real32_T u, const real32_T bp[], uint32_T maxIndex, - real32_T *fraction, uint32_T *prevIndex) -{ - uint32_T bpIndex; - uint32_T startIndex; - - /* Prelookup - Index and Fraction - Index Search method: 'binary' - Extrapolation method: 'Clip' - Use previous index: 'on' - Use last breakpoint for index at or above upper limit: 'on' - Remove protection against out-of-range input in generated code: 'off' - */ - if (u <= bp[0U]) { - bpIndex = 0U; - *fraction = 0.0F; - } else if (u < bp[maxIndex]) { - startIndex = *prevIndex; - bpIndex = binsearch_u32f_prevIdx(u, bp, startIndex, maxIndex); - *fraction = (u - bp[bpIndex]) / (bp[bpIndex + 1U] - bp[bpIndex]); - } else { - bpIndex = maxIndex; - *fraction = 0.0F; - } - - *prevIndex = bpIndex; - return bpIndex; -} - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.h b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.h deleted file mode 100644 index 6970a0d..0000000 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_bincpa.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: plook_u32ff_bincpa.h - * - * Code generated for Simulink model 'SIL'. - * - * Model version : 1.652 - * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 - */ - -#ifndef SHARE_plook_u32ff_bincpa -#define SHARE_plook_u32ff_bincpa -#include "rtwtypes.h" - -extern uint32_T plook_u32ff_bincpa(real32_T u, const real32_T bp[], uint32_T - maxIndex, real32_T *fraction, uint32_T *prevIndex); - -#endif - -/* - * File trailer for generated code. - * - * [EOF] - */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c new file mode 100644 index 0000000..71d2632 --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c @@ -0,0 +1,45 @@ +/* + * File: plook_u32ff_binx.c + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#include "rtwtypes.h" +#include "binsearch_u32f.h" +#include "plook_u32ff_binx.h" + +uint32_T plook_u32ff_binx(real32_T u, const real32_T bp[], uint32_T maxIndex, + real32_T *fraction) +{ + uint32_T bpIndex; + + /* Prelookup - Index and Fraction + Index Search method: 'binary' + Extrapolation method: 'Linear' + Use previous index: 'off' + Use last breakpoint for index at or above upper limit: 'off' + Remove protection against out-of-range input in generated code: 'off' + */ + if (u <= bp[0U]) { + bpIndex = 0U; + *fraction = (u - bp[0U]) / (bp[1U] - bp[0U]); + } else if (u < bp[maxIndex]) { + bpIndex = binsearch_u32f(u, bp, maxIndex >> 1U, maxIndex); + *fraction = (u - bp[bpIndex]) / (bp[bpIndex + 1U] - bp[bpIndex]); + } else { + bpIndex = maxIndex - 1U; + *fraction = (u - bp[maxIndex - 1U]) / (bp[maxIndex] - bp[maxIndex - 1U]); + } + + return bpIndex; +} + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h new file mode 100644 index 0000000..ffd75fe --- /dev/null +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h @@ -0,0 +1,24 @@ +/* + * File: plook_u32ff_binx.h + * + * Code generated for Simulink model 'SIL'. + * + * Model version : 1.653 + * Simulink Coder version : 9.0 (R2018b) 24-May-2018 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 + */ + +#ifndef SHARE_plook_u32ff_binx +#define SHARE_plook_u32ff_binx +#include "rtwtypes.h" + +extern uint32_T plook_u32ff_binx(real32_T u, const real32_T bp[], uint32_T + maxIndex, real32_T *fraction); + +#endif + +/* + * File trailer for generated code. + * + * [EOF] + */ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c index 3ce596f..4592ece 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c @@ -3,15 +3,15 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" #include "power_4TBdBPK2.h" -/* Function for Chart: '/EKF14s' */ +/* Function for Chart: '/EKF14s' */ void power_4TBdBPK2(const real32_T a[7], real32_T y[7]) { int32_T k; diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h index 647967a..0018cd3 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_power_4TBdBPK2 diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.c index 43fce20..c44a1e9 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h index dd6773d..9a8f281 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTW_HEADER_rtGetInf_h_ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.c index 77f991d..04fc2be 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h index 00efb70..99e89a1 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTW_HEADER_rtGetNaN_h_ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_assert.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_assert.h index cd274af..051ac74 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_assert.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_assert.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTW_HEADER_rt_assert_h_ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.c index 1d3246c..3db5a78 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.h index 53d3226..d4d9d49 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2d_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_atan2d_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.c index 228e9c8..b96d48d 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.h index 745f748..5353406 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_atan2f_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_atan2f_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_defines.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_defines.h index 4efc25c..5269ae3 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_defines.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_defines.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTW_HEADER_rt_defines_h_ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.c index 1db96ad..0a33a01 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.h index adada82..35dc7bd 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_invd3x3_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_invd3x3_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.c index cc4af9c..78ca6f1 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.h index 3f409ba..1618ce3 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_modd_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_modd_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.c index 377265d..c70b70a 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.h index 92cd9a8..3220931 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_mrdivide_U1d1x3_U2d3x3_Yd1x3_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.c index 7f372fd..7475849 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h index 5fa5ce8..df8a6b6 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTW_HEADER_rt_nonfinite_h_ diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.c index 8a8a33f..05c7256 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.h index c2d792d..44dc8af 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_powd_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_powd_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.c b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.c index 6516236..5017705 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.h index 77fcbe9..72c7378 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_roundd_snf.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_rt_roundd_snf diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtwtypes.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rtwtypes.h index 0ae479c..089c6c1 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/rtwtypes.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/rtwtypes.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef RTWTYPES_H diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.c b/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.c index fad475d..b75e851 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.h b/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.h index 13ae485..3285ff7 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/wgs84_taylor_series.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.652 + * Model version : 1.653 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Sat Jul 24 09:56:52 2021 + * C/C++ source code generated on : Wed Nov 3 17:13:40 2021 */ #ifndef SHARE_wgs84_taylor_series