Commit Graph

16621 Commits

Author SHA1 Message Date
Jason Wen a739d4d437 get buttonEvents at 100 hz and process for 20 hz consumption 2025-09-26 00:17:39 -04:00
Jason Wen d8595de361 Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc 2025-09-25 23:06:05 -04:00
Jason Wen db65937fc7 Revert "ui: generic check with ICBM param" (#1286)
Revert "ui: generic check with ICBM param (#1274)"

This reverts commit d5a873ed86.
staging/0.10.1/2025.09.25-3135
2025-09-25 19:15:36 -04:00
James Vecellio-Grant 8ebe9b69af bug: fix Speed Limit Resolver initialization (#1285)
bug: fix speedlimitresolver init
2025-09-25 10:11:51 -04:00
Jason Wen c9c7844752 change up checks for user confirm 2025-09-25 07:38:08 -04:00
Jason Wen 68f6303559 Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc 2025-09-25 07:03:06 -04:00
Jason Wen 4c40be8b1f ui: always convert speedLimitFinalLast 2025-09-25 07:01:32 -04:00
Jason Wen b4905695ee slight fixes for tests 2025-09-25 01:26:26 -04:00
Jason Wen 62756b4e1a circular 2025-09-25 01:18:48 -04:00
Jason Wen 6fe2d05ac8 cst! 2025-09-25 01:06:23 -04:00
Jason Wen 81ead529f5 what #2??? 2025-09-25 00:43:06 -04:00
Jason Wen 40fd43b46f what? 2025-09-25 00:39:53 -04:00
Jason Wen 2cca27fbb4 move 2025-09-25 00:35:01 -04:00
Jason Wen 36af41e12c need to initialize 2025-09-25 00:18:44 -04:00
Jason Wen 736cb76f4e use button events instead of raw vals 2025-09-25 00:04:37 -04:00
Jason Wen 50ab30af4e non pcm long: adapting or pending unused 2025-09-24 23:39:47 -04:00
Jason Wen 521c0db294 do it globally 2025-09-24 22:57:39 -04:00
Jason Wen dfd43c3fdd no longer applies 2025-09-24 22:57:18 -04:00
Jason Wen 61d5759cb6 use it directly 2025-09-24 22:55:51 -04:00
Jason Wen d9b97ffbaf use resolver 2025-09-24 22:54:32 -04:00
Jason Wen 236540611e only do direction checks if preActive 2025-09-24 22:31:48 -04:00
Jason Wen d92b59e293 use speed limit final last 2025-09-24 22:25:52 -04:00
Jason Wen 747e90038c Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc
# Conflicts:
#	selfdrive/ui/sunnypilot/qt/onroad/hud.cc
2025-09-24 22:18:04 -04:00
Jason Wen 082ea8119b Speed Limit Resolver: abstract more speed limit attributes (#1284)
* Speed Limit Resolver: abstract more speed limit attributes

* update ui

* lint
2025-09-24 22:17:03 -04:00
Jason Wen 7da1bb1bdc update event 2025-09-24 01:07:13 -04:00
Jason Wen e0fa111ac2 fix event 2025-09-24 01:01:32 -04:00
Jason Wen b27b0685e8 let the non PCM party begins 2025-09-24 00:54:28 -04:00
Jason Wen 1034c352bc Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc 2025-09-24 00:15:41 -04:00
Jason Wen fbc679525d lint 2025-09-24 00:14:35 -04:00
Jason Wen e7c9b21088 lint 2025-09-24 00:07:54 -04:00
Jason Wen d0d0a12f35 disable non pcm long state machine for now 2025-09-24 00:06:41 -04:00
Jason Wen fd75d62f5a tests 2025-09-24 00:01:53 -04:00
Jason Wen 84725d8923 init non pcm cruise 2025-09-23 23:13:40 -04:00
Jason Wen 7da4412670 use consolidate method to evaluate set speed status 2025-09-23 17:41:54 -04:00
Jason Wen 1465e38c7b SCC-M: overriding is an enabled state (#1281) 2025-09-23 10:11:52 -04:00
Jason Wen 152b58a8a3 rename 2025-09-23 01:02:43 -04:00
Jason Wen aab8b5f8b2 some fixes 2025-09-23 00:44:46 -04:00
Jason Wen 024086ee5a pcm long only 2025-09-23 00:28:24 -04:00
Jason Wen 6fe1921fe6 fix 2025-09-23 00:12:17 -04:00
Jason Wen f1700cd0fd kumar wants it higher, blame him 2025-09-23 00:10:08 -04:00
Jason Wen abd545caf3 10s pre active 2025-09-23 00:03:03 -04:00
Jason Wen 0a2a23e91f rename 2025-09-22 23:47:12 -04:00
Jason Wen b4e763a71b Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc
# Conflicts:
#	cereal/custom.capnp
#	selfdrive/ui/sunnypilot/qt/onroad/hud.cc
#	sunnypilot/selfdrive/controls/lib/longitudinal_planner.py
#	sunnypilot/selfdrive/controls/lib/smart_cruise_control/smart_cruise_control.py
2025-09-22 23:42:33 -04:00
Jason Wen ecee67dd64 Locationd: reimplement liveLocationKalman and use position_geodetic in liveMapDataSP (#1275)
* init

* desc

* llk welcome back

* more

* new param to write

* update mapd

* no migration

* no refactor for now

* exec

* rename

* bearing

* fix test

* lint
staging/0.10.1/2025.09.23-3119
2025-09-22 23:39:55 -04:00
Jason Wen ea6178e53e Smart Cruise Control: Map (SCC-M) (#1280)
* init

* more

* a bit more

* expose

* bruh

* some fixes

* ui

* lint

* Update map_controller.py

* add overriding

* draw in orders
2025-09-22 22:54:45 -04:00
Jason Wen 01a0ad496d ui: more speed limit improvements (#1278)
* ui: more speed limit improvements

- show speed limit offset with last valid speed limit
- show last valid speed limit if current speed limit is not valid

* rename

* round it

* update logic

* in its own var and 5 frames now

* new offset vals

* slightly more

* apply suggestions
2025-09-22 19:50:59 -04:00
Jason Wen 4db6d6abc0 Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into feature/slc 2025-09-22 09:45:48 -04:00
Jason Wen b64d5a0fa4 liveMapDataSP: parse bearing from GPS (#1279)
* simpler approach pls

* fix
staging/0.10.1/2025.09.22-3112
2025-09-22 09:39:22 -04:00
Jason Wen 005c6aed95 ui: separate road name toggle param and bigger fonts (#1277)
* ui: separate road name toggle param and bigger fonts

* slightly lower
staging/0.10.1/2025.09.22-3110
2025-09-22 08:54:16 -04:00
Jason Wen 7f45d23bf5 Merge branch 'master' into feature/slc
# Conflicts:
#	selfdrive/ui/sunnypilot/qt/onroad/hud.cc
2025-09-22 02:15:19 -04:00