Shane Smiskol
2dab8b31f2
Fix some car typing ( #33256 )
...
* ??
* fix these
* more typing and some fixes
* fix
* rm this for now
* fix
1 year ago
Shane Smiskol
037d1db5fb
replace CarControl
...
i hope there's no circular imports in hyundai's CC
1 year ago
Shane Smiskol
61b2446fdd
fix redeclaration of cruise_buttons type
1 year ago
Shane Smiskol
2c7baf348f
mypy can detect return type of CS.update() now
1 year ago
Shane Smiskol
c8b7d1cf41
missing imports
1 year ago
Shane Smiskol
eb52d701de
replace a bunch more cereal.car
1 year ago
Shane Smiskol
4359fa5c50
need to namespace to structs, since CarState is both class and struct
1 year ago
Shane Smiskol
bddb9f3595
remove rest of car.CarParams from the interfaces
1 year ago
Shane Smiskol
b926893b34
remove some car.CarParams from the interfaces
1 year ago
Shane Smiskol
e8afc6ab56
type ret: CarParams, add more missing structs, revert lateralTuning changes (smaller diff!)
1 year ago
Shane Smiskol
d40da13e71
more lateralTuning
1 year ago
Shane Smiskol
72895af60b
remove more cereal and add some good hyundai tests
1 year ago
Shane Smiskol
05d936673e
fix car tests by removing cereal! mypy forgets about dataclass if we wrap it :(
1 year ago
Shane Smiskol
e54ad02fe3
switch more CarParams stuff over
...
remove unused
1 year ago
Shane Smiskol
d2c5602250
do all fingerprints
1 year ago
Shane Smiskol
9880b1393c
selfdrive/car: generic CAN send/receive callbacks ( #33215 )
...
* start
* hmm API doesn't seem great
* better
* rm line
* sendcan -> can_send callable for best static type coverage, list -> tuple msg
TODO: logcan
* more sendcan -> can_send references
* remove pandad's capnp from selfdrive/car
* fix and remove cereal from test_can_fingerprint
* test_fw_fingerprint: remove pandad, less cereal
* comment done too
* better comment
* fix test_models test
* niceeee it works
* move to can_definitions
* can't come up with a better name :(
* I think we can remove SimpleNamespace soon
* fix test_can_fingerprint.py
* maintain previous behavior
* Revert "maintain previous behavior"
This reverts commit f848fd3213
.
* can test comment
* no need for get_one_can now!
* big clean up: no SimpleNamespace
* now self explanatory!
* not needed
* use empty can again since this is now real
* cmt
1 year ago
Shane Smiskol
8d961a12e5
selfdrive/car: ban common ( #33210 )
...
* ban all of common & copy numpy_fast
* add numpy_fast
* these are okay
* and ban controls
* better name
* Conversions
* do utils, kalman
* clean up
* sorting
* don't forget
1 year ago
Shane Smiskol
6c837332ea
selfdrive/car: ban selfdrive/controls ( #33211 )
...
ban controls (VM isn't used anymore)
1 year ago
Shane Smiskol
1b6ac2d876
CarController: call to super's init ( #33148 )
...
* this should be common
* super!
* bump
* and frame is common
* bump
1 year ago
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
1 year ago
Shane Smiskol
b6d124d268
tester present msgs: use helper ( #33147 )
...
use helper
1 year ago
Shane Smiskol
606890cba5
[bot] Fingerprints: add missing FW versions from new users ( #33123 )
...
Export fingerprints
1 year ago
eivegau
cd8a603ad0
Kia: add missing Optima EUR FW versions ( #33027 )
...
* Update fingerprints.py
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Shane Smiskol
bd00a9d800
[bot] Fingerprints: add missing FW versions from new users ( #33039 )
...
Export fingerprints
1 year ago
Shane Smiskol
8d77cea3a5
[bot] Fingerprints: add missing FW versions from new users ( #33038 )
...
Export fingerprints
1 year ago
Shane Smiskol
aa8484093e
[bot] Fingerprints: add missing FW versions from new users ( #32996 )
...
Export fingerprints
1 year ago
Shane Smiskol
d684d8f0f6
Reapply "selfdrive/car: ban imports from external modules" ( #32993 ) ( #32994 )
...
* Reapply "selfdrive/car: ban imports from external modules" (#32993 )
This reverts commit 35a4a773f1
.
* controls will just use controls
* also these
* ignore
1 year ago
Shane Smiskol
35a4a773f1
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit 83d4623590
.
1 year ago
Dean Lee
83d4623590
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
dany7915
67038d5b59
Fingerprint: Kia K5 HEV 2020 ( #32875 )
...
fingerprint added
1 year ago
Shane Smiskol
4a696984f1
[bot] Fingerprints: add missing FW versions from CAN fingerprinting cars ( #32932 )
...
Export fingerprints
1 year ago
Shane Smiskol
2d3c6cbe04
Hyundai: remove CAN fingerprints ( #32856 )
...
* expand date range for KIA_NIRO_EV
9004767ba8fe7321/2024-06-05--04-30-48
* remove and format
1 year ago
Shane Smiskol
d0423dcab2
[bot] Fingerprints: add missing FW versions from new users ( #32855 )
...
Export fingerprints
1 year ago
Jason Wen
84725738c8
Hyundai: Add FW Versions for EU Ioniq 5 2023 ( #32833 )
1 year ago
Shane Smiskol
9a27512c82
Genesis GV70: add "without HDA II" to docs ( #32835 )
...
* without!
* comment
1 year ago
Jason Wen
36eafc0dc6
Hyundai CAN: Log ABS/ESP Activation to `espActive` ( #32743 )
...
* Hyundai CAN: Log active ABS to accFaulted
* Add comments
* `espActive` to CarState and CarEvent.EventName
* re-order
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Shane Smiskol
8550a57eaf
[bot] Fingerprints: add missing FW versions from new users ( #32803 )
...
Export fingerprints
1 year ago
Harald Schäfer
bc303df6a0
long control: new API ( #32706 )
...
* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
1 year ago
Shane Smiskol
4708332abe
Update docs
1 year ago
Mustafa Akcanca
06828f1e80
Hyundai: add fwdCamera FW for Ioniq 5 2024 (EUR) ( #32648 )
...
* Update fingerprints.py
Adding FW fingerprints for Ioniq 5 2024 EU, non-HDA, fwd camera
* bump my!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Mustafa Akcanca
0319379431
Hyundai docs: change Ioniq 5 Southeast Asia only to Non-US only ( #32701 )
...
* Update values.py
* ev6 too is probably the same
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
markalan020
f449ed144e
Hyundai: add fwdCamera FW for Ioniq 5 2024 (US) ( #32623 )
...
* Update fingerprints.py
Add Support for 2024 Hyundai Ioniq 5
* docs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Shane Smiskol
742a3a94e3
Hyundai: add note about fwdRadar FW ( #32733 )
...
comment
1 year ago
Harald Schäfer
965415135a
Long control: Double delay is super complicated ( #32694 )
...
* Double delay is super complicated
* No more upper bound
* DEAD
* Update ref
1 year ago
Vivek Aithal
e8857a6713
[Lag] Increase Optima Lag ( #32583 )
...
increase lag in optima to 0.2
1 year ago
Shane Smiskol
ae375091db
Genesis G70 2020: use common specs ( #32641 )
...
use non-2020 specs
1 year ago
Riley Williams
7381872a54
2024 IONIQ 6 ( #32302 )
...
* Tweak carspecs for 2023 (and now also 24) ioniq 6 to reflect public info instead of cloning ioniq 5 specs
* Regenerated car docs
* revert specs *for now*
---------
Co-authored-by: Riley Williams <riley@rileyww.dev>
Co-authored-by: Riley Williams <riley@rileyw.dev>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Shane Smiskol
bbc21b9f52
[bot] Fingerprints: add missing FW versions from new users ( #32605 )
...
Export fingerprints
1 year ago
Shane Smiskol
ba9ea0a25f
Hyundai: remove Ioniq EV 2020 CAN fingerprint ( #32625 )
...
* add from afc1609bb1584f28
* remove HYUNDAI_IONIQ_EV_2020 CAN fingerprint
1 year ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
1 year ago