HUD-Farbe konfigurierbar, Neigungskalibrierung, Auto-Rotate verbessert

- HUD-Farbe per Farbwähler im Admin einstellbar (localStorage)
- Schwarze Kontur auf HUD-Elementen via CSS drop-shadow und canvas shadowBlur
- Himmelsrichtungen auf Deutsch (O statt E, etc.)
- Roll/Pitch-Neigung kann im Admin genullt werden (imu_tilt_calibration.json)
- Neigungsoffset wird im Kamera-Overlay berücksichtigt
- Auto-Rotate läuft jetzt nativ als rospy-Script im Docker-Container
- Auto-Rotate erkennt aktuellen Locomotion-Mode und stellt ihn danach wieder her
- Auto-Rotate pausiert Web-GUI-Joystick via localStorage-Flag
- Feste 20%-Geschwindigkeit für Auto-Rotate (vel=4, Expo-äquivalent)
- Vignette entfernt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 10:26:11 +02:00
co-authored by Claude Sonnet 4.6
parent 4c24558516
commit 93772ec3b7
5 changed files with 221 additions and 114 deletions
+7 -1
View File
@@ -827,8 +827,10 @@ function setRosStatus(text) {
setText("ros-state", text);
}
var autoRotateActive = false;
function controlsAreBlocked() {
return pageConnection.state === "offline";
return pageConnection.state === "offline" || autoRotateActive;
}
function updateControlAvailability() {
@@ -1572,6 +1574,10 @@ function toggleStatPanel() {
window.addEventListener("storage", function (e) {
if (e.key === "hudHexColor" && e.newValue) applyHudColor(e.newValue);
if (e.key === "autoRotateActive") {
autoRotateActive = e.newValue === "1";
if (!autoRotateActive) { setAxes(0, 0); }
}
});
window.addEventListener("load", function () {