diff --git a/conf/airframes/AGGIEAIR/aggieair_ark_quad_lisa_mx.xml b/conf/airframes/AGGIEAIR/aggieair_ark_quad_lisa_mx.xml index 1f64131a9a..837e2d241c 100644 --- a/conf/airframes/AGGIEAIR/aggieair_ark_quad_lisa_mx.xml +++ b/conf/airframes/AGGIEAIR/aggieair_ark_quad_lisa_mx.xml @@ -11,10 +11,12 @@ - + + + @@ -34,12 +36,12 @@ - + - + @@ -62,12 +64,12 @@ - + diff --git a/conf/airframes/AGGIEAIR/aggieair_conf.xml b/conf/airframes/AGGIEAIR/aggieair_conf.xml index 4a470aeaa0..28794ae253 100644 --- a/conf/airframes/AGGIEAIR/aggieair_conf.xml +++ b/conf/airframes/AGGIEAIR/aggieair_conf.xml @@ -7,7 +7,7 @@ telemetry="telemetry/AGGIEAIR/aggieair_rotorcraft.xml" flight_plan="flight_plans/rotorcraft_basic_geofence.xml" settings="settings/rotorcraft_basic.xml settings/nps.xml" - settings_modules="modules/battery_monitor.xml modules/lidar_lite.xml modules/gps.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml" + settings_modules="modules/lidar_lite.xml modules/gps.xml modules/stabilization_int_quat.xml modules/nav_basic_rotorcraft.xml modules/guidance_rotorcraft.xml" gui_color="#ffff954c0000" /> diff --git a/conf/airframes/AGGIEAIR/aggieair_control_panel.xml b/conf/airframes/AGGIEAIR/aggieair_control_panel.xml index 08f43d6263..ca18ad87ac 100644 --- a/conf/airframes/AGGIEAIR/aggieair_control_panel.xml +++ b/conf/airframes/AGGIEAIR/aggieair_control_panel.xml @@ -116,6 +116,25 @@ + + + + + + + + + + + + + + + + + + + @@ -154,6 +173,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/airframes/AGGIEAIR/aggieair_rp3_lia.xml b/conf/airframes/AGGIEAIR/aggieair_rp3_lia.xml index f14f9a18df..30cdee4bd0 100644 --- a/conf/airframes/AGGIEAIR/aggieair_rp3_lia.xml +++ b/conf/airframes/AGGIEAIR/aggieair_rp3_lia.xml @@ -7,7 +7,7 @@ RP3 Lisa MX - + @@ -25,7 +25,7 @@ RP3 Lisa MX - + @@ -37,7 +37,7 @@ RP3 Lisa MX - + @@ -63,14 +63,16 @@ RP3 Lisa MX - - + + + + diff --git a/conf/telemetry/AGGIEAIR/aggieair_fixedwing.xml b/conf/telemetry/AGGIEAIR/aggieair_fixedwing.xml index 372204c6be..22c0479fe2 100644 --- a/conf/telemetry/AGGIEAIR/aggieair_fixedwing.xml +++ b/conf/telemetry/AGGIEAIR/aggieair_fixedwing.xml @@ -4,37 +4,24 @@ - - - - - - - - - - - - - diff --git a/sw/airborne/subsystems/ins/ins_vectornav.c b/sw/airborne/subsystems/ins/ins_vectornav.c index 62d6bee183..16e759c8e2 100644 --- a/sw/airborne/subsystems/ins/ins_vectornav.c +++ b/sw/airborne/subsystems/ins/ins_vectornav.c @@ -299,6 +299,12 @@ void ins_vectornav_propagate() gps.hmsl = (int32_t)((ins_vn.lla_pos.alt - geoid_h)* 1000.0f); SetBit(gps.valid_fields, GPS_VALID_HMSL_BIT); + // Set GPS fix + gps.fix = ins_vn.vn_data.gps_fix; + + // Set GPS num_sv + gps.num_sv = ins_vn.vn_data.num_sv; + // set position uncertainty ins_vectornav_set_pacc(); diff --git a/sw/simulator/nps/nps_ivy.c b/sw/simulator/nps/nps_ivy.c index d5368fe961..e71e150d64 100644 --- a/sw/simulator/nps/nps_ivy.c +++ b/sw/simulator/nps/nps_ivy.c @@ -154,10 +154,11 @@ void nps_ivy_send_WORLD_ENV_REQ(void) int find_launch_index(void) { - static const char ap_launch[] = "lau"; // short name has only 3 first letters + static const char ap_launch[] = "aut_lau"; // short name char *ap_settings[NB_SETTING] = SETTINGS_NAMES_SHORT; - // list through the settinsg + // list through the settings + // TODO: maybe search for a substring with if(strstr(sent, word) != NULL) for (uint8_t idx=0;idx