-int FGInterface_2_LaRCsim (FGInterface& f) {
-
- Mass = f.get_Mass();
- I_xx = f.get_I_xx();
- I_yy = f.get_I_yy();
- I_zz = f.get_I_zz();
- I_xz = f.get_I_xz();
- // Dx_pilot = f.get_Dx_pilot();
- // Dy_pilot = f.get_Dy_pilot();
- // Dz_pilot = f.get_Dz_pilot();
- Dx_cg = f.get_Dx_cg();
- Dy_cg = f.get_Dy_cg();
- Dz_cg = f.get_Dz_cg();
- // F_X = f.get_F_X();
- // F_Y = f.get_F_Y();
- // F_Z = f.get_F_Z();
- // F_north = f.get_F_north();
- // F_east = f.get_F_east();
- // F_down = f.get_F_down();
- // F_X_aero = f.get_F_X_aero();
- // F_Y_aero = f.get_F_Y_aero();
- // F_Z_aero = f.get_F_Z_aero();
- // F_X_engine = f.get_F_X_engine();
- // F_Y_engine = f.get_F_Y_engine();
- // F_Z_engine = f.get_F_Z_engine();
- // F_X_gear = f.get_F_X_gear();
- // F_Y_gear = f.get_F_Y_gear();
- // F_Z_gear = f.get_F_Z_gear();
- // M_l_rp = f.get_M_l_rp();
- // M_m_rp = f.get_M_m_rp();
- // M_n_rp = f.get_M_n_rp();
- // M_l_cg = f.get_M_l_cg();
- // M_m_cg = f.get_M_m_cg();
- // M_n_cg = f.get_M_n_cg();
- // M_l_aero = f.get_M_l_aero();
- // M_m_aero = f.get_M_m_aero();
- // M_n_aero = f.get_M_n_aero();
- // M_l_engine = f.get_M_l_engine();
- // M_m_engine = f.get_M_m_engine();
- // M_n_engine = f.get_M_n_engine();
- // M_l_gear = f.get_M_l_gear();
- // M_m_gear = f.get_M_m_gear();
- // M_n_gear = f.get_M_n_gear();
- // V_dot_north = f.get_V_dot_north();
- // V_dot_east = f.get_V_dot_east();
- // V_dot_down = f.get_V_dot_down();
- // U_dot_body = f.get_U_dot_body();
- // V_dot_body = f.get_V_dot_body();
- // W_dot_body = f.get_W_dot_body();
- // A_X_cg = f.get_A_X_cg();
- // A_Y_cg = f.get_A_Y_cg();
- // A_Z_cg = f.get_A_Z_cg();
- // A_X_pilot = f.get_A_X_pilot();
- // A_Y_pilot = f.get_A_Y_pilot();
- // A_Z_pilot = f.get_A_Z_pilot();
- // N_X_cg = f.get_N_X_cg();
- // N_Y_cg = f.get_N_Y_cg();
- // N_Z_cg = f.get_N_Z_cg();
- // N_X_pilot = f.get_N_X_pilot();
- // N_Y_pilot = f.get_N_Y_pilot();
- // N_Z_pilot = f.get_N_Z_pilot();
- // P_dot_body = f.get_P_dot_body();
- // Q_dot_body = f.get_Q_dot_body();
- // R_dot_body = f.get_R_dot_body();
- V_north = f.get_V_north();
- V_east = f.get_V_east();
- V_down = f.get_V_down();
- // V_north_rel_ground = f.get_V_north_rel_ground();
- // V_east_rel_ground = f.get_V_east_rel_ground();
- // V_down_rel_ground = f.get_V_down_rel_ground();
- // V_north_airmass = f.get_V_north_airmass();
- // V_east_airmass = f.get_V_east_airmass();
- // V_down_airmass = f.get_V_down_airmass();
- // V_north_rel_airmass = f.get_V_north_rel_airmass();
- // V_east_rel_airmass = f.get_V_east_rel_airmass();
- // V_down_rel_airmass = f.get_V_down_rel_airmass();
- // U_gust = f.get_U_gust();
- // V_gust = f.get_V_gust();
- // W_gust = f.get_W_gust();
- // U_body = f.get_U_body();
- // V_body = f.get_V_body();
- // W_body = f.get_W_body();
- // V_rel_wind = f.get_V_rel_wind();
- // V_true_kts = f.get_V_true_kts();
- // V_rel_ground = f.get_V_rel_ground();
- // V_inertial = f.get_V_inertial();
- // V_ground_speed = f.get_V_ground_speed();
- // V_equiv = f.get_V_equiv();
- // V_equiv_kts = f.get_V_equiv_kts();
- // V_calibrated = f.get_V_calibrated();
- // V_calibrated_kts = f.get_V_calibrated_kts();
- P_body = f.get_P_body();
- Q_body = f.get_Q_body();
- R_body = f.get_R_body();
- // P_local = f.get_P_local();
- // Q_local = f.get_Q_local();
- // R_local = f.get_R_local();
- // P_total = f.get_P_total();
- // Q_total = f.get_Q_total();
- // R_total = f.get_R_total();
- // Phi_dot = f.get_Phi_dot();
- // Theta_dot = f.get_Theta_dot();
- // Psi_dot = f.get_Psi_dot();
- // Latitude_dot = f.get_Latitude_dot();
- // Longitude_dot = f.get_Longitude_dot();
- // Radius_dot = f.get_Radius_dot();
- Lat_geocentric = f.get_Lat_geocentric();
- Lon_geocentric = f.get_Lon_geocentric();
- Radius_to_vehicle = f.get_Radius_to_vehicle();
- Latitude = f.get_Latitude();
- Longitude = f.get_Longitude();
- Altitude = f.get_Altitude();
- Phi = f.get_Phi();
- Theta = f.get_Theta();
- Psi = f.get_Psi();
- // T_local_to_body_11 = f.get_T_local_to_body_11();
- // T_local_to_body_12 = f.get_T_local_to_body_12();
- // T_local_to_body_13 = f.get_T_local_to_body_13();
- // T_local_to_body_21 = f.get_T_local_to_body_21();
- // T_local_to_body_22 = f.get_T_local_to_body_22();
- // T_local_to_body_23 = f.get_T_local_to_body_23();
- // T_local_to_body_31 = f.get_T_local_to_body_31();
- // T_local_to_body_32 = f.get_T_local_to_body_32();
- // T_local_to_body_33 = f.get_T_local_to_body_33();
- // Gravity = f.get_Gravity();
- // Centrifugal_relief = f.get_Centrifugal_relief();
- // Alpha = f.get_Alpha();
- // Beta = f.get_Beta();
- // Alpha_dot = f.get_Alpha_dot();
- // Beta_dot = f.get_Beta_dot();
- // Cos_alpha = f.get_Cos_alpha();
- // Sin_alpha = f.get_Sin_alpha();
- // Cos_beta = f.get_Cos_beta();
- // Sin_beta = f.get_Sin_beta();
- // Cos_phi = f.get_Cos_phi();
- // Sin_phi = f.get_Sin_phi();
- // Cos_theta = f.get_Cos_theta();
- // Sin_theta = f.get_Sin_theta();
- // Cos_psi = f.get_Cos_psi();
- // Sin_psi = f.get_Sin_psi();
- // Gamma_vert_rad = f.get_Gamma_vert_rad();
- // Gamma_horiz_rad = f.get_Gamma_horiz_rad();
- // Sigma = f.get_Sigma();
- // Density = f.get_Density();
- // V_sound = f.get_V_sound();
- // Mach_number = f.get_Mach_number();
- // Static_pressure = f.get_Static_pressure();
- // Total_pressure = f.get_Total_pressure();
- // Impact_pressure = f.get_Impact_pressure();
- // Dynamic_pressure = f.get_Dynamic_pressure();
- // Static_temperature = f.get_Static_temperature();
- // Total_temperature = f.get_Total_temperature();
- Sea_level_radius = f.get_Sea_level_radius();
- Earth_position_angle = f.get_Earth_position_angle();
- Runway_altitude = f.get_Runway_altitude();
- // Runway_latitude = f.get_Runway_latitude();
- // Runway_longitude = f.get_Runway_longitude();
- // Runway_heading = f.get_Runway_heading();
- // Radius_to_rwy = f.get_Radius_to_rwy();
- // D_cg_north_of_rwy = f.get_D_cg_north_of_rwy();
- // D_cg_east_of_rwy = f.get_D_cg_east_of_rwy();
- // D_cg_above_rwy = f.get_D_cg_above_rwy();
- // X_cg_rwy = f.get_X_cg_rwy();
- // Y_cg_rwy = f.get_Y_cg_rwy();
- // H_cg_rwy = f.get_H_cg_rwy();
- // D_pilot_north_of_rwy = f.get_D_pilot_north_of_rwy();
- // D_pilot_east_of_rwy = f.get_D_pilot_east_of_rwy();
- // D_pilot_above_rwy = f.get_D_pilot_above_rwy();
- // X_pilot_rwy = f.get_X_pilot_rwy();
- // Y_pilot_rwy = f.get_Y_pilot_rwy();
- // H_pilot_rwy = f.get_H_pilot_rwy();
-
- return( 0 );
+bool FGLaRCsim::copy_to_LaRCsim () {
+ Mass = get_Mass();
+ I_xx = get_I_xx();
+ I_yy = get_I_yy();
+ I_zz = get_I_zz();
+ I_xz = get_I_xz();
+ // Dx_pilot = get_Dx_pilot();
+ // Dy_pilot = get_Dy_pilot();
+ // Dz_pilot = get_Dz_pilot();
+ Dx_cg = get_Dx_cg();
+ Dy_cg = get_Dy_cg();
+ Dz_cg = get_Dz_cg();
+ // F_X = get_F_X();
+ // F_Y = get_F_Y();
+ // F_Z = get_F_Z();
+ // F_north = get_F_north();
+ // F_east = get_F_east();
+ // F_down = get_F_down();
+ // F_X_aero = get_F_X_aero();
+ // F_Y_aero = get_F_Y_aero();
+ // F_Z_aero = get_F_Z_aero();
+ // F_X_engine = get_F_X_engine();
+ // F_Y_engine = get_F_Y_engine();
+ // F_Z_engine = get_F_Z_engine();
+ // F_X_gear = get_F_X_gear();
+ // F_Y_gear = get_F_Y_gear();
+ // F_Z_gear = get_F_Z_gear();
+ // M_l_rp = get_M_l_rp();
+ // M_m_rp = get_M_m_rp();
+ // M_n_rp = get_M_n_rp();
+ // M_l_cg = get_M_l_cg();
+ // M_m_cg = get_M_m_cg();
+ // M_n_cg = get_M_n_cg();
+ // M_l_aero = get_M_l_aero();
+ // M_m_aero = get_M_m_aero();
+ // M_n_aero = get_M_n_aero();
+ // M_l_engine = get_M_l_engine();
+ // M_m_engine = get_M_m_engine();
+ // M_n_engine = get_M_n_engine();
+ // M_l_gear = get_M_l_gear();
+ // M_m_gear = get_M_m_gear();
+ // M_n_gear = get_M_n_gear();
+ // V_dot_north = get_V_dot_north();
+ // V_dot_east = get_V_dot_east();
+ // V_dot_down = get_V_dot_down();
+ // U_dot_body = get_U_dot_body();
+ // V_dot_body = get_V_dot_body();
+ // W_dot_body = get_W_dot_body();
+ // A_X_cg = get_A_X_cg();
+ // A_Y_cg = get_A_Y_cg();
+ // A_Z_cg = get_A_Z_cg();
+ // A_X_pilot = get_A_X_pilot();
+ // A_Y_pilot = get_A_Y_pilot();
+ // A_Z_pilot = get_A_Z_pilot();
+ // N_X_cg = get_N_X_cg();
+ // N_Y_cg = get_N_Y_cg();
+ // N_Z_cg = get_N_Z_cg();
+ // N_X_pilot = get_N_X_pilot();
+ // N_Y_pilot = get_N_Y_pilot();
+ // N_Z_pilot = get_N_Z_pilot();
+ // P_dot_body = get_P_dot_body();
+ // Q_dot_body = get_Q_dot_body();
+ // R_dot_body = get_R_dot_body();
+ // V_north = get_V_north();
+ // V_east = get_V_east();
+ // V_down = get_V_down();
+ // V_north_rel_ground = get_V_north_rel_ground();
+ // V_east_rel_ground = get_V_east_rel_ground();
+ // V_down_rel_ground = get_V_down_rel_ground();
+ // V_north_airmass = get_V_north_airmass();
+ // V_east_airmass = get_V_east_airmass();
+ // V_down_airmass = get_V_down_airmass();
+ // V_north_rel_airmass = get_V_north_rel_airmass();
+ // V_east_rel_airmass = get_V_east_rel_airmass();
+ // V_down_rel_airmass = get_V_down_rel_airmass();
+ // U_gust = get_U_gust();
+ // V_gust = get_V_gust();
+ // W_gust = get_W_gust();
+ // U_body = get_U_body();
+ // V_body = get_V_body();
+ // W_body = get_W_body();
+ // V_rel_wind = get_V_rel_wind();
+ // V_true_kts = get_V_true_kts();
+ // V_rel_ground = get_V_rel_ground();
+ // V_inertial = get_V_inertial();
+ // V_ground_speed = get_V_ground_speed();
+ // V_equiv = get_V_equiv();
+ // V_equiv_kts = get_V_equiv_kts();
+ // V_calibrated = get_V_calibrated();
+ // V_calibrated_kts = get_V_calibrated_kts();
+ // P_body = get_P_body();
+ // Q_body = get_Q_body();
+ // R_body = get_R_body();
+ // P_local = get_P_local();
+ // Q_local = get_Q_local();
+ // R_local = get_R_local();
+ // P_total = get_P_total();
+ // Q_total = get_Q_total();
+ // R_total = get_R_total();
+ // Phi_dot = get_Phi_dot();
+ // Theta_dot = get_Theta_dot();
+ // Psi_dot = get_Psi_dot();
+ // Latitude_dot = get_Latitude_dot();
+ // Longitude_dot = get_Longitude_dot();
+ // Radius_dot = get_Radius_dot();
+ // Lat_geocentric = get_Lat_geocentric();
+ // Lon_geocentric = get_Lon_geocentric();
+ // Radius_to_vehicle = get_Radius_to_vehicle();
+ // Latitude = get_Latitude();
+ // Longitude = get_Longitude();
+ // Altitude = get_Altitude();
+ // Phi = get_Phi();
+ // Theta = get_Theta();
+ // Psi = get_Psi();
+ // T_local_to_body_11 = get_T_local_to_body_11();
+ // T_local_to_body_12 = get_T_local_to_body_12();
+ // T_local_to_body_13 = get_T_local_to_body_13();
+ // T_local_to_body_21 = get_T_local_to_body_21();
+ // T_local_to_body_22 = get_T_local_to_body_22();
+ // T_local_to_body_23 = get_T_local_to_body_23();
+ // T_local_to_body_31 = get_T_local_to_body_31();
+ // T_local_to_body_32 = get_T_local_to_body_32();
+ // T_local_to_body_33 = get_T_local_to_body_33();
+ // Gravity = get_Gravity();
+ // Centrifugal_relief = get_Centrifugal_relief();
+ // Alpha = get_Alpha();
+ // Beta = get_Beta();
+ // Alpha_dot = get_Alpha_dot();
+ // Beta_dot = get_Beta_dot();
+ // Cos_alpha = get_Cos_alpha();
+ // Sin_alpha = get_Sin_alpha();
+ // Cos_beta = get_Cos_beta();
+ // Sin_beta = get_Sin_beta();
+ // Cos_phi = get_Cos_phi();
+ // Sin_phi = get_Sin_phi();
+ // Cos_theta = get_Cos_theta();
+ // Sin_theta = get_Sin_theta();
+ // Cos_psi = get_Cos_psi();
+ // Sin_psi = get_Sin_psi();
+ // Gamma_vert_rad = get_Gamma_vert_rad();
+ // Gamma_horiz_rad = get_Gamma_horiz_rad();
+ // Sigma = get_Sigma();
+ // Density = get_Density();
+ // V_sound = get_V_sound();
+ // Mach_number = get_Mach_number();
+ // Static_pressure = get_Static_pressure();
+ // Total_pressure = get_Total_pressure();
+ // Impact_pressure = get_Impact_pressure();
+ // Dynamic_pressure = get_Dynamic_pressure();
+ // Static_temperature = get_Static_temperature();
+ // Total_temperature = get_Total_temperature();
+ // Sea_level_radius = get_Sea_level_radius();
+ // Earth_position_angle = get_Earth_position_angle();
+ // Runway_altitude = get_Runway_altitude();
+ // Runway_latitude = get_Runway_latitude();
+ // Runway_longitude = get_Runway_longitude();
+ // Runway_heading = get_Runway_heading();
+ // Radius_to_rwy = get_Radius_to_rwy();
+ // D_cg_north_of_rwy = get_D_cg_north_of_rwy();
+ // D_cg_east_of_rwy = get_D_cg_east_of_rwy();
+ // D_cg_above_rwy = get_D_cg_above_rwy();
+ // X_cg_rwy = get_X_cg_rwy();
+ // Y_cg_rwy = get_Y_cg_rwy();
+ // H_cg_rwy = get_H_cg_rwy();
+ // D_pilot_north_of_rwy = get_D_pilot_north_of_rwy();
+ // D_pilot_east_of_rwy = get_D_pilot_east_of_rwy();
+ // D_pilot_above_rwy = get_D_pilot_above_rwy();
+ // X_pilot_rwy = get_X_pilot_rwy();
+ // Y_pilot_rwy = get_Y_pilot_rwy();
+ // H_pilot_rwy = get_H_pilot_rwy();
+
+ return true;