Commit Graph

9592 Commits

Author SHA1 Message Date
Shane Smiskol c19c18cfdb Hyundai: always publish cruise and main buttons (#33701)
* bump

* update refs
2024-10-01 22:46:24 -07:00
YassineYousfi 48bd5b9f6b modeld: clip vego (#33699) 2024-10-01 21:33:46 -07:00
Shane Smiskol 9cbd34158f GM: signed wheel speeds (#33697)
* signed wheel speeds

* clean up

* bump to master

* bump to master again

* did a sanity check for negative vego

* bump
2024-10-01 21:17:24 -07:00
Shane Smiskol 516aa59ee6 Deprecate lowSpeedLockout alert (#33696)
* is an accFault

* bump

* bump to master

* remove from car specific
2024-10-01 20:16:25 -07:00
Jason Young 17edc5f660 support for SecOC cars (#33689)
* bump opendbc

* support for SecOC cars

* missed this

* bump opendbc

* un-nest SecOC params

* gate saved key retrieval on IsReleaseBranch false

* bump opendbc

* bump opendbc

* bump opendbc to point of SecOC merge

* bump opendbc
2024-10-01 20:22:46 -04:00
Shane Smiskol 999c86e8a2 Remove VW steer time limit alert (#33692)
* rm

* remove argument

* and more
2024-10-01 17:17:09 -07:00
Jason Young ba350aac4c merge Tesla without a replay route (#33691)
* bump opendbc

* no Tesla replay route for now

* bump opendbc to head
2024-10-01 19:48:19 -04:00
Harald Schäfer e442425c9d MLSIM trained model V0 (#33676)
* squash f7343ba0-3f7d-4776-9819-2219b8d2d667/270

* fix broken ref

* Model replay ref commit
2024-10-01 02:58:20 -07:00
Kacper Rączy 6c227a66a2 process_replay: drivingModelData migration (#33686)
* Migrate modelV2 to drivingModelData

* Add if statements

* Fix
2024-09-30 20:42:51 -07:00
Harald Schäfer b0e4d6ee7a Model replay needs speed (#33683)
* Model replay needs speed

* Model replay needs speed

* Revert "Model replay needs speed"

This reverts commit 6d6a4993dd163c02d84465868e85b290d4fc6bbd.

* Update model_replay_ref_commit
2024-09-30 19:15:29 -07:00
Maxime Desroches d826b08369 ci: lower soundd CPU budget (#33684)
tr
2024-09-30 18:59:46 -07:00
Mitchell Goff 47cc314b14 Gate acceleration on model gas press predictions (#33643)
* no ui squash

* already calibrated

* Already calibrated

* Add longitudinal maneuver tests

* Fix linter errors

* Added get_coast_accel function

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2024-09-30 18:13:51 -07:00
ugtthis c6cd23210c prime.cc/typo: Fixes variable name typo (#33678)
Fixes variable name typo
2024-09-30 09:00:00 -07:00
Bruce Wayne d4e257213d Modeld: cannot run without wide img 2024-09-30 00:05:28 -07:00
Harald Schäfer 19bd96004e Cleanup shift (#33677)
* Cleanup shift code

* Unsafe buffer copy

* fix bugs
2024-09-29 23:23:16 -07:00
Harald Schäfer 3b08501db3 Game Boy Model V3 (#33674)
* f4afab38-2ee3-4a71-904a-f2e5d4ec119a/400

* Model replay

* fix onnx cast

* tol
2024-09-29 20:33:35 -07:00
Bruce Wayne 390eee0717 Revert "onnx model needs cast"
This reverts commit a2b3b1540d.
2024-09-29 20:02:32 -07:00
Bruce Wayne a2b3b1540d onnx model needs cast 2024-09-29 19:48:31 -07:00
Adeeb Shihadeh 3b6f1a0b39 test_onroad: update CPU usages after recent changes 2024-09-29 10:55:39 -07:00
ugtthis 8bb7a8d310 Assets/icon: Rm redundant PNG file (#33565)
Rm redundant file - use existing png to replace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-09-29 10:03:29 -07:00
Harald Schäfer edf9522bc0 Model and YUV pipeline to uint8 (#33671)
* Squash

* 78cec5a0-577b-49ac-b443-f7cd327649bd/400

* bump tinygrad
2024-09-28 18:34:31 -07:00
Harald Schäfer 4da090a4e1 Game Boy Model V2 (#33669)
* 78cec5a0-577b-49ac-b443-f7cd327649bd/400

* ref commit
2024-09-28 15:33:01 -07:00
Harald Schäfer 04a266eaeb Game Boy Model (#33661)
* 559069cd-40a6-4456-9052-08659f376ca3/370

* 028fb9bc-b33e-4c26-9cf7-e3c44a85276a/400

* Update ref

* Update tolerance
2024-09-27 22:48:32 -07:00
ZwX1616 876f192112 exec DM model with gpu (#33609)
* half

old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84

* optimed

old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5

* thneed

old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a

* exec

old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6

* runner

old-commit-hash: 34232ada94450ce541eaef546197fa219810a891

* runs but

old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2

* it is 01

old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665

* np

old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8

* module url

old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f

* new

old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504

* ds fast

* is this work

* corcention

* real timing

* no reg

* interim gather

* 0e4a9c7b

* fa69be01, and halve

* list

* cleanup

* slighly faster

* setprotlt

* expected

* replay ref

* more powar

* reluctantly

* bump tg

* 8

* less

* less

* bump tg

* better than exp

* closer

* cc

* see diff

* commits

* was right

* to 32 cast

* remove dlc file

* support both

* dspExecutionTime -> gpuExecutionTime

* ignore

* time ref

* ref commit

* last

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-26 16:40:44 -07:00
YassineYousfi 36a9687d5d long planner: use temporalPose for v_model_error calibration (#33655)
* long planner: add flag to disable v_model_error calibration

* use temporal pose instead of flag

* udpate model replay ref
2024-09-26 11:01:56 -07:00
Harald Schäfer ba7039785c More reasonable model replay tolerance (#33652) 2024-09-25 14:21:19 -07:00
ZwX1616 92fff4d486 always on DM: filter green alert at low speeds (#33644)
* disable visual too under 25

* seperate

* rename
2024-09-24 20:09:07 -07:00
Dean Lee fda0b70c10 ui/hud: add Q_OBJECT macro (#33638)
add Q_OBJECT
2024-09-24 15:06:04 -07:00
commaci-public 1f198ff9c9 [bot] Update Python packages (#33626)
* Update Python packages

* fix build

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-09-24 13:56:49 -07:00
Harald Schäfer deb6b72091 Safe exp in parsing (#33640) 2024-09-24 10:51:30 -07:00
Dean Lee 6dfc154c59 ci: add OVERRIDE and DISENGAGED state to ui report (#33639)
add state
2024-09-24 10:15:01 -07:00
Harald Schäfer 251e2e9400 Clip sigmoid overlfow (#33635)
* No more C sigmoid

* Clipping

* Need to cast to float

* Update ref

* Clip

* Model refg
2024-09-23 19:06:52 -07:00
Maxime Desroches 23b1f2d646 fix set speed color (#33634)
color
2024-09-23 18:16:14 -07:00
Harald Schäfer e8bea2c78f Tomb Raider Model (#33629)
* 69acff08-5383-4103-beea-822f0d228c76/160

* 53f39907-4763-4d19-ba26-e757527c2b61/200

* 21afb89f-1397-4652-b423-abc2da32417a/200

* 21afb89f-1397-4652-b423-abc2da32417a/400

* 53f39907-4763-4d19-ba26-e757527c2b61/400

* 3fb967fd-16a8-4569-ba57-359e54deeab3/395

* Try other policy again

* 3fb967fd-16a8-4569-ba57-359e54deeab3/400

* 0136cabf-539a-4a43-bc7f-06c3654a493c/4400

* 473c0686-1ac9-4c05-9b0b-d1f1afdb6cc3/400

* 83b7993d-51a9-4e3f-904e-3fcd5763c231/400

* 021566c7-cff3-431d-8da2-17a96c888c5f/400

* Fix bugs

* Update longitudinal_planner.py

* Update fill_model_msg.py

* 8be6b59d-4449-42fd-b8e0-93c48387070f/400

* f670a748-3591-4489-a0b3-215118ddad01/400

* 790a2950-c713-4eec-838b-4f55f4fe0ccb/400

* Update model ref

* Plans start at ego

* Update ref
2024-09-23 14:26:28 -07:00
Dean Lee caa33c3193 ui: refactor hud updating and rendering into HudRenderer class (#33458)
refactor hud updating and rendering into DriverMonitorRenderer class
2024-09-23 13:48:24 -07:00
Jason Young 900c2c83bd docs: car port info cleanup (#33630)
* GC, now duplicated and out of place

* typo fix

* link to official video with better slides

* expansion and cleanup
2024-09-23 16:39:36 -04:00
ZwX1616 b2976631d2 onnxmodel fp16_to_fp32: misc improvements (#33615) 2024-09-20 15:00:34 -07:00
Harald Schäfer 8d50970aef New steer limit warning (#33608)
* New steer limit

* Update selfdrived.py

* Update selfdrived.py

* Update selfdrived.py

* Update ref
2024-09-20 14:42:21 -07:00
Kacper Rączy 48938098e0 Add modelExecutionTime to DrivingModelData (#33606)
* Add model execution time to DrivingModelData

* Update model replay ref commit

* Update ref commit again

* Ignore this field in model replay

* Back to original ref commit

* Bring back

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 22:09:53 -07:00
ZwX1616 ffb6e11f96 Revert "exec DM model with gpu" (#33604)
Revert "exec DM model with gpu (#33397)"

This reverts commit f79aca8e1e.
2024-09-19 20:55:11 -07:00
Shane Smiskol 5e024b775b fix big cars test (#33603)
export and fix platforms
2024-09-19 18:08:40 -07:00
ZwX1616 f79aca8e1e exec DM model with gpu (#33397)
* half

old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84

* optimed

old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5

* thneed

old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a

* exec

old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6

* runner

old-commit-hash: 34232ada94450ce541eaef546197fa219810a891

* runs but

old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2

* it is 01

old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665

* np

old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8

* module url

old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f

* new

old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504

* ds fast

* is this work

* corcention

* real timing

* no reg

* interim gather

* 0e4a9c7b

* fa69be01, and halve

* list

* cleanup

* slighly faster

* setprotlt

* expected

* replay ref

* more powar

* reluctantly

* bump tg

* 8

* less

* less

* bump tg

* better than exp

* closer

* cc

* see diff

* commits

* was right

* to 32 cast

* remove dlc file

* support both

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 17:42:44 -07:00
Dean Lee 7a11d0180b locationd: improve circular buffer handling with np.roll (#33470)
improve circular buffer handling
2024-09-19 13:09:41 -07:00
Dean Lee fc8762ab51 ci: fix ui report issues (#33585)
* fix ui report issues

* fix indentation

* Update selfdrive/ui/tests/test_ui/run.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-18 22:53:47 -07:00
Adeeb Shihadeh 80013219fe camerad: abstract out ISP handling (#33583)
* spectra and tici

* master

* move the rest

* rm stupid indirection

* start move

* multi cam state is dead

* rest is moved

* lil more

* mv that

* lil more

* fix pc build

* we haven't done rgb for a while

* bring this stuff back

* fix mac?

* no camera in ui!

* i remember why we always cut mac

* fix mac build

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-18 22:24:53 -07:00
Dean Lee aca0ee3eea locationd: replaced the loop and setattr with direct attribute assignment (#33466)
replaced the loop and setattr with direct attribute assignment
2024-09-18 22:19:57 -07:00
Dean Lee 45b887a08e ci: add toggles to ui report (#33577)
add toggles
2024-09-17 21:04:08 -07:00
Jason Wen e549f7af45 tests: fix selfdrive state machine import (#33571)
* selfdrive: Fix state machine test imports

* it's the same file

* Update selfdrive/selfdrived/tests/test_state_machine.py

* Update selfdrive/selfdrived/tests/test_state_machine.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 16:23:27 -07:00
Adeeb Shihadeh f294162b2c bump up cpu budget 2024-09-16 19:23:04 -07:00
Adeeb Shihadeh 6b7996de91 jenkins fixups for agnos 11 (#33569)
* jenkins fixups for agnos 11

* just do this for now
2024-09-16 18:05:20 -07:00