Commit Graph

179 Commits

Author SHA1 Message Date
Adeeb Shihadeh cd230febd6 bump ty to 0.0.112 and fix the type errors it finds (#39506)
* fix ty 0.0.112 errors outside the ui

* bump ty to 0.0.112, drop its ignores

* ty: cleaner fixes
2026-11-28 12:57:26 -08:00
Adeeb Shihadeh acedc29bc0 ui: fix the type errors newer ty finds (#39505) 2026-11-28 12:14:17 -08:00
Adeeb Shihadeh afa371c088 athenad: run each connection in its own process for instant network changes (#39500)
* athenad: run each connection in its own process

* athenad: review fixes

* athenad: cleanup and adversarial test fixes

* athenad: sol review fixes
2026-11-28 12:10:16 -08:00
Adeeb Shihadeh be6af3676f raylib typing fixups (#39503) 2026-11-28 11:58:38 -08:00
Adeeb Shihadeh f37cf702dd prep for mainline kernel (#39481) 2026-11-27 15:25:46 -08:00
Adeeb Shihadeh bfa224d108 ui: forward only raylib's warnings past window setup (#39482) 2026-11-27 15:25:20 -08:00
Shane Smiskol 7607bcdc68 Revert "ui: lock nested scroll axis (#39320)" (#39386)
This reverts commit 479baf9191.
2026-11-15 23:30:20 -08:00
Adeeb Shihadeh 24e3379aaf camerad: sync cameras only after each has settled on FSIN (#39378) 2026-11-15 14:28:23 -08:00
Adeeb Shihadeh 54d95afe2d camerad: an ISP IOMMU handle of 0 is valid (#39376) 2026-11-15 14:17:54 -08:00
Adeeb Shihadeh e44967322c ui: emoji in labels (#39370)
* ui: emoji in labels

* ty
2026-11-15 11:31:49 -08:00
Adeeb Shihadeh a70872f8f2 mici: polish offroad alerts (#39349) 2026-11-15 08:06:24 -08:00
Shane Smiskol edde587a77 loggerd: fix git_src_commit path after the nested openpilot move (#39311) 2026-11-14 21:31:33 -08:00
Adeeb Shihadeh cec317fd39 Remove device boot gate (#39351) 2026-11-14 12:36:13 -08:00
Adeeb Shihadeh 5be93bfa19 mici: alerts popup (#39345) 2026-11-13 21:48:25 -08:00
Adeeb Shihadeh 64596de55e ui: fix render with an empty nav stack (#39343) 2026-11-13 20:09:01 -08:00
Adeeb Shihadeh 7fd9c84746 ui: skip rendering under a covering nav widget (#39341) 2026-11-13 20:07:32 -08:00
Adeeb Shihadeh 057e21249f ui: wifi/cellular managers reuse one worker thread (#39339) 2026-11-13 19:49:48 -08:00
Adeeb Shihadeh 7b7bc80d5d mici: night mode (#39134) 2026-11-13 18:56:27 -08:00
Adeeb Shihadeh 0375b3679f setup: show failure on any HTTP error (#39324) 2026-11-13 16:46:38 -08:00
Adeeb Shihadeh 479baf9191 ui: lock nested scroll axis (#39320) 2026-11-13 15:44:47 -08:00
Adeeb Shihadeh c089b82d95 AGNOS 20.4 (#39273) 2026-11-11 10:50:48 -08:00
stef 05c1611019 ui: move BigPillButton into button.py (#39297) 2026-11-11 10:22:08 -08:00
Adeeb Shihadeh 011256612c loggerd: fix test_loggerd encoderd flake (#39276) 2026-11-08 14:40:54 -08:00
Adeeb Shihadeh 073e2a6168 move off of cores 0-1 (#39262) 2026-11-07 21:33:29 -08:00
Harald Schäfer 493ae5ad0e Replace Git LFS with a custom Hugging Face bucket client (#39206)
* Replace Git LFS with a custom Hugging Face bucket client

* Address review findings in the custom LFS client

- A failed download leaves the pointer (also for delayed blobs) and
  filter.lfs.required is false, so git commands finish and ./lfs.py pull
  fills the files in later.
- install() also replaces the unquoted pre-push hook from #38775 and a stock
  git-lfs hook that `op post-commit` moved into post-commit.d.
- .git/lfs.py and the pre-push hook are replaced atomically.
- Pushing LFS objects without a token prints a one-line hint.
- op warns when the installed LFS client is missing or outdated.
- Ranged downloads write into one preallocated file instead of
  concatenating parts.
- hf-xet moves from the core dependencies to the tools extra.

* Drop the ~/.local/bin PATH addition left from the uv-run transfer agent

* Keep filter.lfs.required so a broken LFS client can't commit raw files

* Keep shipping .lfsconfig only with the big model

* Keep a custom pre-push hook instead of failing the LFS pull

* Let the setup clone use the configured LFS client

The HF LFS repo is mirrored from the bucket, so stock Git LFS can smudge the clone.

* Keep git working without python3 with an sh LFS filter

scripts/lfs-filter runs lfs.py, or without python3 has git abort LFS filtering and keep the pointer files, like the git-lfs shim did. A process filter that can't start otherwise makes git fail regardless of filter.lfs.required. The abort only lets git continue when the filter isn't required.

* Drop the sh LFS filter and require the LFS filter again

lfs.py lives in the git dir and only needs python3, so a missing or rebuilt
venv, or a worktree without one, can't break git like the old git-lfs shim
guarded against. The sh fallback for a machine without python3 needed
filter.lfs.required=false, which also let a failing clean commit the raw file.

This reverts commit 437711998981c8c7bf65c2878881c547516d681a.
2026-11-04 18:40:27 -08:00
Daniel Koepping b181224142 remove release-chestnut (#39231) 2026-11-04 13:44:27 -08:00
stef e60f535fa9 encoderd: no wait on live stream encoder (#39220) 2026-11-03 19:40:55 -08:00
stef 00ab7b32e0 webrtc: reorganize (#39216)
* reorg

* fixes I guess
2026-11-03 19:39:35 -08:00
Tăbîrță Adrian 12c9157d84 added Romanian localization (#39075)
* added Romanian localization

* ro: fix plurals, revert stale app.pot, sync with master

- add ro to PLURAL_SELECTORS and PLURAL_FORMS (3 forms, like uk); without the selector every trn() returned the singular
- app.pot back to master's (regenerated output is identical)
- regenerate app_ro.po: drop obsolete strings, translate Following Distance / Initial Max Speed

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-11-03 18:51:10 -08:00
Leo Camus b614827c61 ui: decode HTML character references in HtmlRenderer (#39084)
* ui: decode HTML character references in HtmlRenderer

parse_markdown escapes & and " in the release notes, but HtmlRenderer drew
the entities as-is, so the 0.10.0 notes showed &quot;Learning to Drive from
a World Model&quot;.

* remove test

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-11-03 18:27:57 -08:00
Harald Schäfer 9464d2ef68 Install the target checkout's LFS client when switching versions (#39214)
* Install the target checkout's LFS client when switching versions

* Remove unused checkout-pr.sh

* Only activate the venv for the op switch git lfs pull fallback
2026-11-03 15:06:21 -08:00
Adeeb Shihadeh c8ff7f7815 faster unit tests (#39202) 2026-11-01 22:47:24 -10:00
Adeeb Shihadeh 56f702dbf5 bump msgq: nanobind (#39200) 2026-11-01 22:42:22 -10:00
Adeeb Shihadeh 54ce79f01e Switch to nanobind raylib bindings (#39193) 2026-11-01 17:23:26 -10:00
Adeeb Shihadeh f1b344b781 remove more dead code (#39196) 2026-11-01 10:29:53 -10:00
Adeeb Shihadeh 5384c06b3d remove dead code (#39195) 2026-11-01 09:04:02 -10:00
Adeeb Shihadeh 4d5d6c47ae athena: validate all rpc params (#39190) 2026-10-31 17:34:27 -10:00
Harald Schäfer ef317505db Fleet: force always-on driver monitoring (#39169)
* Fleet: force always-on driver monitoring

* Keep always-on DM lock independent of recording lock
2026-10-27 14:30:23 -07:00
Adeeb Shihadeh 335ea25754 CI: enable camerad test (#39163) 2026-10-25 17:07:22 -07:00
Adeeb Shihadeh fa8babd944 Move HITL tests to UP (#39138) 2026-10-25 14:59:14 -07:00
Adeeb Shihadeh f2f9d5d420 replace bridge with webrtc (#39158) 2026-10-24 12:01:19 -07:00
Adeeb Shihadeh 730c7c663a swaglog: replace zmq with unix datagram socket (#39157) 2026-10-24 11:31:55 -07:00
Adeeb Shihadeh ff47f484e6 Improve HITL test robustness (#39153) 2026-10-22 19:45:03 -07:00
Adeeb Shihadeh 8d10a9deb6 AGNOS 20.1 (#39149) 2026-10-22 11:18:20 -07:00
Adeeb Shihadeh 079cd47296 Revert "AGNOS 20 (#39128)" (#39148)
This reverts commit 34d4241e19.
2026-10-22 08:07:08 -07:00
Adeeb Shihadeh 34d4241e19 AGNOS 20 (#39128) 2026-10-21 20:37:57 -07:00
Shane Smiskol 815a90f606 ui: ignore additional fingers in last_mouse_event (#39144)
NavWidget moves with last_mouse_event while it is dragged down. This was
the last event of any finger, so a second finger made the widget jump
back and forth. All users of last_mouse_event (NavWidget, BigInputDialog
backspace hold, initial cruise speed tap) only use the first finger.
2026-10-21 00:44:36 -07:00
Shane Smiskol d486c143aa ui: decel check on px moved per touch sample, not velocity (#39143)
Noisy touch timestamps make per-sample velocities spike, which made
the swipe-stop-lift check kill real flings. Pixel steps do not depend
on time.
2026-10-21 00:41:24 -07:00
Shane Smiskol 06ed8252da ui: mici keyboard multitouch (#39140)
* ui: mici keyboard multitouch and stable two finger scroll

Keyboard: a second finger types the key of the first finger, same as
phone keyboards. A new press also clears the last key, so the key
hysteresis does not select it again during its unselect animation.

Scroll: only one finger moves the content. A new finger takes control
from its position, and when it lifts a finger that is still down takes
control from its last position, same as Android scroll views. Before,
events from both fingers mixed and the content jumped back and forth.

* ui: multitouch only in the mici keyboard

Widget, Button, and the tici keyboard go back to one finger (slot 0).
MiciKeyboard reads the events of all fingers itself. The scroll panel
uses only the first finger, same as scroll_panel.py, which also stops
the content from jumping when a second finger touches.

* ui: keep Widget multitouch, mici keyboard uses it

Widget, Button, and the tici keyboard are the same as master again.
MiciKeyboard sets _multi_touch to get the events of all fingers.

* mici keyboard: remove reset of active slot when disabled

_update_state clears the closest key when the keyboard is disabled, thus a
stale active slot cannot type a key.

* move scroll panel fix to its own PR

* mici keyboard: simpler comments

* mici keyboard: add _unselect_key helper

* Revert "mici keyboard: add _unselect_key helper"

This reverts commit 5e270e0bcc2fa5bb8b89e844d7e43e5b1b66c404.
2026-10-21 00:32:00 -07:00
Shane Smiskol 9c6887c611 ui: fit fling velocity over the last 6 touch samples (#39142)
* ui: fit fling velocity over the last 50 ms

Release velocity was a weighted average of the last 3 per-sample
velocities. Each sample uses the poll time of the touch thread, which
is off by a few ms, so the 3 velocities (and the fling distance) vary a
lot for the same swipe. A least-squares slope over the last 50 ms
(approx. 5 samples) is much less sensitive to this. The deceleration
check that rejects swipe-stop-lift is unchanged.

* scroll_panel2: use np.polyfit, 54 ms window off the poll grid

50 ms is exactly 7 periods of the 140 Hz poll thread, so a sample can
be on the window edge and its inclusion flips on float rounding.

* scroll_panel2: fit the last 6 samples instead of a time window

Same result as the 54 ms window (approx. 6 samples at ~103Hz), without
the window edge.

* scroll_panel2: closed-form fit instead of np.polyfit

Same result, approx. 16x faster (2.5 us vs 40 us per release on a PC),
and no numpy import.

* scroll_panel2: simpler comments

* scroll_panel2: get velocities for the decel check from the position buffer

Removes _velocity_buffer, same behavior.

* Revert "scroll_panel2: get velocities for the decel check from the position buffer"

This reverts commit db8f0a647ec48f133d138b591c3c2e2681c4c59c.

* scroll_panel2: use len() for the empty check

* scroll_panel2: comment the first position sample

* scroll_panel2: blank line before comment
2026-10-21 00:22:09 -07:00