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: 17cb65c4b7
2022-04-20 22:28:56 -07:00
Adeeb Shihadeh f7f02b3f65 bump submodules
old-commit-hash: 0cc162af62
2022-04-19 11:03:05 -07:00
Adeeb Shihadeh 295f4eb16a bump opendbc
old-commit-hash: d2fec9ecfe
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: 49c2164814
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: e8faf9f985
2022-04-12 11:20:55 -07:00
Adeeb Shihadeh 83f32537de bump opendbc
old-commit-hash: 69368cce54
2022-04-08 22:11:27 -07:00
Adeeb Shihadeh db51455f0b bump opendbc
old-commit-hash: 9ec0378842
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: 102738e4e0
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: 7df1c025ae
2022-04-04 19:19:30 -07:00
Igor Biletskyy 56ca717731 bump panda and opendbc (#24095)
* bump opendbc

* bump panda
old-commit-hash: f7e59b474c
2022-03-31 12:50:17 -07:00
Igor Biletskyy ab31f826e7 bump opendbc
old-commit-hash: 8a9f705959
2022-03-30 21:35:15 -07:00
Igor Biletksyy 3dcadf11ec bump opendbc
old-commit-hash: c6e0f1a941
2022-03-08 16:36:41 -08:00
Adeeb Shihadeh 8f3e51f73f CAN FD support in packer + parser (#23877)
old-commit-hash: 1f66bc46b3
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: a1875ac6f0
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: 31228ce560
2022-02-12 16:28:53 -08:00
Shane Smiskol 0296e11cdb bump opendbc (#23741)
old-commit-hash: 47211400f5
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: 209bfe536b
2022-02-10 13:04:37 -08:00
Shane Smiskol d7e43473f9 bump opendbc
old-commit-hash: b98b583cc6
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: a584436328
2022-01-28 22:26:18 -08:00
Shane Smiskol b45082e61b bump
old-commit-hash: 220877fb60
2022-01-27 17:02:43 -08:00
Adeeb Shihadeh 31857ee45b Toyota: DBC rename
old-commit-hash: 036c1799d4
2022-01-27 11:44:57 -08:00
Adeeb Shihadeh effdebff11 Toyota: use common DBC for IS and RC
old-commit-hash: 4c765acb6e
2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 0a5779a090 Toyota: remove Prius DBC
old-commit-hash: 9a211ee14b
2022-01-27 08:59:16 -08:00
Adeeb Shihadeh c59e3695db Toyota: unify TNGA-K platform DBCs
old-commit-hash: 2f01bf3b6f
2022-01-27 08:52:24 -08:00
Adeeb Shihadeh 4ecc611e27 Toyota: CT200H DBC merged into Rav4
old-commit-hash: b321d65cac
2022-01-27 08:43:40 -08:00
Adeeb Shihadeh 9363436646 Toyota: rav4 DBC is same as corolla now
old-commit-hash: 33c8468e02
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: 3c62d9da09
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: 14133069e1
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: cdd3598146
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: b18c4eeb82
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: f85a75cf54
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: 783db0cf33
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: f32f53540e
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 33724d45f4 bump opendbc
old-commit-hash: 22d6c054e3
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: 9f4fd73b52
2022-01-13 19:37:39 -08:00
Adeeb Shihadeh 03657ceabf bump opendbc
old-commit-hash: 3816ecf642
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: 0c075a66db
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: 345fe48338
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh 2c34a7f5f2 update opendbc
old-commit-hash: 007c8496db
2021-12-01 17:35:32 -08:00
Adeeb Shihadeh 2230e6b2c9 bump openbbc
old-commit-hash: 8b929f005a
2021-11-15 21:42:33 -08:00
Adeeb Shihadeh 629ea41f33 bump opendbc
old-commit-hash: cbe76c80a6
2021-11-07 16:28:13 -08:00
Adeeb Shihadeh a5d2fd6134 bump opendbc
old-commit-hash: 95cdc5e9df
2021-11-02 20:30:43 -07:00
Willem Melching c315e75152 bump submodules
old-commit-hash: caac4c9c44
2021-11-02 14:40:39 +01:00
Willem Melching 21e221c880 bump opendbc
old-commit-hash: 3469f0b2c4
2021-11-01 12:00:05 +01:00
Willem Melching cd4e7d6181 bump submodules
old-commit-hash: 63b85ca1e2
2021-10-27 11:57:31 +02:00
Willem Melching bb156e50d7 bump opendbc
old-commit-hash: e0b88dfb63
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: 9a2ecec1a8
2021-10-20 15:41:31 -07:00
Willem Melching 4976750c95 bump opendbc
old-commit-hash: 5f2d3d4f51
2021-10-20 16:14:23 +02:00
Adeeb Shihadeh d5e39af4c6 bump opendbc
old-commit-hash: fbcb32969d
2021-10-19 21:55:38 -07:00
Robbe Derks d8224295e5 bump opendbc
old-commit-hash: 729e4fa63f
2021-10-12 22:33:51 +02:00