dashboard: expand RS485 sensor diagnostics
This commit is contained in:
@@ -702,6 +702,9 @@ static void update_diagnostics_overlay()
|
||||
text += " / ";
|
||||
text += String(sensor_node.rollDegrees, 1);
|
||||
text += sensor_node.levelCalibrationValid ? " deg calibrated" : " deg raw";
|
||||
text += "\n Yaw: ";
|
||||
text += String(sensor_node.yawDegrees, 1);
|
||||
text += " deg";
|
||||
text += "\n GPS: ";
|
||||
text += sensor_node.gpsOnline ? (sensor_node.gpsFix ? "fix" : "no fix") : "offline";
|
||||
text += " sats ";
|
||||
@@ -718,6 +721,10 @@ static void update_diagnostics_overlay()
|
||||
}
|
||||
text += "\n Speed: ";
|
||||
text += sensor_node.gpsFix ? String(sensor_node.speedKph, 1) + " km/h" : String("--");
|
||||
text += "\n Altitude: ";
|
||||
text += sensor_node.gpsFix ? String(sensor_node.altitudeMeters, 1) + " m" : String("--");
|
||||
text += "\n UTC: ";
|
||||
text += sensor_node.utcTime.length() ? sensor_node.utcTime : String("--");
|
||||
|
||||
text += "\n\nCargo ESP\n";
|
||||
text += " Version: ";
|
||||
|
||||
Reference in New Issue
Block a user