Commit Graph

8267 Commits

Author SHA1 Message Date
Shane Smiskol 850eb3af94 Car docs diff bot: remove tier (#25611)
* fix car docs diff bot

* rm line
old-commit-hash: ed8d676870267c09377627a5b69d6ce1244ccc6f
2022-08-30 11:23:42 -07:00
Adeeb Shihadeh 35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
Shane Smiskol c2e561aa73 VIN: query physical addresses (#25122)
* Try engine and VMCU addrs for VIN

* Add address for Honda

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py
old-commit-hash: 0697ca223974f2361ca655506ceab7d18917b9de
2022-08-29 22:51:50 -07:00
Cameron Clough 03beb55609 ford: passthru mystery signals (#25575)
* ford: passthru mystery signals

* simple

* types

* bump opendbc

* bump opendbc
old-commit-hash: f3be0b5873224c1aabce9ec4942ba12b701c7cb4
2022-08-29 19:11:53 -07:00
Jason Wen b6d873bfe8 Hyundai: Add missing safety param to separate CAN-FD cruise button messages (#25605)
old-commit-hash: 365b37edd5a404dba8ebe91808af890840162ca6
2022-08-29 17:55:42 -07:00
Shane Smiskol 40b82fdb1a Chrysler: add FW tests (#25599)
* stash

* make sure no transmission FW is added for HD trucks

* Remove

* consistency
old-commit-hash: 19e088de0aad1673243a03173fccd948280b2925
2022-08-29 14:23:11 -07:00
Adeeb Shihadeh 49e2a4708d laikad: fix cache path
old-commit-hash: 63349809498ffdb1678cbd2aa399a67fc59c66b2
2022-08-29 14:08:21 -07:00
Shane Smiskol 3a077f081a FW tests: use subtests (#25598)
Use subtests for FW tests

Use subtests for FW tests
old-commit-hash: a548e1b909a65ff52452b3b33370781c831de3ad
2022-08-29 13:47:19 -07:00
Erich Moraga f5f30c73a8 Add missing HIGHLANDERH_TSS2 engine f/w (#25582)
`EAAUSANG#8056` 2022 Highlander Hybrid DongleID/route 9179d81377e52625|2022-08-27--13-24-33
old-commit-hash: cc90c6c97eb91bd9f4c23ae8baf230784482e8b8
2022-08-29 12:19:01 -07:00
Shane Smiskol 8f20e4ab46 Ram: don't check FW revision (#25589)
* Don't check revision

* fix
old-commit-hash: ee5b6d812d433d013cbb837a850c5df64c10a4d0
2022-08-29 12:06:09 -07:00
Adeeb Shihadeh 600d136bbf fix encoderd cpu usage
old-commit-hash: 21d7c540d2cbe37bbfc4bb979a1b155bcabdeb29
2022-08-28 21:20:19 -07:00
Jason Young 3d0793f0bb VW MQB: Add FW for 2017 Volkswagen Golf R (#25585)
old-commit-hash: 72a73f359103420152d1a1377d139e58a32fafb6
2022-08-28 16:55:30 -07:00
Robbe Derks 78881cf731 Pigeond (#25561)
* split out pigeond from boardd

* also want to turn off power

* fix manager calls

* move to sensord folder

* release files:

* add assistnow code

* no bare except

* add test script to test TTFF

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13489d092e2c09119e880022507d7331cf54c615
2022-08-26 23:11:46 -07:00
Adeeb Shihadeh d9c279aea9 params: make python and c++ API match (#25573)
* params: make python and c++ API match

* few more
old-commit-hash: 90a4565eb29fe95fc83acf6e4f0ea0851c284d61
2022-08-26 20:46:19 -07:00
AlexandreSato 58c7fd0e73 pt-BR Shorter phrase for Finish Setup (#25566)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly
old-commit-hash: cca8ef4f93ef738b2a56d849dbf673be935993f9
2022-08-26 11:41:44 -07:00
Dean Lee 51ac3a7fe3 modeld: delete wide_frame in model_free (#25562)
old-commit-hash: 68b1dbc0ea563d923aaf82df1bef097761b82aa7
2022-08-26 11:19:05 -07:00
Shane Smiskol f36db18683 Toyota: add missing engine FW for 2019 RAV4 (#25563)
Add missing engine FW from 28947140cc79e4cf
old-commit-hash: 715eabf733f87b9ab47c52fb19ca45abf5368ea5
2022-08-25 23:29:34 -07:00
guilhermicas b2f9d59d31 Portuguese: grammar and semantic corrections (#25554)
* Grammar and semantic corrections of Portuguese translation

* Revert "Grammar and semantic corrections of Portuguese translation"

This reverts commit 87c88c24f8872ffa87de16a63151240b7d7c7716.

* fix and improve pt-BR translation

* rename file

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: AlexandreSato <sato_alexandre@hotmail.com>
old-commit-hash: 2ebbe7eac658c5961434c8701364e4ac018a0cb3
2022-08-25 23:13:31 -07:00
Adeeb Shihadeh 3b747049ad controlsd: disambiguate can error and can socket lag (#25559)
old-commit-hash: 94f353a5e331efdd8ca7097d9e1e391c5c926422
2022-08-25 20:30:43 -07:00
Dean Lee 6b230fd94f V4LEncoder: set bytesused to buf->len (#25050)
old-commit-hash: aece21c7cb1bd58e9a3939dca3e4439461e870ec
2022-08-25 16:57:34 -07:00
Dean Lee 3b9197ffc4 getTextRect: pass text by const reference (#25555)
old-commit-hash: 3bb2b4df498ef925b9b5e39cc72ed53143ac63a6
2022-08-25 13:13:38 -07:00
Shane Smiskol ddcc417303 Toyota: don't send ACC_HUD on Prius V (#25539)
* Prius v also doesn't send ACC_HUD

* common
old-commit-hash: fb99766323d3f4090c2671332b2f8c0ae57f723e
2022-08-25 12:24:35 -07:00
royjr d37b297076 Add Arabic Translation (#25269)
* arabic

* update to add plurals

* Update translations

* don't show lang for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8245ba4d307f16e853c0cc4288a217770d2049b4
2022-08-25 12:16:34 -07:00
Shane Smiskol 5a90c01ec9 Chrysler: add engine-specific FW request for some cars (#25503)
* Try to get Chrysler engine FW

* try this

* Get engine FW for certain Chrysler

* Add our Ram's engine FW

* better name

* no whitelist

* engine and transmission only
old-commit-hash: 08510e2b0a77a2adab90c24c5f560b7a0e3816f7
2022-08-25 11:44:57 -07:00
HaraldSchafer 8413d5ddf1 Nuclear Grade Model: less memory, more accuracy (#25524)
* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 6d1c8a6b-4070-4780-80f1-6f08f234275e/900

* update ref
old-commit-hash: 2f46fe5d856be0637cb55e460ea3f2d34be1703c
2022-08-25 00:01:21 -07:00
Shane Smiskol 48b0f4f810 Chrysler: whitelist FPv2 queries (#25549)
* Add whitelist to Chrysler queries

* gateway will respond to both (same 29-bit rx addr)

* missing esp
old-commit-hash: 70f2891928a3b7b89d19d57dfd7f1197806e2204
2022-08-24 16:06:11 -07:00
Jeroen 493bda546b Fix broken url in translations README (#25546)
Fix url in README.md
old-commit-hash: c62447c7843141e426b24f71b7d7c5488aaf8c5d
2022-08-24 11:16:17 -07:00
Shane Smiskol 2906fde235 Toyota: log stockAeb on non-TSS2 cars (#25489)
* check PRE_COLLISION

* need to make sure this is right

* revert

* temp, stash

* fixes

* uncomment that

* it's not really cruise/pcm, but acc

remove improt

* revert

* Fix CI

* revert exception

* Revert "revert exception"

This reverts commit 7e2f39097651f17cf3d2ac9f442fab5071e1b9d0.

* this tested enableDsu, but we have other routes that do that

* use segment from db

* remove exception again
old-commit-hash: 70f7340c173f0a4b0d3bb98dda9032cd304f890e
2022-08-23 17:48:34 -07:00
Shane Smiskol 8177163c09 Silence a PytestCollectionWarning (#25537)
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
old-commit-hash: 19810f2dcc11f5fe307b71a19aff419e9459d3b3
2022-08-23 17:26:29 -07:00
Adeeb Shihadeh 5239f3252c update car candidate docs (#25536)
* update car candidate docs

* little more

* that's a nice wikipedia

* quotes
old-commit-hash: c8378b6ad58fc6ba68976ffaff49b03aa2224bbb
2022-08-23 16:54:45 -07:00
Rewat S 82167915a8 Add Thai translations (#25189)
* Add Thai translations

* update to add plurals

remove

* Update translations

* Update Thai translation to match English source.

* Add to badges

* use shorter km/h

* Add test for correct format specifier for plural translations

* pass new test

* Update some sentences to make it clear.
Change short form of some words.

* Hide from the UI

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a34acc316e8c4fc6d4ea101ef58919686cd0807c
2022-08-23 16:29:47 -07:00
Shane Smiskol 9a48839146 test_models: pass carFw into car interface (#25535)
pass carFw into get_params
old-commit-hash: f8e44f2e9b186d5a3f99c9dfcf46dbf887b3861b
2022-08-23 13:42:14 -07:00
Jason Wen b51561c156 HKG: Add FW for 2018 Kia Stinger (#25531)
* HKG: Add FW for 2008 Kia Stinger

* 2018 in disguise

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f41dc62a12cc0f3cb8c5453c0caa0ba21e1bd01e
2022-08-23 11:21:07 -07:00
AlexandreSato 85239ac374 Toyota: add missing engine and esp FW for Corolla Cross Hybrid (#25532)
add missing engine and esp FW for CorollaCross Hybrid

DongleId 147613502316e718
old-commit-hash: 506b719a40d4391a17a7bc081f761ec1215040ef
2022-08-23 11:20:34 -07:00
Shane Smiskol 803e81494d Update translations
old-commit-hash: 8b154fe27145f529d2459658e25cdd02f3fc9b5c
2022-08-23 11:18:23 -07:00
Cameron Clough 07084dcbaf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf346e70cce1389fe3c9bf23344a5512
2022-08-22 21:47:09 -07:00
Shane Smiskol 68eae853c2 Translations badges: concatenate into one badge (#25522)
* add badge

done correctly

works

Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update README.md
Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update badge

Update README.md
test this

try this

finalize

remove badges

fixup readme

add to test

fix

fix

rm

* clean up

* no formats
old-commit-hash: ad8d3de0d9abedc7c9db177b6c4a6b1a0fb03020
2022-08-22 20:39:54 -07:00
Shane Smiskol 16b585f007 GM: add Silverado 2021 High Country FP (#25499)
* Add FP from 61c6258cac78af08

* add to dict
old-commit-hash: 0822f94bb4545bb9427d1525b157edbf46416fe7
2022-08-22 17:45:41 -07:00
Shane Smiskol 4f628954c7 GMC: Sierra 2020-21 support (#25523)
* Add Sierra

* actually this package works

* add to releases

* credit
old-commit-hash: 68ba8df69329024e57efdbd00740acc0d298f214
2022-08-22 17:35:04 -07:00
Adeeb Shihadeh f68770eb3a test onroad: update dmonitoringd cpu usage
old-commit-hash: 62bb70ef2987647e9a9bb93af21f5424c617bafe
2022-08-21 14:29:52 -07:00
Dean Lee 48a9dc789d v4l_encoder: free buf_out in destructor (#25044)
old-commit-hash: ed70a9ab1de142dfc3a8afe89a5b3c32b592dda1
2022-08-21 14:03:44 -07:00
Shane Smiskol b42a6c27b2 test_models: no CAN invalid tolerance (#25501)
* don't use end of route segment

* no can invalid cnt tolerance

* start checking can valid immediately once available

* we check counter violations
old-commit-hash: beae985f989068b6105df1a4698403a3f2329503
2022-08-20 14:47:18 -07:00
Cameron Clough f7abda09e9 Ford: add CADS radar interface (#24296)
* Ford: use FORD_CADS radar dbc

* Ford: CADS radar interface impl

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>

* fixup radar interface for FORD_CADS dbc

* CADS treat different scan indexes as separate points

* Ford: support both Fusion and CADS radars

* Ford: rename radars to DELPHI_ESR and DELPHI_MRR

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
old-commit-hash: ebea805aa8e45d8a56c1935b5181aa5a1151684f
2022-08-19 23:29:09 -07:00
Adeeb Shihadeh 0f532dfbad remove old boardd stuff
old-commit-hash: ddb7f91c9ba7d3aee7fe5da020db9598dc07cf5c
2022-08-19 23:09:21 -07:00
Jason Wen 79dfc5293a Hyundai: Car Port for Tucson Hybrid 2022 (#25276)
* Hyundai: Car Port for Tucson Hybrid 2022

* Update RELEASES.md

* Init gear_msg at the top

* FW versions from script

* Button send attempt

* start with some cleanup

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* 8-bit counter

* Cleanup ish

* 8 bit counter

* Send at 20ms

* Disengage bits

* Revert bump submodules

* Allow tx on 0x1a0

* Fix byte counts

* Send LFA and HDA icons based on engageability

* Send cruise buttons only on HDA2 cars for now

* Add comments

* Add FLAG_HYUNDAI_CANFD_HDA2 flag

* Update interface.py

* Update carstate.py

* Update carstate.py

* Update carstate.py

* Bump submodules

* Bump panda

* Bump opendbc

* Allow tx with CRUISE_INACTIVE

* GEAR has 24 bytes only

* Generate car docs

* Fix CRUISE_INFO copy

* Remove unused class

* Add CAN-FD busses to unit test

* Bump opendbc

* Revert "Add CAN-FD busses to unit test"

This reverts commit 2f751640408a7f73a9100947cbd95ea13fbb8a48.

* Remove duplicate

* New tune based on data

* Panda safety cleanup

* Include bus 0 in rx checks

* Missed one

* bus 6 check

* Remove redundant check

* Add comments

* Bump opendbc

* Sync with DBC

* Hide LFA icon when disengaged

* Little endian

* fix comment

* more conditions in carcontroller

* update pedal signal

* update tuning

* cleanup carcontroller

* bump panda

* fix mismatch

* alt buttons

* little more cleanup

* update refs for EV6 new safety param

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bd5e28909f4576699717f8a2f6751f0d9fdfecc0
2022-08-19 20:14:30 -07:00
Jason Shuler a019d5ea40 GM: Chevy Silverado 2020-21 support (#25429)
* Silverado support

Co-authored-by: Jason Shuler <jshuler@gmail.com>

* Update docs

* Try 2 m/s/s

* Should be good torque values

* Add Silverado test route

* Add to releases

* Send counter

* can't send multiple or it faults

* Send at 33hz, no counter

* try 25hz, don't line up exactly with car's buttons

* never tried 10hz with same counter

* Update selfdrive/car/gm/gmcan.py

* Make same as pcmCruise branch

* update year and package (different packages needed per-trim)

* Update year in releases

* Revert to 21

* We can use this package name again

* wrong one!

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1e9fdff6422c4f49702f5de56280241088b2abca
2022-08-19 16:58:06 -07:00
Adeeb Shihadeh ec92e07ebe Hyundai: common CAN-FD gear signal (#25498)
* Hyundai: common CAN-FD gear signal

* bump opendbc
old-commit-hash: 090e92bb699ac05340dbb325076402d09dd53a9c
2022-08-19 16:12:16 -07:00
Shane Smiskol e1a61dec0c GM Bolt EUV: update supported packages (#25496)
* Update values.py

* Update selfdrive/car/gm/values.py

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

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fb19e24d6019a23e8bfb5f767bfa976d373a6e3d
2022-08-19 15:48:46 -07:00
Shane Smiskol e7c9fab9a6 Car docs: add more videos (#25494)
* Add Civic video

* add mazda cx-9 2022 video link
old-commit-hash: a0af3a998d3a36c9f65ca6d6443f043cbf5be068
2022-08-19 13:34:23 -07:00
Shane Smiskol 1101462fc7 GM pcmCruise: cancel more reliably (#25454)
* Cancel more reliably

* Apply suggestions from code review

* Try sending multiple

* Apply suggestions from code review

* Apply suggestions from code review

* Update selfdrive/car/gm/carcontroller.py

* lower rate a bit

* try this

* Update selfdrive/car/gm/carcontroller.py
old-commit-hash: fe509e0354466a301dd403d29b5b2c82aea8aad1
2022-08-19 12:04:12 -07:00