David
b6a0c89dc5
ui replay: record lossless to fix big replay diff ( #37237 )
...
* add RECORD_LOSSLESS and enable for replays
* use RECORD_QUALITY instead
* comment
* clarify comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* clarify comment
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-18 15:21:17 -08:00
David
a6f4cdb319
ui replay: remove fps limiting during headless replay ( #37241 )
...
use OFFSCREEN during headless replay for no fps limiting
2026-02-18 15:20:55 -08:00
David
b80d3e113b
ui diff: better diff report on mobile ( #37255 )
...
* Add HTML template for UI diff report
* update .gitignore
* empty line
* use proper html tags
* remove paragraph tags
* simplify paths
* use h3
* use simpler replace instead; dynamically generate videos
* update diff html styling
* remove unnecessary
* fix
* use h4 instead
* padding on h4
* adjust heading margin
* revert
* use h4 again
* remove viewport
* Revert "remove viewport"
This reverts commit 7636920e556fc06bbd65cff7ecb4c3d31b11024d.
2026-02-18 15:20:25 -08:00
David
d984fb1bae
ui diff replay: better display replays of different lengths ( #37116 )
...
* refactor: improve video synchronization logic in HTML report generation
* feat: include description of which video is longer in report; refactor stuff and add types
* refactor: simplify HTML report generation and remove extra formatting
* reduce diff
* fix video name
* reduce diff
* reduce diff
* fix
* parentheses
* fix I guess
2026-02-16 14:32:37 -08:00
David
3661a01489
ui diff: compare frame hashes instead of temp files ( #37154 )
...
* refactor: streamline frame comparison by using frame hashes instead of extracting frames
* add vsync
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-16 14:05:43 -08:00
David
03a4f7ef9a
ui: add big (tizi) replay ( #37198 )
...
* init: tizi_replay.py from pr 37123
* separate coverage folder
* ui replay: adjust HOLD constant, fix coverage, use separate folder for coverage
* openpilot prefix
* fix directory
* fix ui_state
* fix settings click pos
* remove
* attempt merge replay files
* remove
* todo
* fix recording
* spacing
* simplify
* comment
* refactor hold
* refactor: remove layout definitions from VARIANTS and import conditionally in run_replay
* refactor: remove VARIANTS config
* add argparser with --big flag and improve coverage sources
* refactor
* lowercase
* refactor: combine scripts
* add types
* refactor: move imports for gui_app and ui_state to improve coverage and organization
* update
* update script
* comment
* fix headless
* todo
* fix: get_time and get_frame_time determinism
* todo
* remove file accidently commited
* fix: improve inject_click and handle_event for deterministic event timestamps
* comment
* simplify add
* refactor script building
* fix mici clicks
* pass in pm
* fix wifi state
* refactor clicks
* more refactor
* click cancel instead of remove overlay
* setup_send_fn
* add setup fn
* dummy update
* change
* remove todo
* rename fn to frame_fn
* refactor
* fix workflow
* rename raylib ui preview to old
* rename mici workflow
* fix diff videos
* ignore sub html and mp4 files
* rename for diff
* rename for diff again (mici)
* use ScriptEvent instead of DummyEvent, and move mouse events directly to it; rename hold to wait
* fix: only import MouseEvent for type hint to fix coverage
* adjust settings button click
* clarify
* move ScriptEvent to replay_script
* add handle_event function
* remove passing in setup function, and refactor click events
* clean
* formatting
* refactor
* no import
* comment
* refactor
* refactor setup functions to replay_setup
* refactor
* add ReplayContext
* refactor
* move more setup functions
* refactor and simplify
* refactor
* refactor: add Script class
* refactor: enhance Script event handling and add wait functionality
* refactor
* remove setup_and_click
* use script.setup instead
* comments
* rename wait_frames to wait_after
* add comments
* revert workflows
* revert rename
* move arg parsing to main
* remove quotes
* add type
* return types
* type
* VariantType
* rename to LayoutVariant
* clarify
* switch
* todo
* Revert "fix diff videos"
This reverts commit 7a6e45a409cb7e6d7a330317639fcee74ef8bd31.
* add todos
* add more coverage
* wait 2 frames by default
* add comment
* comment
* switch
* fix space
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove extra
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove unnecessary blank line in ReplayContext class
* simplify
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-02-15 20:03:30 -08:00
David
ecde604198
ui replay: use openpilot prefix ( #37185 )
...
* fix: use openpilot prefix
* fix ui_state import
* comment
2026-02-14 13:21:09 -08:00
David
4af41ffce6
ui diff: ensure video name matches output ( #37211 )
...
* auto name diff.mp4
* ensure output file has .html extension
2026-02-14 13:20:44 -08:00
David
9b7bf4a101
mici ui replay: fix indeterminism with swiping and animations ( #37110 )
...
* fix: get_time and get_frame_time determinism
* remove some hackiness
* don't need that
2026-02-13 09:26:14 -08:00
David
7665045fc6
ui replay: fix coverage reporting to include imports ( #37180 )
...
Fix coverage reporting by adjusting MiciMainLayout import
2026-02-12 10:46:34 -08:00
David
bcb13a7229
ui diff replay: remove unused frame_data list for individual frame display ( #37117 )
...
Remove unused base64 encoding and simplify frame data handling in diff video report
2026-02-07 14:19:08 -08:00
Shane Smiskol
f78bacf96b
mici ui replay: temp remove swipes ( #36818 )
...
hmm it IS nondeterm
2025-12-09 15:38:43 -08:00
Shane Smiskol
8d9e203130
raylib ui diff: swipe around ( #36807 )
...
* swipe support
* swipe around
* same
2025-12-08 19:25:09 -08:00
Adeeb Shihadeh
fb807cc007
ui: video diff tool ( #36737 )
...
* video diff
* format
* duplicate
* try
* WINDOWED
* ?
* correct res
* Revert "correct res"
This reverts commit f90991192fce93a31d1b581a4f0ff93a7a972337.
* save to report/
* add duplicate
* work?
* fix
* more
* more
* and this
* ffmpeg
* branch
* uncmt
* test preview
* Revert "uncmt"
This reverts commit b02404dbbe515fd861717f831c7bb0243442ddbc.
* create openpilot_master_ui_mici_raylib
* ahh
* push to master
* copy and always run
* test
* does cmt break it?
* who did this
* fix?
* fix that
* hmm
* hmm
* ah this was moving it, and then the job below didn't run on master
* google ai overview lied to me
* use markdown to start
* need to add to one branch
* ????
* oof
* no
* this work?
* test
* try this
* clean up master branch name
* more cleanup
more cleanup
* don't fail for no diff!
don't fail for no diff!
* back
* add to cmt
* test it
* should work
* fix that
* back
* clean up
* clean up
* save to report
* pull_request_target
* sort
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-12-08 18:39:47 -08:00