Commit Graph

8195 Commits

Author SHA1 Message Date
mitchellgoffpc e911cab412 Added sentry hooks for modeld
old-commit-hash: eecdaf9950b150de723b5a5ec94cdbf7a063571a
2023-10-25 21:37:54 -07:00
Kacper Rączy 1027a60851 process_replay: use frame dimensions from FrameReader (#30332)
Use dimensions from FrameReader to setup vipc server
old-commit-hash: 4094d584f3b7788d50eb90110b6f3d7651c96863
2023-10-25 15:46:16 -07:00
Kacper Rączy 5fc85a7fba process_replay: migrate cameraStates of segments without driverEncodeIdx (#30331)
Migrate camera states of segments without driverEncodeIdx
old-commit-hash: 21715d7f810aa67213d767829c41ae42541c6b2b
2023-10-25 15:42:06 -07:00
Madnevil 0b19109c4c Honda: add FW for Civic Sport 2023 (#30316)
* Update values.py

* Update values.py

* Update values.py

* removing duplicate

* Update values.py

* Update values.py

* this is from a logging request

* Add missing FW

* bump MY

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 82291a247f13b592d5cc1ec0b25385619b283586
2023-10-25 14:57:08 -07:00
YassineYousfi 105a379a0c modeld: fix prev brake probs shapes (#30309)
old-commit-hash: 1802de3f01e960a257884262986fdaa1e321ebdc
2023-10-23 15:22:32 -07:00
Shane Smiskol 53c51a23f7 Toyota: combine rest of hybrid platforms (#30259)
* Highlander TSS2: merge

* Highlander TSS2: remove duplicate FW

* Highlander TSS2: merge torque params

* C-HR TSS2: merge

* Alphard TSS2: merge

* Avalon 2019: merge

* Avalon TSS2: merge

* Camry TSS2: merge

* Camry TSS-P: merge

* Camry TSS-P: remove duplicate FW

* RAV4 TSS 2022: merge

* RAV4 TSS 2023: merge

fix

* clean up tss2 car list

* fix from merge

* rename internal seg list platforms

* fix test
old-commit-hash: c626078e9d2134bc879f16d10d283b4a81bae34b
2023-10-23 11:41:42 -07:00
Harald Schäfer 7c4d29c3d1 Rm laikad (#30299)
* rm laika

* Rm laika

* Needed this

* More rm

* More rm
old-commit-hash: 56dea7b0b42e7624a39fef0986cd0db151bb9512
2023-10-23 00:15:39 -07:00
Adeeb Shihadeh 3d602a86dc delete clocksd (#30252)
old-commit-hash: 67f2321060321a87082e297151692ed9b36de2c0
2023-10-22 14:47:38 -07:00
Shane Smiskol 1b6116976e Hyundai: remove Kona EV and Ioniq 6 from radar-ACC set (#30214)
* ADAS ECU sends SCC

* try non-silenced

* leave rx enabled?

* revert

* also not a radar scc car

* make a canfd unsupported long set

* comment
old-commit-hash: 964460c0c33669a05714b393187f03d852af5656
2023-10-21 04:25:16 -07:00
Jason Wen 66e131a76d Hyundai: split Elantra and Elantra GT (i30) platforms (#29969)
* Hyundai: Add FW Versions for 2019 Elantra

* wrong platform

* Update selfdrive/car/hyundai/values.py

* split platforms again

* add engine and other trans

* legacy: don't trust long

* fix

* elantra has no eps and i30 has no dates as well

* 19 still has no sng

* new harness

* todo comment

* Update CARS.md

* re-did

* add back

* rev

* Add Elantra 2017 FW from f6f9e1708bae2ef6

* Add Elantra 2017 FW from 5af39b105269f0f3

* Add Elantra 2017 FW from 2e158bb0e7396dd9

* should be all i30 and elantra drivers

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 820cccf8d991450f72b3b80f91749b43fb3a90cc
2023-10-21 03:16:50 -07:00
Tim Wilson 1d03fb59c8 Car port: CADILLAC ESCALADE ESV 2019 (#29913)
* add CADILLAC ESCALADE ESV PLATINUM 2019

* add test route

* Update selfdrive/car/gm/interface.py

* combine params

* that's just a trim

* wow, there's a huge torque offset (left is 1.2 m/s^2, right is 1.9 m/s^2 max lat accel)

* don't hard code

* Update selfdrive/car/torque_data/override.yaml

* consistent formatting

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b95d69ae1bc357edea20141c215289b0bdb68680
2023-10-21 02:04:24 -07:00
Erich Moraga 2b025d2693 Toyota: add ABS ECU version for HIGHLANDERH_TSS2 (#30230)
* Toyota: add ABS ECU version for HIGHLANDERH_TSS2

`@doodoo6163` 2021 Highlander Hybrid Platinum 
 daae45a94e9e3ac6|2023-10-12--12-33-25

* sorted

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6e8301410caa042f0c0626882afc81ab5745bd99
2023-10-21 01:34:03 -07:00
systwo 70a6ecaf31 Toyota: Added missing Highlander Hybrid FW versions (#30255)
Added Highlander hybrid fingerprint values
old-commit-hash: 880afedbb83e4b31a3e55e78f0aeecae5fccfdd2
2023-10-21 01:29:17 -07:00
Jason Young 189f81e6f0 VW MQB: Add FW for 2023 Volkswagen Tiguan (#30271)
old-commit-hash: 0b7e512a58e9d133c66f022be21df9379cb71339
2023-10-21 01:14:33 -07:00
stevenaa123isme e9e6af2bd6 Added FW for 2022 Audi Q3 (#30275)
* Added 2022 Audi Q3 to Fingerprint

* Fingerprinted 2022 Audi Q3/ cleaned up code

* add missing srs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 48209b4644a45e041c0a27a8a572cd666c97a8c5
2023-10-21 01:13:23 -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
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 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
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
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
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 c8ebd08c62 Subaru: 2021 impreza fingerprint (#30249)
old-commit-hash: 998763b4bced0ef787aac3be9c46307bd287ddbc
2023-10-15 17:15:41 -04: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
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
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