Commit Graph

11444 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7630012f4a add CNAME for docs.comma.ai
old-commit-hash: 54db997d80bdc9105eec9ca969727417b17d968b
2023-10-20 20:28:21 -07:00
YassineYousfi
8ea8f8710c modeld: send_raw_pred under a flag (#30298)
* modeld: SEND_RAW_PRED under a flag

* not twice
old-commit-hash: b7cc6983c31b158e2552192ee6f9fdf6116adc8e
2023-10-20 13:53:22 -07:00
Dean Lee
9affc1c0c9 replay: make installDownloadProgressHandler thread safe (#30296)
old-commit-hash: 9e01f4a85e5bd9583155253c00c3a92a16e0e9a8
2023-10-20 12:41:18 -07:00
Adeeb Shihadeh
722df22887 eSIM profile management (#30262)
* eSIM profile management

* start download

* loaded a profile

* more stuff

* fixups

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2338f76fdda8d1538c5bcf4ab4adf41c345e51b0
2023-10-19 14:54:11 -07:00
YassineYousfi
d18f185115 modeld: parsing and publishing in python (#30273)
* WIP try modeld all in python

* fix plan

* add lane lines stds

* fix lane lines prob

* add lead prob

* add meta

* simplify plan parsing

* add hard brake pred

* add confidence

* fix desire state and desire pred

* check this file for now

* rm prints

* rm debug

* add todos

* add plan_t_idxs

* same as cpp

* removed cython

* add wfd width - rm cpp code

* add new files rm old files

* get metadata at compile time

* forgot this file

* now uses more CPU

* not used

* update readme

* lint

* copy this too

* simplify disengage probs

* update model replay ref commit

* update again

* confidence: remove if statemens

* use publish_state.enqueue

* Revert "use publish_state.enqueue"

This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.

* confidence: better shape defs

* use ModelConstants class

* fix confidence

* Parser

* slightly more power too

* no inline ifs :(

* confidence: just use if statements
old-commit-hash: cad17b125595c4654bfd8299b041b94ccb3faf73
2023-10-19 14:23:51 -07:00
Adeeb Shihadeh
f89f1ce4ab Update test_onroad.py
old-commit-hash: 09c8866d17d4ed60efce7fadf2c1179a71f7cd47
2023-10-19 10:36:18 -07:00
Shane Smiskol
7ac9d44642 Lexus: enable fuzzy fingerprinting for ES & RX TSS2 (#30281)
* it's a freaking rx?!

* can unblacklist now!

* remove rest of FW from that PR

* Update selfdrive/car/toyota/values.py

* typing
old-commit-hash: 28a778b6771fcc68567e5405522d526bf9a5f54d
2023-10-19 05:02:08 -07:00
Shane Smiskol
328fa0e61d docs: fix model year formatting
old-commit-hash: b35658e21f3fecee37c812bf2fcd9b61444ff8b0
2023-10-19 04:11:18 -07:00
colin-cho
cd01778771 HKG: add missing FW for Kia Sorento Hybrid 2021 (#30247)
* Update values.py

2021 Kia Sorento HEV add

* missing radar

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0c0682d88fbff27df71f69cb7ba7dc7daeb5dbd4
2023-10-19 03:10:42 -07:00
Adeeb Shihadeh
58df021bd7 Update Python packages and pre-commit hooks (#30269)
* Update Python packages and pre-commit hooks

* fix pyqt

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 13bf8c26f35073cdadc7d3d5e38e06c776a362f1
2023-10-18 20:18:08 -07:00
Greg Hogan
a544533476 framereader: eliminate tempfile usage (#30289)
old-commit-hash: 68acb26aa2dde973bd7a8b48dca4fa8a06d79fe3
2023-10-18 19:48:26 -07:00
Adeeb Shihadeh
87f77825db test_onroad: log sizes check (#30265)
* test_onroad: check log sizes

* fix

* check logs

* rb

* len

* pytest

* mb

* corolla log is small

* adjust qlog
old-commit-hash: 13d780a5f2b049731df2cbf617cc6dfdd648e622
2023-10-18 19:44:46 -07:00
Adeeb Shihadeh
bf4b441687 jenkins: clear commacache dir (#30290)
old-commit-hash: 71a9b2c24c4a23a7b6d0ed3911076be373436bda
2023-10-18 19:37:29 -07:00
Greg Hogan
99d094a006 fix ffprobe on device (#30286)
* fix ffprobe on device

* use FileReader

* no more requests
old-commit-hash: 59e947dc6c70f515e887cc2e09ed2ea0b39fa679
2023-10-18 18:31:14 -07:00
Justin Newberry
414d4cd8d0 compare_logs: separate format_process_diff into a new function (#30284)
support separate
old-commit-hash: b86567d330a2f599aea10c1454623496815b559c
2023-10-18 15:12:43 -07:00
Shane Smiskol
38cea1c0f1 Ram 1500: fix temp steering fault from incorrect steer speed (#30280)
starts with 68
old-commit-hash: 3707bbadef13997a15500f8c77fad9e625fd3e6f
2023-10-18 04:47:21 -07:00
Shane Smiskol
9da1c71bfd Toyota: don't calculate angle offset when angle rate is high (#30277)
* comment

* debug

* clean up
old-commit-hash: c32927de9688d506098ada51dedcf8e267abc8bd
2023-10-18 03:59:39 -07:00
Yassine
8f4e2f63f0 Revert "update model replay ref commit"
This reverts commit f53aef968ff298912ad48983fd9c7bc626783aa6.

old-commit-hash: 52b5a33d35a3ce42862ca0fa6dffa7d6c6f19c76
2023-10-17 19:49:42 -07:00
Yassine
2a5f2826d3 update model replay ref commit
old-commit-hash: 40817b6810afa7848a02a1e34fc9f09f037e4ac3
2023-10-17 19:49:13 -07:00
Shane Smiskol
7b804f4ea6 bump panda (#30276)
bump
old-commit-hash: 2f1ece0716e7a313f54e870fa6afbf201d445eca
2023-10-17 18:10:52 -07:00
Justin Newberry
ef1acd4e6c Proc Replay: cleanup iterable log typing (#30261)
* cleanup log typing

* use iterable

* fix those

* Cleanup

* cleanup

* missed that one
old-commit-hash: 1820b5f25930ae68e760157d6ff026516e3811ed
2023-10-17 12:58:28 -07:00
George Hotz
2b5ad3fe86 Bump tinygrad to master (0.7) (#30254)
* bump tinygrad to master

* ops_cpu is required now

* and that one too

* tinygrad is getting out of hand with all the files

* bump tinygrad

* update ref commit

* tinygrad master

* Revert "update ref commit"

This reverts commit e7284152899d6dd8a986d9570e6021addfbc6b0f.

* bump tinygrad repo

* bump master

* update ref commit
old-commit-hash: 50d720fc2e0d7dc12f8f39f069261cd27221b059
2023-10-17 10:05:28 -07:00
Shane Smiskol
962c20f9be events: fixup printing script (#30268)
* fix typing, no need for ordereddict, show priority name again

* just repr
old-commit-hash: ffeb99db54c5ff7c7c5cce82e87e15a766484ec9
2023-10-17 01:52:20 -07:00
Mars
a2fc9f0301 Add missing COROLLA_TSS2 engine (#30267)
* Add missing COROLLA_TSS2 engine

* Missing abs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ec30897912d829200141a8ba43e5ac20f062882f
2023-10-17 01:10:51 -07:00
alex
8e2f97a268 Added firmware values for 2020 VW Passat NMS (#30233)
* Update values.py

Added FW for NMS Passat 2020

* Update interface.py

Removed requirement for force dashcam.

* Update interface.py

Uncommented the dashcam mode line.
old-commit-hash: 6b303cea4c2482ac3d2f697fe10abcb1aa2b4b4b
2023-10-17 01:07:59 -07:00
Dean Lee
8c18996de9 ui.py: support strided buffer (#30236)
fix crash
old-commit-hash: 1866e5395737082c695a22c076fe6f1840d807f3
2023-10-17 01:03:56 -07:00
Justin Newberry
f2dcaf6f79 compare_logs: better names for short/long diffs (#30263)
* better names

* dont need that

* those too
old-commit-hash: def2b938950def9f4bd6e44d8f16a172983428a6
2023-10-16 17:04:14 -07:00
Justin Newberry
f4365f014e test_processes: assert that mazda is tested (#30258)
mazda left dashcam mode
old-commit-hash: d23f5d2ec544f2bfec99586a897a7bf8bc766260
2023-10-16 12:18:25 -07:00
Justin Newberry
de9bc58c39 add fingerprinting template (#30257)
Add fingerprint template
old-commit-hash: db460762c2da8f2cb49195094f7c07f7ee3f3ed7
2023-10-16 11:32:31 -07:00
Adeeb Shihadeh
eeecc35e0b loggerd: add wall time to initData (#30251)
* loggerd: add wall time to initData

* bump cereal

* fix
old-commit-hash: f616dd77a18197e8d1d25bf8afbfc01c1ab2562b
2023-10-15 15:21:51 -07:00
Justin Newberry
c8ebd08c62 Subaru: 2021 impreza fingerprint (#30249)
old-commit-hash: 998763b4bced0ef787aac3be9c46307bd287ddbc
2023-10-15 17:15:41 -04:00
Adeeb Shihadeh
79ad4feddb CI: update to checkout@v4 (#30248)
old-commit-hash: 0336219b6a8c1a416efc6fe70545be6f20aa9bab
2023-10-14 23:25:41 -07:00
Adeeb Shihadeh
4866e8376b docs: move to gh pages (#30242)
* mv to pages

* cleanup

* push static

* mv that

* new name for the orphan

* only master

* build op
old-commit-hash: f8a7def5154acbff3d258b306c86a737ebf98f8c
2023-10-14 23:03:57 -07:00
Adeeb Shihadeh
c3aa58b492 cleanup up old lib64 references (#30246)
* cleanup sensord

* rm rest

* fix that

* update that
old-commit-hash: f0aa63181804259c5cea20b9d608bdbe9db6b340
2023-10-14 20:39:15 -07:00
Dean Lee
3196e129ca ui: make default_face_kpts_3d constexpr (#30239)
old-commit-hash: 383964cd5baba29ac46d596677e1d59689a2194f
2023-10-14 09:14:20 -07:00
Adeeb Shihadeh
4b78e52e34 cleanup old sm pm args (#30241)
* cleanup sm pm

* fix controlsd

* fix
old-commit-hash: b68cfbb332af7ae9182f2806bc7b8dc46e6c8bc0
2023-10-13 23:27:04 -07:00
Vivek Aithal
db2344cdd2 torqued: Refactor to share code with magd (#30238)
* refactor to extract common functions and classes out

* Add helpers.py to release files

* refactor
old-commit-hash: 9e24a11f17117caebc595165f59bfc0109af0287
2023-10-13 17:24:04 -07:00
Dean Lee
e785de4166 cabana: reduce minimum size (#30223)
reduce minimumsize
old-commit-hash: 818d29818fcb54f84e8fbb366fbe6913c70be2b9
2023-10-12 11:09:32 -07:00
Dean Lee
4ec199f1c1 cabana: fix crash when switching dbc file (#30227)
fix crash when switching dbc file
old-commit-hash: 47813ae8b52050237e6c39314bc0c7338daf7b56
2023-10-12 11:09:17 -07:00
Shane Smiskol
19496e86c7 Kia: add missing K5 2024 FW (#30220)
* Add missing K5 FW

All it took was the extra few months for the camera FW date

* update docs
old-commit-hash: e030a701fae870d5100fbc59c0407234c4bd17b8
2023-10-10 15:17:09 -07:00
Adeeb Shihadeh
06545cf3f8 Update Python packages and pre-commit hooks (#30215)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: ac21dcbdcbb5d2e51536b38b59311744b1fe7c4f
2023-10-10 10:37:54 -07:00
Christian B. G. Ta
5889fdc483 Hyundai: add missing FW versions for Kona EV 2022 (#30200)
* Update values.py - Hyundai Kona 2022 fingerprints

Car was new in summer 2023 in EU/Norway

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 66d5914175e661a32410c105647ca4cc2467bcd8
2023-10-09 16:58:45 -07:00
Jason Young
6ea4f7e71e VW MQB: Add FW for 2023 Volkswagen California (#30207)
old-commit-hash: 8e247e063edcca9601fd885df2a67eea1a1e16fe
2023-10-08 15:21:34 -07:00
Shane Smiskol
2cf913c407 Toyota: parse FW versions for more reliable fuzzy fingerprinting (#28641)
* add test from hyundai

* found tss2

* abs and engine are very rarely shared (avalonh tss2 and camryh tss2 is one example)

* some bad regex

* some pattern work

* some work

* .

* some conceptual clean up

* fix short fw pattern

* hyundai test

* clean up values.py a bit

* print platform codes

* hyundai fuzzy

* pass test

* move around constants

* clean up

* clean up hyundai

* fix print

* more clean up, fix med pattern

* add documentation

* use major version

* some clean up from merge

* some clean up from merge 2

* spot check

* clean up imports

* missing FW_QUERY_CONFIG

* short version: always prefixed with 3, get real platform code

* limit to max chunks seen (3)

* rm engine

* fix that

* get_platform_codes returns dict

* tests

* comments

* fix test

* enable a test

* fix script

* print ecu parts

* enable old test

* clean up some tests

* clean up

* more clean up

* static

* this is all it took?

* add note

* ...

* use less ECUs

* bump

* todo

* clean up fuzzy fp function

* make deterministic in a feat of engineering

* add temp exclude_fw argument for testing

* fix logic

* add blacklist

* add platform and its matches

* fix for nb

* remove fw exclusion

* Revert "remove fw exclusion"

This reverts commit 0e3b47c5a30ebdb647caf5d792b10f517cbdf48f.

* clean up

* Revert "Revert "remove fw exclusion""

This reverts commit 42c55f006a4a0596ff404c67db1a88eb64b45d9e.

* these two have similar chassis according to wikipedia (but mass is relatively different)

* Revert "Revert "Revert "remove fw exclusion"""

This reverts commit 0f874233422d2007cc87bfb1c714cabed6e80049.

* Revert "Revert "Revert "Revert "remove fw exclusion""""

This reverts commit 2411967f5a2b0712773d614ee589321cca4d52a5.

* oof

* shadows global variable

* rm comment
old-commit-hash: c14b76562384e7e9b2aa129ef124f2825db082e4
2023-10-07 18:09:52 -07:00
Adeeb Shihadeh
ab6e83ec98 hyundai: add comment with link to PR for corner radars
old-commit-hash: 1a74ed91eedd829b411a103efbfb0b425c323b05
2023-10-07 16:23:47 -07:00
DevTekVE
fa673c0cdf FIX mac m1 compilation - Add sstream library to onroad.cc (#30205)
Add sstream library to onroad.cc

Needed to solve a bug when compiling on mac m1.

Co-authored-by: Miguel Fernandez <miguel.fernandez@cimpress.com>
old-commit-hash: 9ce273765c4d89a54fdbd6407abf1cb38e4fb27f
2023-10-07 15:55:12 -07:00
fpjuojyv810059
1b0bb4eeb8 Lexus: add missing FW for Lexus ES 2024 (#30198)
* Lexus: add missing FW for Lexus ES 2024

* already here

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 62e812f4e1210b79be2fd614324b4a3b3bd98411
2023-10-07 07:12:12 -07:00
Hiroshi Nomiyama
c18424486c Lexus: add 2023 RX hybrid firmware (#30193)
* Update values.py

* Update values.py

* add FW (camera already here!)

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a8c37ba29b72eea52a9f950bf868a908b94ccb10
2023-10-07 07:06:52 -07:00
Jason Young
99a49cdee7 VW MQB: Add FW for 2021 Audi Q3 (#30182)
old-commit-hash: 8a10d1f5ae61ecef2df9ad19c0ef661ab220fcda
2023-10-07 07:01:24 -07:00
Shane Smiskol
34ad81a239 Toyota: combine similar TSS2 hybrid platforms (#30194)
* combine corolla

* corolla tss2: remove duplicates

* remove gas pedal hybrid signal

* combine RX TSS2

* we only split for static DSU msgs, or sng differences

* Combine NX TSS2

* remove nb

* Combine ES TSS2

* Combine RAV4 TSS2 (torque params for each EPS variant are similar enough, and eps and fwdcamera all are identical)

* Merge TSS-P Lexus NX

* TSS-P Lexus NX: remove duplicates

* TSS-P C-HR: merge

* TSS-P C-HR: remove duplicates

* fix routes

* re-did everything: no diff 🎉

* update test models seg list

* Update ref_commit
old-commit-hash: 3cd0e392eb69f36e23afeeb0af1ee87176bfa96c
2023-10-07 01:26:49 -07:00