Commit Graph

9385 Commits

Author SHA1 Message Date
Shane Smiskol be710ab893 ensure alerts_generated.h is built (#33157)
don't build alerts_generated.h in test, and ensure scons builds it more reliably + clean up support
old-commit-hash: 7de618a5cf38a759d3986d775f7d7f7a35167050
2024-07-31 16:12:37 -07:00
Shane Smiskol 799fabd707 Reapply "update to new opendbc API (#32009)" (#33151)
This reverts commit f2f01e3afaeaa267af61c8d7ab918da04d3411f2.
old-commit-hash: 7c112341c358b57ee9d0209cb2b2c53383adcca9
2024-07-31 15:37:39 -07:00
Shane Smiskol 0ea25665bb get_fw_versions: test the full stack (#33156)
* add the test

fix

* bump

* not sure why mypy didn't catch this
old-commit-hash: ebff7cab1ab897526800e229e30b01ec4cf1114c
2024-07-31 14:53:13 -07:00
Maxime Desroches 80e23d1593 Remove hexdump package (#33155)
* remove hexdump

* uv lock

* cleanup
old-commit-hash: 1dd8bdc7912bef693c112816a5ac5066b036337b
2024-07-31 13:34:14 -07:00
Shane Smiskol 2c11e7b49a Revert "update to new opendbc API (#32009)"
This reverts commit d21755b2e216c3f547db0b55b7088357c4368801.

old-commit-hash: ac130001cc83734118524f59a83a96a2065dd56e
2024-07-31 02:38:44 -07:00
Dean Lee 2f1ee6e832 update to new opendbc API (#32009)
* use new opendbc api

* export pandad_python

* merge master

* merge master

* bump opendbc

* bump opendbc

* improve func

* keep interface unchanged

* fix test_car_interfaces

* bump opendbc

* bump opendbc

* fix test_models

* the interface now has to convert from can capnp to list, so we should include this time

* goes from ~210 to ~240 mean ms real time

* remoe busTime

* lowercase sendcan

* consistent msgtype

* bump

* bump

* not used in lat_mpc

* space

* bump to master

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0dddc97dca8bf4e023b29c35cb92fd3dd0a9a3a2
2024-07-31 00:24:46 -07:00
Shane Smiskol b4b3ae5da8 CarController: call to super's init (#33148)
* this should be common

* super!

* bump

* and frame is common

* bump
old-commit-hash: 1b6ac2d876fe3170968944722df67ee815d8cb1b
2024-07-30 23:55:23 -07:00
Shane Smiskol 5cc7d1c36b deprecate busTime (#33146)
* deprecate busTime

* bump

* do car can + more

* forgot some

* bump opendbc

* fix that too

* bump
old-commit-hash: 42f2601416bcb53c25e24b899131e66ee00177b8
2024-07-30 21:26:58 -07:00
Shane Smiskol 7b724ed243 tester present msgs: use helper (#33147)
use helper
old-commit-hash: b6d124d268ec705585e49d4ba84a316810e3b2b8
2024-07-30 18:09:22 -07:00
Shane Smiskol 5e0168a7f0 Ford: add long controls todo
old-commit-hash: 661ef03a24171addba79b69bb14867425f5a9474
2024-07-30 15:18:26 -07:00
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