mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-14 01:21:57 +00:00
feat(ui-new): Tools > Satellites -- sky plot and signal bars on the 128x64 OLED
Two views, swapped with left / right: a polar sky plot (filled = used in the fix, hollow = tracked, a pixel = no signal) beside fix, used / in view, HDOP, PDOP and time to first fix; and a signal bar per satellite (used first, a dotted 30 dB-Hz line) under per-constellation counts. The GPS stays awake while it's open. Data from GpsSky (-D GPS_SKYVIEW, now on the L1 solo build). The simulator's made-up sky moves from the L2's GpsScreen into helpers/sensors/GpsSkySim.h, so both sims show it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -159,6 +159,7 @@ DEFINES=(
|
||||
# surface them as on-device pages.
|
||||
-DENV_INCLUDE_GPS=1
|
||||
-DUI_SENSORS_PAGE=1
|
||||
-DGPS_SKYVIEW # satellite screens (GpsSkySim.h feeds a made-up sky)
|
||||
)
|
||||
|
||||
# The on-device splash's "Solo <version>" bar shows FIRMWARE_VERSION. Without
|
||||
@@ -184,7 +185,7 @@ if [ "$SIM_UI" = "lvgl" ]; then
|
||||
done
|
||||
# The L2's PSRAM-sized limits (solo/wio-tracker-l2/platformio.ini).
|
||||
DEFINES=("${kept[@]}" -DDISPLAY_CLASS=SimLcdDisplay -DMAX_GROUP_CHANNELS=40 -DUI_ZOOM=1 -DLV_CONF_INCLUDE_SIMPLE
|
||||
-DTRAIL_CAPACITY=4096 -DWAYPOINT_CAPACITY=64 -DHIST_CH_MAX=256 -DHIST_DM_MAX=128 -DNEARBY_MAX=64 -DHIST_ARCHIVE -DGPS_SKYVIEW)
|
||||
-DTRAIL_CAPACITY=4096 -DWAYPOINT_CAPACITY=64 -DHIST_CH_MAX=256 -DHIST_DM_MAX=128 -DNEARBY_MAX=64 -DHIST_ARCHIVE)
|
||||
INCLUDES+=("-I$LVGL_DIR")
|
||||
LINK_EXTRA=(-sFETCH=1) # map downloads (LvglPort.h) go through emscripten_fetch
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user