feat: GUI_V7 - Redesign of the UI#146
Open
Sam1rShaban1 wants to merge 12 commits into
Open
Conversation
- Military/aerospace tactical theme (pitch black #1a1a1a, emerald green #10b981) - Fullscreen, edge-to-edge panels, UPPERCASE labels - RAW INPUTS tab with 65/35 split, hex dump, UART terminal, packet inspector - 58/58 GUI regression tests pass - Updated .gitignore with backup/venv patterns - requirements.txt with all dependencies
…gging) - Added setup_diagnostics_tab with system health cards (USB, FPGA, temp, etc.) - Added setup_settings_tab with scrollable parameter form (11 fields) - Added apply_settings to send radar config to STM32 via USB - Added start_background_threads for radar/GPS data processing - Added add_log_entry with colored terminal output
- Added 'type' and 'range' keys to simulated test data packets
- Fixed unescaped {target.id} and {target.azimuth} in map HTML template
causing KeyError during .format()
- Replaced nonexistent map_status_label with map_status_text - Replaced nonexistent gps_label/pitch_label with gps_coords_label/pitch_value_label - Used hasattr guards for defensive access
Owner
|
@Sam1rShaban1 could you post a gif or a video showing the GUI in action? |
- Rewrote update_gui() to match V6: draws range-doppler map from processor data, updates targets tree, stats bar, and GPS display - Added update_targets_list() matching V7's treeview columns - update_gui now runs at 250ms interval
… ranges, axis labels
…g test data with moving targets
…ep reset, adjusted vmax)
…pread across full map
…ad across full range axis
Author
screenrecording-2026-05-19_11-56-46.mp4This is ran with test_radar_data.csv as mock data. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete PLFM_RADAR GUI (GUI_V7.py) with tactical military/aerospace styling per DESIGN.md.
Changes
Visual / UI
#1a1a1a) background, emerald green (#10b981) accents, uppercase labels, Rajdhani/JetBrains Mono fallback fontshottojetper DESIGN.md specNew: RAW INPUTS tab
New: DIAGNOSTICS tab
New: SETTINGS tab
Bug Fixes
generate_map()method collision: no-arg variant renamed togenerate_map_file(), GPS queue callsrefresh_map()coverage_radius / 1000format string error — pre-calculate before.format()callstr().replace("\", "\"")withjson.dumps()to prevent quote injectionsetup_diagnostics_tab,setup_settings_tab,apply_settings,start_background_threads,add_log_entryHousekeeping
.gitignorewithbackup_*,get-pip.py,venv/patternsrequirements.txtwith all dependencies (scipy, scikit-learn, filterpy, crcmod, pandas)Verification
python3 -m py_compilesyntaxgit diff --checkwhitespace