Commit Graph

9375 Commits

Author SHA1 Message Date
Shane Smiskol 2cb381997f cars: remove some external imports (#33133)
* ford and gm

* clean that up

* also this

* honda

* temp fix

* move into selfdrive.car

* clean up

* more
old-commit-hash: 0739d79a512965abbe22f0b15c7fddcdd71478d0
2024-07-30 14:27:27 -07:00
Shane Smiskol 11d18b7aca test_onroad: lower lower log size bound
old-commit-hash: 0fe143e4a75e7657f4d815a5616fc29f70de5ad5
2024-07-30 14:07:47 -07:00
Maxime Desroches 6c1d7358f0 unpin numpy (#33132)
* unlock numpy

* remove old cache

* sheel

* lock

* remove temp

* depends

* export

* put this back

* use __version__

* move this

---------

Co-authored-by: quebec <quebec@quebec.attlocal.net>
old-commit-hash: 9536dd07c6b0f972db70b344ae2f676e031ea038
2024-07-30 13:11:05 -07:00
Shane Smiskol 7ce33fbe2b process replay: use zst (#33138)
* test

* update refs to zst

* update
old-commit-hash: dfd387520e88fa68f0485b6ce8dcf5befa82bafa
2024-07-30 01:46:03 -07:00
Kacper Rączy 7ea8d9e91d torqued: use livePose (#33136)
* Use livePose

* Replace it in process replay

* Add liveCalibration to messages

* Update ref commit
old-commit-hash: 86d8d1d99617a0808e0a17031965a056cdc5a1b8
2024-07-29 20:20:31 -07:00
Shane Smiskol 93c6e23a42 qlog_size.py: use zstd (#33137)
qlog_size: use zstd
old-commit-hash: 11cb2d3a0b3f820bb32c3de6f7ec1d2a52687f8a
2024-07-29 20:13:43 -07:00
Kacper Rączy 3740693956 paramsd: use livePose (#33099)
* Use livePose instead  of llk

* Update process replay sockets

* Fix import

* Fix calib

* Fix field name

* Dont store device_from_calib

* Update ref commit
old-commit-hash: 84cff4fc03423acde611ba29b3b2ff9436ff2580
2024-07-29 19:51:21 -07:00
Kacper Rączy 130d0d2e3a process_replay: regenerate locationd logs (#33134)
* Filter out non-relevant services in most_messages_valid check

* Set as comprehension

* Update segments

* Update ref commit

* New check for hyundai2
old-commit-hash: 6e185f4eea470fe56fc6a33de9e81779f70941ab
2024-07-29 17:12:05 -07:00
Shane Smiskol 3e39d610bc [bot] Fingerprints: add missing FW versions from new users (#33123)
Export fingerprints
old-commit-hash: 606890cba5ca8c65391abebba505fc211ca1e6b4
2024-07-29 12:32:51 -07:00
Maxime Desroches a78c63cf7b Remove control usage (#33103)
* manual matrix exp

* remove control
old-commit-hash: 01c07569741a84fae9a7fe9c8ef1830d59822f63
2024-07-29 11:52:33 -07:00
Maxime Desroches 144e9e271c remove cv2 usage (#33101)
remove cv2
old-commit-hash: 583e89d3a4f912911df2f1350cb109baa16c9f22
2024-07-28 15:08:27 -07:00
Shane Smiskol 7b67994a05 use zstandard library (#33110)
* use zstandard

* run 10

* bye bye

* this was a little overzealous

* clean up
old-commit-hash: 1b3b5ab75857465f58ec8a687db04c8ee0470e05
2024-07-28 02:03:47 -07:00
Shane Smiskol 09df2fbb14 test_onroad: use zstd compression (#33100)
* use zstd in test_onroad

* debug

* now leans towards 0.4 instead of 0.5

* 5x runs

* better

* more

* Update selfdrive/test/test_onroad.py

* revert Jenkinsfile

* and this
old-commit-hash: 4caecf21439eb65cedb25df589b140c9c09e26fc
2024-07-26 21:14:06 -07:00
Shane Smiskol 539c828861 tools: keep re pattern file small (#33084)
remove bz2 from re file
old-commit-hash: e68bb26e14d4e85f61ab3f58ac9667ca9d6ea565
2024-07-25 22:05:10 -07:00
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