Commit Graph

13797 Commits

Author SHA1 Message Date
Adeeb Shihadeh 590e217368
selfdrived cleanup (#33497)
* selfdrived cleanup

* lil more

* always alert

* bring this back
2024-09-06 18:21:41 -07:00
Adeeb Shihadeh e04455cbaa
selfdrived: controlsd only does controls (#33485)
* selfdrived

* process replay

* lil more

* set the valids

* rename that
2024-09-06 17:16:32 -07:00
Adeeb Shihadeh e459cee1e7
Setup driverAssistance service (#33495)
* Move LDW and FCW to driverAssitance service

* move ldw

* cleanup
2024-09-06 15:30:14 -07:00
Dean Lee 51ebf44f48
card: remove redundant CAN data conversion (#33488)
* remove redundant CAN data conversion

* 1 less %

* rename

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-06 13:51:19 -07:00
Dean Lee c45e2731ae
CI: integrate pairing device and prime user widgets into UI report (#33486)
add prime widgets
2024-09-06 13:38:38 -07:00
Shane Smiskol e80c27ffdf
liveTracks: don't check carState for valid CAN (#33489)
* no need to check CS.canValid

* update refs
2024-09-06 13:29:20 -07:00
Adeeb Shihadeh f6d5f8fccf
ui: controls -> selfdrive (#33487)
* ui: controls -> selfdrive

* lil more
2024-09-06 11:40:06 -07:00
Shane Smiskol 922348f33d
card parses radar points (#33443)
* interfaces returns radarinterface

old-commit-hash: 9ad1f096bfca3712320f19b1b49aa9e6ac9b68e4

* bump

old-commit-hash: 20334a8b257c6037e11d02f2ba7b1f02c59f3240

* get RI from opendbc

old-commit-hash: b5f6d0c48c90927926e9dd557130075aeec5edee

* stash so far

old-commit-hash: 5aa2c842eb152316434c17a661df05bb8af61f47

* new liveTracks message (radard expects and needs RadarData)

* this should just work?

* whoops

* fix that

* rm liveTracks from radard pm

* fix proceess replay

* lol fcw diff, something's not right

* actually there's fcw in original route. it's pretty close

* no tracks!

* fix test_leads

* CPU moved across procs

* fix not engageable from onroadEvents

* bump

* fixes

* bump to master

* radard publishes w/ modelV2 now, so it will always be sent. check valid which radard sets using liveTracks avg freq

* fix that (it works!)

* combine

join

* bump

* bump

* deprecate

* why

* fix incorrect args

* remove cumLagMs from process_replay

* update refs
2024-09-05 22:40:17 -07:00
Adeeb Shihadeh aef650013e
controlsd: split up publishing and logic (#33483)
* split up the pubs

* move all event adds

* split out alerts

* lil more

* clenaup

* update test

* cleanup
2024-09-05 16:28:57 -07:00
Dean Lee e0be4a1f85
ci: eliminate unnecessary sleep to shorten UI report run time (#33462)
reduce sleep
2024-09-05 16:24:25 -07:00
Shane Smiskol e39466f535
bump opendbc (#33482)
* bump

* update
2024-09-05 13:50:58 -07:00
Adeeb Shihadeh 73d31d50c4
controlsd: pull out LDW (#33479)
* controlsd: pull out LDW

* cleanup

* good ol mypy
2024-09-04 17:45:09 -07:00
Adeeb Shihadeh 77f4f57e73
controlsd: pull out selfdrive state machine (#33477)
* controlsd: pull out selfdrive state machine

* cleanup test

* cleanup
2024-09-04 16:44:28 -07:00
Shane Smiskol 54a2626e44
Joystick: improve angle control (#33475)
* calculate max angle/curvature with speed

* don't inflate to inf

* screw radians

* up limit a bit
2024-09-04 16:29:04 -07:00
Kacper Rączy f247663727
process_replay: liveLocationKalman migration (#33472)
* migrate_livePose

* Remove unused param

* Dont migrate if livePose is there
2024-09-04 16:24:33 -07:00
Shane Smiskol 5521ab6d53
Joystick: utilize left/right trigger for gas/brakes (#33474)
* try

* clean up

* flip

* Update tools/joystick/joystickd.py
2024-09-04 14:29:52 -07:00
Shane Smiskol 655a7464bd
bump opendbc for Volt 2019 (#33448)
* bump

old-commit-hash: 19a05bfa0fe439d9b2243cc8a3dc15c2e8b9a946

* bump
2024-09-04 13:31:05 -07:00
Maxime Desroches 41408516f0
Cleanup lfs tracking (#33471)
* clean

* format

* Revert "format"

This reverts commit 461e2649f702c4d19c5c01e7ba654d137083118f.
2024-09-04 13:27:44 -07:00
Dean Lee 6dba364556
locationd: remove obsolete locationd.h (#33464)
remove obsolete locationd.h
2024-09-04 08:03:01 -07:00
Kacper Rączy 236dffe400
locationd no GPS (#33029)
* Pose kf draft

old-commit-hash: 17dd4d576e597792f0e18826498c00076739f92b

* Fix it

old-commit-hash: 13ac120affe58fd22e871586ea5f4d335b3e9d2b

* Add translation noise

old-commit-hash: 166529cb612858c4ce80649367ac35b2b6007e1d

* Add gravity to acc

old-commit-hash: 8fcfed544b8e090ccc86b189c13bc03c6c190613

* Use pyx

old-commit-hash: 8e69e0baa0a4c43b4d0c22535711f296f05420aa

* Indent

old-commit-hash: 25b19a73644cdcb571ccf1a1d8acb88a0d066c67

* Reset function

old-commit-hash: ca5d2736da15e4fd6539f7268133320735b7c9cc

* Add device_from_ned and ned_from_device transformations

old-commit-hash: a60d25da0edc311e583549dc015fa595749fd4ae

* Fix rotations

old-commit-hash: d6d582f7f6d19a2bc2308dbcb0c9f81363e325b6

* kms

old-commit-hash: 681bc4e50374795ccc61422c3ce4ffb51389fce2

* Centripetal acceleration

old-commit-hash: 6e574506d27e5b76a04b2097d94efa4ca91ead71

* Rewrite draft

old-commit-hash: 4a2aad0146267460e5d30036c8cdb2bef94d1d7c

* Remove old locationd stuff

old-commit-hash: c2be9f7dbf22fb5cd29e437cd7891a7d52266fba

* Python process now

old-commit-hash: 83fac85f28c0b546b6965aafe1dd8a089e67f5b3

* Process replay fix

old-commit-hash: c44f9de98583c49dad0b22497869b3bb0266fcd9

* Add checks for timing and validity

old-commit-hash: aed4fbe2d00ca620e01a0e0ee99a4871c939de36

* Fixes

old-commit-hash: 3f052c658c16984a34915f38afdfbfd0fb19a267

* Process replay config fixes

old-commit-hash: 1c56690ee7ceb3c23c9ec2b2713352191212716e

* static analysis fixes

old-commit-hash: 6145e2c140ea9aa97e75069c3ddd82172cadc866

* lp in latcontrol

old-commit-hash: 9abf7359d68e794c69052724f3aca14b04dd3cca

* Fix SensorEvent name for acceleration

old-commit-hash: 91a1ad6c604727c9c898ba4aefe9478022b167fd

* Ignore sensor readings from segments with multiple imus

old-commit-hash: 1f05af63d6cc605ea98d7da0d727a5bd8d7819b0

* Update shebang

old-commit-hash: e3f2f5c10df3a4ba698421335bfeffc63d1a8797

* Replace llk with lp

old-commit-hash: 99b6c7ba08de6b703708fef0b8fd2d8cb24b92c0

* Refactor locationd scenario test

old-commit-hash: 7f5f788f071b7647e36f854df927cc5b6f819a84

* Add more debugging tools

old-commit-hash: 8d4e364867e143ea35f4bfd00d8212aaf170a1d1

* Param name update

old-commit-hash: 5151e8f5520f067e7808e3f0baa628fbf8fb7337

* Fix expected observations

old-commit-hash: d6a0d4c1a96c438fb6893e8b6ff43becf6061b75

* Handle invalid measurements

old-commit-hash: 549362571e74ad1e7ec9368f6026378c54a29adf

* Fix spelling

old-commit-hash: eefd7c4c92fb486452e9b83c7121d2599811852b

* Include observations in debug info too

old-commit-hash: 625806d1110b3bffe249cd1d03416f2a3f2c1868

* Store error instead of expected observation

old-commit-hash: 1cb7a799b67e56af4eddc6608d5b0e295f2d888c

* Renames

old-commit-hash: a7eec74640fc5cc7a5e86172d2087b66cb93d17d

* Zero the yaw

old-commit-hash: 96150779590fcb8ac50e8ffe8f8df03105983179

* New state_dot for orientation

old-commit-hash: c1456bf3a0c5af2f888aa6ff0b5ffc2e5516ddf7

* Fix the state transformations

old-commit-hash: 7cb9b91e2f99caa4ac3fb748c7f23bb8bf9f65db

* Update process in test_onroad

old-commit-hash: 854afab7c39ca7dec2b42974cecbb5310b82b617

* Test polling on cameraOdometry

old-commit-hash: a78e8b7d61618177f15c9892e2fa1e51620deca8

* Keep the copy of x and P returned from predict

old-commit-hash: 3c4159a6a7d7383265a99f3f78f8805d2fcfc8cd

* Remove polling again

old-commit-hash: f7228675c5fd2de5f879c4786859f1abcec27d68

* Remove locationd.cc

old-commit-hash: d7005599b2b178e688c3bd1959d6b69357d3a663

* Optim in _finite_check

old-commit-hash: 58ad6a06b9380960e9f69eb98663ddb97461e8d5

* Access .t once

old-commit-hash: d03252e75ed4cbdb49291a60c904568e6a3d3399

* Move the timing check to cam odo code path

old-commit-hash: 6a1c26f8c201e1feb601753f0cb7299cf981b47e

* Call all_checks only once

old-commit-hash: 373809cebf8d9db89d1ab00f4c8c933f33038e78

* Do not sort

old-commit-hash: 2984cd02c0ab76827b8c7e32f7e637b261425025

* Check sm.updated

old-commit-hash: 11c48de3f0802eb4783899f6a37737078dbf2da4

* Remove test_params_gps

old-commit-hash: 82db4fd1a876cc2402702edc74eba0a8ac5da858

* Increase tolerance

old-commit-hash: 927d6f05249d2c8ec40b32e2a0dcde8e1a469fb3

* Fix static

old-commit-hash: 2d86d62c74d5ac0ad56ec3855a126e00a26cd490

* Try separate sockets for sensors

old-commit-hash: 5dade63947ab237f0b4555f45d941a8851449ab1

* sensor_all_checks

old-commit-hash: e25f40dd6b37ee76cd9cc2b19be552baf1355ec3

* Fix static

old-commit-hash: 328cf1ad86079746b4f3fde55539e4acb92d285e

* Set the cpu limit to 25

old-commit-hash: 7ba696ff54c5d3bfa42e42624d124f2a1914a96d

* Make it prettier

old-commit-hash: cd6270dec80d8b9dac784ddd4767a1a46bcff4b7

* Prettier

old-commit-hash: 1b17931d23d37f299dad54139eaf283a89592bf5

* Increase the cpu budget to 260

old-commit-hash: 20173afb937a2609c8a9905aee0b2b093cb8bba4

* Change trans std mult. 2 works better

* Update ref commit

* Update ref commit
2024-09-04 11:54:57 +02:00
Maxime Desroches 0058ea5817 Rewrite urls (#33451)
* validate

* e

* lfs
old-commit-hash: 29af572083ceed5563c5a06578b46b3b388db27e
2024-09-03 22:15:30 -07:00
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
Shane Smiskol 730924e7f2 LogReader: formatting and remove unnecessary type alias
old-commit-hash: 34305bec091c1088249fe6fe8df8de64a7ce1f86
2024-09-03 17:58:50 -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
Maxime Desroches 7a5a70b6b3 pytest: add default fixture option for pytest-asyncio (#33442)
add default
old-commit-hash: ffc089c4a2ef4fe49996a21fb51a3e5ee60c2cc1
2024-09-03 15:26:07 -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
Adeeb Shihadeh 1779ceb30e CI: update ui_preview timeout
old-commit-hash: 9d5eab9659f3e4ac5fcd4e336a5a508bf0bbd22f
2024-09-02 17:12:53 -07:00
Adeeb Shihadeh f0f24b4265 ruff: exclude notebooks (#33438)
old-commit-hash: 88677360cfcea0ecfd1d265e9a2419a005e9f0c0
2024-09-02 15:45:51 -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
Adeeb Shihadeh 333c666a80 athena: use dongle ID on /persist/ when available (#33259)
* athena: use dongle ID on /persist/ when available

* comment

* test

* cleanup
old-commit-hash: 91db49b9bfb5ca27068bd13378feb602e8c63f4b
2024-09-01 10:39:49 -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 c8048d85e9 cabana: update event Handling from CONTROLS_STATE to SELFDRIVE_STATE (#33426)
check selfdrive_state
old-commit-hash: fdf6c9009cdc70bb1ce36fba461509a59e1be68b
2024-09-01 09:50:42 -07:00
Dean Lee 9fb50bd1c6 replay: migrate old ControlState event to new format during log file parsing (#33425)
Migrate Old ControlState Event to New Format During Log File Parsing
old-commit-hash: 6741877fbdfa638f392c488e82de001bbd6eafb7
2024-09-01 00:37:40 -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
Alexandre Nobuharu Sato 1e037a3703 Bot comment only for first timers (#33412)
* Wellcome comment just for first timers

* Update auto_pr_review.yaml

https://github.com/actions/first-interaction/blob/main/README.md
old-commit-hash: 0a1b6c705d2bd0cd8c8e76391b9c1e4d29049140
2024-08-31 10:39:00 -07:00