Commit Graph

12213 Commits

Author SHA1 Message Date
Greg Hogan 54dc43fe14 make URLFile safe after fork() (#31309)
* make URLFile safe after fork()

* cache the pool manager in each instance

* type hints
old-commit-hash: a8aa04e6bda2fc8ca31db055f584bfc52d104d2c
2024-02-05 18:07:48 -08:00
Harald Schäfer ff89f248d0 Certified Herbalist Model (#31294)
ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700
old-commit-hash: 06bdc69a0229bece7b60178c421feda329522585
2024-02-06 08:39:44 +08:00
Shane Smiskol cb6cd39af6 Reapply "Ford: don't fingerprint on engine (#31195)" (#31303)
* Reapply "Ford: don't fingerprint on engine (#31195)"

This reverts commit 0dccc2ab5776145bc3458d75c7c8b6ad51fff57d.

* don't change the queries

* revert refs
old-commit-hash: 50a552ab8dea59c17c3591f7619ca6c0ff410443
2024-02-05 14:46:34 -08:00
Justin Newberry a6ed630fb5 updated: close lock file on exit (#31285)
* with open

* those too

* just 1 file

* move this to another pr
old-commit-hash: fd07fc3ba483aca1c1bdbe6129756d4e223f2c32
2024-02-05 13:01:23 -08:00
Adeeb Shihadeh 9205780c13 [bot] Update Python packages and pre-commit hooks (#31300)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: f0b591e345f6523c6c0534a90df192e5d10a7eb4
2024-02-05 10:06:18 -08:00
Shane Smiskol 680169a4c9 Revert "Ford: don't fingerprint on engine (#31195)"
This reverts commit d104dcd9dbf3a79dbfca57dd0385ea6f2a44ab64.

old-commit-hash: 7694712cd6823a99c3f1c03270bb7167e4c1bdf9
2024-02-05 01:35:39 -08:00
Adeeb Shihadeh 2384e06228 compressed_vipc supports all frame sizes
old-commit-hash: 43f151eea9bf48559f05211fdb7682325d2905f9
2024-02-04 15:29:43 -08:00
Adeeb Shihadeh d14dd2dfe8 tools: fix up can_replay
old-commit-hash: 3972073fd4f33a6af3f88c6bb010171a38c03ba4
2024-02-04 14:48:06 -08:00
Adeeb Shihadeh 973de5710a add cavli modem config (#31297)
* add cavli modem config

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a094179b4d2231e3f43b25596ecb20d6b9c4be70
2024-02-04 14:26:03 -08:00
Shane Smiskol 0f21d655cb car_helpers: don't log fingerprints as a dict (#31289)
Update car_helpers.py
old-commit-hash: 81f52f2e53f24a303e5bccb39af840a2718b2424
2024-02-02 23:45:28 -08:00
Shane Smiskol 5e4a177276 Test car interfaces: init controllers (#31282)
* not pytest?

* copy what build release does

* test controls step with CI and lat/long controllers, car controller.update, etc

* clean up

* not needed

* not here

* here

* better cmt

* fix test_fuzzy

* see what's failing

* need conftest for OPENPILOT_PREFIX to work!

* up

* clean up

* test

* fix

* params put is slow

* stash

* Revert "stash"

This reverts commit 22cc9f814c0699f7046970763663205907f2890b.

* stash

bad

* just freaking merge

* sort

* rm
old-commit-hash: 011054030064dc4cf7ff6590681389fdfb66ae19
2024-02-02 23:43:30 -08:00
Greg Hogan 94b3f2d22a logging: make swaglog context match in python and c (#31288)
* logging: make swaglog context match in python and c

* add git context to athenad
old-commit-hash: d0a1fa636a9bf2f6137c4a61b27fa29f690864f6
2024-02-02 23:10:04 -08:00
Greg Hogan 14e12980f5 simplify git remote is comma check (#31284)
* simplify git remote is comma check

* cast to str

* eliminate default and always return string

* add type annotation for cache decorator

* fix up default handling
old-commit-hash: 7affba06d89b366d98f42c4ea3a2f904e6ef3357
2024-02-02 21:23:32 -08:00
Shane Smiskol 1da217f797 use pytest for release tests (#31280)
* not pytest?

* copy what build release does

* Update .github/workflows/release.yaml
old-commit-hash: 52be3805b093d5850a42237569892d980341b1ed
2024-02-02 19:25:34 -08:00
Adeeb Shihadeh 24ef4b71db bump panda (#31287)
old-commit-hash: 2193458da9b2379032f7afd506b36db1f8fc6ffd
2024-02-02 19:20:28 -08:00
Greg Hogan b7edab29e6 athenad: return normalized origin in getVersion() (#31283)
old-commit-hash: 9ab374f3b05421af5978adc508981a7af5f9f4f4
2024-02-02 16:29:45 -08:00
Justin Newberry 3c67b8df09 CI: enable logical cpus for all selfdrive tests (#31281)
logical
old-commit-hash: 28a15dbfe916c40d30a4901484e2d75fcb8af4cc
2024-02-02 15:45:59 -08:00
Justin Newberry fd799bc05a Pytest: consistent hardware state for tici tests (#31279)
* consistent hardware

* consistent hardware

* moved

* this too

* ruff

* s

* duplicated

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0277fc5548bc87a17ae34b914df0593d034e5e94
2024-02-02 14:18:01 -08:00
Adeeb Shihadeh 2632a41c1e encoderd: get frame size over vipc (#31276)
* encoderd: get frame size over vipc

* bump cereal

* fix ffmpeg

* no print
old-commit-hash: a5766e27967707d51c4e7181a3509c78b3671d16
2024-02-02 12:53:12 -08:00
Hoang Bui 2852e61e40 Fix self.started value pass in metadrive test (#31153)
* fix value pass

* fix test

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 71236204bb78d64feb3d46680176dfb37741dc5d
2024-02-02 12:06:05 -08:00
Adeeb Shihadeh a5de704798 add neural ff weights to release
old-commit-hash: 83fc734b8f6bbb75698fc575ddab1d63cb706067
2024-02-02 11:28:42 -08:00
Shane Smiskol fee938a524 FW_QUERY_CONFIGS: type annotate (#31265)
* annotate

* fix

* clean up

* test

* clean up

* space

* fix
old-commit-hash: c9bd4e4c0df6a03daeb2968498a32f9caf248baf
2024-02-01 21:01:31 -08:00
Adeeb Shihadeh 53659bbb43 camerad: flip OS04C10 image
old-commit-hash: 4962ffa14cc32cfcf121a3c1383523a39c3b149f
2024-02-01 20:24:00 -08:00
Justin Newberry 15600bced8 Jenkins: select devices randomly (#31274)
radnomly select devices
old-commit-hash: 08d9681cf604832d495274a5d8317d9240537053
2024-02-01 17:24:28 -08:00
Shane Smiskol d18d0e31bc Mazda: add missing FW versions for CX9 2022 (#30725) (#31273)
* Adding CX9 engine ECU FW

* Adding cx92023 fingerprints for transmission

* add fingerprints

---------

Co-authored-by: Elshan <8066214+ekodikara@users.noreply.github.com>
Co-authored-by: Elshan <elshan.kodikara@stepglobal.com>
old-commit-hash: 33c93cc58316d46fe527ec887a40361c5ef3b0d4
2024-02-01 15:22:26 -08:00
Shane Smiskol e2059a9293 fw_versions: type annotate test_brand_ecu_matches (#31272)
* test this

* we
old-commit-hash: 341f8420dbd309c8465e1872839baacd1c1f3438
2024-02-01 15:11:10 -08:00
Adeeb Shihadeh d7aa7440e5 manager: remove RTC time pull (#31270)
old-commit-hash: 98564961cd5244b36d3371efaaab421a50716129
2024-02-01 14:00:18 -08:00
Hoang Bui 4c05358aad map: Transfer to MapLibre (#31185)
* change codebase

* compile

* add mapboxprovider

* works with map_renderer in c

* remove maplibre temp

* maplibre works

* cleanup build.sh

* x86 stuff

* add lib

* update release files

* don't need that

* tici build

* tici build

* add tici lib

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08037594e27292ca755a211628f4141469347f82
2024-02-01 13:37:22 -08:00
Vivek Aithal ac63e9fd51 CHEVROLET BOLT EUV 2022: Add a simple neural feed forward (#31266)
* add simple neural feed forward

* update refs

* do not sample during inference in op

* update refs
old-commit-hash: 619625625ce9dc67835aaaca266ccd66f63545e3
2024-02-01 12:30:43 -08:00
Moritz Wörmann 2cf67e46ab GH Actions PR review bot: Check only for substrings in checkbox text when validating PR template (#31262)
check only for substrings in checkbox text
old-commit-hash: 628c829d195434a99c1d83e8119cf0d4d53c167c
2024-02-01 10:31:10 -08:00
Vivek Aithal 80195f1432 LatControlTorque: Add more inputs (#31252)
* add history and state to the ff inputs

* add history

* resolve comments

* remove history, simplify

* don't compute lateral accel, roll comp always
old-commit-hash: 056b330e8bd1ffafdd0bd310782dd140c8f2174d
2024-02-01 04:12:48 -08:00
Shane Smiskol 55f88260d1 Mazda: use bus 0 to fingerprint (#31261)
* for testing

* switch OBD port to logging

* revert

* cmt

* cmt

* remove OBD query

* Update selfdrive/car/mazda/values.py
old-commit-hash: f0b6f489489731b4d968880d6d9e5a58dbc14035
2024-02-01 00:28:00 -08:00
Justin Newberry 05204fbde3 Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
old-commit-hash: 086c509fde806bb03f89765800d9667f4de6a372
2024-01-31 18:47:49 -08:00
Justin Newberry c999573836 Jenkins: better timeout when disconnected from devices (#31256)
* timeout better

* timeoutes
old-commit-hash: be33b0049982ade3cc639998c8142b373693c929
2024-01-31 18:46:40 -08:00
Eric Brown b2bd45ca58 GM: Fix wheel direction signals (#31258)
* Fix wheel direction signals

* Update name

* Add comment

* Remove signal value table

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* bump

* add 3

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1ab37454009d5a40e441350e1abaa615ab36ec6d
2024-01-31 18:45:10 -08:00
Justin Newberry ab63a1b1ef test_athenad: create with_upload_handler decorator (#31250)
cleaner
old-commit-hash: 5c85925e9bc5baf709f4630545a76a11e044f936
2024-01-31 18:44:04 -08:00
Shane Smiskol 19b192faf3 Nissan: use bus 0 to fingerprint (#31243)
* Nissan: use bus 0 to fingerprint

* update refs

* switch OBD query to be logging instead, might want OBD logging for one more release
old-commit-hash: 7222eb3665aea9483fbaa672640c22b3f9856e22
2024-01-31 18:20:33 -08:00
Justin Newberry 9b4b5d3cf5 LogReader: skip file_exists check for comma_api (#31251)
* valid file

* missed this one
old-commit-hash: 6010a39bf8cb030b5b10e1d0657f9291467b6872
2024-01-31 16:43:58 -08:00
Shane Smiskol 6bd77926ea [bot] Fingerprints: add missing FW versions from new users (#31245)
old-commit-hash: 5195f0a6240ec2f96b472d8ee758ddbbbc5243dd
2024-01-31 09:52:44 -08:00
Elshan 62ddf0ada2 Mazda: add missing FW versions for CX9 2022 (#30725)
* Adding CX9 engine ECU FW

* Adding cx92023 fingerprints for transmission

* add fingerprints

---------

Co-authored-by: Elshan <elshan.kodikara@stepglobal.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 883f9458eb6156d161075f9d77d152e8d2a8aaf6
2024-01-31 03:20:58 -08:00
Shane Smiskol 4d964e7557 Hyundai CAN FD: enable enhanced fuzzy fingerprinting for Sorento & Sorento Hybrid (#31242)
* allow fuzzy fingerprinting

* rm todo

* better cmt
old-commit-hash: e4e161f8dedce5b2c87f0e833681c53f2fb106a0
2024-01-31 00:52:49 -08:00
Shane Smiskol 85f1aea158 HKG CAN FD: Merge Sorento Plug-in Hybrid and Hybrid (#31241)
* merge sorento plug-in hybrid and hybrid

* format

* allow fuzzy fingerprinting

* rm todo

* Revert "rm todo"

This reverts commit f2457eb58f88f780b25625942dbd9c74202acbb8.

* Revert "allow fuzzy fingerprinting"

This reverts commit 91f143f3115e31107752a5e84d3f587e6917933f.
old-commit-hash: b4f958c13f221704012578518b00ab88a4e33faf
2024-01-31 00:41:57 -08:00
Shane Smiskol db086e9cc7 Hyundai CAN FD: merge Sportage platforms (#31235)
* merge Tucson 4th gen!

* format fingerprints

* fix torque params

* fix

* detect CANFD hybrid with ACCELERATOR_ALT

* passes

* add test

* pass test

* cmt

* Revert "pass test"

This reverts commit 5f48ab1f6e6569def1cbbc92c9c0dd4ea5eebbe2.

* combine sportage hybrid

* merge sportage

* format
old-commit-hash: 2f4cadc6bfb53a6ac25040b0f2aa181ee601d106
2024-01-31 00:19:15 -08:00
Shane Smiskol 550fc4a726 Hyundai CAN FD: merge Tucson and Tucson Hybrid (#31238)
* combine tucson and tucson hybrid can fd

* format fingerprints
old-commit-hash: e92e856f7ad5f19692b6328ab0d89027c1495f2c
2024-01-30 23:06:24 -08:00
Shane Smiskol 449085b764 Hyundai CAN FD: detect hybrid (#31237)
* detect can fd hybrid

* remove from set

* prevent EV & hybrid somehow
old-commit-hash: e5a8ddc3d0c5f7df7655409ed8ffae182ec57ab6
2024-01-30 22:43:56 -08:00
Shane Smiskol 25aef9967f Hyundai: use hybrid & ev flags (#31236)
* hyundai: use hybrid & ev flags

* Update ref_commit

* todo

* match order
old-commit-hash: b40660692b7f713cde1265d73d4a271a24e85221
2024-01-30 21:57:29 -08:00
Shane Smiskol 1b79d709b9 Revert "docs: fix car docs video icon" (#31234)
old-commit-hash: 9c48e85c786d1c7551abada628635b78c5c60fb9
2024-01-30 19:04:43 -08:00
Shane Smiskol 8236f72a62 docs: fix car docs video icon (#31218)
* fix yt icon on docs.comma.ai

* bigger
old-commit-hash: 97aa08d8dea2a6941a19d13edbeffb994725cbc3
2024-01-30 18:46:46 -08:00
Shane Smiskol fa99682e32 Toyota: fix rare panda standstill mismatch (#31232)
* fix

* clean up

* just use 2x lower threshold so we're not on edge again
old-commit-hash: bd1678e71f700126558dfa771544f90fa6d3e406
2024-01-30 16:06:28 -08:00
Adeeb Shihadeh f99c674341 update min valid time
old-commit-hash: bc5fdf24ae847b3a55c04d905ed5b1acd1d71fb9
2024-01-30 15:00:41 -08:00