Compass: - Gimbal lock compensation: when phone tilts past horizontal (|beta|>90 in landscape, |gamma|>90 in portrait), heading flips 180 — compensated - EMA smoothing for heading (factor 0.3, ~300ms settle) — reduces jitter from road bumps while keeping responsive turns - 3 orient modes: X(off) A(auto) L(lock) — lock freezes layout, compass still works with gimbal compensation - Debug overlay on map shows alpha/beta/gamma/heading/mode Build: - ./build.sh install — install last APK without building - ./build.sh -d install — install debug APK - install_apk respects -d flag for debug/release selection |
||
|---|---|---|
| .. | ||
| css | ||
| data | ||
| img | ||
| js | ||
| lib | ||
| index.html | ||