Commit Graph

10870 Commits

Author SHA1 Message Date
Greg Hogan
68acb26aa2 framereader: eliminate tempfile usage (#30289) 2023-10-18 19:48:26 -07:00
Adeeb Shihadeh
13d780a5f2 test_onroad: log sizes check (#30265)
* test_onroad: check log sizes

* fix

* check logs

* rb

* len

* pytest

* mb

* corolla log is small

* adjust qlog
2023-10-18 19:44:46 -07:00
Adeeb Shihadeh
71a9b2c24c jenkins: clear commacache dir (#30290) 2023-10-18 19:37:29 -07:00
Greg Hogan
59e947dc6c fix ffprobe on device (#30286)
* fix ffprobe on device

* use FileReader

* no more requests
2023-10-18 18:31:14 -07:00
Justin Newberry
b86567d330 compare_logs: separate format_process_diff into a new function (#30284)
support separate
2023-10-18 15:12:43 -07:00
Shane Smiskol
3707bbadef Ram 1500: fix temp steering fault from incorrect steer speed (#30280)
starts with 68
2023-10-18 04:47:21 -07:00
Shane Smiskol
c32927de96 Toyota: don't calculate angle offset when angle rate is high (#30277)
* comment

* debug

* clean up
2023-10-18 03:59:39 -07:00
Yassine
52b5a33d35 Revert "update model replay ref commit"
This reverts commit 40817b6810.
2023-10-17 19:49:42 -07:00
Yassine
40817b6810 update model replay ref commit 2023-10-17 19:49:13 -07:00
Shane Smiskol
2f1ece0716 bump panda (#30276)
bump
2023-10-17 18:10:52 -07:00
Justin Newberry
1820b5f259 Proc Replay: cleanup iterable log typing (#30261)
* cleanup log typing

* use iterable

* fix those

* Cleanup

* cleanup

* missed that one
2023-10-17 12:58:28 -07:00
George Hotz
50d720fc2e 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
2023-10-17 10:05:28 -07:00
Shane Smiskol
ffeb99db54 events: fixup printing script (#30268)
* fix typing, no need for ordereddict, show priority name again

* just repr
2023-10-17 01:52:20 -07:00
Mars
ec30897912 Add missing COROLLA_TSS2 engine (#30267)
* Add missing COROLLA_TSS2 engine

* Missing abs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-17 01:10:51 -07:00
alex
6b303cea4c 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.
2023-10-17 01:07:59 -07:00
Dean Lee
1866e53957 ui.py: support strided buffer (#30236)
fix crash
2023-10-17 01:03:56 -07:00
Justin Newberry
def2b93895 compare_logs: better names for short/long diffs (#30263)
* better names

* dont need that

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

* bump cereal

* fix
2023-10-15 15:21:51 -07:00
Justin Newberry
998763b4bc Subaru: 2021 impreza fingerprint (#30249) 2023-10-15 17:15:41 -04:00
Adeeb Shihadeh
0336219b6a CI: update to checkout@v4 (#30248) 2023-10-14 23:25:41 -07:00
Adeeb Shihadeh
f8a7def515 docs: move to gh pages (#30242)
* mv to pages

* cleanup

* push static

* mv that

* new name for the orphan

* only master

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

* rm rest

* fix that

* update that
2023-10-14 20:39:15 -07:00
Dean Lee
383964cd5b ui: make default_face_kpts_3d constexpr (#30239) 2023-10-14 09:14:20 -07:00
Adeeb Shihadeh
b68cfbb332 cleanup old sm pm args (#30241)
* cleanup sm pm

* fix controlsd

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

* Add helpers.py to release files

* refactor
2023-10-13 17:24:04 -07:00
Dean Lee
818d29818f cabana: reduce minimum size (#30223)
reduce minimumsize
2023-10-12 11:09:32 -07:00
Dean Lee
47813ae8b5 cabana: fix crash when switching dbc file (#30227)
fix crash when switching dbc file
2023-10-12 11:09:17 -07:00
Shane Smiskol
e030a701fa 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
2023-10-10 15:17:09 -07:00
Adeeb Shihadeh
ac21dcbdcb Update Python packages and pre-commit hooks (#30215)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-10 10:37:54 -07:00
Christian B. G. Ta
66d5914175 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>
2023-10-09 16:58:45 -07:00
Jason Young
8e247e063e VW MQB: Add FW for 2023 Volkswagen California (#30207) 2023-10-08 15:21:34 -07:00
Shane Smiskol
c14b765623 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
2023-10-07 18:09:52 -07:00
Adeeb Shihadeh
1a74ed91ee hyundai: add comment with link to PR for corner radars 2023-10-07 16:23:47 -07:00
DevTekVE
9ce273765c 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>
2023-10-07 15:55:12 -07:00
fpjuojyv810059
62e812f4e1 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>
2023-10-07 07:12:12 -07:00
Hiroshi Nomiyama
a8c37ba29b 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>
2023-10-07 07:06:52 -07:00
Jason Young
8a10d1f5ae VW MQB: Add FW for 2021 Audi Q3 (#30182) 2023-10-07 07:01:24 -07:00
Shane Smiskol
3cd0e392eb 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
2023-10-07 01:26:49 -07:00
Justin Newberry
7fd52cd0d1 Codecov: ignore tests files (#30202)
codecov ignore test
2023-10-06 20:13:52 -07:00
Dean Lee
d02558c400 cabana: check if index is valid (#30204) 2023-10-06 20:13:08 -07:00
Adeeb Shihadeh
1abea5a259 don't upload crash logs from forks (#30203)
* don't upload crash logs from forks

* fix
2023-10-06 15:30:43 -07:00
Justin Newberry
8b2b72499f CI: run jenkins as batman (#30184)
* I'm batman

* chown batman

* sudo

* add batman to sudo group

* try without cleanup

* Revert "try without cleanup"

This reverts commit f59554f2f373417f2c59fd250463eca2fda4d49e.

* comment
2023-10-06 11:12:41 -07:00
Shane Smiskol
9350b7e179 Car tests: fix serialize error on fail (#30185)
* Update test_toyota.py

* fix others

* fix
2023-10-06 00:07:37 -07:00
Greg Hogan
6f98a987af vidindex improvements (#30196)
* vidindex improvements

* fix spelling
2023-10-05 22:48:50 -07:00
Justin Newberry
2884fd6e3d Simulator: set params enabled (#30195)
set params enabled
2023-10-05 22:19:38 -07:00
Greg Hogan
86b90a8ba2 filereader cleanup (#30191)
* filereader cleanup

* make name return url

* remove unused imports
2023-10-05 19:45:46 -07:00
Greg Hogan
f8e488f881 convert vidindex to python (#30176)
* convert vidindex to python

* fix whitespace

* corrupt file option

* fix up typings

* fix return type

* update framereader

* change length delimiter to uint32 value

* change length to uint32 value

* move url_file changes to separate PR

* cleanup caching

* revert whitespace change

* fix frame type param type
2023-10-05 18:40:24 -07:00
Justin Newberry
7f945f10c6 Subaru: Outback 2023 fingerprint (#30190)
fingerprint
2023-10-05 17:15:26 -07:00