- info_add_row(0, "Rocket serial", "%d", state.data.serial);
- info_add_row(0, "Rocket flight", "%d", state.data.flight);
-
- info_add_row(0, "RSSI", "%6ddBm", state.data.rssi);
- info_add_row(0, "Height", "%6.0fm", state.height);
- info_add_row(0, "Max height", "%6.0fm", state.max_height);
- info_add_row(0, "Acceleration", "%7.1fm/s²", state.acceleration);
- info_add_row(0, "Max acceleration", "%7.1fm/s²", state.max_acceleration);
- info_add_row(0, "Speed", "%7.1fm/s", state.ascent ? state.speed : state.baro_speed);
- info_add_row(0, "Max Speed", "%7.1fm/s", state.max_speed);
- info_add_row(0, "Temperature", "%6.2f°C", state.temperature);
- info_add_row(0, "Battery", "%5.2fV", state.battery);
- info_add_row(0, "Drogue", "%5.2fV", state.drogue_sense);
- info_add_row(0, "Main", "%5.2fV", state.main_sense);
- info_add_row(0, "Pad altitude", "%6.0fm", state.ground_altitude);
- if (state.gps != null)
- info_add_row(1, "Satellites", "%d", state.gps.nsat);
- else
- info_add_row(1, "Satellites", "%d", 0);
- if (state.gps != null && state.gps.gps_locked) {
- info_add_row(1, "GPS", "locked");
- } else if (state.gps != null && state.gps.gps_connected) {
- info_add_row(1, "GPS", "unlocked");
- } else {
+ info_add_row(0, "Rocket serial", "%6d", state.data.serial);
+ info_add_row(0, "Rocket flight", "%6d", state.data.flight);
+
+ info_add_row(0, "RSSI", "%6d dBm", state.data.rssi);
+ info_add_row(0, "Height", "%6.0f m", state.height);
+ info_add_row(0, "Max height", "%6.0f m", state.max_height);
+ info_add_row(0, "Acceleration", "%8.1f m/s²", state.acceleration);
+ info_add_row(0, "Max acceleration", "%8.1f m/s²", state.max_acceleration);
+ info_add_row(0, "Speed", "%8.1f m/s", state.ascent ? state.speed : state.baro_speed);
+ info_add_row(0, "Max Speed", "%8.1f m/s", state.max_speed);
+ info_add_row(0, "Temperature", "%9.2f °C", state.temperature);
+ info_add_row(0, "Battery", "%9.2f V", state.battery);
+ info_add_row(0, "Drogue", "%9.2f V", state.drogue_sense);
+ info_add_row(0, "Main", "%9.2f V", state.main_sense);
+ info_add_row(0, "Pad altitude", "%6.0f m", state.ground_altitude);
+ if (state.gps == null) {