Commit Graph

9064 Commits

Author SHA1 Message Date
Dean Lee c0739cd9ee selfdrive/car/ecu_addrs: prefix internal functions with underscore (#32980)
underscore prefix
2024-07-15 12:05:20 -07:00
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
2024-07-15 11:59:25 -07:00
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.
2024-07-15 11:14:04 -07:00
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>
2024-07-15 11:12:24 -07:00
James 953e5667b1 Re-use "is_metric" declaration (#32948) 2024-07-12 17:07:57 -07:00
Dean Lee 2156870df9 pandad: remove return statement in constructor (#32975)
remove return
2024-07-12 16:20:49 -07:00
Shane Smiskol 71dd1e2ff6 long planner: formatting 2024-07-11 14:06:51 -07:00
Shane Smiskol b247c3caaa torqued: check steer override to current time (#32963)
* lat active/steer override: check up to now

* lint

* Update ref_commit
2024-07-10 17:25:39 -07:00
Shane Smiskol fbc53a24a3 torqued: clean up (#32958)
* formatting

* function signatures didn't match

* function signatures didn't match

* filtered and raw mean something totally different when it comes to params

filtered and raw mean something totally different when it comes to params

* cmt

* probably better for organization

* add todo

* STASH

* revert some stuff

* clean up

* oof
2024-07-09 22:26:58 -07:00
Shane Smiskol 5efdaf2026 torqued: option to keep track of all points (#32957)
* how about this

* here

* rename

* revert

* revert this too

* can do this

* ugh inside TorqueBuckets it implicitly limits steer torque to 50%!!!!!!!!

* fix

* move up
2024-07-09 22:21:50 -07:00
Shane Smiskol 0c58e35b6c format torqued.py 2024-07-09 21:16:36 -07:00
Shane Smiskol 35df0a4fda torqued: rename lat_active (#32942)
* Update torqued.py

* lint

* not necessary
2024-07-08 22:53:59 -07:00
JaReal07 4014109666 Update fingerprints.py Corolla 2024 (South America) (#32864)
Add Corolla Sedan 2024 (South America), new 'engine' and 'eps' fwversion
2024-07-08 14:58:22 -07:00
dany7915 67038d5b59 Fingerprint: Kia K5 HEV 2020 (#32875)
fingerprint added
2024-07-08 14:54:11 -07:00
Shane Smiskol 31ff8eda9c Chrysler Pacifica Hybrid: combine 2017 and 2018 (#32937)
* Chrysler Pacifica: combine 2017 and 2018 hybrids

torque params are not accurate for either (might be ~1.5 for both checking a few dongles)

* remove duplicate fingerprints

* combine docs lines

fix
2024-07-08 14:45:01 -07:00
Shane Smiskol fa2f7a4dd4 [bot] Fingerprints: add missing FW versions from new users (#32936)
Export fingerprints
2024-07-08 14:16:44 -07:00
Dean Lee 12d729a0a0 CarParams: set no traversal limit (#32929)
* Increase traversal_limit_in_words to Fix Traversal Limit Errors

* just use log_from_bytes

* come on pycharm

* no free lunch

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-07-08 13:50:31 -07:00
Shane Smiskol 4a696984f1 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32932)
Export fingerprints
2024-07-08 10:58:08 -07:00
Mauricio Alvarez Leon 0fecfd6c45 CI: test the tests (#32869) 2024-07-03 15:27:29 -07:00
Shane Smiskol 7de2aac3c9 Ford: use more reliable gear message (#32886)
* todo

* nope

* not this one

* yep

* passes

* clean up

* not used!

* oop

* update refs
2024-07-02 22:22:56 -07:00
Shane Smiskol c95b58401a controlsd: no mutable carParams (#32381)
* no as builder

* fix car int test

* more
2024-07-02 13:27:45 -07:00
Mitchell Goff 01c2174d59 Notre Dame model (#32884)
* New model: 6f23a03f-486b-4d3e-a314-19d149644c7c/700

* Bump refs
2024-07-01 13:59:44 -07:00
Shane Smiskol 25b9a33852 [bot] Fingerprints: add missing FW versions from new users (#32883)
Export fingerprints
2024-07-01 11:38:35 -07:00
Dean Lee a312a102aa ui: remove tests/playsound.cc (#32870)
remove playsound.cc
2024-06-30 09:46:21 -07:00
Kacper Rączy 417f1e2139 drivingModelData: frameDropPerc (#32871)
* Smokes! lets go!

* Ignore it in model replay
2024-06-29 02:31:55 -07:00
Kacper Rączy 2059f986df drivingModelData: new model packet for qlogs (#32821)
* Mini model v2 prototype

* Apply suggestions

* Add meta

* Support for new packet in model

* Support in process replay

* Meta

* Add it to services

* Update model replay

* Add drivingModelData in model_replay

* Update ref

* MAX_FRAMES*3

* No modelv2, but drivingModelData at 2hz

* Polypath

* Dont use keyword

* Update model ref commit

* xyz coeff

* Fix field name

* Update ref commit

* Min qlog size 0.6

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-06-28 19:27:58 -07:00
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
2024-06-27 19:44:55 -07:00
Shane Smiskol d0423dcab2 [bot] Fingerprints: add missing FW versions from new users (#32855)
Export fingerprints
2024-06-27 17:56:09 -07:00
Shane Smiskol 4a70934625 Increase test_car_interfaces examples (#32852)
* to 100!

* Update selfdrive/car/tests/test_car_interfaces.py
2024-06-27 15:35:21 -07:00
Shane Smiskol 69d4b0fdf0 ruff: check shadowed variables (#32851)
* check shadowed variables

* fix
2024-06-27 14:44:26 -07:00
Dean Lee 649e7a6d55 radard: readable KalmanParams initialization (#32848)
fix kalmanparams initialization bug
2024-06-27 14:43:21 -07:00
Shane Smiskol b7695c00e8 GM torque control: robust sig function (#32847)
tricky
2024-06-26 21:27:10 -07:00
Jason Wen 84725738c8 Hyundai: Add FW Versions for EU Ioniq 5 2023 (#32833) 2024-06-26 18:13:55 -07:00
James 046ed7e9f8 Cleanup "longitudinalPlan" fields (#32845) 2024-06-26 14:51:27 -07:00
Dean Lee 4c04ae9a59 ui/installer: hardcode SSH Keys in installer.cc (#32838)
hardcode keys
2024-06-26 11:52:11 -07:00
Dean Lee 669553aa37 ui: remove map & navigation related code (#32836)
remove map
2024-06-25 21:45:44 -07:00
Shane Smiskol 9a27512c82 Genesis GV70: add "without HDA II" to docs (#32835)
* without!

* comment
2024-06-25 17:19:24 -07:00
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>
2024-06-24 20:14:57 -07:00
Joshua Mack b418159833 Multilang: Add Spanish translation (#32826)
* Rebase ES support

* Update already existing

* Update translations

* Retry

* Updated to new

* Completed

* Fixed clipping words offroad

* Fix up mistakes

* Shortening minute

* Fix long GitHub message
2024-06-24 17:30:21 -07:00
Shane Smiskol 76f7b2793d [bot] Fingerprints: add missing FW versions from new users (#32825)
* Export fingerprints

* sedan should work too
2024-06-24 16:12:48 -07:00
Shane Smiskol 36d5bb7ecc [bot] Fingerprints: add missing FW versions from new users (#32823)
Export fingerprints
2024-06-24 15:42:30 -07:00
Alexandre Nobuharu Sato 1c5f0bdbc6 update pt-BR translation (#32814)
Update main_pt-BR.ts
2024-06-23 14:24:09 -07:00
Adeeb Shihadeh bccccde568 remove mapbox references (#32811) 2024-06-22 18:01:47 -07:00
Shane Smiskol 8550a57eaf [bot] Fingerprints: add missing FW versions from new users (#32803)
Export fingerprints
2024-06-21 21:11:52 -07:00
Harald Schäfer 442e9f4ae4 Long planner: small cleanup (#32804) 2024-06-20 16:33:06 -07:00
Shane Smiskol 40aa3a0337 Toyota: add another blacklisted FW character 2024-06-20 16:04:29 -07:00
Adeeb Shihadeh e491c9d964 remove navigation (#32773)
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
2024-06-19 19:14:13 -07:00
Jason Young a89201219d VW: Rename harnesses (#32779) 2024-06-19 15:17:25 -07:00
Maxime Desroches 5c4ea14a3c Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-06-18 03:30:32 +00:00
Adeeb Shihadeh cb63f101ca Toyota: remove smartDSU support (#32777) 2024-06-17 19:18:20 -07:00