136 data->
longitude = p_longitude->getDoubleValue();
137 data->
latitude = p_latitude->getDoubleValue();
138 data->
elevation = p_elev_node->getDoubleValue();
139 data->
magvar = magvar_node->getDoubleValue();
141 data->
pitch = p_pitch->getDoubleValue();
142 data->
bank = p_bank->getDoubleValue();
143 data->
heading = p_heading->getDoubleValue();
147 data->
vvi = p_vvi->getDoubleValue();
148 data->
mach = p_mach->getDoubleValue();
151 data->
v_kcas = vel_kcas->getDoubleValue();
159 data->
beta = p_yaw->getDoubleValue();
160 data->
alpha_dot = p_alphadot->getDoubleValue();
161 data->
beta_dot = p_yaw_rate->getDoubleValue();
168 data->
elevator = p_elevator->getDoubleValue();
170 data->
rudder = p_rudder->getDoubleValue();
171 data->
flaps = p_flaps->getDoubleValue();
172 data->
flaps_cmd = p_flaps_cmd->getDoubleValue();
187 data->
epr[0] = epr0_node->getDoubleValue();
188 data->
epr[1] = epr1_node->getDoubleValue();
189 data->
epr[2] = epr2_node->getDoubleValue();
190 data->
epr[3] = epr3_node->getDoubleValue();
192 data->
egt[0] = egt0_node->getDoubleValue();
193 data->
egt[1] = egt1_node->getDoubleValue();
194 data->
egt[2] = egt2_node->getDoubleValue();
195 data->
egt[3] = egt3_node->getDoubleValue();
197 data->
n2_turbine[0] = n20_node->getDoubleValue();
198 data->
n2_turbine[1] = n21_node->getDoubleValue();
199 data->
n2_turbine[2] = n22_node->getDoubleValue();
200 data->
n2_turbine[3] = n23_node->getDoubleValue();
202 data->
n1_turbine[0] = n10_node->getDoubleValue();
203 data->
n1_turbine[1] = n11_node->getDoubleValue();
204 data->
n1_turbine[2] = n12_node->getDoubleValue();
205 data->
n1_turbine[3] = n13_node->getDoubleValue();
223 data->
oil_temp[0] = oil_temp0->getDoubleValue();
224 data->
oil_temp[1] = oil_temp1->getDoubleValue();
225 data->
oil_temp[2] = oil_temp2->getDoubleValue();
226 data->
oil_temp[3] = oil_temp3->getDoubleValue();
242 data->
fuel_tank[0] = tank0_node->getDoubleValue() * 0.001;
243 data->
fuel_tank[1] = tank1_node->getDoubleValue() * 0.001;
244 data->
fuel_tank[2] = tank2_node->getDoubleValue() * 0.001;
245 data->
fuel_tank[3] = tank3_node->getDoubleValue() * 0.001;
246 data->
fuel_tank[4] = tank4_node->getDoubleValue() * 0.001;
247 data->
fuel_tank[5] = tank5_node->getDoubleValue() * 0.001;
248 data->
fuel_tank[6] = tank6_node->getDoubleValue() * 0.001;
249 data->
fuel_tank[7] = tank7_node->getDoubleValue() * 0.001;
250 double total_fuel = 0.0;
251 for (
int t= 0; t<8; t++ ) total_fuel += data->
fuel_tank[t];
283 data->
wind = wind_speed_node->getDoubleValue();
284 data->
wind_dir = wind_dir_node->getDoubleValue();