Commit Graph

9361 Commits

Author SHA1 Message Date
eivegau
805f2ff3bf Kia: add missing Optima EUR FW versions (#33027)
* Update fingerprints.py

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cd8a603ad0f14d744d12e2f5f743c7880ce907a3
2024-07-25 13:47:43 -07:00
Dean Lee
757cb2eb6c mcid.py: optimize FFT and A-weighting calculations (#33057)
* Precomputing weighting

* add comments back

* use cache

* spacing

spacing

* clean up

* lower by diff

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 313a2826c268a7974ce7422084ab294767b7c9bd
2024-07-25 13:36:44 -07:00
Dean Lee
7382299fda ui: fix wayland requestActivate warning on device (#33054)
fix wayland requestActivate warning in fullscreen mode
old-commit-hash: bd8dd65ce0e5477100e07f33d2b237111e922c62
2024-07-24 09:42:31 -07:00
Harald Schäfer
543e691203 Longcontrol: engage into stopped state when needed (#33042)
test stay stopped
old-commit-hash: 3bc1b173d2390a93b0c31090861bbc597eff4d2c
2024-07-23 13:55:30 -07:00
Dean Lee
29dda3b232 Fix FutureWarning "Cython directive 'language_level' not set" (#33046)
fix FutureWarning
old-commit-hash: fb3336614484553456bee6c2116b729177ecbc46
2024-07-23 09:27:10 -07:00
Shane Smiskol
fd0fc08f8a [bot] Fingerprints: add missing FW versions from new users (#33039)
Export fingerprints
old-commit-hash: bd00a9d800c1cf308feb2bf85f7fde11d6f0ff7b
2024-07-22 13:36:53 -07:00
Jason Wen
0a667d79d0 espActive: IMMEDIATE_DISABLE -> SOFT_DISABLE (#33003)
* espActive: `IMMEDIATE_DISABLE` -> `SOFT_DISABLE`

* only stock long

* just soft disable for now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a654e5bd05811a896005ebb41bc2f15dcf443b5d
2024-07-22 13:09:00 -07:00
Shane Smiskol
30848f76d7 [bot] Fingerprints: add missing FW versions from new users (#33038)
Export fingerprints
old-commit-hash: 8d77cea3a509ac80c18ecdd705a9f01754d1cb2c
2024-07-22 13:05:57 -07:00
Maxime Desroches
83d6af5162 ci: bring back aarch64 (#33017)
* casadi wheel

* ci

* test 312

* test with new aarch64 build

* use release wheels

* assert

* bool

* try this

* maybe

* work

* use final wheel
old-commit-hash: dcdac84f0c7944433f262af903a39e6b5d3a026a
2024-07-22 11:45:39 -07:00
jamperezmondragon
c7cbbae265 Spanish Translation Update (#32995)
* Update main_es.ts

* Update main_es.ts

* Update Spanish Translation [(#32995)](https://github.com/commaai/openpilot/pull/32995)
old-commit-hash: 1aa467cb003e7915a6dbc1ee7786f8c199cf6223
2024-07-20 15:54:51 -07:00
Shane Smiskol
6c4afa3ef2 ui: fix flipped experimental path acceleration (#33026)
* fix

* clean up

* better comment

* Update selfdrive/ui/qt/onroad/annotated_camera.cc
old-commit-hash: 0907b30d7b87957ae14cad7954358c1d78d9a528
2024-07-19 15:39:44 -07:00
Kacper Rączy
4efe8d8118 Fix msgq context overrides (#33014)
* Fix msgq context overrides

* Remove unneccesary changes

* add reset_context helper

* Remove redundant import
old-commit-hash: c96dbd5a0b681c76b94191d1b928e29eb2b72119
2024-07-18 20:19:39 -07:00
Shane Smiskol
85b77e0387 qlog_size: decimate rlog option (#33011)
* decimate option

* clean up

* check exists
old-commit-hash: f31ad97e924af579ec60961bc7cc3c170525fcef
2024-07-17 21:57:36 -07:00
Harald Schäfer
28a91c4e23 livePose log (#32868)
* add livepose

* Formatting

* Add to sevices

* Update locationd to publish livePose

* Remove fields and increase decimation

* Fix field indices

* Remove the line

* Add livePose to pubmaster

* Fix llk decimation

* Update ref commit

* XYZ measurements instead of lists

* Update locationd

* Update ref commit

* Lower the qlog size in test_onroad

* Update lower and upper boundary

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: 996bced674e6943976f1d6dba37075e113bf9288
2024-07-17 16:17:23 -07:00
Greg Hogan
a3aa8c5eaf use rounded constant instead of hard-coded value for incrementing set speed (#32992)
* use rounded constant instead of hard-coded value for incrementing set speed

* better comment
old-commit-hash: 4b794773b0486a15732ce5551771584af7c41e43
2024-07-16 18:24:01 -07:00
Shane Smiskol
927bde4936 [bot] Fingerprints: add missing FW versions from new users (#32996)
Export fingerprints
old-commit-hash: aa8484093e886cd8ae90e4eb42118306794fc439
2024-07-15 14:40:24 -07:00
Dean Lee
34e307fd94 selfdrive/car/ecu_addrs: prefix internal functions with underscore (#32980)
underscore prefix
old-commit-hash: c0739cd9ee41ccd372bd8cd816c44dfce4e3a8a2
2024-07-15 12:05:20 -07:00
Shane Smiskol
e8c4fb0177 Reapply "selfdrive/car: ban imports from external modules" (#32993) (#32994)
* Reapply "selfdrive/car: ban imports from external modules" (#32993)

This reverts commit 626d78ec548fe19acfdf3c2c3e063fac3b257dc6.

* controls will just use controls

* also these

* ignore
old-commit-hash: d684d8f0f6900d80a2a1618099b0b8e19e6492a2
2024-07-15 11:59:25 -07:00
Shane Smiskol
a878118b00 Revert "selfdrive/car: ban imports from external modules" (#32993)
Revert "selfdrive/car: ban imports from external modules (#32973)"

This reverts commit c1e8ff2dbc47ccb07fb41a4e88bfb66af2669254.
old-commit-hash: 35a4a773f1ff6c7b171b7acdb2fd4a65279edebd
2024-07-15 11:14:04 -07:00
Dean Lee
58df39a2ba selfdrive/car: ban imports from external modules (#32973)
* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 83d4623590f87dcb7df2b458a8814d5ad6ea711b
2024-07-15 11:12:24 -07:00
James
5cdff92d43 Re-use "is_metric" declaration (#32948)
old-commit-hash: 953e5667b1dce769611e742622e3612b0b09d9f4
2024-07-12 17:07:57 -07:00
Dean Lee
3b95cc9514 pandad: remove return statement in constructor (#32975)
remove return
old-commit-hash: 2156870df991bf6231121460810b0edcde74137b
2024-07-12 16:20:49 -07:00
Shane Smiskol
68fc530eca long planner: formatting
old-commit-hash: 71dd1e2ff6768c649d3d885d30280d9ca46841a4
2024-07-11 14:06:51 -07:00
Shane Smiskol
bb67139ca7 torqued: check steer override to current time (#32963)
* lat active/steer override: check up to now

* lint

* Update ref_commit
old-commit-hash: b247c3caaa5b5d503a9c1aa3336a7a206765167c
2024-07-10 17:25:39 -07:00
Shane Smiskol
1b4583a63e 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
old-commit-hash: fbc53a24a3b1977814b50c4021ba9c445c8f7f74
2024-07-09 22:26:58 -07:00
Shane Smiskol
11617a42dd 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
old-commit-hash: 5efdaf202624956f03a9c5f521bf692dae213c48
2024-07-09 22:21:50 -07:00
Shane Smiskol
49469d9ffa format torqued.py
old-commit-hash: 0c58e35b6c2294ef9ad149081a95739524fe74ae
2024-07-09 21:16:36 -07:00
Shane Smiskol
abd29fa646 torqued: rename lat_active (#32942)
* Update torqued.py

* lint

* not necessary
old-commit-hash: 35df0a4fda99e42f49a734890de2dea5a641c639
2024-07-08 22:53:59 -07:00
JaReal07
0a85819340 Update fingerprints.py Corolla 2024 (South America) (#32864)
Add Corolla Sedan 2024 (South America), new 'engine' and 'eps' fwversion
old-commit-hash: 4014109666e66ca8ed0b096159d424b4b55caca4
2024-07-08 14:58:22 -07:00
dany7915
2246f087cd Fingerprint: Kia K5 HEV 2020 (#32875)
fingerprint added
old-commit-hash: 67038d5b59d82b1eb094746ab99fa7d8e7d10e71
2024-07-08 14:54:11 -07:00
Shane Smiskol
14a31b177b 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
old-commit-hash: 31ff8eda9cedb54aa32df8ebf5dc729addf82ef2
2024-07-08 14:45:01 -07:00
Shane Smiskol
4ac21d6460 [bot] Fingerprints: add missing FW versions from new users (#32936)
Export fingerprints
old-commit-hash: fa2f7a4dd43df834393b95f32c5282a85e39278e
2024-07-08 14:16:44 -07:00
Dean Lee
45c3992e43 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>
old-commit-hash: 12d729a0a0c3c1d9bbf988c09ea3a5b68433e83f
2024-07-08 13:50:31 -07:00
Shane Smiskol
9276958347 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32932)
Export fingerprints
old-commit-hash: 4a696984f12358b8cde3b32e932704fbd0f3b811
2024-07-08 10:58:08 -07:00
Mauricio Alvarez Leon
42cee115ad CI: test the tests (#32869)
old-commit-hash: 0fecfd6c4578d17070db91bfa4920888258b987b
2024-07-03 15:27:29 -07:00
Shane Smiskol
8e3b18c3a0 Ford: use more reliable gear message (#32886)
* todo

* nope

* not this one

* yep

* passes

* clean up

* not used!

* oop

* update refs
old-commit-hash: 7de2aac3c93caa20213894e574f06bd45f789335
2024-07-02 22:22:56 -07:00
Shane Smiskol
3953eba4ac controlsd: no mutable carParams (#32381)
* no as builder

* fix car int test

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

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

* Ignore it in model replay
old-commit-hash: 417f1e2139ba6037c9fd6494f68194e36e243540
2024-06-29 02:31:55 -07:00
Kacper Rączy
102188c245 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>
old-commit-hash: 2059f986dff46254419c889eadcc82ecea1bce94
2024-06-28 19:27:58 -07:00
Shane Smiskol
4d7567c3b0 Hyundai: remove CAN fingerprints (#32856)
* expand date range for KIA_NIRO_EV

9004767ba8fe7321/2024-06-05--04-30-48

* remove and format
old-commit-hash: 2d3c6cbe04775ddbb337826e35f9ce64f2cd7716
2024-06-27 19:44:55 -07:00
Shane Smiskol
ba39a8b301 [bot] Fingerprints: add missing FW versions from new users (#32855)
Export fingerprints
old-commit-hash: d0423dcab214e644ce4dc4102c29d6e1de9ef1d8
2024-06-27 17:56:09 -07:00
Shane Smiskol
d94198652d Increase test_car_interfaces examples (#32852)
* to 100!

* Update selfdrive/car/tests/test_car_interfaces.py
old-commit-hash: 4a70934625321a822ee2b98396b45311603cb9fc
2024-06-27 15:35:21 -07:00
Shane Smiskol
6cd2b2fb78 ruff: check shadowed variables (#32851)
* check shadowed variables

* fix
old-commit-hash: 69d4b0fdf0ff2856b7a2785d8210f42d654374da
2024-06-27 14:44:26 -07:00
Dean Lee
7718d6f7ec radard: readable KalmanParams initialization (#32848)
fix kalmanparams initialization bug
old-commit-hash: 649e7a6d558b33d05d63012a43b2e4af88262b4c
2024-06-27 14:43:21 -07:00
Shane Smiskol
33daa31301 GM torque control: robust sig function (#32847)
tricky
old-commit-hash: b7695c00e87819dd6aac49cfec78e438dfc15d16
2024-06-26 21:27:10 -07:00
Jason Wen
cdba2da831 Hyundai: Add FW Versions for EU Ioniq 5 2023 (#32833)
old-commit-hash: 84725738c8fd429263474da424e96134bdeef367
2024-06-26 18:13:55 -07:00
James
7606bf60ad Cleanup "longitudinalPlan" fields (#32845)
old-commit-hash: 046ed7e9f8c69423c25e15f97bfd5783734dc551
2024-06-26 14:51:27 -07:00