diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL.c b/SIL/work/SIL_ert_shrlib_rtw/SIL.c index d30b9b1..22bc40f 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL.c @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -122,24 +122,24 @@ /* Named constants for Chart: '/Chart' */ #define SIL_IN_Idle1 ((uint8_T)2U) #define SIL_IN_Idle2 ((uint8_T)3U) -#define SIL_IN_Idle_c ((uint8_T)1U) +#define SIL_IN_Idle_m ((uint8_T)1U) #define SIL_IN_balloon ((uint8_T)4U) #define SIL_IN_cover ((uint8_T)5U) #define SIL_IN_cut ((uint8_T)6U) #define SIL_IN_five ((uint8_T)1U) #define SIL_IN_four ((uint8_T)1U) -#define SIL_IN_four_b ((uint8_T)2U) +#define SIL_IN_four_a ((uint8_T)2U) #define SIL_IN_one ((uint8_T)2U) -#define SIL_IN_one_d ((uint8_T)3U) -#define SIL_IN_one_de ((uint8_T)1U) +#define SIL_IN_one_b ((uint8_T)3U) +#define SIL_IN_one_bz ((uint8_T)1U) #define SIL_IN_parachute ((uint8_T)7U) #define SIL_IN_six ((uint8_T)4U) #define SIL_IN_three ((uint8_T)3U) -#define SIL_IN_three_c ((uint8_T)5U) -#define SIL_IN_three_c1 ((uint8_T)2U) +#define SIL_IN_three_k ((uint8_T)5U) +#define SIL_IN_three_k2 ((uint8_T)2U) #define SIL_IN_two ((uint8_T)4U) -#define SIL_IN_two_h ((uint8_T)6U) -#define SIL_IN_two_hs ((uint8_T)3U) +#define SIL_IN_two_i ((uint8_T)6U) +#define SIL_IN_two_ig ((uint8_T)3U) /* Named constants for Chart: '/TopLevelSwitch' */ #define SIL_IN_operational ((uint8_T)1U) @@ -620,11 +620,12 @@ static void SIL_sf_msg_discard_cmd2(void); static boolean_T SIL_sf_msg_pop_set_cur(void); static void SIL_sf_msg_discard_set_cur(void); static void SIL_sf_msg_send_ack(void); -static void SIL_update_k(real32_T pos); +static void SIL_update_n(real32_T pos); 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 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); @@ -2432,8 +2433,8 @@ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels int16_T rtb_Sum_bp; uint8_T rtb_out_k4; uint8_T rtb_out_ns; - boolean_T rtb_out_al; - boolean_T rtb_out_iq; + boolean_T rtb_out_i; + boolean_T rtb_out_c4; int32_T i; real32_T u0; real32_T u0_0; @@ -2471,10 +2472,10 @@ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels SIL_auto_sw(rtu_channels[5], &rtb_out_ns); /* Chart: '/brake_sw' */ - SIL_brake_sw(rtu_channels[6], &rtb_out_al); + SIL_brake_sw(rtu_channels[6], &rtb_out_i); /* Chart: '/gear_sw' */ - SIL_brake_sw(rtu_channels[7], &rtb_out_iq); + SIL_brake_sw(rtu_channels[7], &rtb_out_c4); /* BusAssignment: '/Bus Assignment' incorporates: * Constant: '/Constant' @@ -2542,8 +2543,8 @@ void SIL_valid(const C2 *rtu_C2_in, uint8_T rtu_id, const uint16_T rtu_channels /* 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; - rty_C2_out->rc.brake = rtb_out_iq; + rty_C2_out->rc.gear_up = rtb_out_i; + rty_C2_out->rc.brake = rtb_out_c4; for (i = 0; i < 18; i++) { rty_C2_out->rc.chan_raw[i] = rtu_channels[i]; } @@ -5826,11 +5827,11 @@ int32_T SIL_Chart_send_ack_SendData(const CommandAck *data_toSend) /* Function for Chart: '/proc_cmd' */ static void SIL_sf_msg_send_ack(void) { - SIL_Chart_send_ack_SendData(&SIL_DW.ack_msgData_k); + SIL_Chart_send_ack_SendData(&SIL_DW.ack_msgData_h); } /* Function for Chart: '/sweep_generator' */ -static void SIL_update_k(real32_T pos) +static void SIL_update_n(real32_T pos) { uint8_T i; i = 0U; @@ -5935,8 +5936,8 @@ static void SIL_parachute(void) SIL_DW.is_parachute = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_c21_kb3_autopilot = SIL_IN_cover; SIL_B.recovery_out = 7U; - SIL_DW.is_cover = SIL_IN_one_d; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.is_cover = SIL_IN_one_b; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 5U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -5949,9 +5950,9 @@ static void SIL_parachute(void) break; case SIL_IN_one: - if (SIL_DW.temporalCounter_i1_i >= 60U) { + if (SIL_DW.temporalCounter_i1_e >= 60U) { SIL_DW.is_parachute = SIL_IN_two; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 3U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -5963,7 +5964,7 @@ static void SIL_parachute(void) break; case SIL_IN_three: - if (SIL_DW.temporalCounter_i1_i >= 60U) { + if (SIL_DW.temporalCounter_i1_e >= 60U) { SIL_DW.is_parachute = SIL_IN_four; SIL_B.ch_out = 3U; SIL_B.peroid_out = 50U; @@ -5976,9 +5977,9 @@ static void SIL_parachute(void) break; default: - if (SIL_DW.temporalCounter_i1_i >= 60U) { + if (SIL_DW.temporalCounter_i1_e >= 60U) { SIL_DW.is_parachute = SIL_IN_three; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 3U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -5992,6 +5993,26 @@ 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_c21_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_e = 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; + } +} + int32_T SIL_pop_c02u1i(Queue_mavlink_mission_item_int_t *q, Msg_mavlink_mission_item_int_t *elementOut) { @@ -9104,7 +9125,7 @@ void SIL_step(void) real32_T rtb_err_psi1; real32_T rtb_out_gz; real32_T rtb_out_fs; - real32_T rtb_out_d2; + real32_T rtb_out_d; uint16_T rtb_pwms[16]; uint16_T rtb_DataTypeConversion_k; uint8_T rtb_Merge1_h; @@ -9341,7 +9362,6 @@ void SIL_step(void) real32_T rtb_Merge_i_max_dr; real_T uTmp[3]; C2 rtb_Merge; - real32_T rtb_IAS_lookup; uint8_T rtb_ECU_CMD; uint16_T rtb_ECU_RPM_out; real32_T rtb_Merge_h_der_c; @@ -9853,19 +9873,20 @@ void SIL_step(void) real32_T rtb_KP; real32_T rtb_Divide2; real32_T rtb_Merge1_py; - uint32_T rtb_out_jr; + uint32_T rtb_out_ob; ENUM_BIT_MODE rtb_MultiportSwitch; real32_T rtb_Merge_a; real32_T rtb_Switch_b0; real32_T rtb_Gain1_o0[5]; real32_T rtb_Sum_pz; + real32_T rtb_Sum1_cv; C2 rtb_Merge_l0; real32_T rtb_Switch_e0; real32_T rtb_Sum_gq; uint8_T rtb_recovery; real32_T rtb_MaxHdot; real32_T rtb_Switch2_el; - real32_T rtb_Sum1_ay; + real32_T rtb_Sum1_l5; real32_T rtb_MinMax; real32_T rtb_Switch_ir; real32_T rtb_Divide_l; @@ -14917,32 +14938,32 @@ void SIL_step(void) /* Chart: '/Chart' incorporates: * Constant: '/Constant3' */ - if (SIL_DW.temporalCounter_i1_ca < 255U) { - SIL_DW.temporalCounter_i1_ca++; + if (SIL_DW.temporalCounter_i1_d3 < 255U) { + SIL_DW.temporalCounter_i1_d3++; } if (SIL_DW.is_active_c44_kb3_autopilot == 0U) { SIL_DW.is_active_c44_kb3_autopilot = 1U; SIL_DW.is_c44_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_f = SIL_B.UnitDelay_is; + SIL_DW.last_seq_n = SIL_B.UnitDelay_is; idx = 0; } else if (SIL_DW.is_c44_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_f != SIL_B.UnitDelay_is) { + if (SIL_DW.last_seq_n != SIL_B.UnitDelay_is) { SIL_DW.is_c44_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ca = 0U; + SIL_DW.temporalCounter_i1_d3 = 0U; idx = 1; - SIL_DW.last_seq_f = SIL_B.UnitDelay_is; + SIL_DW.last_seq_n = SIL_B.UnitDelay_is; } else { idx = 0; } - } else if (SIL_DW.last_seq_f != SIL_B.UnitDelay_is) { + } else if (SIL_DW.last_seq_n != SIL_B.UnitDelay_is) { SIL_DW.is_c44_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ca = 0U; + SIL_DW.temporalCounter_i1_d3 = 0U; idx = 1; - SIL_DW.last_seq_f = SIL_B.UnitDelay_is; - } else if (SIL_DW.temporalCounter_i1_ca >= 200U) { + SIL_DW.last_seq_n = SIL_B.UnitDelay_is; + } else if (SIL_DW.temporalCounter_i1_d3 >= 200U) { SIL_DW.is_c44_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_f = SIL_B.UnitDelay_is; + SIL_DW.last_seq_n = SIL_B.UnitDelay_is; idx = 0; } else { idx = 1; @@ -14951,29 +14972,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_dy < 255U) { - SIL_DW.temporalCounter_i1_dy++; + if (SIL_DW.temporalCounter_i1_k < 255U) { + SIL_DW.temporalCounter_i1_k++; } if (SIL_DW.is_active_c49_kb3_autopilot == 0U) { SIL_DW.is_active_c49_kb3_autopilot = 1U; SIL_DW.is_c49_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_m = SIL_B.UnitDelay_is; + SIL_DW.last_seq_j = SIL_B.UnitDelay_is; } else if (SIL_DW.is_c49_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_m != SIL_B.UnitDelay_is) { + if (SIL_DW.last_seq_j != SIL_B.UnitDelay_is) { SIL_DW.is_c49_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_dy = 0U; + SIL_DW.temporalCounter_i1_k = 0U; idx |= 2U; - SIL_DW.last_seq_m = SIL_B.UnitDelay_is; + SIL_DW.last_seq_j = SIL_B.UnitDelay_is; } - } else if (SIL_DW.last_seq_m != SIL_B.UnitDelay_is) { + } else if (SIL_DW.last_seq_j != SIL_B.UnitDelay_is) { SIL_DW.is_c49_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_dy = 0U; + SIL_DW.temporalCounter_i1_k = 0U; idx |= 2U; - SIL_DW.last_seq_m = SIL_B.UnitDelay_is; - } else if (SIL_DW.temporalCounter_i1_dy >= 200U) { + SIL_DW.last_seq_j = SIL_B.UnitDelay_is; + } else if (SIL_DW.temporalCounter_i1_k >= 200U) { SIL_DW.is_c49_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_m = SIL_B.UnitDelay_is; + SIL_DW.last_seq_j = SIL_B.UnitDelay_is; } else { idx |= 2U; } @@ -14981,29 +15002,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_d < 255U) { - SIL_DW.temporalCounter_i1_d++; + if (SIL_DW.temporalCounter_i1_hk < 255U) { + SIL_DW.temporalCounter_i1_hk++; } if (SIL_DW.is_active_c59_kb3_autopilot == 0U) { SIL_DW.is_active_c59_kb3_autopilot = 1U; SIL_DW.is_c59_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_ea = SIL_B.good_d; + SIL_DW.last_seq_o = SIL_B.good_d; } else if (SIL_DW.is_c59_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_ea != SIL_B.good_d) { + if (SIL_DW.last_seq_o != SIL_B.good_d) { SIL_DW.is_c59_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_d = 0U; + SIL_DW.temporalCounter_i1_hk = 0U; idx |= 4U; - SIL_DW.last_seq_ea = SIL_B.good_d; + SIL_DW.last_seq_o = SIL_B.good_d; } - } else if (SIL_DW.last_seq_ea != SIL_B.good_d) { + } else if (SIL_DW.last_seq_o != SIL_B.good_d) { SIL_DW.is_c59_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_d = 0U; + SIL_DW.temporalCounter_i1_hk = 0U; idx |= 4U; - SIL_DW.last_seq_ea = SIL_B.good_d; - } else if (SIL_DW.temporalCounter_i1_d >= 200U) { + SIL_DW.last_seq_o = SIL_B.good_d; + } else if (SIL_DW.temporalCounter_i1_hk >= 200U) { SIL_DW.is_c59_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_ea = SIL_B.good_d; + SIL_DW.last_seq_o = SIL_B.good_d; } else { idx |= 4U; } @@ -15011,29 +15032,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_p5 < 255U) { - SIL_DW.temporalCounter_i1_p5++; + if (SIL_DW.temporalCounter_i1_ay < 255U) { + SIL_DW.temporalCounter_i1_ay++; } if (SIL_DW.is_active_c62_kb3_autopilot == 0U) { SIL_DW.is_active_c62_kb3_autopilot = 1U; SIL_DW.is_c62_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_k = SIL_B.good_l; + SIL_DW.last_seq_p = SIL_B.good_l; } else if (SIL_DW.is_c62_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_k != SIL_B.good_l) { + if (SIL_DW.last_seq_p != SIL_B.good_l) { SIL_DW.is_c62_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_p5 = 0U; + SIL_DW.temporalCounter_i1_ay = 0U; idx |= 8U; - SIL_DW.last_seq_k = SIL_B.good_l; + SIL_DW.last_seq_p = SIL_B.good_l; } - } else if (SIL_DW.last_seq_k != SIL_B.good_l) { + } else if (SIL_DW.last_seq_p != SIL_B.good_l) { SIL_DW.is_c62_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_p5 = 0U; + SIL_DW.temporalCounter_i1_ay = 0U; idx |= 8U; - SIL_DW.last_seq_k = SIL_B.good_l; - } else if (SIL_DW.temporalCounter_i1_p5 >= 200U) { + SIL_DW.last_seq_p = SIL_B.good_l; + } else if (SIL_DW.temporalCounter_i1_ay >= 200U) { SIL_DW.is_c62_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_k = SIL_B.good_l; + SIL_DW.last_seq_p = SIL_B.good_l; } else { idx |= 8U; } @@ -15041,29 +15062,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_n < 255U) { - SIL_DW.temporalCounter_i1_n++; + if (SIL_DW.temporalCounter_i1_hn < 255U) { + SIL_DW.temporalCounter_i1_hn++; } if (SIL_DW.is_active_c64_kb3_autopilot == 0U) { SIL_DW.is_active_c64_kb3_autopilot = 1U; SIL_DW.is_c64_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_eg = SIL_B.good_g; + SIL_DW.last_seq_a3 = SIL_B.good_g; } else if (SIL_DW.is_c64_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_eg != SIL_B.good_g) { + if (SIL_DW.last_seq_a3 != SIL_B.good_g) { SIL_DW.is_c64_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_n = 0U; + SIL_DW.temporalCounter_i1_hn = 0U; idx |= 16U; - SIL_DW.last_seq_eg = SIL_B.good_g; + SIL_DW.last_seq_a3 = SIL_B.good_g; } - } else if (SIL_DW.last_seq_eg != SIL_B.good_g) { + } else if (SIL_DW.last_seq_a3 != SIL_B.good_g) { SIL_DW.is_c64_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_n = 0U; + SIL_DW.temporalCounter_i1_hn = 0U; idx |= 16U; - SIL_DW.last_seq_eg = SIL_B.good_g; - } else if (SIL_DW.temporalCounter_i1_n >= 200U) { + SIL_DW.last_seq_a3 = SIL_B.good_g; + } else if (SIL_DW.temporalCounter_i1_hn >= 200U) { SIL_DW.is_c64_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_eg = SIL_B.good_g; + SIL_DW.last_seq_a3 = SIL_B.good_g; } else { idx |= 16U; } @@ -15071,29 +15092,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_hz < 255U) { - SIL_DW.temporalCounter_i1_hz++; + if (SIL_DW.temporalCounter_i1_n < 255U) { + SIL_DW.temporalCounter_i1_n++; } if (SIL_DW.is_active_c67_kb3_autopilot == 0U) { SIL_DW.is_active_c67_kb3_autopilot = 1U; SIL_DW.is_c67_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_a = SIL_B.good_m; + SIL_DW.last_seq_ew = SIL_B.good_m; } else if (SIL_DW.is_c67_kb3_autopilot == SIL_IN_bad) { - if (SIL_B.SZN_ok && (SIL_DW.last_seq_a != SIL_B.good_m)) { + if (SIL_B.SZN_ok && (SIL_DW.last_seq_ew != SIL_B.good_m)) { SIL_DW.is_c67_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_hz = 0U; + SIL_DW.temporalCounter_i1_n = 0U; idx |= 32U; - SIL_DW.last_seq_a = SIL_B.good_m; + SIL_DW.last_seq_ew = SIL_B.good_m; } - } else if (SIL_B.SZN_ok && (SIL_DW.last_seq_a != SIL_B.good_m)) { + } else if (SIL_B.SZN_ok && (SIL_DW.last_seq_ew != SIL_B.good_m)) { SIL_DW.is_c67_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_hz = 0U; + SIL_DW.temporalCounter_i1_n = 0U; idx |= 32U; - SIL_DW.last_seq_a = SIL_B.good_m; - } else if (SIL_DW.temporalCounter_i1_hz >= 200U) { + SIL_DW.last_seq_ew = SIL_B.good_m; + } else if (SIL_DW.temporalCounter_i1_n >= 200U) { SIL_DW.is_c67_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_a = SIL_B.good_m; + SIL_DW.last_seq_ew = SIL_B.good_m; } else { idx |= 32U; } @@ -15101,8 +15122,8 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_pg < 255U) { - SIL_DW.temporalCounter_i1_pg++; + if (SIL_DW.temporalCounter_i1_d < 255U) { + SIL_DW.temporalCounter_i1_d++; } if (SIL_DW.is_active_c68_kb3_autopilot == 0U) { @@ -15112,16 +15133,16 @@ void SIL_step(void) } else if (SIL_DW.is_c68_kb3_autopilot == SIL_IN_bad) { if (SIL_DW.last_seq_e != SIL_B.UnitDelay_is) { SIL_DW.is_c68_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pg = 0U; + SIL_DW.temporalCounter_i1_d = 0U; idx |= 64U; SIL_DW.last_seq_e = SIL_B.UnitDelay_is; } } else if (SIL_DW.last_seq_e != SIL_B.UnitDelay_is) { SIL_DW.is_c68_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pg = 0U; + SIL_DW.temporalCounter_i1_d = 0U; idx |= 64U; SIL_DW.last_seq_e = SIL_B.UnitDelay_is; - } else if (SIL_DW.temporalCounter_i1_pg >= 200U) { + } else if (SIL_DW.temporalCounter_i1_d >= 200U) { SIL_DW.is_c68_kb3_autopilot = SIL_IN_bad; SIL_DW.last_seq_e = SIL_B.UnitDelay_is; } else { @@ -15131,29 +15152,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_pk < 255U) { - SIL_DW.temporalCounter_i1_pk++; + if (SIL_DW.temporalCounter_i1_ak < 255U) { + SIL_DW.temporalCounter_i1_ak++; } if (SIL_DW.is_active_c69_kb3_autopilot == 0U) { SIL_DW.is_active_c69_kb3_autopilot = 1U; SIL_DW.is_c69_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_b = SIL_B.UnitDelay_is; + SIL_DW.last_seq_a = SIL_B.UnitDelay_is; } else if (SIL_DW.is_c69_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_b != SIL_B.UnitDelay_is) { + if (SIL_DW.last_seq_a != SIL_B.UnitDelay_is) { SIL_DW.is_c69_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pk = 0U; + SIL_DW.temporalCounter_i1_ak = 0U; idx |= 128U; - SIL_DW.last_seq_b = SIL_B.UnitDelay_is; + SIL_DW.last_seq_a = SIL_B.UnitDelay_is; } - } else if (SIL_DW.last_seq_b != SIL_B.UnitDelay_is) { + } else if (SIL_DW.last_seq_a != SIL_B.UnitDelay_is) { SIL_DW.is_c69_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pk = 0U; + SIL_DW.temporalCounter_i1_ak = 0U; idx |= 128U; - SIL_DW.last_seq_b = SIL_B.UnitDelay_is; - } else if (SIL_DW.temporalCounter_i1_pk >= 200U) { + SIL_DW.last_seq_a = SIL_B.UnitDelay_is; + } else if (SIL_DW.temporalCounter_i1_ak >= 200U) { SIL_DW.is_c69_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_b = SIL_B.UnitDelay_is; + SIL_DW.last_seq_a = SIL_B.UnitDelay_is; } else { idx |= 128U; } @@ -15161,8 +15182,8 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_kq < 255U) { - SIL_DW.temporalCounter_i1_kq++; + if (SIL_DW.temporalCounter_i1_m < 255U) { + SIL_DW.temporalCounter_i1_m++; } if (SIL_DW.is_active_c70_kb3_autopilot == 0U) { @@ -15172,16 +15193,16 @@ void SIL_step(void) } else if (SIL_DW.is_c70_kb3_autopilot == SIL_IN_bad) { if (SIL_DW.last_seq != rtb_UnitDelay_e) { SIL_DW.is_c70_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_kq = 0U; + SIL_DW.temporalCounter_i1_m = 0U; idx |= 256U; SIL_DW.last_seq = rtb_UnitDelay_e; } } else if (SIL_DW.last_seq != rtb_UnitDelay_e) { SIL_DW.is_c70_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_kq = 0U; + SIL_DW.temporalCounter_i1_m = 0U; idx |= 256U; SIL_DW.last_seq = rtb_UnitDelay_e; - } else if (SIL_DW.temporalCounter_i1_kq >= 200U) { + } else if (SIL_DW.temporalCounter_i1_m >= 200U) { SIL_DW.is_c70_kb3_autopilot = SIL_IN_bad; SIL_DW.last_seq = rtb_UnitDelay_e; } else { @@ -15191,29 +15212,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_j < 255U) { - SIL_DW.temporalCounter_i1_j++; + if (SIL_DW.temporalCounter_i1_kn < 255U) { + SIL_DW.temporalCounter_i1_kn++; } if (SIL_DW.is_active_c45_kb3_autopilot == 0U) { SIL_DW.is_active_c45_kb3_autopilot = 1U; SIL_DW.is_c45_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_n = rtb_UnitDelay_o; + SIL_DW.last_seq_m = rtb_UnitDelay_o; } else if (SIL_DW.is_c45_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_n != rtb_UnitDelay_o) { + if (SIL_DW.last_seq_m != rtb_UnitDelay_o) { SIL_DW.is_c45_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_j = 0U; + SIL_DW.temporalCounter_i1_kn = 0U; idx |= 512U; - SIL_DW.last_seq_n = rtb_UnitDelay_o; + SIL_DW.last_seq_m = rtb_UnitDelay_o; } - } else if (SIL_DW.last_seq_n != rtb_UnitDelay_o) { + } else if (SIL_DW.last_seq_m != rtb_UnitDelay_o) { SIL_DW.is_c45_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_j = 0U; + SIL_DW.temporalCounter_i1_kn = 0U; idx |= 512U; - SIL_DW.last_seq_n = rtb_UnitDelay_o; - } else if (SIL_DW.temporalCounter_i1_j >= 200U) { + SIL_DW.last_seq_m = rtb_UnitDelay_o; + } else if (SIL_DW.temporalCounter_i1_kn >= 200U) { SIL_DW.is_c45_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_n = rtb_UnitDelay_o; + SIL_DW.last_seq_m = rtb_UnitDelay_o; } else { idx |= 512U; } @@ -15221,29 +15242,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_n4 < 255U) { - SIL_DW.temporalCounter_i1_n4++; + if (SIL_DW.temporalCounter_i1_ie < 255U) { + SIL_DW.temporalCounter_i1_ie++; } if (SIL_DW.is_active_c46_kb3_autopilot == 0U) { SIL_DW.is_active_c46_kb3_autopilot = 1U; SIL_DW.is_c46_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_l = rtb_UnitDelay_fu; + SIL_DW.last_seq_e2 = rtb_UnitDelay_fu; } else if (SIL_DW.is_c46_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_l != rtb_UnitDelay_fu) { + if (SIL_DW.last_seq_e2 != rtb_UnitDelay_fu) { SIL_DW.is_c46_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_n4 = 0U; + SIL_DW.temporalCounter_i1_ie = 0U; idx |= 1024U; - SIL_DW.last_seq_l = rtb_UnitDelay_fu; + SIL_DW.last_seq_e2 = rtb_UnitDelay_fu; } - } else if (SIL_DW.last_seq_l != rtb_UnitDelay_fu) { + } else if (SIL_DW.last_seq_e2 != rtb_UnitDelay_fu) { SIL_DW.is_c46_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_n4 = 0U; + SIL_DW.temporalCounter_i1_ie = 0U; idx |= 1024U; - SIL_DW.last_seq_l = rtb_UnitDelay_fu; - } else if (SIL_DW.temporalCounter_i1_n4 >= 200U) { + SIL_DW.last_seq_e2 = rtb_UnitDelay_fu; + } else if (SIL_DW.temporalCounter_i1_ie >= 200U) { SIL_DW.is_c46_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_l = rtb_UnitDelay_fu; + SIL_DW.last_seq_e2 = rtb_UnitDelay_fu; } else { idx |= 1024U; } @@ -15251,29 +15272,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_l < 255U) { - SIL_DW.temporalCounter_i1_l++; + if (SIL_DW.temporalCounter_i1_eb < 255U) { + SIL_DW.temporalCounter_i1_eb++; } if (SIL_DW.is_active_c47_kb3_autopilot == 0U) { SIL_DW.is_active_c47_kb3_autopilot = 1U; SIL_DW.is_c47_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_i = rtb_UnitDelay_j; + SIL_DW.last_seq_g = rtb_UnitDelay_j; } else if (SIL_DW.is_c47_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_i != rtb_UnitDelay_j) { + if (SIL_DW.last_seq_g != rtb_UnitDelay_j) { SIL_DW.is_c47_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_l = 0U; + SIL_DW.temporalCounter_i1_eb = 0U; idx |= 2048U; - SIL_DW.last_seq_i = rtb_UnitDelay_j; + SIL_DW.last_seq_g = rtb_UnitDelay_j; } - } else if (SIL_DW.last_seq_i != rtb_UnitDelay_j) { + } else if (SIL_DW.last_seq_g != rtb_UnitDelay_j) { SIL_DW.is_c47_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_l = 0U; + SIL_DW.temporalCounter_i1_eb = 0U; idx |= 2048U; - SIL_DW.last_seq_i = rtb_UnitDelay_j; - } else if (SIL_DW.temporalCounter_i1_l >= 200U) { + SIL_DW.last_seq_g = rtb_UnitDelay_j; + } else if (SIL_DW.temporalCounter_i1_eb >= 200U) { SIL_DW.is_c47_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_i = rtb_UnitDelay_j; + SIL_DW.last_seq_g = rtb_UnitDelay_j; } else { idx |= 2048U; } @@ -15288,29 +15309,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_oh < 255U) { - SIL_DW.temporalCounter_i1_oh++; + if (SIL_DW.temporalCounter_i1_foy < 255U) { + SIL_DW.temporalCounter_i1_foy++; } if (SIL_DW.is_active_c54_kb3_autopilot == 0U) { SIL_DW.is_active_c54_kb3_autopilot = 1U; SIL_DW.is_c54_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_mw = SIL_B.UnitDelay_f[0]; + SIL_DW.last_seq_d2 = SIL_B.UnitDelay_f[0]; } else if (SIL_DW.is_c54_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_mw != SIL_B.UnitDelay_f[0]) { + if (SIL_DW.last_seq_d2 != SIL_B.UnitDelay_f[0]) { SIL_DW.is_c54_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_oh = 0U; + SIL_DW.temporalCounter_i1_foy = 0U; idx |= 8192U; - SIL_DW.last_seq_mw = SIL_B.UnitDelay_f[0]; + SIL_DW.last_seq_d2 = SIL_B.UnitDelay_f[0]; } - } else if (SIL_DW.last_seq_mw != SIL_B.UnitDelay_f[0]) { + } else if (SIL_DW.last_seq_d2 != SIL_B.UnitDelay_f[0]) { SIL_DW.is_c54_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_oh = 0U; + SIL_DW.temporalCounter_i1_foy = 0U; idx |= 8192U; - SIL_DW.last_seq_mw = SIL_B.UnitDelay_f[0]; - } else if (SIL_DW.temporalCounter_i1_oh >= 200U) { + SIL_DW.last_seq_d2 = SIL_B.UnitDelay_f[0]; + } else if (SIL_DW.temporalCounter_i1_foy >= 200U) { SIL_DW.is_c54_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_mw = SIL_B.UnitDelay_f[0]; + SIL_DW.last_seq_d2 = SIL_B.UnitDelay_f[0]; } else { idx |= 8192U; } @@ -15318,29 +15339,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_pb < 255U) { - SIL_DW.temporalCounter_i1_pb++; + if (SIL_DW.temporalCounter_i1_et < 255U) { + SIL_DW.temporalCounter_i1_et++; } if (SIL_DW.is_active_c55_kb3_autopilot == 0U) { SIL_DW.is_active_c55_kb3_autopilot = 1U; SIL_DW.is_c55_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_lg = SIL_B.UnitDelay_f[1]; + SIL_DW.last_seq_nu = SIL_B.UnitDelay_f[1]; } else if (SIL_DW.is_c55_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_lg != SIL_B.UnitDelay_f[1]) { + if (SIL_DW.last_seq_nu != SIL_B.UnitDelay_f[1]) { SIL_DW.is_c55_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pb = 0U; + SIL_DW.temporalCounter_i1_et = 0U; idx |= 16384U; - SIL_DW.last_seq_lg = SIL_B.UnitDelay_f[1]; + SIL_DW.last_seq_nu = SIL_B.UnitDelay_f[1]; } - } else if (SIL_DW.last_seq_lg != SIL_B.UnitDelay_f[1]) { + } else if (SIL_DW.last_seq_nu != SIL_B.UnitDelay_f[1]) { SIL_DW.is_c55_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_pb = 0U; + SIL_DW.temporalCounter_i1_et = 0U; idx |= 16384U; - SIL_DW.last_seq_lg = SIL_B.UnitDelay_f[1]; - } else if (SIL_DW.temporalCounter_i1_pb >= 200U) { + SIL_DW.last_seq_nu = SIL_B.UnitDelay_f[1]; + } else if (SIL_DW.temporalCounter_i1_et >= 200U) { SIL_DW.is_c55_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_lg = SIL_B.UnitDelay_f[1]; + SIL_DW.last_seq_nu = SIL_B.UnitDelay_f[1]; } else { idx |= 16384U; } @@ -15348,29 +15369,29 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_g < 255U) { - SIL_DW.temporalCounter_i1_g++; + if (SIL_DW.temporalCounter_i1_fk < 255U) { + SIL_DW.temporalCounter_i1_fk++; } if (SIL_DW.is_active_c56_kb3_autopilot == 0U) { SIL_DW.is_active_c56_kb3_autopilot = 1U; SIL_DW.is_c56_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_iq = SIL_B.UnitDelay_f[2]; + SIL_DW.last_seq_pm = SIL_B.UnitDelay_f[2]; } else if (SIL_DW.is_c56_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_iq != SIL_B.UnitDelay_f[2]) { + if (SIL_DW.last_seq_pm != SIL_B.UnitDelay_f[2]) { SIL_DW.is_c56_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_g = 0U; + SIL_DW.temporalCounter_i1_fk = 0U; idx |= 32768U; - SIL_DW.last_seq_iq = SIL_B.UnitDelay_f[2]; + SIL_DW.last_seq_pm = SIL_B.UnitDelay_f[2]; } - } else if (SIL_DW.last_seq_iq != SIL_B.UnitDelay_f[2]) { + } else if (SIL_DW.last_seq_pm != SIL_B.UnitDelay_f[2]) { SIL_DW.is_c56_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_g = 0U; + SIL_DW.temporalCounter_i1_fk = 0U; idx |= 32768U; - SIL_DW.last_seq_iq = SIL_B.UnitDelay_f[2]; - } else if (SIL_DW.temporalCounter_i1_g >= 200U) { + SIL_DW.last_seq_pm = SIL_B.UnitDelay_f[2]; + } else if (SIL_DW.temporalCounter_i1_fk >= 200U) { SIL_DW.is_c56_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_iq = SIL_B.UnitDelay_f[2]; + SIL_DW.last_seq_pm = SIL_B.UnitDelay_f[2]; } else { idx |= 32768U; } @@ -15378,65 +15399,65 @@ void SIL_step(void) /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_b < 255U) { - SIL_DW.temporalCounter_i1_b++; + if (SIL_DW.temporalCounter_i1_cj < 255U) { + SIL_DW.temporalCounter_i1_cj++; } if (SIL_DW.is_active_c57_kb3_autopilot == 0U) { SIL_DW.is_active_c57_kb3_autopilot = 1U; SIL_DW.is_c57_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_p = SIL_B.UnitDelay_f[3]; - rtb_out_jr = (uint32_T)idx; + SIL_DW.last_seq_in = SIL_B.UnitDelay_f[3]; + rtb_out_ob = (uint32_T)idx; } else if (SIL_DW.is_c57_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_p != SIL_B.UnitDelay_f[3]) { + if (SIL_DW.last_seq_in != SIL_B.UnitDelay_f[3]) { SIL_DW.is_c57_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_b = 0U; - rtb_out_jr = idx | 65536U; - SIL_DW.last_seq_p = SIL_B.UnitDelay_f[3]; + SIL_DW.temporalCounter_i1_cj = 0U; + rtb_out_ob = idx | 65536U; + SIL_DW.last_seq_in = SIL_B.UnitDelay_f[3]; } else { - rtb_out_jr = (uint32_T)idx; + rtb_out_ob = (uint32_T)idx; } - } else if (SIL_DW.last_seq_p != SIL_B.UnitDelay_f[3]) { + } else if (SIL_DW.last_seq_in != SIL_B.UnitDelay_f[3]) { SIL_DW.is_c57_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_b = 0U; - rtb_out_jr = idx | 65536U; - SIL_DW.last_seq_p = SIL_B.UnitDelay_f[3]; - } else if (SIL_DW.temporalCounter_i1_b >= 200U) { + SIL_DW.temporalCounter_i1_cj = 0U; + rtb_out_ob = idx | 65536U; + SIL_DW.last_seq_in = SIL_B.UnitDelay_f[3]; + } else if (SIL_DW.temporalCounter_i1_cj >= 200U) { SIL_DW.is_c57_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_p = SIL_B.UnitDelay_f[3]; - rtb_out_jr = (uint32_T)idx; + SIL_DW.last_seq_in = SIL_B.UnitDelay_f[3]; + rtb_out_ob = (uint32_T)idx; } else { - rtb_out_jr = idx | 65536U; + rtb_out_ob = idx | 65536U; } /* End of Chart: '/Chart' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_ol < 255U) { - SIL_DW.temporalCounter_i1_ol++; + if (SIL_DW.temporalCounter_i1_ib < 255U) { + SIL_DW.temporalCounter_i1_ib++; } if (SIL_DW.is_active_c58_kb3_autopilot == 0U) { SIL_DW.is_active_c58_kb3_autopilot = 1U; SIL_DW.is_c58_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_mo = SIL_B.UnitDelay_f[4]; + SIL_DW.last_seq_ma = SIL_B.UnitDelay_f[4]; } else if (SIL_DW.is_c58_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_mo != SIL_B.UnitDelay_f[4]) { + if (SIL_DW.last_seq_ma != SIL_B.UnitDelay_f[4]) { SIL_DW.is_c58_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ol = 0U; - rtb_out_jr |= 131072U; - SIL_DW.last_seq_mo = SIL_B.UnitDelay_f[4]; + SIL_DW.temporalCounter_i1_ib = 0U; + rtb_out_ob |= 131072U; + SIL_DW.last_seq_ma = SIL_B.UnitDelay_f[4]; } - } else if (SIL_DW.last_seq_mo != SIL_B.UnitDelay_f[4]) { + } else if (SIL_DW.last_seq_ma != SIL_B.UnitDelay_f[4]) { SIL_DW.is_c58_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ol = 0U; - rtb_out_jr |= 131072U; - SIL_DW.last_seq_mo = SIL_B.UnitDelay_f[4]; - } else if (SIL_DW.temporalCounter_i1_ol >= 200U) { + SIL_DW.temporalCounter_i1_ib = 0U; + rtb_out_ob |= 131072U; + SIL_DW.last_seq_ma = SIL_B.UnitDelay_f[4]; + } else if (SIL_DW.temporalCounter_i1_ib >= 200U) { SIL_DW.is_c58_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_mo = SIL_B.UnitDelay_f[4]; + SIL_DW.last_seq_ma = SIL_B.UnitDelay_f[4]; } else { - rtb_out_jr |= 131072U; + rtb_out_ob |= 131072U; } /* End of Chart: '/Chart' */ @@ -15448,37 +15469,37 @@ void SIL_step(void) * Chart: '/Chart' * DataStoreRead: '/Data Store Read' */ - rtb_out_jr = (uint32_T)(SIL_DW.CC.recovery & 2) << 17 | rtb_out_jr | + rtb_out_ob = (uint32_T)(SIL_DW.CC.recovery & 2) << 17 | rtb_out_ob | (uint32_T)(SIL_DW.CC.recovery & 4) << 17 | (uint32_T)(SIL_DW.CC.recovery & 8) << 17 | (uint32_T)(SIL_DW.CC.recovery & 32) << 16 | (uint32_T) (SIL_B.stats & 63) << 22; /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_o < 255U) { - SIL_DW.temporalCounter_i1_o++; + if (SIL_DW.temporalCounter_i1_dp < 255U) { + SIL_DW.temporalCounter_i1_dp++; } if (SIL_DW.is_active_c50_kb3_autopilot == 0U) { SIL_DW.is_active_c50_kb3_autopilot = 1U; SIL_DW.is_c50_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_j = SIL_B.good; + SIL_DW.last_seq_d = SIL_B.good; } else if (SIL_DW.is_c50_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_j != SIL_B.good) { + if (SIL_DW.last_seq_d != SIL_B.good) { SIL_DW.is_c50_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_o = 0U; - rtb_out_jr |= 268435456U; - SIL_DW.last_seq_j = SIL_B.good; + SIL_DW.temporalCounter_i1_dp = 0U; + rtb_out_ob |= 268435456U; + SIL_DW.last_seq_d = SIL_B.good; } - } else if (SIL_DW.last_seq_j != SIL_B.good) { + } else if (SIL_DW.last_seq_d != SIL_B.good) { SIL_DW.is_c50_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_o = 0U; - rtb_out_jr |= 268435456U; - SIL_DW.last_seq_j = SIL_B.good; - } else if (SIL_DW.temporalCounter_i1_o >= 200U) { + SIL_DW.temporalCounter_i1_dp = 0U; + rtb_out_ob |= 268435456U; + SIL_DW.last_seq_d = SIL_B.good; + } else if (SIL_DW.temporalCounter_i1_dp >= 200U) { SIL_DW.is_c50_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_j = SIL_B.good; + SIL_DW.last_seq_d = SIL_B.good; } else { - rtb_out_jr |= 268435456U; + rtb_out_ob |= 268435456U; } /* End of Chart: '/Chart' */ @@ -15486,31 +15507,31 @@ void SIL_step(void) /* Chart: '/Chart' incorporates: * UnitDelay: '/Unit Delay' */ - if (SIL_DW.temporalCounter_i1_ki < 255U) { - SIL_DW.temporalCounter_i1_ki++; + if (SIL_DW.temporalCounter_i1_h0 < 255U) { + SIL_DW.temporalCounter_i1_h0++; } if (SIL_DW.is_active_c60_kb3_autopilot == 0U) { SIL_DW.is_active_c60_kb3_autopilot = 1U; SIL_DW.is_c60_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_bo = SIL_DW.UnitDelay_DSTATE_l5; + SIL_DW.last_seq_i = SIL_DW.UnitDelay_DSTATE_l5; } else if (SIL_DW.is_c60_kb3_autopilot == SIL_IN_bad) { - if (SIL_DW.last_seq_bo != SIL_DW.UnitDelay_DSTATE_l5) { + if (SIL_DW.last_seq_i != SIL_DW.UnitDelay_DSTATE_l5) { SIL_DW.is_c60_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ki = 0U; - rtb_out_jr |= 536870912U; - SIL_DW.last_seq_bo = SIL_DW.UnitDelay_DSTATE_l5; + SIL_DW.temporalCounter_i1_h0 = 0U; + rtb_out_ob |= 536870912U; + SIL_DW.last_seq_i = SIL_DW.UnitDelay_DSTATE_l5; } - } else if (SIL_DW.last_seq_bo != SIL_DW.UnitDelay_DSTATE_l5) { + } else if (SIL_DW.last_seq_i != SIL_DW.UnitDelay_DSTATE_l5) { SIL_DW.is_c60_kb3_autopilot = SIL_IN_good; - SIL_DW.temporalCounter_i1_ki = 0U; - rtb_out_jr |= 536870912U; - SIL_DW.last_seq_bo = SIL_DW.UnitDelay_DSTATE_l5; - } else if (SIL_DW.temporalCounter_i1_ki >= 200U) { + SIL_DW.temporalCounter_i1_h0 = 0U; + rtb_out_ob |= 536870912U; + SIL_DW.last_seq_i = SIL_DW.UnitDelay_DSTATE_l5; + } else if (SIL_DW.temporalCounter_i1_h0 >= 200U) { SIL_DW.is_c60_kb3_autopilot = SIL_IN_bad; - SIL_DW.last_seq_bo = SIL_DW.UnitDelay_DSTATE_l5; + SIL_DW.last_seq_i = SIL_DW.UnitDelay_DSTATE_l5; } else { - rtb_out_jr |= 536870912U; + rtb_out_ob |= 536870912U; } /* End of Chart: '/Chart' */ @@ -15519,7 +15540,7 @@ void SIL_step(void) * DataStoreRead: '/Data Store Read' */ if (SIL_DW.CC.enable_rec) { - rtb_out_jr |= 1073741824U; + rtb_out_ob |= 1073741824U; } /* End of Chart: '/Chart' */ @@ -15536,10 +15557,10 @@ void SIL_step(void) */ if (SIL_DW.CC.linked) { /* BusAssignment: '/Bus Assignment' */ - SIL_B.BusAssignment_j.sensors_health = rtb_out_jr | 2147483648U; + SIL_B.BusAssignment_j.sensors_health = rtb_out_ob | 2147483648U; } else { /* BusAssignment: '/Bus Assignment' */ - SIL_B.BusAssignment_j.sensors_health = rtb_out_jr; + SIL_B.BusAssignment_j.sensors_health = rtb_out_ob; } /* End of Chart: '/Chart' */ @@ -15585,8 +15606,8 @@ void SIL_step(void) /* Chart: '/valid_checking' incorporates: * Inport: '/sbus_in' */ - if (SIL_DW.temporalCounter_i1_b5 < 255U) { - SIL_DW.temporalCounter_i1_b5++; + if (SIL_DW.temporalCounter_i1_b < 255U) { + SIL_DW.temporalCounter_i1_b++; } if (SIL_DW.is_active_c54_update_rc == 0U) { @@ -15610,11 +15631,11 @@ void SIL_step(void) } SIL_DW.is_c54_update_rc = SIL_IN_connected; - SIL_DW.temporalCounter_i1_b5 = 0U; + SIL_DW.temporalCounter_i1_b = 0U; SIL_DW.id1 = SIL_U.sbus_in.id; SIL_DW.seq1 = SIL_U.sbus_in.seq; } else { - if (SIL_DW.temporalCounter_i1_b5 >= 200U) { + if (SIL_DW.temporalCounter_i1_b >= 200U) { SIL_DW.is_c54_update_rc = SIL_IN_disconnected; SIL_DW.seq1 = SIL_U.sbus_in.seq; SIL_B.valid_n = false; @@ -15624,7 +15645,7 @@ void SIL_step(void) } else { if (SIL_DW.seq1 != SIL_U.sbus_in.seq) { SIL_DW.is_c54_update_rc = SIL_IN_connected; - SIL_DW.temporalCounter_i1_b5 = 0U; + SIL_DW.temporalCounter_i1_b = 0U; SIL_DW.id1 = SIL_U.sbus_in.id; SIL_DW.seq1 = SIL_U.sbus_in.seq; } @@ -15752,10 +15773,85 @@ void SIL_step(void) /* UnitDelay: '/Unit Delay' */ SIL_B.UnitDelay = SIL_DW.UnitDelay_DSTATE; + /* 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_e, 5U); + /* Lookup_n-D: '/1-D Lookup Table' */ rtb_table1D_thrAB_map_g = look1_iflf_pbinlcapw(SIL_B.UnitDelay.abs_alt, SIL_P.alt_lst, SIL_P.tas_qc, &SIL_DW.m_bpIndex_m1, 5U); + /* 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' + */ + switch (SIL_DW.CC.AS_SEL) { + case ENUM_AS_SEL_QC_TAS: + /* Outputs for IfAction SubSystem: '/climb_char' incorporates: + * ActionPort: '/Action Port' + */ + /* SignalConversion: '/sens_BusSelector' */ + rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; + + /* End of Outputs for SubSystem: '/climb_char' */ + break; + + case ENUM_AS_SEL_GLIDE_TAS: + /* Outputs for IfAction SubSystem: '/dec_char' incorporates: + * ActionPort: '/Action Port' + */ + rtb_table1D_thrAB_map_g = scale; + + /* SignalConversion: '/sens_BusSelector' incorporates: + * Inport: '/tas_gl' + */ + rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; + + /* End of Outputs for SubSystem: '/dec_char' */ + break; + + case ENUM_AS_SEL_MACH: + /* Outputs for IfAction SubSystem: '/Mach' incorporates: + * ActionPort: '/Action Port' + */ + /* Product: '/product' */ + rtb_table1D_thrAB_map_g = SIL_DW.CC.as_c * + SIL_B.BusAssignment_j.SoundSpeed; + + /* SignalConversion: '/sens_BusSelector' */ + rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; + + /* End of Outputs for SubSystem: '/Mach' */ + break; + + case ENUM_AS_SEL_TAS: + /* Outputs for IfAction SubSystem: '/TAS' incorporates: + * ActionPort: '/Action Port' + */ + rtb_table1D_thrAB_map_g = SIL_DW.CC.as_c; + rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; + + /* End of Outputs for SubSystem: '/TAS' */ + break; + + default: + /* Outputs for IfAction SubSystem: '/IAS' incorporates: + * ActionPort: '/Action Port' + */ + rtb_table1D_thrAB_map_g = SIL_DW.CC.as_c; + rtb_Merge1_aq = SIL_B.BusAssignment_j.IAS; + + /* End of Outputs for SubSystem: '/IAS' */ + break; + } + + /* End of SwitchCase: '/Switch Case' */ + /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { rtb_Sum_pz = 6125.0F; @@ -15767,9 +15863,9 @@ void SIL_step(void) /* Saturate: '/Saturation1' */ if (SIL_B.UnitDelay.v_gv <= 100.0F) { - rtb_Merge1_aq = 100.0F; + rtb_Sum1_cv = 100.0F; } else { - rtb_Merge1_aq = SIL_B.UnitDelay.v_gv; + rtb_Sum1_cv = SIL_B.UnitDelay.v_gv; } /* End of Saturate: '/Saturation1' */ @@ -15780,81 +15876,7 @@ void SIL_step(void) * Constant: '/Sc_Iyy' */ rtb_qbarSc = rtb_Sum_pz * SIL_P.RefArea * SIL_P.CLa / SIL_P.m / - rtb_Merge1_aq; - - /* Lookup_n-D: '/IAS_lookup' */ - rtb_IAS_lookup = look1_iflf_pbinlcapw(SIL_B.UnitDelay.abs_alt, - SIL_P.alt_lst, SIL_P.tas_gl, &SIL_DW.m_bpIndex_e, 5U); - - /* SwitchCase: '/Switch Case' incorporates: - * DataStoreRead: '/Data Store Read' - * Inport: '/as_c' - * Inport: '/ias' - * Inport: '/as_c' - * Inport: '/tas' - * Inport: '/tas_qc' - * 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' - */ - rtb_IAS_lookup = rtb_table1D_thrAB_map_g; - - /* SignalConversion: '/sens_BusSelector' incorporates: - * Inport: '/tas_qc' - */ - rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; - - /* End of Outputs for SubSystem: '/climb_char' */ - break; - - case ENUM_AS_SEL_GLIDE_TAS: - /* Outputs for IfAction SubSystem: '/dec_char' incorporates: - * ActionPort: '/Action Port' - */ - /* SignalConversion: '/sens_BusSelector' */ - rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; - - /* End of Outputs for SubSystem: '/dec_char' */ - break; - - case ENUM_AS_SEL_MACH: - /* Outputs for IfAction SubSystem: '/Mach' incorporates: - * ActionPort: '/Action Port' - */ - /* Product: '/product' */ - rtb_IAS_lookup = SIL_DW.CC.as_c * SIL_B.BusAssignment_j.SoundSpeed; - - /* SignalConversion: '/sens_BusSelector' */ - rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; - - /* End of Outputs for SubSystem: '/Mach' */ - break; - - case ENUM_AS_SEL_TAS: - /* Outputs for IfAction SubSystem: '/TAS' incorporates: - * ActionPort: '/Action Port' - */ - rtb_IAS_lookup = SIL_DW.CC.as_c; - rtb_Merge1_aq = SIL_B.BusAssignment_j.TAS; - - /* End of Outputs for SubSystem: '/TAS' */ - break; - - default: - /* Outputs for IfAction SubSystem: '/IAS' incorporates: - * ActionPort: '/Action Port' - */ - rtb_IAS_lookup = SIL_DW.CC.as_c; - rtb_Merge1_aq = SIL_B.BusAssignment_j.IAS; - - /* End of Outputs for SubSystem: '/IAS' */ - break; - } - - /* End of SwitchCase: '/Switch Case' */ + rtb_Sum1_cv; /* Saturate: '/Saturation2' */ if (SIL_B.BusAssignment_j.qbar <= 6125.0F) { @@ -15943,7 +15965,7 @@ void SIL_step(void) * Sum: '/err_hdot' * SwitchCase: '/Switch Case' */ - scale = rtb_IAS_lookup - rtb_Merge1_aq; + scale = rtb_table1D_thrAB_map_g - rtb_Merge1_aq; /* End of Outputs for SubSystem: '/as2tht' */ /* End of Outputs for SubSystem: '/AS' */ @@ -15958,13 +15980,13 @@ void SIL_step(void) } else { switch (SIL_DW.is_c18_kb3_autopilot) { case SIL_IN_Linked: - SIL_B.ack_b = true; + SIL_B.ack_o = true; SIL_DW.is_c18_kb3_autopilot = SIL_IN_idle_n; SIL_B.id = 0U; break; case SIL_IN_Linked2: - SIL_B.ack_b = false; + SIL_B.ack_o = false; SIL_DW.is_c18_kb3_autopilot = SIL_IN_idle_n; SIL_B.id = 0U; break; @@ -15978,7 +16000,7 @@ void SIL_step(void) ->params[idx]; } - SIL_B.ack_b = true; + SIL_B.ack_o = true; } else { if (SIL_sf_msg_pop_cmd2()) { SIL_DW.is_c18_kb3_autopilot = SIL_IN_Linked2; @@ -15988,7 +16010,7 @@ void SIL_step(void) ->params[idx]; } - SIL_B.ack_b = false; + SIL_B.ack_o = false; } } break; @@ -16009,12 +16031,12 @@ void SIL_step(void) } else if (SIL_DW.is_c14_C2_proc_comm == SIL_IN_idle_p) { if (SIL_sf_msg_pop_set_cur()) { SIL_DW.is_c14_C2_proc_comm = SIL_IN_process_set_cur; - rtb_out_jr = *(uint16_T *)SIL_DW.set_cur_msgDataPtr + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = *(uint16_T *)SIL_DW.set_cur_msgDataPtr + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.WP_cur = (uint16_T)rtb_out_jr; + SIL_B.WP_cur = (uint16_T)rtb_out_ob; } } else { SIL_DW.is_c14_C2_proc_comm = SIL_IN_idle_p; @@ -17191,7 +17213,7 @@ void SIL_step(void) /* End of Switch: '/Switch' */ /* Sum: '/Sum1' */ - rtb_IAS_lookup = rtb_Merge_k.trim_aos + SIL_B.BusAssignment_j.beta; + rtb_Sum1_cv = rtb_Merge_k.trim_aos + SIL_B.BusAssignment_j.beta; /* Switch: '/Switch' incorporates: * Constant: '/Constant BP' @@ -17199,8 +17221,8 @@ void SIL_step(void) * RelationalOperator: '/Compare' * Sum: '/Sum' */ - if (rtb_IAS_lookup > 3.14159274F) { - rtb_IAS_lookup -= 6.28318548F; + if (rtb_Sum1_cv > 3.14159274F) { + rtb_Sum1_cv -= 6.28318548F; } /* End of Switch: '/Switch' */ @@ -17229,15 +17251,15 @@ void SIL_step(void) * Constant: '/Constant' * RelationalOperator: '/Compare' */ - if (rtb_IAS_lookup < -3.14159274F) { + if (rtb_Sum1_cv < -3.14159274F) { /* BusAssignment: '/Bus Assignment' incorporates: * Constant: '/Constant BP' * Sum: '/Sum1' */ - rtb_Merge_b.trim_aos = 6.28318548F + rtb_IAS_lookup; + rtb_Merge_b.trim_aos = 6.28318548F + rtb_Sum1_cv; } else { /* BusAssignment: '/Bus Assignment' */ - rtb_Merge_b.trim_aos = rtb_IAS_lookup; + rtb_Merge_b.trim_aos = rtb_Sum1_cv; } /* End of Switch: '/Switch1' */ @@ -17404,9 +17426,9 @@ void SIL_step(void) /* End of SwitchCase: '/Switch Case' */ /* Chart: '/proc_cmd' */ - if (SIL_B.ack_b) { - SIL_DW.ack_msgData_k.id = SIL_B.id; - SIL_DW.ack_msgData_k.rslt = rtb_Merge1_h; + if (SIL_B.ack_o) { + SIL_DW.ack_msgData_h.id = SIL_B.id; + SIL_DW.ack_msgData_h.rslt = rtb_Merge1_h; SIL_sf_msg_send_ack(); } @@ -17698,7 +17720,7 @@ void SIL_step(void) } else { SIL_DW.t += 0.005F; SIL_DW.freq += SIL_B.BusAssignment.act_sw_k * 0.005F; - SIL_update_k(SIL_B.BusAssignment.act_sw_amp * sinf(SIL_DW.freq * + SIL_update_n(SIL_B.BusAssignment.act_sw_amp * sinf(SIL_DW.freq * SIL_DW.t)); } @@ -17968,12 +17990,12 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/get_WP' */ while (SIL_B.is_mission) { - rtb_out_jr = SIL_B.cur_np + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.cur_np + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.cur_np = (uint16_T)rtb_out_jr; + SIL_B.cur_np = (uint16_T)rtb_out_ob; /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, @@ -17992,11 +18014,11 @@ void SIL_step(void) /* 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_c; + SIL_DW.is_c48_mission_proc = SIL_IN_Idle_m; } else { SIL_DW.is_c48_mission_proc = SIL_IN_wait; } - } else if (SIL_DW.is_c48_mission_proc == SIL_IN_Idle_c) { + } else if (SIL_DW.is_c48_mission_proc == SIL_IN_Idle_m) { SIL_B.mission_mode = SIL_B.command_j; SIL_DW.cmd_msgData.id = SIL_B.command_j; for (idx = 0; idx < 7; idx++) { @@ -18004,12 +18026,12 @@ void SIL_step(void) } SIL_sf_msg_send_cmd(); - rtb_out_jr = SIL_B.cur_np + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.cur_np + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.cur_np = (uint16_T)rtb_out_jr; + SIL_B.cur_np = (uint16_T)rtb_out_ob; /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, @@ -18023,12 +18045,12 @@ void SIL_step(void) } SIL_sf_msg_send_cmd(); - rtb_out_jr = SIL_B.cur_np + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.cur_np + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.cur_np = (uint16_T)rtb_out_jr; + SIL_B.cur_np = (uint16_T)rtb_out_ob; /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, @@ -18048,12 +18070,12 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/get_WP' */ while (SIL_B.is_mission) { - rtb_out_jr = SIL_B.cur_np + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.cur_np + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.cur_np = (uint16_T)rtb_out_jr; + SIL_B.cur_np = (uint16_T)rtb_out_ob; /* Outputs for Function Call SubSystem: '/get_WP' */ SIL_get_WP(SIL_B.cur_np, &SIL_B.is_mission, &SIL_B.command_j, @@ -18072,7 +18094,7 @@ void SIL_step(void) /* 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_c; + SIL_DW.is_c48_mission_proc = SIL_IN_Idle_m; } else { SIL_DW.is_c48_mission_proc = SIL_IN_wait; } @@ -18121,7 +18143,7 @@ void SIL_step(void) /* SystemReset for SwitchCase: '/Switch Case' incorporates: * Chart: '/takeoff_task' */ - SIL_DW.temporalCounter_i1_k = 0U; + SIL_DW.temporalCounter_i1_hv = 0U; SIL_DW.is_active_c28_kb3_autopilot = 0U; SIL_DW.is_c28_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -18135,21 +18157,22 @@ void SIL_step(void) * Constant: '/Constant1' * Constant: '/Constant' */ - if (SIL_DW.temporalCounter_i1_k < 1023U) { - SIL_DW.temporalCounter_i1_k++; + if (SIL_DW.temporalCounter_i1_hv < 1023U) { + SIL_DW.temporalCounter_i1_hv++; } if (SIL_DW.is_active_c28_kb3_autopilot == 0U) { SIL_DW.is_active_c28_kb3_autopilot = 1U; SIL_DW.is_c28_kb3_autopilot = SIL_IN_WaitForLaunch; - SIL_B.mode_o = ENUM_mode_AUTO; - SIL_B.WP_out_j = SIL_B.BusAssignment_g.WP_cur; + SIL_B.mode_b = ENUM_mode_AUTO; + SIL_B.WP_out_d = SIL_B.BusAssignment_g.WP_cur; SIL_B.landed_state_out = ENUM_LANDED_STATE_ON_GROUND; SIL_B.AFCS_VERT = ENUM_AFCS_VERT_OFF; SIL_B.AFCS_LNAV_p = ENUM_AFCS_LAT_OFF; SIL_B.CSAS_pitch = ENUM_CSAS_PITCH_COMMAND; SIL_B.CSAS_roll = ENUM_CSAS_ROLL_OFF; SIL_B.CSAS_yaw = ENUM_CSAS_YAW_OFF; + SIL_B.AS_SEL = ENUM_AS_SEL_QC_TAS; SIL_B.AT = ENUM_AT_COMMAND; SIL_B.de_c = SIL_P.de_takeoff; SIL_B.thr_c = SIL_P.max_thr; @@ -18160,7 +18183,7 @@ void SIL_step(void) SIL_B.CSAS_pitch = ENUM_CSAS_PITCH_THT_CTRL; SIL_B.CSAS_yaw = ENUM_CSAS_YAW_DAMPING; SIL_B.phi_c = 0.0F; - if ((SIL_DW.temporalCounter_i1_k >= 1000U) && + if ((SIL_DW.temporalCounter_i1_hv >= 1000U) && (SIL_B.BusAssignment_j.satnum > 6)) { SIL_DW.is_c28_kb3_autopilot = SIL_IN_LatGuide; SIL_B.AFCS_LNAV_p = ENUM_AFCS_LAT_LNAV2PHI; @@ -18169,30 +18192,33 @@ void SIL_step(void) break; case SIL_IN_Done: - SIL_B.mode_o = ENUM_mode_AUTO; + SIL_B.mode_b = ENUM_mode_AUTO; break; case SIL_IN_LatGuide: SIL_B.AFCS_LNAV_p = ENUM_AFCS_LAT_LNAV2PHI; SIL_B.landed_state_out = ENUM_LANDED_STATE_IN_AIR; - if (SIL_B.BusAssignment_j.TAS >= rtb_table1D_thrAB_map_g) { + if (rtb_Merge1_aq >= rtb_table1D_thrAB_map_g) { SIL_DW.is_c28_kb3_autopilot = SIL_IN_Done; - SIL_B.mode_o = ENUM_mode_AUTO; - rtb_out_jr = SIL_B.WP_out_j + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + SIL_B.mode_b = ENUM_mode_AUTO; + rtb_out_ob = SIL_B.WP_out_d + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.WP_out_j = (uint16_T)rtb_out_jr; + SIL_B.WP_out_d = (uint16_T)rtb_out_ob; + } else { + SIL_B.AS_SEL = SIL_B.BusAssignment_g.AS_SEL; + SIL_B.tht_c = SIL_B.BusAssignment_g.takeoff_tht; } break; case SIL_IN_Launched: - SIL_B.mode_o = ENUM_mode_AUTO_TAKEOFF; + SIL_B.mode_b = ENUM_mode_AUTO_TAKEOFF; SIL_B.landed_state_out = ENUM_LANDED_STATE_TAKEOFF; - if (SIL_DW.temporalCounter_i1_k >= 200U) { + if (SIL_DW.temporalCounter_i1_hv >= 200U) { SIL_DW.is_c28_kb3_autopilot = SIL_IN_Active; - SIL_DW.temporalCounter_i1_k = 0U; + SIL_DW.temporalCounter_i1_hv = 0U; SIL_B.CSAS_roll = ENUM_CSAS_ROLL_ROLL_CTRL; SIL_B.CSAS_pitch = ENUM_CSAS_PITCH_THT_CTRL; SIL_B.CSAS_yaw = ENUM_CSAS_YAW_DAMPING; @@ -18202,7 +18228,7 @@ void SIL_step(void) break; default: - SIL_B.mode_o = ENUM_mode_AUTO; + SIL_B.mode_b = ENUM_mode_AUTO; SIL_B.landed_state_out = ENUM_LANDED_STATE_ON_GROUND; SIL_B.AFCS_VERT = ENUM_AFCS_VERT_OFF; SIL_B.AFCS_LNAV_p = ENUM_AFCS_LAT_OFF; @@ -18213,8 +18239,8 @@ void SIL_step(void) if ((SIL_B.BusAssignment_j.ax > 30.0F) || (SIL_B.UnitDelay.v_g > 5.0F)) { SIL_DW.is_c28_kb3_autopilot = SIL_IN_Launched; - SIL_DW.temporalCounter_i1_k = 0U; - SIL_B.mode_o = ENUM_mode_AUTO_TAKEOFF; + SIL_DW.temporalCounter_i1_hv = 0U; + SIL_B.mode_b = ENUM_mode_AUTO_TAKEOFF; SIL_B.landed_state_out = ENUM_LANDED_STATE_TAKEOFF; } break; @@ -18223,11 +18249,9 @@ void SIL_step(void) /* End of Chart: '/takeoff_task' */ - /* BusAssignment: '/Bus Assignment' incorporates: - * Constant: '/Constant1' - */ + /* BusAssignment: '/Bus Assignment' */ rtb_Merge_l0 = SIL_B.BusAssignment_g; - rtb_Merge_l0.mode = SIL_B.mode_o; + rtb_Merge_l0.mode = SIL_B.mode_b; rtb_Merge_l0.AFCS_LAT = SIL_B.AFCS_LNAV_p; rtb_Merge_l0.AFCS_VERT = SIL_B.AFCS_VERT; rtb_Merge_l0.CSAS_roll = SIL_B.CSAS_roll; @@ -18238,9 +18262,9 @@ void SIL_step(void) rtb_Merge_l0.throttle_c = SIL_B.thr_c; rtb_Merge_l0.phi_c = SIL_B.phi_c; rtb_Merge_l0.tht_c = SIL_B.tht_c; - rtb_Merge_l0.WP_cur = SIL_B.WP_out_j; + rtb_Merge_l0.WP_cur = SIL_B.WP_out_d; rtb_Merge_l0.de_c = SIL_B.de_c; - rtb_Merge_l0.AS_SEL = ENUM_AS_SEL_QC_TAS; + rtb_Merge_l0.AS_SEL = SIL_B.AS_SEL; /* End of Outputs for SubSystem: '/takeoff' */ break; @@ -18253,7 +18277,7 @@ void SIL_step(void) /* SystemReset for SwitchCase: '/Switch Case' incorporates: * Chart: '/landing_task' */ - SIL_DW.temporalCounter_i1_lp = 0U; + SIL_DW.temporalCounter_i1_dq = 0U; SIL_DW.is_active_c23_kb3_autopilot = 0U; SIL_DW.is_c23_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -18264,23 +18288,23 @@ void SIL_step(void) * ActionPort: '/Action Port' */ /* Chart: '/landing_task' */ - if (SIL_DW.temporalCounter_i1_lp < 255U) { - SIL_DW.temporalCounter_i1_lp++; + if (SIL_DW.temporalCounter_i1_dq < 255U) { + SIL_DW.temporalCounter_i1_dq++; } if (SIL_DW.is_active_c23_kb3_autopilot == 0U) { SIL_DW.is_active_c23_kb3_autopilot = 1U; SIL_DW.is_c23_kb3_autopilot = SIL_IN_level_flight; - SIL_DW.temporalCounter_i1_lp = 0U; - SIL_B.WP_out_d = SIL_B.BusAssignment_g.WP_cur; + SIL_DW.temporalCounter_i1_dq = 0U; + SIL_B.WP_out_m = SIL_B.BusAssignment_g.WP_cur; rtb_recovery = SIL_B.BusAssignment_g.recovery; } else if (SIL_DW.is_c23_kb3_autopilot == SIL_IN_level_flight) { - if ((SIL_DW.temporalCounter_i1_lp >= 200U) && + if ((SIL_DW.temporalCounter_i1_dq >= 200U) && (SIL_B.UnitDelay.dist < 200.0F)) { SIL_DW.is_c23_kb3_autopilot = SIL_IN_recovery; rtb_recovery = (uint8_T)(SIL_B.BusAssignment_g.recovery | 1); } else { - SIL_B.WP_out_d = SIL_B.BusAssignment_g.WP_cur; + SIL_B.WP_out_m = SIL_B.BusAssignment_g.WP_cur; rtb_recovery = SIL_B.BusAssignment_g.recovery; } } else { @@ -18291,7 +18315,7 @@ void SIL_step(void) /* BusAssignment: '/Bus Assignment' */ rtb_Merge_l0 = SIL_B.BusAssignment_g; - rtb_Merge_l0.WP_cur = SIL_B.WP_out_d; + rtb_Merge_l0.WP_cur = SIL_B.WP_out_m; rtb_Merge_l0.recovery = rtb_recovery; /* End of Outputs for SubSystem: '/landing' */ @@ -18305,7 +18329,7 @@ void SIL_step(void) /* SystemReset for SwitchCase: '/Switch Case' incorporates: * Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_a = 0U; + SIL_DW.temporalCounter_i1_m0 = 0U; SIL_DW.is_active_c29_kb3_autopilot = 0U; SIL_DW.is_c29_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -18316,14 +18340,14 @@ void SIL_step(void) * ActionPort: '/Action Port' */ /* Chart: '/Chart' */ - if (SIL_DW.temporalCounter_i1_a < 255U) { - SIL_DW.temporalCounter_i1_a++; + if (SIL_DW.temporalCounter_i1_m0 < 255U) { + SIL_DW.temporalCounter_i1_m0++; } if (SIL_DW.is_active_c29_kb3_autopilot == 0U) { SIL_DW.is_active_c29_kb3_autopilot = 1U; SIL_DW.is_c29_kb3_autopilot = SIL_IN_WP; - SIL_DW.temporalCounter_i1_a = 0U; + SIL_DW.temporalCounter_i1_m0 = 0U; SIL_B.mode = ENUM_mode_AUTO_MISSION; SIL_B.WP_out = SIL_B.BusAssignment_g.WP_cur; SIL_B.AFCS_LNAV = ENUM_AFCS_LAT_LNAV2PHI; @@ -18332,7 +18356,7 @@ void SIL_step(void) &SIL_B.AT_out); } else if (SIL_DW.is_c29_kb3_autopilot == SIL_IN_NextWP) { SIL_DW.is_c29_kb3_autopilot = SIL_IN_WP; - SIL_DW.temporalCounter_i1_a = 0U; + SIL_DW.temporalCounter_i1_m0 = 0U; SIL_B.mode = ENUM_mode_AUTO_MISSION; SIL_B.WP_out = SIL_B.BusAssignment_g.WP_cur; SIL_B.AFCS_LNAV = ENUM_AFCS_LAT_LNAV2PHI; @@ -18342,17 +18366,17 @@ void SIL_step(void) } else { SIL_B.mode = ENUM_mode_AUTO_MISSION; SIL_B.AFCS_LNAV = ENUM_AFCS_LAT_LNAV2PHI; - if ((SIL_DW.temporalCounter_i1_a >= 200U) && + if ((SIL_DW.temporalCounter_i1_m0 >= 200U) && SIL_B.BusAssignment_g.autocont && (SIL_B.UnitDelay.dist_offset < SIL_B.BusAssignment_g.dist_trans)) { SIL_DW.is_c29_kb3_autopilot = SIL_IN_NextWP; - rtb_out_jr = SIL_B.WP_out + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.WP_out + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - SIL_B.WP_out = (uint16_T)rtb_out_jr; + SIL_B.WP_out = (uint16_T)rtb_out_ob; } else { SIL_update_vert(SIL_B.BusAssignment_g.AFCS_VERT, SIL_B.BusAssignment_g.AT, &SIL_B.AFCS_VERT_out, @@ -18570,7 +18594,7 @@ void SIL_step(void) * Chart: '/landing_task' * Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_kf = 0U; + SIL_DW.temporalCounter_i1_a = 0U; SIL_DW.is_active_c20_kb3_autopilot = 0U; SIL_DW.is_c20_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_balloon = SIL_IN_NO_ACTIVE_CHILD_l; @@ -18578,7 +18602,7 @@ void SIL_step(void) SIL_DW.is_cut = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_parachute = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.temporalCounter_i2 = 0U; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_DW.is_active_c21_kb3_autopilot = 0U; SIL_DW.is_c21_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -18604,24 +18628,24 @@ void SIL_step(void) * Constant: '/Constant' * Constant: '/Constant1' */ - if (SIL_DW.temporalCounter_i1_kf < 1023U) { - SIL_DW.temporalCounter_i1_kf++; + if (SIL_DW.temporalCounter_i1_a < 1023U) { + SIL_DW.temporalCounter_i1_a++; } if (SIL_DW.is_active_c20_kb3_autopilot == 0U) { SIL_DW.is_active_c20_kb3_autopilot = 1U; SIL_DW.is_c20_kb3_autopilot = SIL_IN_ShutdownEngine; - SIL_B.mode_l = ENUM_mode_AUTO_LAND; - SIL_B.WP_out_m = rtb_merged.WP_cur; + SIL_B.mode_i = ENUM_mode_AUTO_LAND; + SIL_B.WP_out_f = rtb_merged.WP_cur; SIL_B.armed = false; - SIL_B.landed_state_out_n = ENUM_LANDED_STATE_LANDING; - SIL_B.AFCS_VERT_b = ENUM_AFCS_VERT_HDOT2THT; - SIL_B.AFCS_LNAV_pz = ENUM_AFCS_LAT_OFF; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_THT_CTRL; - SIL_B.CSAS_roll_e = ENUM_CSAS_ROLL_ROLL_CTRL; - SIL_B.CSAS_yaw_f = ENUM_CSAS_YAW_DAMPING; - SIL_B.AT_f = ENUM_AT_OFF; - SIL_B.phi_c_g = 0.0F; + SIL_B.landed_state_out_h = ENUM_LANDED_STATE_LANDING; + SIL_B.AFCS_VERT_o = ENUM_AFCS_VERT_HDOT2THT; + SIL_B.AFCS_LNAV_m = ENUM_AFCS_LAT_OFF; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_THT_CTRL; + SIL_B.CSAS_roll_i = ENUM_CSAS_ROLL_ROLL_CTRL; + SIL_B.CSAS_yaw_d = ENUM_CSAS_YAW_DAMPING; + SIL_B.AT_o = ENUM_AT_OFF; + SIL_B.phi_c_f = 0.0F; SIL_B.hdot_c = 0.0F; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = 115U; @@ -18630,29 +18654,29 @@ void SIL_step(void) SIL_B.min_de_out = rtb_merged.min_de; SIL_B.max_da_out = rtb_merged.max_da; SIL_B.max_dr_out = rtb_merged.max_dr; - SIL_DW.cnt_d = 0U; + SIL_DW.cnt_g = 0U; } else { switch (SIL_DW.is_c20_kb3_autopilot) { case SIL_IN_CutParachute: - SIL_B.landed_state_out_n = ENUM_LANDED_STATE_ON_GROUND; + SIL_B.landed_state_out_h = ENUM_LANDED_STATE_ON_GROUND; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; break; case SIL_IN_Enflate: - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_OFF; - SIL_B.CSAS_roll_e = ENUM_CSAS_ROLL_OFF; - SIL_B.CSAS_yaw_f = ENUM_CSAS_YAW_OFF; - if ((SIL_DW.temporalCounter_i1_kf >= 1000U) && + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_OFF; + SIL_B.CSAS_roll_i = ENUM_CSAS_ROLL_OFF; + SIL_B.CSAS_yaw_d = ENUM_CSAS_YAW_OFF; + if ((SIL_DW.temporalCounter_i1_a >= 1000U) && (rtb_table1D_thrAB_map_g > SIL_P.load_detect)) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_Impact; - idx = (int32_T)(SIL_DW.cnt_d + 1U); + idx = (int32_T)(SIL_DW.cnt_g + 1U); if ((uint32_T)idx > 255U) { idx = 255; } - SIL_DW.cnt_d = (uint8_T)idx; + SIL_DW.cnt_g = (uint8_T)idx; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; @@ -18664,20 +18688,20 @@ void SIL_step(void) break; case SIL_IN_Impact: - if (SIL_DW.cnt_d >= 3) { + if (SIL_DW.cnt_g >= 3) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_CutParachute; rtb_recovery = (uint8_T)(rtb_merged.recovery | 32); - SIL_B.landed_state_out_n = ENUM_LANDED_STATE_ON_GROUND; + SIL_B.landed_state_out_h = ENUM_LANDED_STATE_ON_GROUND; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; } else if (rtb_table1D_thrAB_map_g > SIL_P.load_detect) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_Impact; - idx = (int32_T)(SIL_DW.cnt_d + 1U); + idx = (int32_T)(SIL_DW.cnt_g + 1U); if ((uint32_T)idx > 255U) { idx = 255; } - SIL_DW.cnt_d = (uint8_T)idx; + SIL_DW.cnt_g = (uint8_T)idx; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; @@ -18689,18 +18713,18 @@ void SIL_step(void) break; case SIL_IN_Recovery: - SIL_B.AFCS_VERT_b = ENUM_AFCS_VERT_OFF; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_THT_CTRL; + SIL_B.AFCS_VERT_o = ENUM_AFCS_VERT_OFF; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_THT_CTRL; if (rtb_merged.recovery == 31) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_Enflate; - SIL_DW.temporalCounter_i1_kf = 0U; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_OFF; - SIL_B.CSAS_roll_e = ENUM_CSAS_ROLL_OFF; - SIL_B.CSAS_yaw_f = ENUM_CSAS_YAW_OFF; + SIL_DW.temporalCounter_i1_a = 0U; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_OFF; + SIL_B.CSAS_roll_i = ENUM_CSAS_ROLL_OFF; + SIL_B.CSAS_yaw_d = ENUM_CSAS_YAW_OFF; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; - SIL_DW.cnt_d = 0U; + SIL_DW.cnt_g = 0U; } else { rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; @@ -18709,21 +18733,21 @@ void SIL_step(void) break; case SIL_IN_ShutdownEngine: - SIL_B.mode_l = ENUM_mode_AUTO_LAND; + SIL_B.mode_i = ENUM_mode_AUTO_LAND; SIL_B.armed = false; - SIL_B.landed_state_out_n = ENUM_LANDED_STATE_LANDING; - SIL_B.AFCS_VERT_b = ENUM_AFCS_VERT_HDOT2THT; - SIL_B.AFCS_LNAV_pz = ENUM_AFCS_LAT_OFF; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_THT_CTRL; - SIL_B.CSAS_roll_e = ENUM_CSAS_ROLL_ROLL_CTRL; - SIL_B.CSAS_yaw_f = ENUM_CSAS_YAW_DAMPING; - SIL_B.AT_f = ENUM_AT_OFF; - SIL_B.phi_c_g = 0.0F; + SIL_B.landed_state_out_h = ENUM_LANDED_STATE_LANDING; + SIL_B.AFCS_VERT_o = ENUM_AFCS_VERT_HDOT2THT; + SIL_B.AFCS_LNAV_m = ENUM_AFCS_LAT_OFF; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_THT_CTRL; + SIL_B.CSAS_roll_i = ENUM_CSAS_ROLL_ROLL_CTRL; + SIL_B.CSAS_yaw_d = ENUM_CSAS_YAW_DAMPING; + SIL_B.AT_o = ENUM_AT_OFF; + SIL_B.phi_c_f = 0.0F; SIL_B.hdot_c = 0.0F; if ((SIL_B.BusAssignment_j.IAS <= SIL_P.recovery_ias) || (rtb_merged.recovery == 3)) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_limit_deflections; - SIL_DW.temporalCounter_i1_kf = 0U; + SIL_DW.temporalCounter_i1_a = 0U; rtb_recovery = rtb_merged.recovery; rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; @@ -18743,12 +18767,12 @@ void SIL_step(void) break; default: - if ((SIL_DW.temporalCounter_i1_kf >= 200U) || (rtb_merged.recovery == + if ((SIL_DW.temporalCounter_i1_a >= 200U) || (rtb_merged.recovery == 3)) { SIL_DW.is_c20_kb3_autopilot = SIL_IN_Recovery; - SIL_B.AFCS_VERT_b = ENUM_AFCS_VERT_OFF; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_THT_CTRL; - SIL_B.tht_c_i = SIL_B.BusAssignment_j.tht; + SIL_B.AFCS_VERT_o = ENUM_AFCS_VERT_OFF; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_THT_CTRL; + SIL_B.tht_c_l = SIL_B.BusAssignment_j.tht; rtb_recovery = (uint8_T)(rtb_merged.recovery | 2); rtb_ECU_CMD = rtb_merged.ECU_CMD; rtb_ECU_RPM_out = rtb_merged.ECU_RPM; @@ -18765,18 +18789,18 @@ void SIL_step(void) /* BusAssignment: '/Bus Assignment' */ SIL_B.BusAssignment_i = rtb_merged; - SIL_B.BusAssignment_i.mode = SIL_B.mode_l; - SIL_B.BusAssignment_i.AFCS_LAT = SIL_B.AFCS_LNAV_pz; - SIL_B.BusAssignment_i.AFCS_VERT = SIL_B.AFCS_VERT_b; - SIL_B.BusAssignment_i.CSAS_roll = SIL_B.CSAS_roll_e; - SIL_B.BusAssignment_i.CSAS_pitch = SIL_B.CSAS_pitch_h; - SIL_B.BusAssignment_i.CSAS_yaw = SIL_B.CSAS_yaw_f; - SIL_B.BusAssignment_i.AT = SIL_B.AT_f; - SIL_B.BusAssignment_i.landed_state = SIL_B.landed_state_out_n; + SIL_B.BusAssignment_i.mode = SIL_B.mode_i; + SIL_B.BusAssignment_i.AFCS_LAT = SIL_B.AFCS_LNAV_m; + SIL_B.BusAssignment_i.AFCS_VERT = SIL_B.AFCS_VERT_o; + SIL_B.BusAssignment_i.CSAS_roll = SIL_B.CSAS_roll_i; + SIL_B.BusAssignment_i.CSAS_pitch = SIL_B.CSAS_pitch_p; + SIL_B.BusAssignment_i.CSAS_yaw = SIL_B.CSAS_yaw_d; + SIL_B.BusAssignment_i.AT = SIL_B.AT_o; + SIL_B.BusAssignment_i.landed_state = SIL_B.landed_state_out_h; SIL_B.BusAssignment_i.hdot_c = SIL_B.hdot_c; - SIL_B.BusAssignment_i.phi_c = SIL_B.phi_c_g; - SIL_B.BusAssignment_i.tht_c = SIL_B.tht_c_i; - SIL_B.BusAssignment_i.WP_cur = SIL_B.WP_out_m; + SIL_B.BusAssignment_i.phi_c = SIL_B.phi_c_f; + SIL_B.BusAssignment_i.tht_c = SIL_B.tht_c_l; + SIL_B.BusAssignment_i.WP_cur = SIL_B.WP_out_f; SIL_B.BusAssignment_i.recovery = rtb_recovery; SIL_B.BusAssignment_i.armed = SIL_B.armed; SIL_B.BusAssignment_i.ECU_CMD = rtb_ECU_CMD; @@ -18789,8 +18813,8 @@ void SIL_step(void) /* Chart: '/Chart' incorporates: * Constant: '/Constant' */ - if (SIL_DW.temporalCounter_i1_i < 511U) { - SIL_DW.temporalCounter_i1_i++; + if (SIL_DW.temporalCounter_i1_e < 511U) { + SIL_DW.temporalCounter_i1_e++; } if (SIL_DW.temporalCounter_i2 < 4095U) { @@ -18799,37 +18823,23 @@ void SIL_step(void) if (SIL_DW.is_active_c21_kb3_autopilot == 0U) { SIL_DW.is_active_c21_kb3_autopilot = 1U; - SIL_DW.is_c21_kb3_autopilot = SIL_IN_Idle_c; + SIL_DW.is_c21_kb3_autopilot = SIL_IN_Idle_m; 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; } else { switch (SIL_DW.is_c21_kb3_autopilot) { - case SIL_IN_Idle_c: - if ((SIL_B.BusAssignment_i.recovery & 2U) != 0U) { - SIL_DW.is_c21_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_i = 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; - } + case SIL_IN_Idle_m: + SIL_Idle(); break; case SIL_IN_Idle1: if ((SIL_B.BusAssignment_i.recovery & 32U) != 0U) { SIL_DW.is_c21_kb3_autopilot = SIL_IN_cut; SIL_B.recovery_out = 63U; - SIL_DW.is_cut = SIL_IN_one_de; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.is_cut = SIL_IN_one_bz; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 4U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -18851,9 +18861,9 @@ void SIL_step(void) case SIL_IN_balloon: switch (SIL_DW.is_balloon) { case SIL_IN_five: - if (SIL_DW.temporalCounter_i1_i >= 30U) { + if (SIL_DW.temporalCounter_i1_e >= 30U) { SIL_DW.is_balloon = SIL_IN_six; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 10U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18864,10 +18874,10 @@ void SIL_step(void) } break; - case SIL_IN_four_b: - if (SIL_DW.temporalCounter_i1_i >= 30U) { + case SIL_IN_four_a: + if (SIL_DW.temporalCounter_i1_e >= 30U) { SIL_DW.is_balloon = SIL_IN_five; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 9U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18878,10 +18888,10 @@ void SIL_step(void) } break; - case SIL_IN_one_d: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_balloon = SIL_IN_two_h; - SIL_DW.temporalCounter_i1_i = 0U; + case SIL_IN_one_b: + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_balloon = SIL_IN_two_i; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 10U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18893,7 +18903,7 @@ void SIL_step(void) break; case SIL_IN_six: - if (SIL_DW.temporalCounter_i1_i >= 400U) { + if (SIL_DW.temporalCounter_i1_e >= 400U) { SIL_DW.is_balloon = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_c21_kb3_autopilot = SIL_IN_Idle1; SIL_B.recovery_out = 31U; @@ -18907,10 +18917,10 @@ void SIL_step(void) } break; - case SIL_IN_three_c: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_balloon = SIL_IN_four_b; - SIL_DW.temporalCounter_i1_i = 0U; + case SIL_IN_three_k: + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_balloon = SIL_IN_four_a; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 10U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18922,9 +18932,9 @@ void SIL_step(void) break; default: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_balloon = SIL_IN_three_c; - SIL_DW.temporalCounter_i1_i = 0U; + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_balloon = SIL_IN_three_k; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 9U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18940,9 +18950,9 @@ void SIL_step(void) case SIL_IN_cover: switch (SIL_DW.is_cover) { case SIL_IN_five: - if (SIL_DW.temporalCounter_i1_i >= 30U) { + if (SIL_DW.temporalCounter_i1_e >= 30U) { SIL_DW.is_cover = SIL_IN_six; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 6U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -18953,10 +18963,10 @@ void SIL_step(void) } break; - case SIL_IN_four_b: - if (SIL_DW.temporalCounter_i1_i >= 30U) { + case SIL_IN_four_a: + if (SIL_DW.temporalCounter_i1_e >= 30U) { SIL_DW.is_cover = SIL_IN_five; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 5U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -18967,10 +18977,10 @@ void SIL_step(void) } break; - case SIL_IN_one_d: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_cover = SIL_IN_two_h; - SIL_DW.temporalCounter_i1_i = 0U; + case SIL_IN_one_b: + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_cover = SIL_IN_two_i; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 6U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -18982,12 +18992,12 @@ void SIL_step(void) break; case SIL_IN_six: - if (SIL_DW.temporalCounter_i1_i >= 200U) { + if (SIL_DW.temporalCounter_i1_e >= 200U) { SIL_DW.is_cover = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_c21_kb3_autopilot = SIL_IN_balloon; SIL_B.recovery_out = 15U; - SIL_DW.is_balloon = SIL_IN_one_d; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.is_balloon = SIL_IN_one_b; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 9U; SIL_B.peroid_out = (uint16_T)roundf(SIL_P.inflect_time * 1000.0F); SIL_B.sw_out = 1U; @@ -18998,10 +19008,10 @@ void SIL_step(void) } break; - case SIL_IN_three_c: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_cover = SIL_IN_four_b; - SIL_DW.temporalCounter_i1_i = 0U; + case SIL_IN_three_k: + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_cover = SIL_IN_four_a; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 6U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -19013,9 +19023,9 @@ void SIL_step(void) break; default: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_cover = SIL_IN_three_c; - SIL_DW.temporalCounter_i1_i = 0U; + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_cover = SIL_IN_three_k; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 5U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -19030,10 +19040,10 @@ void SIL_step(void) case SIL_IN_cut: switch (SIL_DW.is_cut) { - case SIL_IN_one_de: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_cut = SIL_IN_two_hs; - SIL_DW.temporalCounter_i1_i = 0U; + case SIL_IN_one_bz: + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_cut = SIL_IN_two_ig; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 4U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -19044,8 +19054,8 @@ void SIL_step(void) } break; - case SIL_IN_three_c1: - if (SIL_DW.temporalCounter_i1_i >= 200U) { + case SIL_IN_three_k2: + if (SIL_DW.temporalCounter_i1_e >= 200U) { SIL_DW.is_cut = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_c21_kb3_autopilot = SIL_IN_Idle2; SIL_B.recovery_out = SIL_B.BusAssignment_i.recovery; @@ -19060,9 +19070,9 @@ void SIL_step(void) break; default: - if (SIL_DW.temporalCounter_i1_i >= 30U) { - SIL_DW.is_cut = SIL_IN_three_c1; - SIL_DW.temporalCounter_i1_i = 0U; + if (SIL_DW.temporalCounter_i1_e >= 30U) { + SIL_DW.is_cut = SIL_IN_three_k2; + SIL_DW.temporalCounter_i1_e = 0U; SIL_B.ch_out = 4U; SIL_B.peroid_out = 50U; SIL_B.sw_out = 1U; @@ -19115,9 +19125,9 @@ void SIL_step(void) rtb_Selector4 = 0.0; rtb_sincos_o2_f_idx_1 = 0.0; rtb_table1D_thrAB_map_g = 0.0F; - rtb_Sum_pz = 0.0F; + rtb_Merge1_aq = 0.0F; elevation_baseline = 0.0F; - rtb_IAS_lookup = 0.0F; + rtb_Sum_pz = 0.0F; heading = 0.0F; elevation_baseline2 = 0.0F; dist = 1.0F; @@ -19148,8 +19158,8 @@ void SIL_step(void) if (dummyMission[cur_np - 1].command == (int32_T) MAV_MAV_CMD_NAV_WAYPOINT) { - rtb_IAS_lookup = fabsf(dummyMission[cur_np - 1].params[2]); - if (!(rtb_IAS_lookup < 1.0F)) { + rtb_Sum_pz = fabsf(dummyMission[cur_np - 1].params[2]); + if (!(rtb_Sum_pz < 1.0F)) { rtb_recovery = 1U; } } else if ((dummyMission[cur_np - 1].command == (int32_T) @@ -19157,12 +19167,12 @@ void SIL_step(void) 1].command == (int32_T)MAV_MAV_CMD_NAV_LOITER_TURNS) || (dummyMission[cur_np - 1].command == (int32_T) MAV_MAV_CMD_NAV_LOITER_TIME)) { - rtb_IAS_lookup = dummyMission[cur_np - 1].params[2]; + rtb_Sum_pz = dummyMission[cur_np - 1].params[2]; rtb_recovery = 2U; } else { if (dummyMission[cur_np - 1].command == (int32_T) MAV_MAV_CMD_NAV_LOITER_TO_ALT) { - rtb_IAS_lookup = dummyMission[cur_np - 1].params[1]; + rtb_Sum_pz = dummyMission[cur_np - 1].params[1]; rtb_recovery = 2U; } } @@ -19195,14 +19205,14 @@ void SIL_step(void) } } - rtb_Merge1_aq = (real32_T)((rtb_sincos_o2_f_idx_1 - (real_T) + rtb_Sum1_cv = (real32_T)((rtb_sincos_o2_f_idx_1 - (real_T) dummyMission[rtb_ECU_RPM_out - 1].latlon[1] * 1.0E-7) * rtb_parachute); heading = (real32_T)((rtb_Selector4 - (real_T) dummyMission[rtb_ECU_RPM_out - 1].latlon[0] * 1.0E-7) * rtb_q2dot); - dist = sqrtf(rtb_Merge1_aq * rtb_Merge1_aq + heading * heading); - rtb_Sum_pz = rt_atan2f_snf(rtb_Merge1_aq, heading); + dist = sqrtf(rtb_Sum1_cv * rtb_Sum1_cv + heading * heading); + rtb_Merge1_aq = rt_atan2f_snf(rtb_Sum1_cv, heading); elevation_baseline = rt_atan2f_snf(rtb_table1D_thrAB_map_g - elevation_baseline, dist); } @@ -19226,47 +19236,47 @@ void SIL_step(void) } } - rtb_Merge1_aq = (real32_T)(((real_T)dummyMission[cur_np - 1]. - latlon[1] * 1.0E-7 - rtb_sincos_o2_f_idx_1) * rtb_parachute); + rtb_Sum1_cv = (real32_T)(((real_T)dummyMission[cur_np - 1].latlon + [1] * 1.0E-7 - rtb_sincos_o2_f_idx_1) * rtb_parachute); heading = (real32_T)(((real_T)dummyMission[cur_np - 1].latlon[0] * 1.0E-7 - rtb_Selector4) * rtb_q2dot); - dist2 = sqrtf(rtb_Merge1_aq * rtb_Merge1_aq + heading * heading); - heading = rt_atan2f_snf(rtb_Merge1_aq, heading); + dist2 = sqrtf(rtb_Sum1_cv * rtb_Sum1_cv + heading * heading); + heading = rt_atan2f_snf(rtb_Sum1_cv, heading); elevation_baseline2 = rt_atan2f_snf(elevation_baseline2 - rtb_table1D_thrAB_map_g, dist2); if (rtb_recovery == 1) { - rtb_Merge1_aq = heading - rtb_Sum_pz; - if (rtb_Merge1_aq > 3.1415926535897931) { - rtb_Merge1_aq -= 6.28318548F; + rtb_Sum1_cv = heading - rtb_Merge1_aq; + if (rtb_Sum1_cv > 3.1415926535897931) { + rtb_Sum1_cv -= 6.28318548F; } else { - if (rtb_Merge1_aq < -3.1415926535897931) { - rtb_Merge1_aq += 6.28318548F; + if (rtb_Sum1_cv < -3.1415926535897931) { + rtb_Sum1_cv += 6.28318548F; } } - rtb_Merge1_aq = fabsf(rtb_Merge1_aq); - if (rtb_Merge1_aq < 0.0175F) { - rtb_Merge1_aq = 0.0175F; + rtb_Sum1_cv = fabsf(rtb_Sum1_cv); + if (rtb_Sum1_cv < 0.0175F) { + rtb_Sum1_cv = 0.0175F; } - tan_angle = tanf(rtb_Merge1_aq * 0.5F); - rtb_Merge1_aq = tan_angle * rtb_IAS_lookup; - if (dist < rtb_Merge1_aq) { - rtb_Merge1_aq = dist; - rtb_IAS_lookup = dist / tan_angle; + tan_angle = tanf(rtb_Sum1_cv * 0.5F); + rtb_Sum1_cv = tan_angle * rtb_Sum_pz; + if (dist < rtb_Sum1_cv) { + rtb_Sum1_cv = dist; + rtb_Sum_pz = dist / tan_angle; } - if (dist2 < rtb_Merge1_aq) { - rtb_IAS_lookup = dist2 / tan_angle; + if (dist2 < rtb_Sum1_cv) { + rtb_Sum_pz = dist2 / tan_angle; } } } else { - heading = rtb_Sum_pz; + heading = rtb_Merge1_aq; elevation_baseline2 = elevation_baseline; } if (rtb_ECU_RPM_out == 0) { - rtb_Sum_pz = heading; + rtb_Merge1_aq = heading; elevation_baseline = elevation_baseline2; } } @@ -19278,9 +19288,9 @@ void SIL_step(void) rtb_Merge_n.traj.lat1 = rtb_Selector4; rtb_Merge_n.traj.lon1 = rtb_sincos_o2_f_idx_1; rtb_Merge_n.traj.h1 = rtb_table1D_thrAB_map_g; - rtb_Merge_n.traj.azimuth = rtb_Sum_pz; + rtb_Merge_n.traj.azimuth = rtb_Merge1_aq; rtb_Merge_n.traj.elevation_baseline = elevation_baseline; - rtb_Merge_n.traj.radius = rtb_IAS_lookup; + rtb_Merge_n.traj.radius = rtb_Sum_pz; rtb_Merge_n.traj.heading = heading; rtb_Merge_n.traj.elevation_baseline2 = elevation_baseline2; rtb_Merge_n.traj.mode = rtb_recovery; @@ -19336,7 +19346,7 @@ void SIL_step(void) * ActionPort: '/Action Port' */ /* SignalConversion: '/OutportBufferForASL' */ - rtb_IAS_lookup = SIL_B.BusAssignment_j.msl; + rtb_Merge1_aq = SIL_B.BusAssignment_j.msl; /* BusCreator: '/Bus Creator' incorporates: * SignalConversion: '/sens_BusSelector' @@ -19352,7 +19362,7 @@ void SIL_step(void) * ActionPort: '/Action Port' */ /* SignalConversion: '/OutportBufferForASL' */ - rtb_IAS_lookup = SIL_B.BusAssignment_j.asl_baro; + rtb_Merge1_aq = SIL_B.BusAssignment_j.asl_baro; /* BusCreator: '/Bus Creator' incorporates: * SignalConversion: '/sens_BusSelector' @@ -19395,19 +19405,19 @@ void SIL_step(void) (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_Selector4)); - SIL_B.vert_offset = rtb_Merge_n.traj.h1 - rtb_IAS_lookup; + SIL_B.vert_offset = rtb_Merge_n.traj.h1 - rtb_Merge1_aq; if (rtb_Merge_n.traj.radius > 1.0F) { rtb_Compare_fv = true; - rtb_Merge1_aq = rtb_Merge_n.traj.radius; + rtb_Sum1_cv = rtb_Merge_n.traj.radius; } else if (rtb_Merge_n.traj.radius > 0.0F) { rtb_Compare_fv = true; - rtb_Merge1_aq = 1.0F; + rtb_Sum1_cv = 1.0F; } else if (rtb_Merge_n.traj.radius > -1.0F) { rtb_Compare_fv = false; - rtb_Merge1_aq = 1.0F; + rtb_Sum1_cv = 1.0F; } else { rtb_Compare_fv = false; - rtb_Merge1_aq = -rtb_Merge_n.traj.radius; + rtb_Sum1_cv = -rtb_Merge_n.traj.radius; } dist = heading * heading; @@ -19420,12 +19430,12 @@ void SIL_step(void) /* 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_Merge1_aq; + SIL_B.BusAssignment_j.v_e) / rtb_Sum1_cv; } else { SIL_B.bearing_base = SIL_B.bearing + 1.57079637F; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ - SIL_B.omega_des = -sqrtf(rtb_Sum_pz) / rtb_Merge1_aq; + SIL_B.omega_des = -sqrtf(rtb_Sum_pz) / rtb_Sum1_cv; } while (SIL_B.bearing_base > 3.1415926535897931) { @@ -19450,7 +19460,7 @@ void SIL_step(void) rtb_Sum_pz += 6.28318548F; } - SIL_B.horiz_offset = sqrtf(dist + elevation_baseline) - rtb_Merge1_aq; + SIL_B.horiz_offset = sqrtf(dist + elevation_baseline) - rtb_Sum1_cv; if (rtb_Compare_fv) { SIL_B.horiz_offset = -SIL_B.horiz_offset; } @@ -19469,7 +19479,7 @@ void SIL_step(void) /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: * MATLAB Function: '/nav_circle' */ - SIL_B.dist_offset = rtb_Merge1_aq * rtb_Sum_pz; + SIL_B.dist_offset = rtb_Sum1_cv * rtb_Sum_pz; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: * MATLAB Function: '/nav_circle' @@ -19539,35 +19549,35 @@ void SIL_step(void) (rtb_Merge_n.traj.lat1 - SIL_B.BusAssignment_j.lat)); elevation_baseline = (real32_T)((rtb_Merge_n.traj.lon1 - SIL_B.BusAssignment_j.lon) * (111321.543 * rtb_sincos_o2_f_idx_1)); - rtb_Sum_pz = rtb_Merge_n.traj.h1 - rtb_IAS_lookup; - rtb_Merge1_aq = rtb_Merge_n.traj.heading - rtb_Merge_n.traj.azimuth; - if (rtb_Merge1_aq > 3.1415926535897931) { - rtb_Merge1_aq -= 6.28318548F; + rtb_Sum_pz = rtb_Merge_n.traj.h1 - rtb_Merge1_aq; + rtb_Sum1_cv = rtb_Merge_n.traj.heading - rtb_Merge_n.traj.azimuth; + if (rtb_Sum1_cv > 3.1415926535897931) { + rtb_Sum1_cv -= 6.28318548F; } else { - if (rtb_Merge1_aq < -3.1415926535897931) { - rtb_Merge1_aq += 6.28318548F; + if (rtb_Sum1_cv < -3.1415926535897931) { + rtb_Sum1_cv += 6.28318548F; } } rtb_Compare_fv = false; - if (rtb_Merge1_aq > 0.0F) { + if (rtb_Sum1_cv > 0.0F) { rtb_Compare_fv = true; } - heading = fabsf(rtb_Merge1_aq); - rtb_Merge1_aq = tanf(heading * 0.5F) * rtb_Merge_n.traj.radius; + heading = fabsf(rtb_Sum1_cv); + rtb_Sum1_cv = tanf(heading * 0.5F) * rtb_Merge_n.traj.radius; dist2 = cosf(rtb_Merge_n.traj.azimuth); elevation_baseline2 = sinf(rtb_Merge_n.traj.azimuth); cos_hdg = cosf(rtb_Merge_n.traj.heading); sin_hdg = sinf(rtb_Merge_n.traj.heading); tan_angle = tanf(rtb_Merge_n.traj.elevation_baseline); tan_elv2 = tanf(rtb_Merge_n.traj.elevation_baseline2); - lat_s = dist - dist2 * rtb_Merge1_aq; - lon_s = elevation_baseline - elevation_baseline2 * rtb_Merge1_aq; - h_s = rtb_Sum_pz - rtb_Merge1_aq * tan_angle; - lat_e = cos_hdg * rtb_Merge1_aq + dist; - lon_e = sin_hdg * rtb_Merge1_aq + elevation_baseline; - SIL_B.ht_diff = rtb_Merge1_aq * tan_elv2 + rtb_Sum_pz; + lat_s = dist - dist2 * rtb_Sum1_cv; + lon_s = elevation_baseline - elevation_baseline2 * rtb_Sum1_cv; + h_s = rtb_Sum_pz - rtb_Sum1_cv * tan_angle; + lat_e = cos_hdg * rtb_Sum1_cv + dist; + lon_e = sin_hdg * rtb_Sum1_cv + elevation_baseline; + SIL_B.ht_diff = rtb_Sum1_cv * tan_elv2 + rtb_Sum_pz; tan_elv3_tmp = rtb_Merge_n.traj.radius * heading; heading = (SIL_B.ht_diff - h_s) / tan_elv3_tmp; SIL_B.elevation_base = atanf(heading); @@ -19598,7 +19608,7 @@ void SIL_step(void) /* 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 < - rtb_Merge1_aq) { + rtb_Sum1_cv) { SIL_DW.stage = 1U; } break; @@ -19623,30 +19633,26 @@ void SIL_step(void) default: if (rtb_Compare_fv) { - rtb_Merge1_aq = lat_s - elevation_baseline2 * - rtb_Merge_n.traj.radius; + rtb_Sum1_cv = lat_s - elevation_baseline2 * rtb_Merge_n.traj.radius; dist2 = dist2 * rtb_Merge_n.traj.radius + lon_s; - SIL_B.bearing_base = rt_atan2f_snf(dist2, rtb_Merge1_aq) - - 1.57079637F; + SIL_B.bearing_base = rt_atan2f_snf(dist2, rtb_Sum1_cv) - 1.57079637F; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ - SIL_B.horiz_offset = rtb_Merge_n.traj.radius - sqrtf(rtb_Merge1_aq * - rtb_Merge1_aq + dist2 * dist2); + SIL_B.horiz_offset = rtb_Merge_n.traj.radius - sqrtf(rtb_Sum1_cv * + rtb_Sum1_cv + dist2 * dist2); /* 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; } else { - rtb_Merge1_aq = elevation_baseline2 * rtb_Merge_n.traj.radius + - lat_s; + rtb_Sum1_cv = elevation_baseline2 * rtb_Merge_n.traj.radius + lat_s; dist2 = lon_s - dist2 * rtb_Merge_n.traj.radius; - SIL_B.bearing_base = rt_atan2f_snf(dist2, rtb_Merge1_aq) + - 1.57079637F; + SIL_B.bearing_base = rt_atan2f_snf(dist2, rtb_Sum1_cv) + 1.57079637F; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ - SIL_B.horiz_offset = sqrtf(rtb_Merge1_aq * rtb_Merge1_aq + dist2 * - dist2) - rtb_Merge_n.traj.radius; + SIL_B.horiz_offset = sqrtf(rtb_Sum1_cv * rtb_Sum1_cv + dist2 * dist2) + - rtb_Merge_n.traj.radius; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.omega_des = -sqrtf(SIL_B.BusAssignment_j.v_n * @@ -19662,21 +19668,21 @@ void SIL_step(void) } } - rtb_Merge1_aq = rtb_Merge_n.traj.heading - SIL_B.bearing_base; - if (rtb_Merge1_aq > 3.1415926535897931) { - rtb_Merge1_aq -= 6.28318548F; + rtb_Sum1_cv = rtb_Merge_n.traj.heading - SIL_B.bearing_base; + if (rtb_Sum1_cv > 3.1415926535897931) { + rtb_Sum1_cv -= 6.28318548F; } else { - if (rtb_Merge1_aq < -3.1415926535897931) { - rtb_Merge1_aq += 6.28318548F; + if (rtb_Sum1_cv < -3.1415926535897931) { + rtb_Sum1_cv += 6.28318548F; } } - if ((rtb_Compare_fv && (rtb_Merge1_aq < 0.0F)) || ((!rtb_Compare_fv) && - (rtb_Merge1_aq > 0.0F))) { + if ((rtb_Compare_fv && (rtb_Sum1_cv < 0.0F)) || ((!rtb_Compare_fv) && + (rtb_Sum1_cv > 0.0F))) { SIL_DW.stage = 2U; } - SIL_B.dist_offset = fabsf(rtb_Merge1_aq) * rtb_Merge_n.traj.radius; + SIL_B.dist_offset = fabsf(rtb_Sum1_cv) * rtb_Merge_n.traj.radius; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' */ SIL_B.rdot = cosf(SIL_B.bearing_base) * SIL_B.BusAssignment_j.v_n + @@ -19718,17 +19724,16 @@ void SIL_step(void) (rtb_Merge_n.traj.lat1 - SIL_B.BusAssignment_j.lat)); elevation_baseline = (real32_T)((rtb_Merge_n.traj.lon1 - SIL_B.BusAssignment_j.lon) * (111321.543 * rtb_sincos_o2_f_idx_1)); - SIL_B.ht_diff = rtb_Merge_n.traj.h1 - rtb_IAS_lookup; + SIL_B.ht_diff = rtb_Merge_n.traj.h1 - rtb_Merge1_aq; SIL_B.dist = sqrtf(dist * dist + elevation_baseline * elevation_baseline); rtb_Sum_pz = cosf(rtb_Merge_n.traj.azimuth); - rtb_Merge1_aq = sinf(rtb_Merge_n.traj.azimuth); - SIL_B.dist_offset = dist * rtb_Sum_pz + elevation_baseline * - rtb_Merge1_aq; + rtb_Sum1_cv = sinf(rtb_Merge_n.traj.azimuth); + SIL_B.dist_offset = dist * rtb_Sum_pz + elevation_baseline * rtb_Sum1_cv; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: * MATLAB Function: '/nav_line' */ - SIL_B.rdot = rtb_Sum_pz * SIL_B.BusAssignment_j.v_n + rtb_Merge1_aq * + SIL_B.rdot = rtb_Sum_pz * SIL_B.BusAssignment_j.v_n + rtb_Sum1_cv * SIL_B.BusAssignment_j.v_e; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: @@ -19739,7 +19744,7 @@ void SIL_step(void) /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: * MATLAB Function: '/nav_line' */ - SIL_B.horiz_offset = dist * rtb_Merge1_aq - elevation_baseline * + SIL_B.horiz_offset = dist * rtb_Sum1_cv - elevation_baseline * rtb_Sum_pz; /* SignalConversion: '/BusConversion_InsertedFor_nav_out_at_inport_0' incorporates: @@ -19811,7 +19816,7 @@ void SIL_step(void) * UnitDelay: '/Unit Delay' */ SIL_DW.UnitDelay_DSTATE.v_g = rtb_table1D_thrAB_map_g; - SIL_DW.UnitDelay_DSTATE.abs_alt = rtb_IAS_lookup; + SIL_DW.UnitDelay_DSTATE.abs_alt = rtb_Merge1_aq; SIL_DW.UnitDelay_DSTATE.hdot = -SIL_B.BusAssignment_j.v_d; SIL_DW.UnitDelay_DSTATE.rdot = SIL_B.rdot; SIL_DW.UnitDelay_DSTATE.dist = SIL_B.dist; @@ -20071,16 +20076,16 @@ void SIL_step(void) * Constant: '/Constant8' * Constant: '/Constant' */ - rtb_Sum1_ay = SIL_P.max_az * 0.005F; + rtb_Sum1_l5 = SIL_P.max_az * 0.005F; /* Gain: '/min_az' */ - rtb_MinMax = -rtb_Sum1_ay; + rtb_MinMax = -rtb_Sum1_l5; /* Switch: '/Switch' incorporates: * Gain: '/min_az' * RelationalOperator: '/UpperRelop' */ - if (!(rtb_Merge_a < -rtb_Sum1_ay)) { + if (!(rtb_Merge_a < -rtb_Sum1_l5)) { rtb_MinMax = rtb_Merge_a; } @@ -20089,8 +20094,8 @@ void SIL_step(void) /* Switch: '/Switch2' incorporates: * RelationalOperator: '/LowerRelop1' */ - if (!(rtb_Merge_a > rtb_Sum1_ay)) { - rtb_Sum1_ay = rtb_MinMax; + if (!(rtb_Merge_a > rtb_Sum1_l5)) { + rtb_Sum1_l5 = rtb_MinMax; } /* End of Switch: '/Switch2' */ @@ -20098,7 +20103,7 @@ void SIL_step(void) /* Sum: '/Sum1' incorporates: * Delay: '/last_hdot_c' */ - rtb_Sum1_ay += SIL_DW.last_hdot_c_DSTATE; + rtb_Sum1_l5 += SIL_DW.last_hdot_c_DSTATE; /* Product: '/MaxHdot' */ rtb_MaxHdot /= rtb_Switch2_el; @@ -20119,8 +20124,8 @@ void SIL_step(void) /* Switch: '/Switch' incorporates: * RelationalOperator: '/UpperRelop' */ - if (!(rtb_Sum1_ay < rtb_Merge_a)) { - rtb_Merge_a = rtb_Sum1_ay; + if (!(rtb_Sum1_l5 < rtb_Merge_a)) { + rtb_Merge_a = rtb_Sum1_l5; } /* End of Switch: '/Switch' */ @@ -20128,7 +20133,7 @@ void SIL_step(void) /* Switch: '/Switch2' incorporates: * RelationalOperator: '/LowerRelop1' */ - if (rtb_Sum1_ay > rtb_MinMax) { + if (rtb_Sum1_l5 > rtb_MinMax) { rtb_Merge_a = rtb_MinMax; } @@ -20255,7 +20260,7 @@ void SIL_step(void) */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_el = rtb_Merge_n.de_c; - rtb_Sum1_ay = rtb_Merge_n.da_c; + rtb_Sum1_l5 = rtb_Merge_n.da_c; rtb_MinMax = rtb_Merge_n.del_c; rtb_Merge_h_der_c = rtb_Merge_n.der_c; rtb_Merge_h_dal_c = rtb_Merge_n.dal_c; @@ -20469,7 +20474,7 @@ void SIL_step(void) */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_el = rtb_Merge_n.de_c; - rtb_Sum1_ay = rtb_Merge_n.da_c; + rtb_Sum1_l5 = rtb_Merge_n.da_c; rtb_MinMax = rtb_Merge_n.del_c; rtb_Merge_h_der_c = rtb_Merge_n.der_c; rtb_Merge_h_dal_c = rtb_Merge_n.dal_c; @@ -20599,7 +20604,7 @@ void SIL_step(void) */ rtb_MaxHdot = rtb_Merge_n.dr_c; rtb_Switch2_el = rtb_Merge_n.de_c; - rtb_Sum1_ay = rtb_Merge_n.da_c; + rtb_Sum1_l5 = rtb_Merge_n.da_c; rtb_MinMax = rtb_Merge_n.del_c; rtb_Merge_h_der_c = rtb_Merge_n.der_c; rtb_Merge_h_dal_c = rtb_Merge_n.dal_c; @@ -20738,7 +20743,7 @@ void SIL_step(void) * Chart: '/psi_err1' * Chart: '/psi_err2' */ - SIL_psi_err_Reset(&rtb_out_d2); + SIL_psi_err_Reset(&rtb_out_d); SIL_psi_err_Reset(&rtb_out_fs); SIL_psi_err_Reset(&rtb_out_gz); @@ -20861,7 +20866,7 @@ void SIL_step(void) rtb_err_psi = rtb_Sum_oi - SIL_DW.UnitDelay_DSTATE.psi_t; /* Chart: '/psi_err' */ - SIL_psi_err(rtb_err_psi, &rtb_out_d2); + SIL_psi_err(rtb_err_psi, &rtb_out_d); /* Product: '/product1' incorporates: * Constant: '/Constant Single6' @@ -20869,7 +20874,7 @@ void SIL_step(void) * Sum: '/Sum1' * UnitDelay: '/Unit Delay' */ - rtb_Saturationcos = (rtb_out_d2 * SIL_P.w_as + + rtb_Saturationcos = (rtb_out_d * SIL_P.w_as + SIL_DW.UnitDelay_DSTATE.omega_des) * rtb_posv_g; /* Switch: '/Switch2' incorporates: @@ -20922,7 +20927,7 @@ void SIL_step(void) */ rtb_posv_g = rtb_MaxHdot; rtb_Saturationcos = rtb_Switch2_el; - rtb_Switch_e1 = rtb_Sum1_ay; + rtb_Switch_e1 = rtb_Sum1_l5; rtb_max_dpsi = rtb_MinMax; rtb_Merge_nh_der_c = rtb_Merge_h_der_c; rtb_Merge_nh_dal_c = rtb_Merge_h_dal_c; @@ -21057,7 +21062,7 @@ void SIL_step(void) */ rtb_posv_g = rtb_MaxHdot; rtb_Saturationcos = rtb_Switch2_el; - rtb_Switch_e1 = rtb_Sum1_ay; + rtb_Switch_e1 = rtb_Sum1_l5; rtb_max_dpsi = rtb_MinMax; rtb_Merge_nh_der_c = rtb_Merge_h_der_c; rtb_Merge_nh_dal_c = rtb_Merge_h_dal_c; @@ -23644,16 +23649,16 @@ void SIL_step(void) rtb_Merge_i_ECU_CMD = (uint8_T)roundf((rtb_Divide2 - 2.0F) * 160.0F + 28.0F); } - } else if ((SIL_B.SFunction.SysState & 15) == 14) { + } else if ((SIL_B.SFunction.SysState & 15) >= 14) { /* SignalConversion: '/OutportBufferForCMD' */ rtb_Merge_i_ECU_CMD = 133U; } else { /* SignalConversion: '/OutportBufferForCMD' */ - rtb_Merge_i_ECU_CMD = 117U; + rtb_Merge_i_ECU_CMD = 28U; } } else { /* SignalConversion: '/OutportBufferForCMD' */ - rtb_Merge_i_ECU_CMD = 117U; + rtb_Merge_i_ECU_CMD = 28U; } } else { /* SignalConversion: '/OutportBufferForCMD' incorporates: @@ -24050,7 +24055,7 @@ void SIL_step(void) SIL_DW.mission_item_isValid = false; if (SIL_DW.is_active_c29_mavlink_utils == 0U) { SIL_DW.is_active_c29_mavlink_utils = 1U; - SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_c; + SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_m; SIL_B.enable_cnt = true; SIL_B.enable_item = false; } else { @@ -24058,7 +24063,7 @@ void SIL_step(void) guard2 = false; guard3 = false; guard4 = false; - if (SIL_DW.is_c29_mavlink_utils == SIL_IN_Idle_c) { + if (SIL_DW.is_c29_mavlink_utils == SIL_IN_Idle_m) { if (SIL_sf_msg_pop_mission_cnt()) { SIL_B.mission_type = ((mavlink_mission_count_t *) SIL_DW.mission_cnt_msgDataPtr)->mission_type; @@ -24128,44 +24133,44 @@ void SIL_step(void) switch (SIL_B.mission_type) { case 1: if (SIL_B.seq < SIL_fence_default_len) { - SIL_B.ack_ip = 0U; + SIL_B.ack_i = 0U; SIL_DW.f.command = SIL_B.command; SIL_DW.f.param = SIL_B.param1; SIL_DW.f.latlon[0] = SIL_B.x; SIL_DW.f.latlon[1] = SIL_B.y; - rtb_out_jr = SIL_B.seq + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - dummyFenceCount = (uint16_T)rtb_out_jr; + dummyFenceCount = (uint16_T)rtb_out_ob; dummyFence[dummyFenceCount - 1] = SIL_DW.f; } else { - SIL_B.ack_ip = 1U; + SIL_B.ack_i = 1U; } break; case 2: if (SIL_B.seq < SIL_rally_default_len) { - SIL_B.ack_ip = 0U; + SIL_B.ack_i = 0U; SIL_DW.r.latlon[0] = SIL_B.x; SIL_DW.r.latlon[1] = SIL_B.y; SIL_DW.r.alt = SIL_B.z; - rtb_out_jr = SIL_B.seq + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - dummyRallyCount = (uint16_T)rtb_out_jr; + dummyRallyCount = (uint16_T)rtb_out_ob; dummyRally[dummyRallyCount - 1] = SIL_DW.r; } else { - SIL_B.ack_ip = 1U; + SIL_B.ack_i = 1U; } break; default: if (SIL_B.seq < SIL_mission_default_len) { - SIL_B.ack_ip = 0U; + SIL_B.ack_i = 0U; SIL_DW.m.frame = SIL_B.frame; SIL_DW.m.command = SIL_B.command; SIL_DW.m.autocont = SIL_B.autocontinue; @@ -24176,22 +24181,22 @@ void SIL_step(void) SIL_DW.m.latlon[0] = SIL_B.x; SIL_DW.m.latlon[1] = SIL_B.y; SIL_DW.m.params[4] = SIL_B.z; - rtb_out_jr = SIL_B.seq + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - dummyMissionCount = (uint16_T)rtb_out_jr; + dummyMissionCount = (uint16_T)rtb_out_ob; dummyMission[dummyMissionCount - 1] = SIL_DW.m; } else { - SIL_B.ack_ip = 1U; + SIL_B.ack_i = 1U; } break; } /* End of Chart: '/chat_update_mission_item' */ /* End of Outputs for SubSystem: '/dummy update_mission_item' */ - if (SIL_B.ack_ip == 0) { + if (SIL_B.ack_i == 0) { SIL_B.seq++; SIL_DW.retry = 3U; if (SIL_B.seq >= SIL_DW.count) { @@ -24224,7 +24229,7 @@ void SIL_step(void) } if (guard3) { - SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_c; + SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_m; SIL_B.enable_cnt = true; SIL_B.enable_item = false; } @@ -24239,7 +24244,7 @@ void SIL_step(void) } if (guard1) { - SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_c; + SIL_DW.is_c29_mavlink_utils = SIL_IN_Idle_m; SIL_B.enable_cnt = true; SIL_B.enable_item = false; } @@ -24403,12 +24408,12 @@ void SIL_step(void) case 1: if (SIL_B.seq_e < dummyFenceCount) { SIL_B.ack_iw = 0U; - rtb_out_jr = SIL_B.seq_e + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq_e + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - expl_temp_0 = &dummyFence[(int32_T)rtb_out_jr - 1]; + expl_temp_0 = &dummyFence[(int32_T)rtb_out_ob - 1]; SIL_B.frame_l = 5U; SIL_B.command_p = expl_temp_0->command; SIL_B.autocont = 0U; @@ -24423,12 +24428,12 @@ void SIL_step(void) case 2: if (SIL_B.seq_e < dummyRallyCount) { SIL_B.ack_iw = 0U; - rtb_out_jr = SIL_B.seq_e + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq_e + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - expl_temp_1 = &dummyRally[(int32_T)rtb_out_jr - 1]; + expl_temp_1 = &dummyRally[(int32_T)rtb_out_ob - 1]; SIL_B.command_p = 5100U; SIL_B.x_k = expl_temp_1->latlon[0]; SIL_B.y_m = expl_temp_1->latlon[1]; @@ -24441,12 +24446,12 @@ void SIL_step(void) default: if (SIL_B.seq_e < dummyMissionCount) { SIL_B.ack_iw = 0U; - rtb_out_jr = SIL_B.seq_e + 1U; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = SIL_B.seq_e + 1U; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } - expl_temp = &dummyMission[(int32_T)rtb_out_jr - 1]; + expl_temp = &dummyMission[(int32_T)rtb_out_ob - 1]; SIL_B.frame_l = expl_temp->frame; SIL_B.command_p = expl_temp->command; SIL_B.autocont = expl_temp->autocont; @@ -25036,8 +25041,8 @@ void SIL_step(void) SIL_DW.param_set_isValid = false; if (SIL_DW.is_active_c31_mavlink_utils == 0U) { SIL_DW.is_active_c31_mavlink_utils = 1U; - SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_c; - } else if (SIL_DW.is_c31_mavlink_utils == SIL_IN_Idle_c) { + SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_m; + } else if (SIL_DW.is_c31_mavlink_utils == SIL_IN_Idle_m) { guard1 = false; if (SIL_sf_msg_pop_param_set()) { SIL_B.idx = *(uint16_T *)SIL_DW.param_set_msgDataPtr; @@ -25084,7 +25089,7 @@ void SIL_step(void) SIL_sf_msg_send_msg_d(); } } else if (SIL_DW.forone) { - SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_c; + SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_m; } else { if (SIL_DW.temporalCounter_i1_ia >= 40U) { SIL_B.idx++; @@ -25116,7 +25121,7 @@ void SIL_step(void) SIL_DW.msg_msgData_e.param_count = SIL_B.param_cnt; SIL_sf_msg_send_msg_d(); } else { - SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_c; + SIL_DW.is_c31_mavlink_utils = SIL_IN_Idle_m; } } } @@ -25170,8 +25175,8 @@ void SIL_step(void) SIL_DW.ap_ver_queue_isValid = false; if (SIL_DW.is_active_c41_kb3_autopilot == 0U) { SIL_DW.is_active_c41_kb3_autopilot = 1U; - SIL_DW.is_c41_kb3_autopilot = SIL_IN_Idle_c; - } else if (SIL_DW.is_c41_kb3_autopilot == SIL_IN_Idle_c) { + SIL_DW.is_c41_kb3_autopilot = SIL_IN_Idle_m; + } else if (SIL_DW.is_c41_kb3_autopilot == SIL_IN_Idle_m) { if (SIL_sf_msg_pop_command_ack_queue()) { SIL_B.command_ack = *(mavlink_command_ack_t *) SIL_DW.command_ack_queue_msgDataPtr; @@ -25229,7 +25234,7 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/mission_item_int_enc' */ } else if (SIL_sf_msg_pop_mission_ack_queue()) { - SIL_B.mission_ack_a = *(mavlink_mission_ack_t *) + SIL_B.mission_ack_b = *(mavlink_mission_ack_t *) SIL_DW.mission_ack_queue_msgDataPtr; /* Outputs for Function Call SubSystem: '/mission_ack_enc' */ @@ -25237,13 +25242,13 @@ void SIL_step(void) * Constant: '/Constant BP' * Constant: '/Constant BP1' */ - mav_mission_ack_encode_Outputs_wrapper(&SIL_B.mission_ack_a, + mav_mission_ack_encode_Outputs_wrapper(&SIL_B.mission_ack_b, &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_h, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); /* End of Outputs for SubSystem: '/mission_ack_enc' */ } else if (SIL_sf_msg_pop_mission_req_int_queue()) { - SIL_B.mission_req_int_k = *(mavlink_mission_request_int_t *) + SIL_B.mission_req_int_f = *(mavlink_mission_request_int_t *) SIL_DW.mission_req_int_queue_msgDataPtr; /* Outputs for Function Call SubSystem: '/mission_req_int_enc' */ @@ -25252,7 +25257,7 @@ void SIL_step(void) * Constant: '/Constant BP1' */ mav_mission_request_int_encode_Outputs_wrapper - (&SIL_B.mission_req_int_k, &SIL_B.DataTypeConversion_n, + (&SIL_B.mission_req_int_f, &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_h, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); @@ -25272,7 +25277,7 @@ void SIL_step(void) /* End of Outputs for SubSystem: '/param_val_enc' */ } else if (SIL_sf_msg_pop_ap_ver_queue()) { - SIL_B.ap_ver_e = *(mavlink_autopilot_version_t *) + SIL_B.ap_ver_l = *(mavlink_autopilot_version_t *) SIL_DW.ap_ver_queue_msgDataPtr; /* Outputs for Function Call SubSystem: '/ap_ver_enc' */ @@ -25280,7 +25285,7 @@ void SIL_step(void) * Constant: '/Constant BP' * Constant: '/Constant BP1' */ - mav_autopilot_version_encode_Outputs_wrapper(&SIL_B.ap_ver_e, + mav_autopilot_version_encode_Outputs_wrapper(&SIL_B.ap_ver_l, &SIL_B.DataTypeConversion_n, &rtCP_ConstantBP_Value_h, &rtCP_ConstantBP1_Value_g, &SIL_B.Merged_msg); @@ -25425,8 +25430,8 @@ void SIL_step(void) */ 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_p = SIL_B.BusAssignment_j.v_n; - SIL_B.ve_d = SIL_B.BusAssignment_j.v_e; + SIL_B.vn_l = SIL_B.BusAssignment_j.v_n; + SIL_B.ve_m = SIL_B.BusAssignment_j.v_e; /* Chart: '/Chart' incorporates: * SubSystem: '/get_cog' @@ -25434,7 +25439,7 @@ void SIL_step(void) /* Gain: '/Gain' incorporates: * Trigonometry: '/Trigonometric Function' */ - SIL_B.Merge_f = 57.2957802F * rt_atan2f_snf(SIL_B.ve_d, SIL_B.vn_p); + SIL_B.Merge_f = 57.2957802F * rt_atan2f_snf(SIL_B.ve_m, SIL_B.vn_l); /* If: '/If' */ if (SIL_B.Merge_f < 0.0F) { @@ -25662,9 +25667,9 @@ void SIL_step(void) /* Product: '/Divide' incorporates: * Constant: '/Constant' */ - rtb_out_jr = 1000U * SIL_B.mav_status.packet_rx_drop_count; - if (rtb_out_jr > 65535U) { - rtb_out_jr = 65535U; + rtb_out_ob = 1000U * SIL_B.mav_status.packet_rx_drop_count; + if (rtb_out_ob > 65535U) { + rtb_out_ob = 65535U; } /* Chart: '/Chart' incorporates: @@ -25672,7 +25677,7 @@ void SIL_step(void) * Product: '/Divide' * Sum: '/Sum' */ - SIL_B.sys_status.drop_rate_comm = (uint16_T)(rtb_out_jr / + SIL_B.sys_status.drop_rate_comm = (uint16_T)(rtb_out_ob / (((uint32_T)SIL_B.mav_status.packet_rx_drop_count + SIL_B.mav_status.packet_rx_success_count) + 1U)); SIL_B.sys_status.errors_comm = SIL_B.mav_status.packet_rx_drop_count; @@ -26062,7 +26067,7 @@ void SIL_step(void) &SIL_B.mav_msg2buff_o2, 256); /* End of Outputs for SubSystem: '/Function-Call Subsystem' */ - SIL_B.seq_gx++; + SIL_B.seq_j++; rtb_Merge_h_boot_time = SIL_B.mav_msg2buff_o2 * 1000000U; if (transrate == 0U) { if (rtb_Merge_h_boot_time == 0U) { @@ -26081,7 +26086,7 @@ void SIL_step(void) } else { if ((uint32_T)((int32_T)SIL_DW.temporalCounter_i1 * 5000) >= SIL_DW.wait_time) { - SIL_DW.is_c41_kb3_autopilot = SIL_IN_Idle_c; + SIL_DW.is_c41_kb3_autopilot = SIL_IN_Idle_m; } } @@ -26115,8 +26120,8 @@ void SIL_step(void) memcpy(&SIL_Y.buff[0], &SIL_B.mav_msg2buff_o1[0], sizeof(uint8_T) << 8U); /* Chart: '/rec_ctrl' */ - if (SIL_DW.temporalCounter_i1_i5 < 15U) { - SIL_DW.temporalCounter_i1_i5++; + if (SIL_DW.temporalCounter_i1_i < 15U) { + SIL_DW.temporalCounter_i1_i++; } if (SIL_DW.temporalCounter_i2_d < 63U) { @@ -26125,11 +26130,11 @@ void SIL_step(void) if (SIL_DW.is_active_c1_kb3_rec == 0U) { SIL_DW.is_active_c1_kb3_rec = 1U; - SIL_DW.temporalCounter_i1_i5 = 0U; + SIL_DW.temporalCounter_i1_i = 0U; SIL_DW.is_a5Hz = SIL_IN_start; SIL_DW.temporalCounter_i2_d = 0U; } else { - if (SIL_DW.temporalCounter_i1_i5 >= 10U) { + if (SIL_DW.temporalCounter_i1_i >= 10U) { SIL_B.seq_l++; /* Outputs for Function Call SubSystem: '/rec20Hz' */ @@ -26341,7 +26346,7 @@ void SIL_step(void) SIL_B.Merge1_e = SIL_ConstB.Width1_i; /* End of Outputs for SubSystem: '/rec20Hz' */ - SIL_DW.temporalCounter_i1_i5 = 0U; + SIL_DW.temporalCounter_i1_i = 0U; } if (SIL_DW.is_a5Hz == SIL_IN_idle_p) { @@ -27145,7 +27150,7 @@ void SIL_step(void) if (rtmIsMajorTimeStep(SIL_M) && SIL_M->Timing.TaskCounters.TID[2] == 0) { /* Outport: '/seq' */ - SIL_Y.seq = SIL_B.seq_gx; + SIL_Y.seq = SIL_B.seq_j; /* Outport: '/buff_len' */ SIL_Y.buff_len = SIL_B.mav_msg2buff_o2; @@ -27864,25 +27869,26 @@ void SIL_initialize(void) SIL_B.BusAssignment_g = SIL_rtZC2; SIL_B.BusAssignment_i = SIL_rtZC2; SIL_B.mode = ENUM_mode_MANUAL; - SIL_B.mode_o = ENUM_mode_MANUAL; - SIL_B.mode_l = ENUM_mode_MANUAL; + SIL_B.mode_b = ENUM_mode_MANUAL; + SIL_B.mode_i = ENUM_mode_MANUAL; SIL_B.landed_state_out = ENUM_LANDED_STATE_UNDEFINED; - SIL_B.landed_state_out_n = ENUM_LANDED_STATE_UNDEFINED; + SIL_B.landed_state_out_h = ENUM_LANDED_STATE_UNDEFINED; SIL_B.CSAS_yaw = ENUM_CSAS_YAW_OFF; - SIL_B.CSAS_yaw_f = ENUM_CSAS_YAW_OFF; + SIL_B.CSAS_yaw_d = ENUM_CSAS_YAW_OFF; SIL_B.CSAS_roll = ENUM_CSAS_ROLL_OFF; - SIL_B.CSAS_roll_e = ENUM_CSAS_ROLL_OFF; + SIL_B.CSAS_roll_i = ENUM_CSAS_ROLL_OFF; SIL_B.CSAS_pitch = ENUM_CSAS_PITCH_OFF; - SIL_B.CSAS_pitch_h = ENUM_CSAS_PITCH_OFF; + SIL_B.CSAS_pitch_p = ENUM_CSAS_PITCH_OFF; SIL_B.AT_out = ENUM_AT_OFF; SIL_B.AT = ENUM_AT_OFF; - SIL_B.AT_f = ENUM_AT_OFF; + SIL_B.AT_o = ENUM_AT_OFF; + SIL_B.AS_SEL = ENUM_AS_SEL_IAS; SIL_B.AFCS_VERT_out = ENUM_AFCS_VERT_OFF; SIL_B.AFCS_VERT = ENUM_AFCS_VERT_OFF; - SIL_B.AFCS_VERT_b = ENUM_AFCS_VERT_OFF; + SIL_B.AFCS_VERT_o = ENUM_AFCS_VERT_OFF; SIL_B.AFCS_LNAV = ENUM_AFCS_LAT_OFF; SIL_B.AFCS_LNAV_p = ENUM_AFCS_LAT_OFF; - SIL_B.AFCS_LNAV_pz = ENUM_AFCS_LAT_OFF; + SIL_B.AFCS_LNAV_m = ENUM_AFCS_LAT_OFF; } /* custom signals */ @@ -27933,7 +27939,7 @@ void SIL_initialize(void) /* local block i/o variables */ real32_T rtb_out_gz; real32_T rtb_out_fs; - real32_T rtb_out_d2; + real32_T rtb_out_d; int32_T i; /* Start for If: '/If' */ @@ -28753,97 +28759,97 @@ void SIL_initialize(void) SIL_DW.S = 110.4; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_ca = 0U; + SIL_DW.temporalCounter_i1_d3 = 0U; SIL_DW.is_active_c44_kb3_autopilot = 0U; SIL_DW.is_c44_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_dy = 0U; + SIL_DW.temporalCounter_i1_k = 0U; SIL_DW.is_active_c49_kb3_autopilot = 0U; SIL_DW.is_c49_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_d = 0U; + SIL_DW.temporalCounter_i1_hk = 0U; SIL_DW.is_active_c59_kb3_autopilot = 0U; SIL_DW.is_c59_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_p5 = 0U; + SIL_DW.temporalCounter_i1_ay = 0U; SIL_DW.is_active_c62_kb3_autopilot = 0U; SIL_DW.is_c62_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_n = 0U; + SIL_DW.temporalCounter_i1_hn = 0U; SIL_DW.is_active_c64_kb3_autopilot = 0U; SIL_DW.is_c64_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_hz = 0U; + SIL_DW.temporalCounter_i1_n = 0U; SIL_DW.is_active_c67_kb3_autopilot = 0U; SIL_DW.is_c67_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_pg = 0U; + SIL_DW.temporalCounter_i1_d = 0U; SIL_DW.is_active_c68_kb3_autopilot = 0U; SIL_DW.is_c68_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_pk = 0U; + SIL_DW.temporalCounter_i1_ak = 0U; SIL_DW.is_active_c69_kb3_autopilot = 0U; SIL_DW.is_c69_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_kq = 0U; + SIL_DW.temporalCounter_i1_m = 0U; SIL_DW.is_active_c70_kb3_autopilot = 0U; SIL_DW.is_c70_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_j = 0U; + SIL_DW.temporalCounter_i1_kn = 0U; SIL_DW.is_active_c45_kb3_autopilot = 0U; SIL_DW.is_c45_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_n4 = 0U; + SIL_DW.temporalCounter_i1_ie = 0U; SIL_DW.is_active_c46_kb3_autopilot = 0U; SIL_DW.is_c46_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_l = 0U; + SIL_DW.temporalCounter_i1_eb = 0U; SIL_DW.is_active_c47_kb3_autopilot = 0U; SIL_DW.is_c47_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_oh = 0U; + SIL_DW.temporalCounter_i1_foy = 0U; SIL_DW.is_active_c54_kb3_autopilot = 0U; SIL_DW.is_c54_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_pb = 0U; + SIL_DW.temporalCounter_i1_et = 0U; SIL_DW.is_active_c55_kb3_autopilot = 0U; SIL_DW.is_c55_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_g = 0U; + SIL_DW.temporalCounter_i1_fk = 0U; SIL_DW.is_active_c56_kb3_autopilot = 0U; SIL_DW.is_c56_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_b = 0U; + SIL_DW.temporalCounter_i1_cj = 0U; SIL_DW.is_active_c57_kb3_autopilot = 0U; SIL_DW.is_c57_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_ol = 0U; + SIL_DW.temporalCounter_i1_ib = 0U; SIL_DW.is_active_c58_kb3_autopilot = 0U; SIL_DW.is_c58_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_o = 0U; + SIL_DW.temporalCounter_i1_dp = 0U; SIL_DW.is_active_c50_kb3_autopilot = 0U; SIL_DW.is_c50_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_ki = 0U; + SIL_DW.temporalCounter_i1_h0 = 0U; SIL_DW.is_active_c60_kb3_autopilot = 0U; SIL_DW.is_c60_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28853,7 +28859,7 @@ void SIL_initialize(void) SIL_DW.is_c13_C2_proc_comm = SIL_IN_NO_ACTIVE_CHILD_l; /* SystemInitialize for Chart: '/valid_checking' */ - SIL_DW.temporalCounter_i1_b5 = 0U; + SIL_DW.temporalCounter_i1_b = 0U; SIL_DW.is_active_c54_update_rc = 0U; SIL_DW.is_c54_update_rc = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28893,7 +28899,7 @@ void SIL_initialize(void) /* SystemInitialize for IfAction SubSystem: '/takeoff' */ /* SystemInitialize for Chart: '/takeoff_task' */ - SIL_DW.temporalCounter_i1_k = 0U; + SIL_DW.temporalCounter_i1_hv = 0U; SIL_DW.is_active_c28_kb3_autopilot = 0U; SIL_DW.is_c28_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28901,7 +28907,7 @@ void SIL_initialize(void) /* SystemInitialize for IfAction SubSystem: '/landing' */ /* SystemInitialize for Chart: '/landing_task' */ - SIL_DW.temporalCounter_i1_lp = 0U; + SIL_DW.temporalCounter_i1_dq = 0U; SIL_DW.is_active_c23_kb3_autopilot = 0U; SIL_DW.is_c23_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28909,7 +28915,7 @@ void SIL_initialize(void) /* SystemInitialize for IfAction SubSystem: '/waypoint' */ /* SystemInitialize for Chart: '/Chart' */ - SIL_DW.temporalCounter_i1_a = 0U; + SIL_DW.temporalCounter_i1_m0 = 0U; SIL_DW.is_active_c29_kb3_autopilot = 0U; SIL_DW.is_c29_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28932,7 +28938,7 @@ void SIL_initialize(void) /* SystemInitialize for IfAction SubSystem: '/recovery' */ /* SystemInitialize for Chart: '/landing_task' */ - SIL_DW.temporalCounter_i1_kf = 0U; + SIL_DW.temporalCounter_i1_a = 0U; SIL_DW.is_active_c20_kb3_autopilot = 0U; SIL_DW.is_c20_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28942,7 +28948,7 @@ void SIL_initialize(void) SIL_DW.is_cut = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.is_parachute = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.temporalCounter_i2 = 0U; - SIL_DW.temporalCounter_i1_i = 0U; + SIL_DW.temporalCounter_i1_e = 0U; SIL_DW.is_active_c21_kb3_autopilot = 0U; SIL_DW.is_c21_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; @@ -28996,7 +29002,7 @@ void SIL_initialize(void) /* SystemInitialize for IfAction SubSystem: '/LNAV2PHI' */ /* SystemInitialize for Chart: '/psi_err' */ - SIL_psi_err_Init(&rtb_out_d2); + SIL_psi_err_Init(&rtb_out_d); /* SystemInitialize for Chart: '/psi_err1' */ SIL_psi_err_Init(&rtb_out_fs); @@ -29103,7 +29109,7 @@ void SIL_initialize(void) SIL_DW.temporalCounter_i1 = 0U; SIL_DW.is_active_c41_kb3_autopilot = 0U; SIL_DW.is_c41_kb3_autopilot = SIL_IN_NO_ACTIVE_CHILD_l; - SIL_B.seq_gx = 0U; + SIL_B.seq_j = 0U; /* SystemInitialize for Chart: '/traffic_ctrl' incorporates: * SubSystem: '/loop_download' @@ -29129,7 +29135,7 @@ void SIL_initialize(void) /* End of SystemInitialize for SubSystem: '/kb3_autopilot' */ /* SystemInitialize for Chart: '/rec_ctrl' */ - SIL_DW.temporalCounter_i1_i5 = 0U; + SIL_DW.temporalCounter_i1_i = 0U; SIL_DW.is_a5Hz = SIL_IN_NO_ACTIVE_CHILD_l; SIL_DW.temporalCounter_i2_d = 0U; SIL_DW.is_active_c1_kb3_rec = 0U; diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL.h b/SIL/work/SIL_ert_shrlib_rtw/SIL.h index 5535d00..586f329 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL.h @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -328,7 +328,7 @@ typedef struct { mavlink_bmustate_t BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1; TrajGen UnitDelay; /* '/Unit Delay' */ mavlink_autopilot_version_t ap_ver; /* '/send_auto_hw' */ - mavlink_autopilot_version_t ap_ver_e;/* '/traffic_ctrl' */ + mavlink_autopilot_version_t ap_ver_l;/* '/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' */ @@ -348,7 +348,7 @@ typedef struct { mavlink_ccmstate_t BusConversion_InsertedFor_SFunction_at_inport_0_BusCreator1_h; mavlink_attitude_t att; /* '/Chart' */ - CommandMsg msg_g; /* '/send_cmd' */ + CommandMsg msg_o; /* '/send_cmd' */ CommandMsg cmd; /* '/mission_proc' */ mavlink_vfr_hud_t hud; /* '/Chart' */ mavlink_status_t mav_status; /* '/mav_parser' */ @@ -363,7 +363,7 @@ typedef struct { 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_k;/* '/traffic_ctrl' */ + mavlink_mission_request_int_t mission_req_int_f;/* '/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' */ @@ -375,7 +375,7 @@ typedef struct { 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_a; /* '/traffic_ctrl' */ + mavlink_mission_ack_t mission_ack_b; /* '/traffic_ctrl' */ mavlink_extended_sys_state_t ext_sys_stat;/* '/Chart' */ real_T Sum[3]; /* '/Sum' */ real_T p1[3]; /* '/p1' */ @@ -757,7 +757,7 @@ typedef struct { real_T product1_c; /* '/product1' */ real_T product_ey; /* '/product' */ real_T add_h; /* '/add' */ - CommandAck ack_i; /* '/proc_cmd' */ + CommandAck ack_g; /* '/proc_cmd' */ uint32_T TmpSignalConversionAtBytePackInport1[3]; uint32_T TmpSignalConversionAtBytePackInport1_l[2]; uint32_T TmpSignalConversionAtBytePackInport4[3]; @@ -818,8 +818,8 @@ typedef struct { real32_T f; /* '/Chart_proc_param_set' */ real32_T vn; /* '/Chart' */ real32_T ve; /* '/Chart' */ - real32_T vn_p; /* '/Chart' */ - real32_T ve_d; /* '/Chart' */ + real32_T vn_l; /* '/Chart' */ + real32_T ve_m; /* '/Chart' */ real32_T Merge_f; /* '/Merge' */ real32_T Sqrt; /* '/Sqrt' */ real32_T rdot; /* '/Merge2' */ @@ -841,8 +841,8 @@ typedef struct { real32_T de_c; /* '/takeoff_task' */ real32_T acts[3]; /* '/sweep_generator' */ real32_T hdot_c; /* '/landing_task' */ - real32_T phi_c_g; /* '/landing_task' */ - real32_T tht_c_i; /* '/landing_task' */ + real32_T phi_c_f; /* '/landing_task' */ + real32_T tht_c_l; /* '/landing_task' */ real32_T max_de_out; /* '/landing_task' */ real32_T min_de_out; /* '/landing_task' */ real32_T max_da_out; /* '/landing_task' */ @@ -935,25 +935,26 @@ typedef struct { int32_T y_m; /* '/chat_get_mission_item' */ int32_T ByteUnpack_o1[2]; /* '/Byte Unpack' */ ENUM_mode mode; /* '/Chart' */ - ENUM_mode mode_o; /* '/takeoff_task' */ - ENUM_mode mode_l; /* '/landing_task' */ + ENUM_mode mode_b; /* '/takeoff_task' */ + ENUM_mode mode_i; /* '/landing_task' */ ENUM_LANDED_STATE landed_state_out; /* '/takeoff_task' */ - ENUM_LANDED_STATE landed_state_out_n;/* '/landing_task' */ + ENUM_LANDED_STATE landed_state_out_h;/* '/landing_task' */ ENUM_CSAS_YAW CSAS_yaw; /* '/takeoff_task' */ - ENUM_CSAS_YAW CSAS_yaw_f; /* '/landing_task' */ + ENUM_CSAS_YAW CSAS_yaw_d; /* '/landing_task' */ ENUM_CSAS_ROLL CSAS_roll; /* '/takeoff_task' */ - ENUM_CSAS_ROLL CSAS_roll_e; /* '/landing_task' */ + ENUM_CSAS_ROLL CSAS_roll_i; /* '/landing_task' */ ENUM_CSAS_PITCH CSAS_pitch; /* '/takeoff_task' */ - ENUM_CSAS_PITCH CSAS_pitch_h; /* '/landing_task' */ + ENUM_CSAS_PITCH CSAS_pitch_p; /* '/landing_task' */ ENUM_AT AT_out; /* '/Chart' */ ENUM_AT AT; /* '/takeoff_task' */ - ENUM_AT AT_f; /* '/landing_task' */ + ENUM_AT AT_o; /* '/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_b; /* '/landing_task' */ + ENUM_AFCS_VERT AFCS_VERT_o; /* '/landing_task' */ ENUM_AFCS_LAT AFCS_LNAV; /* '/Chart' */ ENUM_AFCS_LAT AFCS_LNAV_p; /* '/takeoff_task' */ - ENUM_AFCS_LAT AFCS_LNAV_pz; /* '/landing_task' */ + ENUM_AFCS_LAT AFCS_LNAV_m; /* '/landing_task' */ uint16_T UnitDelay_is; /* '/Unit Delay' */ uint16_T Merge1_e; /* '/Merge1' */ uint16_T TmpSignalConversionAtBytePackInport4_b[18]; @@ -989,10 +990,10 @@ typedef struct { uint16_T cur_np; /* '/mission_proc' */ uint16_T command_j; /* '/mav' */ uint16_T WP_out; /* '/Chart' */ - uint16_T WP_out_d; /* '/landing_task' */ - uint16_T WP_out_j; /* '/takeoff_task' */ + uint16_T WP_out_m; /* '/landing_task' */ + uint16_T WP_out_d; /* '/takeoff_task' */ uint16_T peroid_out; /* '/Chart' */ - uint16_T WP_out_m; /* '/landing_task' */ + uint16_T WP_out_f; /* '/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' */ @@ -1085,7 +1086,7 @@ typedef struct { uint8_T frame; /* '/Chart_proc_mission_upload' */ uint8_T autocontinue; /* '/Chart_proc_mission_upload' */ uint8_T ack_d; /* '/chat_clear_mission' */ - uint8_T ack_ip; /* '/chat_update_mission_item' */ + 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' */ @@ -1101,7 +1102,7 @@ typedef struct { 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 seq_gx; /* '/traffic_ctrl' */ + uint8_T seq_j; /* '/traffic_ctrl' */ uint8_T BitwiseOperator; /* '/Bitwise Operator' */ uint8_T DataTypeConversion_d; /* '/Data Type Conversion' */ uint8_T mav_msg2buff_o1[256]; /* '/mav_msg2buff' */ @@ -1161,7 +1162,7 @@ typedef struct { boolean_T is_mission; /* '/mav' */ boolean_T armed; /* '/landing_task' */ boolean_T valid_l; /* '/valid_checking' */ - boolean_T ack_b; /* '/proc_cmd' */ + boolean_T ack_o; /* '/proc_cmd' */ boolean_T LogicalOperator; /* '/Logical Operator' */ boolean_T enabled; /* '/tick' */ boolean_T enabled_j; /* '/tick' */ @@ -1198,7 +1199,7 @@ typedef struct { MavMission m; /* '/chat_update_mission_item' */ CommandMsg msg_msgData; /* '/send_cmd' */ CommandMsg cmd_msgData; /* '/mission_proc' */ - CommandMsg cmd_msgData_p; /* '/proc_cmd' */ + CommandMsg cmd_msgData_j; /* '/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' */ @@ -1272,7 +1273,7 @@ typedef struct { real_T Product_DWORK4_h[9]; /* '/Product' */ real_T m_bpLambda_nk[3]; /* '/table3D_Nh' */ CommandAck ack_msgData; /* '/Chart_send_ack' */ - CommandAck ack_msgData_k; /* '/proc_cmd' */ + CommandAck ack_msgData_h; /* '/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' */ @@ -1442,7 +1443,7 @@ typedef struct { void* msgs_msgInterface; /* '/proc_queue' */ void* msgs_msgHandle; /* '/proc_queue' */ void* msgs_msgDataPtr; /* '/proc_queue' */ - void* msg_msgInterface_i; /* '/send_cmd' */ + void* msg_msgInterface_h; /* '/send_cmd' */ void* ap_ver_msgInterface; /* '/send_auto_hw' */ void* send_req_msgInterface; /* '/Chart' */ void* send_ack_msgInterface; /* '/Chart_proc_mission_clr_all' */ @@ -1479,21 +1480,21 @@ typedef struct { void* command_ack_queue_msgInterface;/* '/traffic_ctrl' */ void* command_ack_queue_msgHandle; /* '/traffic_ctrl' */ void* command_ack_queue_msgDataPtr; /* '/traffic_ctrl' */ - void* send_ack_msgInterface_e; /* '/Chart_send_ack' */ - void* ack_msgInterface_l; /* '/Chart_send_ack' */ + void* send_ack_msgInterface_m; /* '/Chart_send_ack' */ + void* ack_msgInterface_p; /* '/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_p; /* '/proc_cmd' */ + void* cmd_msgInterface_b; /* '/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_f; /* '/proc_cmd' */ + void* ack_msgInterface_d; /* '/proc_cmd' */ void* Assertion_slioAccessor; /* '/Assertion' */ void* Assertion_slioAccessor_a; /* '/Assertion' */ real32_T DiscreteTransferFcn_states_m[2];/* '/Discrete Transfer Fcn' */ @@ -1554,8 +1555,8 @@ typedef struct { uint32_T m_bpIndex_hv[3]; /* '/table3D_cft' */ uint32_T m_bpIndex_io; /* '/1-D Lookup Table' */ uint32_T m_bpIndex_cs; /* '/1-D Lookup Table' */ - uint32_T m_bpIndex_m1; /* '/1-D Lookup Table' */ uint32_T m_bpIndex_e; /* '/IAS_lookup' */ + uint32_T m_bpIndex_m1; /* '/1-D Lookup Table' */ uint32_T m_bpIndex_iv[3]; /* '/table3D_cft' */ uint32_T wait_time; /* '/traffic_ctrl' */ uint32_T temporalCounter_i1; /* '/traffic_ctrl' */ @@ -1584,19 +1585,19 @@ typedef struct { uint16_T UnitDelay2_1_DSTATE[18]; /* '/Unit Delay2' */ uint16_T UnitDelay_DSTATE_ky; /* '/Unit Delay' */ uint16_T last_seq; /* '/Chart' */ - uint16_T last_seq_b; /* '/Chart' */ + uint16_T last_seq_a; /* '/Chart' */ uint16_T last_seq_e; /* '/Chart' */ - uint16_T last_seq_a; /* '/Chart' */ - uint16_T last_seq_eg; /* '/Chart' */ - uint16_T last_seq_k; /* '/Chart' */ - uint16_T last_seq_bo; /* '/Chart' */ - uint16_T last_seq_ea; /* '/Chart' */ - uint16_T last_seq_j; /* '/Chart' */ - uint16_T last_seq_m; /* '/Chart' */ - uint16_T last_seq_i; /* '/Chart' */ - uint16_T last_seq_l; /* '/Chart' */ - uint16_T last_seq_n; /* '/Chart' */ - uint16_T last_seq_f; /* '/Chart' */ + uint16_T last_seq_ew; /* '/Chart' */ + uint16_T last_seq_a3; /* '/Chart' */ + uint16_T last_seq_p; /* '/Chart' */ + uint16_T last_seq_i; /* '/Chart' */ + uint16_T last_seq_o; /* '/Chart' */ + uint16_T last_seq_d; /* '/Chart' */ + uint16_T last_seq_j; /* '/Chart' */ + uint16_T last_seq_g; /* '/Chart' */ + uint16_T last_seq_e2; /* '/Chart' */ + uint16_T last_seq_m; /* '/Chart' */ + uint16_T last_seq_n; /* '/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' */ @@ -1608,10 +1609,10 @@ typedef struct { 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_k; /* '/takeoff_task' */ - uint16_T temporalCounter_i1_i; /* '/Chart' */ + uint16_T temporalCounter_i1_hv; /* '/takeoff_task' */ + uint16_T temporalCounter_i1_e; /* '/Chart' */ uint16_T temporalCounter_i2; /* '/Chart' */ - uint16_T temporalCounter_i1_kf; /* '/landing_task' */ + uint16_T temporalCounter_i1_a; /* '/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' */ @@ -1648,70 +1649,70 @@ typedef struct { int8_T If_ActiveSubsystem_i; /* '/If' */ uint8_T is_active_c1_kb3_rec; /* '/rec_ctrl' */ uint8_T is_a5Hz; /* '/rec_ctrl' */ - uint8_T temporalCounter_i1_i5; /* '/rec_ctrl' */ + uint8_T temporalCounter_i1_i; /* '/rec_ctrl' */ uint8_T temporalCounter_i2_d; /* '/rec_ctrl' */ uint8_T is_active_c70_kb3_autopilot; /* '/Chart' */ uint8_T is_c70_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_kq; /* '/Chart' */ + uint8_T temporalCounter_i1_m; /* '/Chart' */ uint8_T is_active_c69_kb3_autopilot; /* '/Chart' */ uint8_T is_c69_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_pk; /* '/Chart' */ + uint8_T temporalCounter_i1_ak; /* '/Chart' */ uint8_T is_active_c68_kb3_autopilot; /* '/Chart' */ uint8_T is_c68_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_pg; /* '/Chart' */ + uint8_T temporalCounter_i1_d; /* '/Chart' */ uint8_T is_active_c67_kb3_autopilot; /* '/Chart' */ uint8_T is_c67_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_hz; /* '/Chart' */ + uint8_T temporalCounter_i1_n; /* '/Chart' */ uint8_T is_active_c64_kb3_autopilot; /* '/Chart' */ uint8_T is_c64_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_n; /* '/Chart' */ + uint8_T temporalCounter_i1_hn; /* '/Chart' */ uint8_T is_active_c62_kb3_autopilot; /* '/Chart' */ uint8_T is_c62_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_p5; /* '/Chart' */ + uint8_T temporalCounter_i1_ay; /* '/Chart' */ uint8_T is_active_c60_kb3_autopilot; /* '/Chart' */ uint8_T is_c60_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_ki; /* '/Chart' */ + uint8_T temporalCounter_i1_h0; /* '/Chart' */ uint8_T is_active_c59_kb3_autopilot; /* '/Chart' */ uint8_T is_c59_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_d; /* '/Chart' */ + uint8_T temporalCounter_i1_hk; /* '/Chart' */ uint8_T is_active_c50_kb3_autopilot; /* '/Chart' */ uint8_T is_c50_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_o; /* '/Chart' */ + uint8_T temporalCounter_i1_dp; /* '/Chart' */ uint8_T is_active_c49_kb3_autopilot; /* '/Chart' */ uint8_T is_c49_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_dy; /* '/Chart' */ + uint8_T temporalCounter_i1_k; /* '/Chart' */ uint8_T is_active_c58_kb3_autopilot; /* '/Chart' */ uint8_T is_c58_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_mo; /* '/Chart' */ - uint8_T temporalCounter_i1_ol; /* '/Chart' */ + uint8_T last_seq_ma; /* '/Chart' */ + uint8_T temporalCounter_i1_ib; /* '/Chart' */ uint8_T is_active_c57_kb3_autopilot; /* '/Chart' */ uint8_T is_c57_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_p; /* '/Chart' */ - uint8_T temporalCounter_i1_b; /* '/Chart' */ + uint8_T last_seq_in; /* '/Chart' */ + uint8_T temporalCounter_i1_cj; /* '/Chart' */ uint8_T is_active_c56_kb3_autopilot; /* '/Chart' */ uint8_T is_c56_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_iq; /* '/Chart' */ - uint8_T temporalCounter_i1_g; /* '/Chart' */ + uint8_T last_seq_pm; /* '/Chart' */ + uint8_T temporalCounter_i1_fk; /* '/Chart' */ uint8_T is_active_c55_kb3_autopilot; /* '/Chart' */ uint8_T is_c55_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_lg; /* '/Chart' */ - uint8_T temporalCounter_i1_pb; /* '/Chart' */ + uint8_T last_seq_nu; /* '/Chart' */ + uint8_T temporalCounter_i1_et; /* '/Chart' */ uint8_T is_active_c54_kb3_autopilot; /* '/Chart' */ uint8_T is_c54_kb3_autopilot; /* '/Chart' */ - uint8_T last_seq_mw; /* '/Chart' */ - uint8_T temporalCounter_i1_oh; /* '/Chart' */ + uint8_T last_seq_d2; /* '/Chart' */ + uint8_T temporalCounter_i1_foy; /* '/Chart' */ uint8_T is_active_c47_kb3_autopilot; /* '/Chart' */ uint8_T is_c47_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_l; /* '/Chart' */ + uint8_T temporalCounter_i1_eb; /* '/Chart' */ uint8_T is_active_c46_kb3_autopilot; /* '/Chart' */ uint8_T is_c46_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_n4; /* '/Chart' */ + uint8_T temporalCounter_i1_ie; /* '/Chart' */ uint8_T is_active_c45_kb3_autopilot; /* '/Chart' */ uint8_T is_c45_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_j; /* '/Chart' */ + uint8_T temporalCounter_i1_kn; /* '/Chart' */ uint8_T is_active_c44_kb3_autopilot; /* '/Chart' */ uint8_T is_c44_kb3_autopilot; /* '/Chart' */ - uint8_T temporalCounter_i1_ca; /* '/Chart' */ + uint8_T temporalCounter_i1_d3; /* '/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' */ @@ -1737,15 +1738,15 @@ typedef struct { 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 temporalCounter_i1_b; /* '/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_a; /* '/Chart' */ + uint8_T temporalCounter_i1_m0; /* '/Chart' */ uint8_T is_active_c23_kb3_autopilot; /* '/landing_task' */ uint8_T is_c23_kb3_autopilot; /* '/landing_task' */ - uint8_T temporalCounter_i1_lp; /* '/landing_task' */ + uint8_T temporalCounter_i1_dq; /* '/landing_task' */ uint8_T is_active_c28_kb3_autopilot; /* '/takeoff_task' */ uint8_T is_c28_kb3_autopilot; /* '/takeoff_task' */ uint8_T is_active_c25_kb3_autopilot; /* '/sweep_generator' */ @@ -1760,7 +1761,7 @@ typedef struct { uint8_T is_cut; /* '/Chart' */ uint8_T is_active_c20_kb3_autopilot; /* '/landing_task' */ uint8_T is_c20_kb3_autopilot; /* '/landing_task' */ - uint8_T cnt_d; /* '/landing_task' */ + uint8_T cnt_g; /* '/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' */ diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c index abe8758..552627e 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.c @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -524,10 +524,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = { rtElementMap, rtSampleTimeMap, rtDimensionArray }, "float", - { 3443952047U, - 4117665914U, - 730231189U, - 800585165U }, + { 886494540U, + 3532910954U, + 3526104383U, + 3020580078U }, (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 aa2f46f..926fa33 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_capi.h @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * 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 57c84bc..4cee102 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_data.c @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) @@ -140,8 +140,8 @@ P_SIL_T SIL_P = { /* Variable: Clda_lst * Referenced by: '/Clda' */ - { -0.0533F, -0.0548F, -0.0566F, -0.0604F, -0.0624F, -0.0438F, -0.0311F, - -0.0278F, -0.0222F, -0.0161F, -0.0099F }, + { -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' @@ -774,7 +774,7 @@ const ConstP_SIL_T SIL_ConstP = { 16U, 1U, - { 0.0F, 0.0F, 0.0F, 0.0F, 1700.0F }, + { 0.0F, 0.0F, 0.0F, 0.0F, 1750.0F }, { 408647100, 1098500000 } }, { 0U, @@ -823,7 +823,7 @@ const ConstP_SIL_T SIL_ConstP = { 16U, 1U, - { 0.0F, 0.0F, 0.0F, 0.0F, 1700.0F }, + { 0.0F, 0.0F, 0.0F, 0.0F, 1750.0F }, { 408647100, 1094458605 } }, { 0U, diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h b/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h index 5171c19..9467eb4 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_private.h @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * Target selection: ert_shrlib.tlc * Embedded hardware selection: Intel->x86-64 (Windows64) diff --git a/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h b/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h index 3250257..2f9b286 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h +++ b/SIL/work/SIL_ert_shrlib_rtw/SIL_types.h @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * 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 057a61d..ede33fd 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 fb6f79d..c0dfeb3 100644 --- a/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h +++ b/SIL/work/SIL_ert_shrlib_rtw/rtmodel.h @@ -5,7 +5,7 @@ * * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 17:53:13 2020 + * C/C++ source code generated on : Sun Dec 13 10:45:00 2020 * * 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 0c6bfc0..dcf7da1 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 3b21a2c..760379b 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 b2905b8..fcfe199 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 acac458..53ae44a 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcAtmosCOESA.h index 0da99a2..a00f1b5 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_CalcAtmosCOESA diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.c index a33e63d..72a0963 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/CalcPAltCOESA.h index 885632a..9636422 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_CalcPAltCOESA diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.c index 091a50a..4e2c5db 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h b/SIL/work/slprj/ert_shrlib/_sharedutils/InitCalcAtmosCOESA.h index da87530..a195c02 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 527d569..44a7834 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 b98352f..b23757e 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 e0aa4d3..6e0ab24 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 891fd37..1046865 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 3a92577..68ac970 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h b/SIL/work/slprj/ert_shrlib/_sharedutils/Quat2Tbn_XRdqRR86.h index d394b57..56aee3e 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 7ff5a2e..bd6370e 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 30e27e4..e8ac9e0 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_binsearch_u32d diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c index 8f107b5..4cdf303 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h index 782d0e0..1d790be 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/binsearch_u32f.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_binsearch_u32f 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 6bce4c5..b256d48 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 6eef541..f5d1393 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C source code generated on : Fri Dec 11 15:14:00 2020 + * C source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c index 3067192..299f4c9 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h index c813509..29bee8c 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/intrp3d_fu32fl_pw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_intrp3d_fu32fl_pw 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 19e03d7..0416f59 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 8582b04..0666fba 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_intrp3d_l_pw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look1_binlcpw.c index 960f277..7080d0a 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 74983f3..0a729ca 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 16d3414..681f51a 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 cb572c9..bc06b66 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 2da8867..70b74fc 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 c1d8fb2..59a3842 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 fefd48f..2acf7e9 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 19b7bbf..b40d7d9 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 13debdc..584bc11 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 24047ae..c568d05 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 894c3b9..3cb4dd9 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 baf5906..d0e9343 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_look1_pbinlcapw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_binlxpw.c index d3356c8..d181811 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 b9973e1..8e1fd6f 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 index 07b66d3..23b88b3 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h index edee10c..2ad1430 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/look2_iflf_binlxpw.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_look2_iflf_binlxpw diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_binx.c index 62fe7d5..427de85 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 0c7e935..f4963c0 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_plook_binx diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c index b1efaf0..84a08f0 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h index 7be2aea..5af050d 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/plook_u32ff_binx.h @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_plook_u32ff_binx diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c index 59fdeeb..f3512ff 100644 --- a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c +++ b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.c @@ -3,9 +3,9 @@ * * Code generated for Simulink model 'SIL'. * - * Model version : 1.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #include "rtwtypes.h" diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h b/SIL/work/slprj/ert_shrlib/_sharedutils/power_4TBdBPK2.h index 5e5e3fe..83feaea 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 b7f0240..5813eb8 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetInf.h index 6fe8186..06edf07 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 75016f3..fd2db6a 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rtGetNaN.h index 3268445..d700f06 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 1f18874..72e3d20 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 167099b..6ff2c23 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 5af9cc9..f9ff254 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 baab933..f347b8d 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 8f17748..5fec776 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 381afa5..3180c9b 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 0690f85..204fdfe 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 79cf350..34abff3 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 e17b24d..b47b5ff 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 7e33bef..8a4fb02 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 4a0c732..fdc6bbc 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 2de5b4f..23b3757 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 73b9def..034f315 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ /* diff --git a/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h b/SIL/work/slprj/ert_shrlib/_sharedutils/rt_nonfinite.h index 4b872c6..2002c83 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 0705487..ad65d8f 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 7a72c15..3bc543d 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 22df215..09ec879 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 3c9fd4a..bcf42f5 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 c1f07a9..475d436 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 3e72fc5..f015bdf 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #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 b783859..fdcc8b4 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.575 + * Model version : 1.576 * Simulink Coder version : 9.0 (R2018b) 24-May-2018 - * C/C++ source code generated on : Fri Dec 11 15:14:00 2020 + * C/C++ source code generated on : Sun Dec 13 06:18:27 2020 */ #ifndef SHARE_wgs84_taylor_series