Commit Graph

164 Commits

Author SHA1 Message Date
Trey Moen 6acb73871a replay: capture downloader's stderr so download progress is reported again (#38734)
(cherry picked from commit 0e320594844b1c1d80aada3f8c51b6e0a1c14115)
2026-09-06 16:37:05 +08:00
Trey Moen 58e114aa41 common: fix OpenpilotPrefix cleanup on macOS (#38728)
The destructor built its cleanup commands as "rm %s -rf", with the flags
after the operand. GNU rm permutes arguments so this works on device and
in CI, but BSD rm on macOS stops option parsing at the first operand and
treats "-rf" as a second filename:

  $ mkdir -p /tmp/rmtest/sub && rm /tmp/rmtest -rf
  rm: /tmp/rmtest: is a directory
  rm: -rf: No such file or directory
  exit=1

So nothing is removed, and each of the four calls prints two errors plus
"system command failed (256)" from check_system. Every run of a tool that
owns an OpenpilotPrefix (replay, cabana) leaks its params dir, its
comma_home and its /tmp/msgq_ dir; 33 of each had accumulated on my
machine.

Pass the flags first.

(cherry picked from commit 7cf55c3b7a2d9bcee87821e413fa322866f64c5b)
2026-09-06 16:37:05 +08:00
Daniel Koepping a44f9592d6 add chestnut offroad alerts (#38706)
* system: add chestnut offroad alerts

* system: refine chestnut offroad alerts

* system: refine chestnut power alerts

* system: confirm chestnut power recovery from PCIe

* system: detect missing chestnut power from INA voltage

(cherry picked from commit 682b6a20dfe6764774a40f2ef51148c8078b7c79)
2026-09-06 16:36:47 +08:00
Daniel Koepping 0195fec89c ui: sync gpu loading to offroad (#38727)
ui: sync gpu loading state
(cherry picked from commit a67cdf9a5138f2b3e0b1692fb4c92e6fa7c0fc8f)
2026-09-06 16:36:04 +08:00
Trey Moen 43d52f574a ui: check for update on target branch switch (#38693)
(cherry picked from commit e571e21d14dc6247177bd4713283c7bb9ef4ebdd)
2026-09-06 16:35:02 +08:00
Trey Moen 41f0b118bf ui: guard branch switcher before internet connected (#38692)
(cherry picked from commit 839d3f500474e7726f50cc273fe750e8a05222bd)
2026-09-06 16:35:02 +08:00
Trey Moen e97fea466a cabana: split utils/util into Qt-free util and qtutil (#38723)
(cherry picked from commit 5645370f845ce70449fdf87ebfa544a2fbc36101)
2026-09-06 16:35:02 +08:00
Trey Moen 6e7bd0f605 ui: fix install update button overflow (#38696)
(cherry picked from commit 633d17cd128690e00b5a24dfd6747141c8d34a2e)
2026-09-06 16:35:01 +08:00
Trey Moen b5a1028179 cabana: de-QT streams (#38718)
(cherry picked from commit 5419f57b3a63f581dde6b0485624f0a2f698d878)
2026-09-06 16:35:01 +08:00
Trey Moen d6a19442f6 cabana: split comma API route fetching out of RoutesDialog (#38721)
(cherry picked from commit 46f612224cf6953a845ddc6ed7aadaa9f2128e6b)
2026-09-06 16:35:01 +08:00
Trey Moen ac09f5e1af cabana: split SettingsDialog out of settings (#38719)
cabana: split SettingsDialog out of settings.{h,cc}
(cherry picked from commit 6e0f4f46306d6c569d6a52a4bbbea6537354d898)
2026-09-06 16:35:01 +08:00
Trey Moen b48d247082 cabana: remove Qt from livestream (#38722)
(cherry picked from commit 0f9c753e6ec5c7af9ea37f9020ab3cc66bed5db1)
2026-09-06 16:35:01 +08:00
Trey Moen 1ef5041a7a cabana: move stream open widgets into streamselector (#38715)
(cherry picked from commit 131e473f37f3f2762469f98ef11d82a238e42f6a)
2026-09-06 16:35:01 +08:00
Trey Moen d0f7e569c8 cabana: use std::string in RoutesDialog API results (#38717)
(cherry picked from commit 30f358eb59c191cb6ca98b4ee79e17e5b9b82b63)
2026-09-06 16:35:01 +08:00
Trey Moen 300db112f4 cabana: string helpers in utils return std::string (#38720)
(cherry picked from commit 9b9e3ea6048a72948922d0e58dcdbbcd876cd658)
2026-09-06 16:35:00 +08:00
Trey Moen d2d858e6de cabana: move RoutesDialog out of streams/ (#38716)
(cherry picked from commit 7cc48b5bc94e197bfce1ee88d865d16488d8c286)
2026-09-06 16:35:00 +08:00
Trey Moen 08072a9fc8 cabana: replace custom non-view Qt signals w/ plain observer (#38713)
(cherry picked from commit cbf750de20d29cd96c545da028a45c1135475c00)
2026-09-06 16:35:00 +08:00
Trey Moen 4fe4eba19b bump raylib (#38712)
(cherry picked from commit 318257fa3bb50c2c26e179767d841c140fb0837b)
2026-09-06 16:35:00 +08:00
Daniel Koepping 516b14e6af log chestnut supply fault (#38711)
* log chestnut INA supply fault

* ci

(cherry picked from commit 4cdc16031ffd8bd44cb1d3f2fd2bfd49effd66ce)
2026-09-06 16:35:00 +08:00
Trey Moen 9c7524951a ui: remove raygui usage (#38708)
* ui: remove raygui usage

* match previous gui_text_box line spacing

* Revert "match previous gui_text_box line spacing"

This reverts commit ffd2fe31725c6d50bffaebc621c1e170d0926c66.

* Reapply "match previous gui_text_box line spacing"

This reverts commit d41404f09607e225f43868f7747f22dc0bb2cf16.

(cherry picked from commit 31ea1850f73a0f8049dd5a655b7bc1f03d5389be)
2026-09-06 16:34:45 +08:00
mawei f7dab698b3 编辑c3_client.py 2026-09-03 20:09:31 +08:00
Jason Wen df1de1031f ci: route build_model runner by hardware type 2026-09-01 19:18:52 +08:00
James Vecellio-Grant cbd075288c modeld_v2: big to small model fallback (#1974) 2026-09-01 19:18:47 +08:00
royjr 98dd4830df chestnut: alert when big model ready (#1947)
egpu: alert when big model ready

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2026-09-01 19:18:33 +08:00
Comma Device 01093dffaa ui: hide Neural Network Lateral Control (NNLC) toggle from steering settings 2026-08-30 21:08:24 +08:00
Comma Device 509e69dafe pandad: fix UnboundLocalError from local import subprocess shadowing module import 2026-08-30 21:02:44 +08:00
Comma Device d263c7d624 pandad: wait for panda in bootstub phase instead of resetting (bootstub->app switch ~10s) 2026-08-30 17:01:08 +08:00
Comma Device 6ee949d283 pandad: shorten cold-boot USB enumeration wait (C3XL panda needs a reset, 20s wait just delays onroad) 2026-08-30 16:33:06 +08:00
Comma Device 8b3707c56e pandad: protect app firmware from recover, retry normal reset before entering ROM bootloader (ref 015f9f7c) 2026-08-30 14:24:00 +08:00
github-actions[bot] df7996a678 modeld_v2: big to small model fallback (PR-1974) 2026-08-30 13:54:40 +08:00
Comma Device 2a2e8be49a modem: downgrade incomplete SIM identity warning to debug (no SIM installed) 2026-08-29 12:57:24 +08:00
Comma Device bf3d26215d pandad: wait for internal panda USB enumeration before resetting (fix slow panda startup) 2026-08-29 12:48:59 +08:00
Comma Device 8f03c24d94 ui: store chestnut_orange.png as regular file (was an LFS pointer, breaking UI on fresh installs without LFS) 2026-08-29 12:30:09 +08:00
Comma Device 140c8893f2 common: rebuild libparams_c.so with merged params_keys.h (fix UnknownKeyName for ModelManager_*_Chestnut on fresh installs) 2026-08-29 09:12:49 +08:00
Comma Device 4ded62b9e2 changelog: strip Chinese translations, keep English only 2026-08-29 08:52:33 +08:00
Comma Device 696b160126 changelog: add MR.ONE-2026 C3XL release notes (black panda support, upstream sync) 2026-08-29 08:48:52 +08:00
Jason Wen 78051cc14b Sync: commaai/openpilot:master → sunnypilot/sunnypilot:master (#1973) 2026-08-29 08:41:00 +08:00
Nayan 9c9b0a1d7d osm: support map deletion via sunnylink (#1971)
delete delete
2026-08-28 20:23:21 +08:00
comma 679eed622f pandad.py: don't reset/flash on every boot; wait for internal panda to boot before deciding to flash 2026-08-28 20:08:02 +08:00
comma 23ebc4989c fix F4 panda freeze under CAN load: move stack above .bss (stack/.bss overlap); plus clock_source register masks, hard fault handler + debug readback 2026-08-28 11:31:31 +08:00
comma fb376218be add prebuilt panda firmware binaries (F4 DOS + H7) 2026-08-28 09:58:41 +08:00
comma 9c8d543346 pandad.py: pass serial to C++ pandad (USB-only panda) 2026-08-28 09:38:29 +08:00
comma 641d3cd371 usb.cc: include unistd for usleep 2026-08-28 09:30:55 +08:00
comma 6c8fe68914 usb.cc: tolerate BUSY on set_configuration, retry claim 2026-08-28 09:29:55 +08:00
comma 857d34b65d pandad.py: delay before launching C++ pandad for USB release 2026-08-28 09:28:49 +08:00
comma e2a010020b remove stale bootloader magic jump; 0xd1 jumps directly 2026-08-28 09:21:55 +08:00
comma 2feb6b0b28 usb.py: no trailing GETSTATUS in DFU jump 2026-08-28 09:19:27 +08:00
comma 542603ec3c early_init: no self-heal reset on stale magic 2026-08-28 09:10:31 +08:00
comma 51b00e5108 fix bxcan pending_can_live 2026-08-28 09:03:38 +08:00
comma 170253de81 port USB black panda (DOS/F4) support: pandad USB comms, python lib, F4 firmware 2026-08-28 09:02:11 +08:00