Commit Graph

356 Commits

Author SHA1 Message Date
Shane Smiskol d82173e685 Toyota: resolve controls mismatch due to interceptor thresholds (#23710)
* remove gas interceptor exception

* panda

* bump submodules

* bump panda

* forgot carstate change

* revert

* add test route

* bump

* update refs for CS.gas

* bump submodules to master
old-commit-hash: 17cb65c4b75987e4fa6630a02f384e27f1472d13
2022-04-20 22:28:56 -07:00
Adeeb Shihadeh f7f02b3f65 bump submodules
old-commit-hash: 0cc162af62c18650d8026c17b976abbc6ceb9750
2022-04-19 11:03:05 -07:00
Adeeb Shihadeh 295f4eb16a bump opendbc
old-commit-hash: d2fec9ecfe0cad9b05107f78c967832a71a2affc
2022-04-16 14:58:56 -07:00
Adeeb Shihadeh 3789587df1 add alert for CAN bus timeout (#24162)
* add alert for CAN bus timeout

* add alert

* set in interface

* cleanup

* cleanup

* add event

* fix mock

* bump

* bump opendbc

* update refs

* return reader
old-commit-hash: 49c2164814e07c1243ef2b979957760d64c9eb35
2022-04-12 22:58:34 -07:00
Shane Smiskol 052b799262 Honda: resolve controls mismatch due to interceptor thresholds (#24173)
* make panda and openpilot thresholds match

* Revert "make panda and openpilot thresholds match"

This reverts commit dfcbd2058784de809564ada41e4cfbbfca7afe77.

* make panda and openpilot thresholds match

* remove interceptor scaling, compare int value

* remove honda exception

* bump panda

* bump opendbc

* add segment to check controls mismatch

* bump submodules
old-commit-hash: e8faf9f9853b445c6ddfd9ee1f1e44fbcfe3a96f
2022-04-12 11:20:55 -07:00
Adeeb Shihadeh 83f32537de bump opendbc
old-commit-hash: 69368cce5433b7e890e3f0647698614623dee480
2022-04-08 22:11:27 -07:00
Adeeb Shihadeh db51455f0b bump opendbc
old-commit-hash: 9ec0378842471c81e3ec99acc4b6045e8f098f14
2022-04-06 21:57:26 -07:00
Igor Biletskyy 4ded7b99f6 body: add battery percentage and charger status to signals and opendbc (#24145)
* bump opendbc

* add signals

* bump opendbc
old-commit-hash: 102738e4e0dd1702ab01b849e444bd1dfc2ddd1c
2022-04-06 00:07:36 -07:00
Igor Biletskyy c64fd227ef body: add crc and counter (#24120)
* add crc and counter for body

* add msg

* move counter

* whitespace

* ..

* bump opendbc

* update_refs
old-commit-hash: 7df1c025ae2a1333b70ef967c4617f913f36dfd4
2022-04-04 19:19:30 -07:00
Igor Biletskyy 56ca717731 bump panda and opendbc (#24095)
* bump opendbc

* bump panda
old-commit-hash: f7e59b474c1ba0be465e75bc74c03b1e7f655000
2022-03-31 12:50:17 -07:00
Igor Biletskyy ab31f826e7 bump opendbc
old-commit-hash: 8a9f705959cc5bc5f044d4cbce960702d7628b9b
2022-03-30 21:35:15 -07:00
Igor Biletksyy 3dcadf11ec bump opendbc
old-commit-hash: c6e0f1a94103ae6b6c879615a00ef0855560bd42
2022-03-08 16:36:41 -08:00
Adeeb Shihadeh 8f3e51f73f CAN FD support in packer + parser (#23877)
old-commit-hash: 1f66bc46b3b837c44e6f04b9b8c39ae608977266
2022-02-28 09:32:54 -08:00
Shane Smiskol 961b11e7aa Toyota: fix learning bad offsets for some models (#23810)
* Update carstate.py

* comments

* use initializing

* bump opendbc

* bool

* check both

* bump opendbc

* and on TSS-P the initializing bit isn't set
old-commit-hash: a1875ac6f090f372aa3f348f439f0589be16ca10
2022-02-26 00:54:35 -08:00
Shane Smiskol 40a688983a Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
old-commit-hash: 31228ce5605b6ba231ac09e22fd41946bf80ab36
2022-02-12 16:28:53 -08:00
Shane Smiskol 0296e11cdb bump opendbc (#23741)
old-commit-hash: 47211400f55881c4063579826764a42374ae66be
2022-02-10 20:59:02 -08:00
Shane Smiskol 1cd3c05a70 Honda: fix brake pressed signal (#23683)
* or brake_switch

* remove car exceptions

* Revert "remove car exceptions"

This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.

* does have ts noise, use updated

* bump panda for tests

* bump

* messsssy draft

* clean up

* clean up

* bump

* CS: process all messages at once, like we do during real openpilot usage

* handle multiple messages updated in one cycle

* bump

* bump

* use less confusing, but equivalent cp.vl

* Update selfdrive/test/test_models.py

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

* no msg

* bump opendbc

* Update selfdrive/car/honda/carstate.py

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

* same test logic

* add brake_switch_prev to class

* need to set previous brake switch when not lagging (most of the time)

* need to compare

* only update previous if updated this cycle

rm

* need to maintain previous active state

* move brake_switch

* bump opendbc

* bump

* bump

* bump

* bump

* bump

* bump

* bump opendbc

* rename

* oops

* bump opendbc

* bump

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b9ed645af3642336d2d05ab5160deba
2022-02-10 13:04:37 -08:00
Shane Smiskol d7e43473f9 bump opendbc
old-commit-hash: b98b583cc65ad9b58d5877fb555ecddd0a5b0e1e
2022-02-01 00:31:01 -08:00
Shane Smiskol 3ec9266de0 Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
old-commit-hash: a5844363280ec4bafba9eaf046813f16aba6d6ac
2022-01-28 22:26:18 -08:00
Shane Smiskol b45082e61b bump
old-commit-hash: 220877fb6063b078a911832b7cd228e528c35a03
2022-01-27 17:02:43 -08:00
Adeeb Shihadeh 31857ee45b Toyota: DBC rename
old-commit-hash: 036c1799d440a0bb8e69e647c18848fe173e303b
2022-01-27 11:44:57 -08:00
Adeeb Shihadeh effdebff11 Toyota: use common DBC for IS and RC
old-commit-hash: 4c765acb6ec834c9721e8c273336750b90ed56b7
2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 0a5779a090 Toyota: remove Prius DBC
old-commit-hash: 9a211ee14b3efe10df16c4aef19744607f0163fd
2022-01-27 08:59:16 -08:00
Adeeb Shihadeh c59e3695db Toyota: unify TNGA-K platform DBCs
old-commit-hash: 2f01bf3b6fa86597c4eeee7748c664e8c65891ac
2022-01-27 08:52:24 -08:00
Adeeb Shihadeh 4ecc611e27 Toyota: CT200H DBC merged into Rav4
old-commit-hash: b321d65cac2c7213ba9377ce8cc57e366e62d6d5
2022-01-27 08:43:40 -08:00
Adeeb Shihadeh 9363436646 Toyota: rav4 DBC is same as corolla now
old-commit-hash: 33c8468e0278ca7828f3f4b37c7008ed81d8a754
2022-01-26 22:13:51 -08:00
Shane Smiskol 589d720b30 Toyota: Move EPS torque factor to openpilot (#23635)
* use scaling

* or we can do it this way

* define default in one place

* just specify

* Revert "just specify"

This reverts commit 40b7b28f8416497cd1337784d336c1dd4f5dd6e3.
old-commit-hash: 3c62d9da0952dc28fa7315e2ff5beb8e5942089f
2022-01-26 22:08:04 -08:00
Shane Smiskol af77fa14a4 Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
old-commit-hash: 14133069e1f226b9c981d09653fb74f5020f725e
2022-01-26 17:10:32 -08:00
Adeeb Shihadeh f96d34902f GM: use generated DBC (#23615)
* Rename GM PT dbc to generated

* bump opendbc

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: cdd3598146c9e06362683e2993af730157abf0b6
2022-01-24 20:51:57 -08:00
Adeeb Shihadeh badf4dff4f Toyota: move gas pedal definitions into common DBC (#23582)
* Toyota: move gas pedal definitions into common DBC

* add rest of cars

* auto detection

* cleanup

* update refs
old-commit-hash: b18c4eeb82f94a655c46e50750debcb37b49a598
2022-01-24 15:43:10 -08:00
cydia2020 7b12bfbd9d Toyota: LKAS_HUD expansion (#23573)
* bump opendbc

* add lkas_hud messages

* Remove duplicate

* bump opendbc

* fix comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f85a75cf542bbb05b929b959cb566d3f941410ea
2022-01-19 17:05:24 -08:00
cydia2020 3b1b0a4dbf Toyota: unify Sienna, Avalon, Highlander Lexus NX, Lexus RX into single DBC (#23577)
* remove sienna dbc

same as avalon

* rx and nx are also the same as avalon

* highlander can also use avalon's dbc

* bump opendbc

* rename avalon to tnga-k

* pt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 783db0cf33bcf903c1ca6a58b2cb0bb9fd136b11
2022-01-19 11:46:07 -08:00
cydia2020 c607c5d30b Toyota: use single DBC for Lexus NXH, Lexus RXH, HighlanderH, Rav4H (#23576)
* use rav4h dbc for nx

also bump opendbc

* remove from release file

* same with highlander

* bump opendbc

* rav4h -> tngakh

also rxh

* bump opendbc

* bump again

* remove from release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f32f53540e9d4580a2d3e9fefda292b8a109d701
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 33724d45f4 bump opendbc
old-commit-hash: 22d6c054e3e3316011721b6885dcab286fdd0985
2022-01-18 19:34:40 -08:00
cydia2020 d08d16bb6c Toyota: DBC signal renames (#23452)
* rename signals

bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9f4fd73b52b12193ea9040361246e6e313ce6698
2022-01-13 19:37:39 -08:00
Adeeb Shihadeh 03657ceabf bump opendbc
old-commit-hash: 3816ecf64255a8eb0fc821c23df8dd372d678525
2022-01-12 10:45:11 -08:00
Shane Smiskol c569652638 Toyota: use common DBC for TSSP Camry Hybrid (#23453)
* bump dbc

* use nodsu_hybrid dbc

* remove from files_common

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0c075a66dbcaef13737aa974f7363be4a0cc94df
2022-01-08 18:41:05 -08:00
martinl 14c8689bab Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance (#23024)
* Rename preglobal ES_CruiseThrottle to ES_Distance

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 345fe48338fe4d95a88d9f001484a56e4a146ac4
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh 2c34a7f5f2 update opendbc
old-commit-hash: 007c8496db8b98b1f39bc801af6a9fdc6786a9ca
2021-12-01 17:35:32 -08:00
Adeeb Shihadeh 2230e6b2c9 bump openbbc
old-commit-hash: 8b929f005a01a4207e218510512ae72689dd2565
2021-11-15 21:42:33 -08:00
Adeeb Shihadeh 629ea41f33 bump opendbc
old-commit-hash: cbe76c80a6bca283fe3655bd74ea509d00fa6b37
2021-11-07 16:28:13 -08:00
Adeeb Shihadeh a5d2fd6134 bump opendbc
old-commit-hash: 95cdc5e9df247d861ef025788b9f069b0fcb91f2
2021-11-02 20:30:43 -07:00
Willem Melching c315e75152 bump submodules
old-commit-hash: caac4c9c445e3d3fa7bed8b480355b244008e202
2021-11-02 14:40:39 +01:00
Willem Melching 21e221c880 bump opendbc
old-commit-hash: 3469f0b2c41cb3a2527b28039445494eef41b555
2021-11-01 12:00:05 +01:00
Willem Melching cd4e7d6181 bump submodules
old-commit-hash: 63b85ca1e2587544042cd322531ffce238016d53
2021-10-27 11:57:31 +02:00
Willem Melching bb156e50d7 bump opendbc
old-commit-hash: e0b88dfb637693a8a3be9d2c91c992a6f45f80f4
2021-10-26 14:49:41 +02:00
cydia2020 85bfd29c72 Toyota longitudinal: Illuminate PCS Warning Light If DSU is Unplugged (#22631)
* display amber "PCS Off" indicator when DSU is unplugged

* Update opendbc

* update ref

* Update opendbc

* update ref

* bump opendbc

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9a2ecec1a839e063347d0cbbb563ffaf28dba40e
2021-10-20 15:41:31 -07:00
Willem Melching 4976750c95 bump opendbc
old-commit-hash: 5f2d3d4f5172b0678408dbd2b91aa8ab7b6c14af
2021-10-20 16:14:23 +02:00
Adeeb Shihadeh d5e39af4c6 bump opendbc
old-commit-hash: fbcb32969d0e3912705f56b81560847c0a71dbf3
2021-10-19 21:55:38 -07:00
Robbe Derks d8224295e5 bump opendbc
old-commit-hash: 729e4fa63f89a2dab2bd4e563b54f9cdcbdc2c2c
2021-10-12 22:33:51 +02:00