Commit Graph

9498 Commits

Author SHA1 Message Date
Shane Smiskol d0f0632f78 interfaces returns RadarInterfaces (#33444)
* interfaces returns radarinterface

* bump

* bump

* bump
old-commit-hash: f94ef10df7a663c2b873b2cdf2e0263714447fa3
2024-09-03 19:17:25 -07:00
commaci-public 1e92af9b3c [bot] Update Python packages (#33436)
* Update Python packages

* bump

* specify any list of sources

ooh this is pretty nice

* update

* y

* fix

* fix that

* bump

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 239cc69a20b7d3c2f285bd1907cecad9c9604d50
2024-09-03 18:57:28 -07:00
Shane Smiskol 0b52262f62 bump opendbc (#33447)
* bump

* update refs
old-commit-hash: 7e2c24d7635fa733235894ac88b94a3fcef2abe8
2024-09-03 18:54:53 -07:00
Shane Smiskol 9da055853f LogReader clean ups (#33446)
* buggin me

* no caps

* remove at least one level of indirection

* no recursion, remove a bunch of junk

* default is now allfault ??

* back

* fix tests
old-commit-hash: 5796bf12b6dac4f3fc8e55ecd9785c73044d8a08
2024-09-03 18:34:18 -07:00
Adeeb Shihadeh 72d7ada7e4 controlsd: deprecate startMonoTime (#33445)
* controlsd: deprecate startMonoTime

* update refs
old-commit-hash: 04eb73e4a1374178274e04c2fb92b82bb713772c
2024-09-03 17:48:04 -07:00
Adeeb Shihadeh bd2b09c7b6 Deprecate controlsState state fields (#33437)
* Deprecate controlsState state fields

* sim works

* update refs

* one more

* these too

* update sim
old-commit-hash: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
Adeeb Shihadeh 53288d4dbf Move vCruise to card (#33439)
* Move vCruise to card

* cleanup drive_helpers

* works in sim

* update refs

* update that

* too slow :(
old-commit-hash: 2f3256ed8baa3d7a5c4d1befe9148dbfecb37246
2024-09-02 17:18:43 -07:00
Alexandre Nobuharu Sato 351d7bf16e Fix small typos on run.py (#33434)
old-commit-hash: 352d0b6c0ca9a10f319fc64f288b786c467b8798
2024-09-01 20:38:59 -07:00
Dean Lee 43025c2836 ui: refactor driver monitor updating and rendering into DriverMonitorRenderer class (#33375)
* Refactor Driver Monitor Updating and Rendering

add comments

* rebase master

* rename dmon to driver_monitoring
old-commit-hash: af80a13716f2ba40b6652ab188d1881385b6aa71
2024-09-01 12:11:16 -07:00
Adeeb Shihadeh 7575c707f1 carEvent -> onroadEvent (#33432)
old-commit-hash: c481f11833d748a0d12d2ba14003e931d2849135
2024-09-01 11:31:39 -07:00
Dean Lee 9cd2bcbb39 ci: add body to ui report (#33429)
add body
old-commit-hash: fefb0330d65db56092a6251035f1d012b9efae19
2024-09-01 10:40:41 -07:00
Dean Lee 1876f80699 ui: remove copy initialization of dialogs (#33427)
remove copy initialization of dialogs
old-commit-hash: dc06813beddbad82f1fe003f5a28efea7a440981
2024-09-01 09:58:22 -07:00
Dean Lee e318ca0948 ci: integrate offroad alerts and update notifications to ui report (#33408)
add offroad alerts
old-commit-hash: db9263d064502000642931742e08a748e586e760
2024-09-01 09:57:00 -07:00
Dean Lee 9785c6b62b ci: display lead car indicator in on-road screenshots (#33416)
Show lead car in on-road screenshots
old-commit-hash: 100ca65b391d44784b31387a577dd35316c2342e
2024-08-31 22:57:45 -07:00
Adeeb Shihadeh 1d7e8795dd update test_alerts
old-commit-hash: 519b666e379e977c2359efee9b0fc0fb21e03b1d
2024-08-31 20:51:01 -07:00
royjr dbe0866a6f ui: show personality updates (#33406)
* personality-alerts

* Update events.py

* Update car.capnp

* no AudibleAlert

* shorter

* no VisualAlert

* one liner

* smaller

* normal

* what am I doing wrong?

* it works, but is it messy?

* arg all

* lil more

* update that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 35da93fa9503aa8c56aba59cf42efc88ab4d882f
2024-08-31 20:38:34 -07:00
Dean Lee 78fe867ccd ci: add controlsState back to ui report (#33424)
add controlsState back
old-commit-hash: ff4cce267768dde0c869ab077beddd8a5d706912
2024-08-31 20:38:15 -07:00
Adeeb Shihadeh 1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803abc2a35f0260eec8976c487b877c694b
2024-08-31 18:48:17 -07:00
Adeeb Shihadeh 60549c9557 controlsd: deprecate alertBlinkingRate (#33422)
* controlsd: deprecate alertBlinkingRate

* simplify

* update refs
old-commit-hash: f4e101c67d2e65863683a6d22a2cc80819308f08
2024-08-31 17:58:02 -07:00
Adeeb Shihadeh 5144cb0538 ui: gc experiments
old-commit-hash: 42f8875901de9d9ca64765e758e8564b79afeeb2
2024-08-31 17:24:50 -07:00
Adeeb Shihadeh fecf6134ef move PID controller to common/ (#33419)
old-commit-hash: f59a1bf00344432acad686f4813069e7c0c063b6
2024-08-31 16:49:29 -07:00
Dean Lee 574b94c171 ci: add driver camera to ui report (#33409)
add driver camera
old-commit-hash: 338b69be11fa83bf822c08eab56119dd44e98f2a
2024-08-30 19:51:18 -07:00
Alexandre Nobuharu Sato 9f1d49ef32 small typo on run.py (#33413)
old-commit-hash: a51b83b4d85be3fcf9b43bd0ac7c27449366710a
2024-08-30 16:39:14 -07:00
royjr f81c369acd ui: update arabic translations (#33411)
Update main_ar.ts
old-commit-hash: fea01767d98b68d64bf36fb1cb09fcbf74b76ae2
2024-08-30 13:56:33 -07:00
Kacper Rączy 012162e816 Deprecate liveLocationKalman (#33405)
* Remove usages of llk

* Deprecate it

* Add scenarios back

* Fix orientationNED valid

* Regenerate

* Increase tolerances and update segment

* Remove calibration
old-commit-hash: 282eae3c309c32a293f26ed82cb623afe0fe5ca7
2024-08-30 02:07:16 -07:00
Kacper Rączy 786aff27da azure_container: pass the filename explicitely when using get_url (#33407)
* Pass filename explicitely when using azure container

* Do not update segments in test_processes

* openpilotci_source_zst

* Fix static analysisc
old-commit-hash: b5958ebb600f503f585a1080236a0f26b4f5c6a0
2024-08-29 21:51:55 -07:00
Mitchell Goff 6bb9e72c64 Add gas/brake press probs to ModelDataV2 (#33382)
* Add gas/brake press probs to ModelDataV2

* Updated model_replay_ref_commit
old-commit-hash: 40fb90a8a2da60d05ef8762d55caedd1d4bde008
2024-08-29 14:25:33 -07:00
Dean Lee 1af4686ea0 ui: fix Incorrect path in .gitignore for test_ui/report (#33403)
fix gitignore
old-commit-hash: 5bfad234421b3945065000eef82292261588868d
2024-08-29 12:48:46 -07:00
Dean Lee c51889b05e ui: remove deprecated Qt ui_snapshot (#33402)
remove ui_snapshot
old-commit-hash: ac5cd06a3aa9dbbe26425bdbe0e2caab3861cf98
2024-08-29 12:24:21 -07:00
Dean Lee 5cdd421db1 ci: add cameras to ui reports (#33401)
add cameras
old-commit-hash: db5c0419ce566d1d44d1fdbcea438776a4f28bd0
2024-08-29 12:11:51 -07:00
Dean Lee d21917ffb3 ci: add all onroad hud elements to ui report (#33395)
* add model

* merge master

* make static analysis happy
old-commit-hash: 341e7a4384f3c3d16a1668c2e21c8e75f598d4d3
2024-08-28 14:00:01 -07:00
Dean Lee 3e37261209 ci: add onroad alerts to ui report (#33394)
* add onroad alerts to ui report

* print
old-commit-hash: 5fe1f5fa87fa27a7f17296ff27c892c6d69716ae
2024-08-28 11:13:05 -07:00
Dean Lee 81fc1be189 ui: fix memory corruption by using std::vector for PubMaster initialization (#33390)
Fix memory Corruption Issue
old-commit-hash: 1c19cbc437ad7fdb84f039272bc482440eb41895
2024-08-27 11:34:28 -07:00
Adeeb Shihadeh 55bae8feef openpilot isn't required for a car port PR (#33383)
* disable car docs diff

* mv routes.py

* bump opendbc
old-commit-hash: 48bceb2bbfcb8c096c6bf170114f2da0cd00b3bb
2024-08-26 17:12:01 -07:00
Shane Smiskol 2ea4a8f48e car helpers file (#33379)
* helpers file

* clean up
old-commit-hash: 6d392a2e7bca7fa69e5bca990b45ce90f988a1ca
2024-08-26 11:52:41 -07:00
Dean Lee a529422db0 ui: add prefix PRIME_TYPE_ to PrimeType enum values (#33371)
Add Prefix PRIME_TYPE_ to PrimeType Enum Values
old-commit-hash: 4bb00a042a7f0e60f42d4311805921b41395de83
2024-08-25 09:44:18 -07:00
Adeeb Shihadeh 841768e768 ui: move more builds behind --minimal (#33368)
old-commit-hash: 5cb7aed8cefc4cd8345ccfc3cbb4fee3b1977dc6
2024-08-23 18:14:43 -07:00
Dean Lee 7098ddcd19 ui: remove QtQml and related dependencies (#33357)
* remove QtQml

* remove qtdeclarative5-dev
old-commit-hash: 4d9ee68d165fe47bd6c0f10851273cbf09ae1ac7
2024-08-23 10:56:31 -07:00
Dean Lee 965aea8eab scons: remove duplicate linker flags for -ljson11, -lzmq (#33361)
fix duplicate link
old-commit-hash: 908aa525ec49c0541d88a7f2596d71d98df63ba3
2024-08-23 10:42:57 -07:00
Kacper Rączy e154f03a12 timed: use gps location packet for time (#33306)
* GPS helpers

* Use GPS socket in timed

* Use helper in controlsd

* Use updated and logMonoTime

* Helper type annot

* Not updated

* Increase time threashold
old-commit-hash: cf355ecf20b546e6c6caca40936fe7505d5f8b7f
2024-08-22 23:30:29 -07:00
Dean Lee 2871822bd2 drive_helpers.py: iterate button_timers with items() (#33351)
iterate button_timers with items()
old-commit-hash: 13e58d33dbe3a7c64f9ff3201fec0c99b477d37e
2024-08-21 11:03:55 -07:00
Shane Smiskol 093fac6f5a move some car interface tests into opendbc (#33352)
* bump

* this is in opendbc

* so is radar interface

* clean up

* bump

* can import from opendbc

* bump
old-commit-hash: 7af3c6dfee305c991e03bc6cd6ae7449538a4201
2024-08-21 00:30:06 -07:00
Shane Smiskol d69c1f600b ui: fix wrong path color indexing (#33350)
* fix

* clean up

* clean up

* clean up
old-commit-hash: d8c982242118b25ef2ad0dc25113907a53669593
2024-08-20 20:49:30 -07:00
Shane Smiskol 8d4770a65a move test_lateral_limits.py to opendbc
old-commit-hash: fe51a2fc6272dfe81f5e8669fcd09b536ca7406d
2024-08-20 15:42:25 -07:00
Dean Lee 2119f7774e cereal/SubMaster: encapsulate frequency management in FrequencyTracker (#33252)
* encapsulate frequency management

* apply reviews

* early return, avoiding unnecessary calculations

* simplify avg freq calc
old-commit-hash: b14fca78e07af4e334af1097fe7e328103226e21
2024-08-19 16:53:13 -07:00
commaci-public 155934bd49 [bot] Update Python packages (#33327)
* Update Python packages

* fix opendbc

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9b2cafe597c0ab871b06ec30e28444773ba1c3a6
2024-08-19 15:25:05 -07:00
Shane Smiskol 89725e7ac2 card: fix memory leak from nested function scoping (#33328)
* stash

* no other leaks! pm.send grows memory usage by ~20mb but that's it

* undo

* clean up
old-commit-hash: ee9977df2f13099d9823bd242cee8f2c52718f85
2024-08-19 14:27:50 -07:00
Adeeb Shihadeh ce9bea56ea update test
old-commit-hash: 08f64ae30ae263710697cf712958f40751fec15c
2024-08-19 14:19:12 -07:00
Shane Smiskol 4f019b5f60 move selfdrive/car to opendbc (#32630)
* move most of /car

* move some car tests

move some car tests

* fix selfdrive/car/tests

* fix selfdrive/controls tests

* fix the rest of the selfdrive tests

* bump opendbc

* fix all tests

* few more non-test references

* remove opcar and move docs to car

fix these debugging scripts

fix docs

* bump opendbc and panda

forgot panda
old-commit-hash: e735a7f3796e208cdc1ecc651ace09e1daf6009a
2024-08-17 00:54:51 -07:00
Shane Smiskol 93b11c816e car: move conversions.py into common/
old-commit-hash: 1eda5f47362892d5294bd3955dcfd959b2569af6
2024-08-16 15:53:37 -07:00