Commit Graph

301 Commits

Author SHA1 Message Date
Jason Young bb61081b70
VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
2022-10-12 17:46:26 -07:00
Shane Smiskol 967f0cc9f8 bump opendbc 2022-10-12 13:05:09 -07:00
Shane Smiskol c719b3b7dd
HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
2022-10-10 23:24:14 -07:00
Cameron Clough e66a70b9e9
bump opendbc 2022-10-06 14:15:36 -07:00
Greg Hogan 5352006cbd
hyundai: fix FCA11 checksum and counter (#25027)
* hyundai: fix FCA11 checksum and counter

* update refs and comment about alt DBC definition we do not support
2022-10-03 19:19:39 -07:00
Adeeb Shihadeh 051fa5bea4 hyundai: update mando radar dbc path 2022-09-21 21:41:17 -07:00
Adeeb Shihadeh 76ead92f63 bump opendbc 2022-09-07 20:38:24 -07:00
Shane Smiskol 80533d6c03
Toyota: match dash set speed (#25649)
* toyota: match set speed from dash

* Use unit bit

* Use RSA2

* flip this

* Universal unit signal, set vEgoCluster

* remove this and bump opendbc

* detect if car interface sets cluster fields

* revert

* needs to be cp

* UI_SPEED is actually always in kph?

* forgot to actually convert it

* same in onroad

* try conv factor only for imperial

* Seems like UI_SPEED is not the UI speed at all

* the dash might floor it

* same openpilot behavior

* bump

* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg

* remove test, bump opendbc

* secret formula

* secret formula v2

* 1.03 is sufficient

* try short press

* bump opendbc

* surely this can be cleaned up

surely this can be cleaned up

* use filter

* redo factors

* try UI_SPEED again with a factor

try UI_SPEED again with a factor

* dash applies hysteresis to speed. this matches pretty well, but not exactly

* match only set speed

* clean up

* clean up

clean up

* Update ref_commit

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-05 13:57:07 -07:00
Adeeb Shihadeh 6590fb2b93
pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Cameron Clough f3be0b5873
ford: passthru mystery signals (#25575)
* ford: passthru mystery signals

* simple

* types

* bump opendbc

* bump opendbc
2022-08-29 19:11:53 -07:00
Shane Smiskol 3640922f85
Show CAN error if message counters are invalid (#25497)
* counter check affects can valid

* Apply suggestions from code review

* bump to master
2022-08-19 19:27:16 -07:00
Adeeb Shihadeh 090e92bb69
Hyundai: common CAN-FD gear signal (#25498)
* Hyundai: common CAN-FD gear signal

* bump opendbc
2022-08-19 16:12:16 -07:00
Shane Smiskol e5bb55ccd6
Toyota: remove STEERING_LKA frequency check (#25490)
* remove STEERING_LKA frequency check

* bump to master

* Update ref_commit
2022-08-18 22:23:39 -07:00
Adeeb Shihadeh 858eea9163
Hyundai: add HDA1 signals (#25484)
* Hyundai: add HDA1 signals

* bump

* bump to master
2022-08-18 17:52:09 -07:00
Adeeb Shihadeh 17992f29c8 bump opendbc 2022-08-18 16:40:16 -07:00
Shane Smiskol f341df006a
GM: move set speed scaling to DBC (#25422)
* Move scaling into DBC for GM cruise setpoint

* bump opendbc

* no int

* Update refs

* Update ref_commit
2022-08-15 02:13:09 -07:00
Adeeb Shihadeh 887e53ff1b bump opendbc 2022-08-08 19:10:27 -07:00
martinl 811365800c
Subaru: Add ES_Distance Cruise_Soft_Disable (#24474)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-31 19:33:27 -07:00
Adeeb Shihadeh 7fee45ad6c
Subaru: log EPS torque (#25304)
* Subaru: log EPS torque

* update refs
2022-07-28 16:42:42 -07:00
Igor Biletskyy 7700a6c1e6
body: bump opendbc (#25289) 2022-07-26 14:59:51 -07:00
Adeeb Shihadeh 49bd53549d
Chrysler: increase steering angle resolution (#25278) 2022-07-25 14:46:21 -07:00
Adeeb Shihadeh 0ca62bf7df
let can packer handle counter (#25240)
* let can packer handle counter

* diff is expected

* update refs

* clean that up

* bump opendbc

* fix sim
2022-07-21 20:54:53 -07:00
Adeeb Shihadeh 5f021ac1d6
Subaru: use CANPacker for counter (#25216)
* Subaru: use CANPacker for counter

* bump opendbc

* bump panda
2022-07-19 17:21:07 -07:00
Adeeb Shihadeh 44c6ca7eb4
EV6: reject fake cruise engagements (#25143)
* EV6: reject fake cruise engagements

* bump panda

* raise to 8

* update refs

* bump panda

Co-authored-by: Comma Device <device@comma.ai>
2022-07-12 18:23:48 -07:00
Adeeb Shihadeh d08a231774
Ship EV6 (#25095)
* Ship EV6

* bump opendbc
2022-07-08 22:46:20 -07:00
Adeeb Shihadeh f261b8a8c2
EV6: supress LFA (#25094)
* EV6: supress LFA

* bump panda
2022-07-08 22:09:37 -07:00
Adeeb Shihadeh 59c28611a4 bump opendbc 2022-07-05 23:01:57 -07:00
Adeeb Shihadeh 88a30004e0
Chrysler: prep for Ram port (#25040)
* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
2022-07-05 16:40:47 -07:00
Willem Melching 735387d5ee bump opendbc 2022-07-04 13:57:25 +02:00
realfast 38ff2982eb
Chrysler: carState signals update (#24760)
* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 17:27:35 -07:00
Shane Smiskol 75f5282e83
Chrysler: fix steering angle signals (#24926)
* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-28 14:19:17 -07:00
Adeeb Shihadeh 569a39ff76
CANParser: invalid until valid (#24945)
* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
2022-06-22 15:38:38 -07:00
Shane Smiskol fb949779ae
Chrysler: fill cruiseState.available (#24907)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-22 15:13:09 -07:00
Adeeb Shihadeh 28431f7ddd Revert "Chrysler: use unified signal definitions (#24895)"
This reverts commit 0f0b4cac89.
2022-06-19 14:07:19 -07:00
Shane Smiskol 0f0b4cac89
Chrysler: use unified signal definitions (#24895)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-18 17:15:45 -07:00
Shane Smiskol 1b0167ce24
Chrysler: use universal gas and brake signals (#24886)
* Chrysler_Update

* Update signal names

* bump panda

* bump submodules

* bump panda to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-16 22:34:07 -07:00
Shane Smiskol a9038bc3fd
bump opendbc (#24853) 2022-06-13 22:27:44 -07:00
Shane Smiskol e375087720
Honda carcontroller and signal cleanup (#24806)
* common signals

* move stopping

* space

* clean up

* bump opendbc
2022-06-11 00:14:58 -07:00
Shane Smiskol 60aa553b8c
Honda: use common imperial unit message (#24786)
* CAR_SPEED should be on all cars

* bump opendbc

* clean this up too

* it's an or

* clean up

* comment
2022-06-09 20:56:05 -07:00
Shane Smiskol 19af336f89
bump opendbc (#24790) 2022-06-08 21:07:49 -07:00
Adeeb Shihadeh 53a134f1c3
Kia EV6 (#24485)
* ev6 squash

* test route

* cleanup

* remove those

* resume spam

* setme

* more reliable button pressing

* new steer signals

* for now

* update docs
2022-05-23 19:16:17 -07:00
Adeeb Shihadeh 285bbe5283 bump opendbc 2022-05-19 00:45:04 -07:00
Adeeb Shihadeh e4f844cdd8 bump opendbc 2022-05-16 22:00:37 -07:00
Adeeb Shihadeh 59319759dd bump opendbc 2022-05-15 18:43:57 -07:00
Shane Smiskol 8572c6aee6
Update body test route (#24532)
* update body test route

* Revert "update body test route"

This reverts commit 7b918cb48b.

* bump opendbc

* Revert "Revert "update body test route""

This reverts commit d27276b834.
2022-05-13 19:33:46 -07:00
Shane Smiskol 11e1ad3e3f
bump opendbc and remove common file (#24529)
* bump and remove file

* bump opendbc to master
2022-05-13 15:32:09 -07:00
Willem Melching 6b0440f9c9
dbc regex, do not escape underscore (#24522)
* dbc regex, do not escape underscore

* bump opendbc
2022-05-13 13:53:38 +02:00
Shane Smiskol f9e2e82400
Dynamically parse DBCs (#24455)
* test commit

* bump

* bump

* doesn't work

* bump

* bump

* bump

* no more of these files

* bump

* bump opendbc

* bump

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* remove dbc_out

* bump opendbc to master

* bump opendbc
2022-05-12 21:19:33 -07:00
Adeeb Shihadeh 685802b860
test car models: stricter radar CAN error check (#24497)
* test routes: stricter radar CAN error check

* bump opendbc

* bump again
2022-05-11 16:30:26 -07:00
Shane Smiskol 75efad52ea
Chrysler: add ACC fault signal (#24398)
* add accFaulted event for Chrysler

* add the signal

* no class variables

* available when not 1

* revert

* bump opendbc to master

* if not 0
2022-05-07 01:00:43 -07:00
Shane Smiskol 17cb65c4b7
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
2022-04-20 22:28:56 -07:00
Adeeb Shihadeh 0cc162af62 bump submodules 2022-04-19 11:03:05 -07:00
Adeeb Shihadeh d2fec9ecfe bump opendbc 2022-04-16 14:58:56 -07:00
Adeeb Shihadeh 49c2164814
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
2022-04-12 22:58:34 -07:00
Shane Smiskol e8faf9f985
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 dfcbd20587.

* 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
2022-04-12 11:20:55 -07:00
Adeeb Shihadeh 69368cce54 bump opendbc 2022-04-08 22:11:27 -07:00
Adeeb Shihadeh 9ec0378842 bump opendbc 2022-04-06 21:57:26 -07:00
Igor Biletskyy 102738e4e0
body: add battery percentage and charger status to signals and opendbc (#24145)
* bump opendbc

* add signals

* bump opendbc
2022-04-06 00:07:36 -07:00
Igor Biletskyy 7df1c025ae
body: add crc and counter (#24120)
* add crc and counter for body

* add msg

* move counter

* whitespace

* ..

* bump opendbc

* update_refs
2022-04-04 19:19:30 -07:00
Igor Biletskyy f7e59b474c
bump panda and opendbc (#24095)
* bump opendbc

* bump panda
2022-03-31 12:50:17 -07:00
Igor Biletskyy 8a9f705959 bump opendbc 2022-03-30 21:35:15 -07:00
Igor Biletksyy c6e0f1a941 bump opendbc 2022-03-08 16:36:41 -08:00
Adeeb Shihadeh 1f66bc46b3
CAN FD support in packer + parser (#23877) 2022-02-28 09:32:54 -08:00
Shane Smiskol a1875ac6f0
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
2022-02-26 00:54:35 -08:00
Shane Smiskol 31228ce560
Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
2022-02-12 16:28:53 -08:00
Shane Smiskol 47211400f5
bump opendbc (#23741) 2022-02-10 20:59:02 -08:00
Shane Smiskol 209bfe536b
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>
2022-02-10 13:04:37 -08:00
Shane Smiskol b98b583cc6 bump opendbc 2022-02-01 00:31:01 -08:00
Shane Smiskol a584436328
Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
2022-01-28 22:26:18 -08:00
Shane Smiskol 220877fb60 bump 2022-01-27 17:02:43 -08:00
Adeeb Shihadeh 036c1799d4 Toyota: DBC rename 2022-01-27 11:44:57 -08:00
Adeeb Shihadeh 4c765acb6e Toyota: use common DBC for IS and RC 2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 9a211ee14b Toyota: remove Prius DBC 2022-01-27 08:59:16 -08:00
Adeeb Shihadeh 2f01bf3b6f Toyota: unify TNGA-K platform DBCs 2022-01-27 08:52:24 -08:00
Adeeb Shihadeh b321d65cac Toyota: CT200H DBC merged into Rav4 2022-01-27 08:43:40 -08:00
Adeeb Shihadeh 33c8468e02 Toyota: rav4 DBC is same as corolla now 2022-01-26 22:13:51 -08:00
Shane Smiskol 3c62d9da09
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 40b7b28f84.
2022-01-26 22:08:04 -08:00
Shane Smiskol 14133069e1
Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

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

* bump opendbc

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2022-01-24 20:51:57 -08:00
Adeeb Shihadeh b18c4eeb82
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
2022-01-24 15:43:10 -08:00
cydia2020 f85a75cf54
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>
2022-01-19 17:05:24 -08:00
cydia2020 783db0cf33
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>
2022-01-19 11:46:07 -08:00
cydia2020 f32f53540e
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>
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 22d6c054e3 bump opendbc 2022-01-18 19:34:40 -08:00
cydia2020 9f4fd73b52
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>
2022-01-13 19:37:39 -08:00
Adeeb Shihadeh 3816ecf642 bump opendbc 2022-01-12 10:45:11 -08:00
Shane Smiskol 0c075a66db
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>
2022-01-08 18:41:05 -08:00
martinl 345fe48338
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>
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh 007c8496db update opendbc 2021-12-01 17:35:32 -08:00
Adeeb Shihadeh 8b929f005a bump openbbc 2021-11-15 21:42:33 -08:00
Adeeb Shihadeh cbe76c80a6 bump opendbc 2021-11-07 16:28:13 -08:00
Adeeb Shihadeh 95cdc5e9df bump opendbc 2021-11-02 20:30:43 -07:00
Willem Melching caac4c9c44 bump submodules 2021-11-02 14:40:39 +01:00
Willem Melching 3469f0b2c4 bump opendbc 2021-11-01 12:00:05 +01:00
Willem Melching 63b85ca1e2 bump submodules 2021-10-27 11:57:31 +02:00
Willem Melching e0b88dfb63 bump opendbc 2021-10-26 14:49:41 +02:00
cydia2020 9a2ecec1a8
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>
2021-10-20 15:41:31 -07:00
Willem Melching 5f2d3d4f51 bump opendbc 2021-10-20 16:14:23 +02:00
Adeeb Shihadeh fbcb32969d bump opendbc 2021-10-19 21:55:38 -07:00
Robbe Derks 729e4fa63f bump opendbc 2021-10-12 22:33:51 +02:00
Willem Melching 26ce0fa0cb
Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
2021-10-04 18:42:06 +02:00
Adeeb Shihadeh a377fbe910 bump opendbc 2021-09-24 16:54:48 -07:00
Greg Hogan 3eac5fc177
hyundai: update radar message names (#22258) 2021-09-16 19:07:54 -07:00
Willem Melching 6fd980c63e
Hyundai radar parser (#22241)
* add radar parser for 0x5XX range

* fix speed

* enable based of fingerprint

* fix speed scale

* use proper signal names

* add to release files

* hyundai: script to enable radar points

* typo

* add comment

* fix tests

* cleanup

* add note about persistent

* Update selfdrive/car/hyundai/radar_interface.py

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

* fix bugs in hyundai enable radar points script

* accidentally removed comment

* add some other cars

* add cosine to dRel

* fw versions do not match openpilot

* bump opendbc

* include state 4

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-15 15:43:01 -07:00
Adeeb Shihadeh 2e2184186a bump opendbc 2021-09-14 23:09:17 -07:00
Adeeb Shihadeh 23ce2450e9 bump opendbc 2021-09-11 17:19:06 -07:00
Adeeb Shihadeh 835b66cd41 update release notes 2021-09-07 18:04:05 -07:00
martinl d32b1f703c
Subaru: replace stock LKAS alerts with openpilot's (#21993)
* Add stock LKAS alert filters and openpilot LKAS state indicator

* Update ES_LKAS_State signals

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-03 16:53:49 -07:00
martinl d3113fe01a
Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:21:35 -07:00
Adeeb Shihadeh b4e9ab9343
Update Honda HRV DBC (#22086)
* update honda hrv dbc

* fix release files
2021-08-30 22:14:35 -07:00
sshane 16e4f432bf
Toyota: handle models with permanent low speed lockout (#21512)
* ignore permanent low speed lockout

* should always check in case not seen

* use cp_cam

* not bus 0

* change signal name according to ref dbc

* bump

* we don't rely on this

* bump

* Revert "Toyota: debug logging for low speed lockout (#21526)"

This reverts commit 7f2ad50fed.

* add back

* always add

* pass acc_type through

* Update selfdrive/car/toyota/carstate.py

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

* Update selfdrive/car/toyota/carstate.py

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

* only update acc_type if not enableDsu

* only add when using

* only for openpilot long cars

* only seen TSS2

* add todo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-09 22:55:47 -07:00
Adeeb Shihadeh a816206581 bump opendbc 2021-07-07 13:14:58 -07:00
sshane 02772c69eb
Clean up Hyundai gear parsing (#21410)
* Use can definitions and refactor gear Hyundai parsing

* comment

* auto detect gearbox message

auto detect gearbox message

remove todos

remove todos

* comment

* Revert "comment"

This reverts commit 4b5129004e.

* Revert "auto detect gearbox message"

This reverts commit bcdf7c452d.

* no longer needed

* bump
2021-07-02 13:19:44 -07:00
Jason Young f86f344ba5
VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-13 22:21:23 -07:00
Adeeb Shihadeh 20b066a0cd bump opendbc 2021-06-09 19:20:41 -07:00
ShaneSmiskol e9e197eb3c
Merge Accord trims (#21105)
* Merge unique Accord 1.5 fw versions

* remove all instances of ACCORD_15

* bump opendbc and update dbcs

* Switch between gearbox messages by detecting presence of gearbox msg

* both accord (2t) and accord hybrid use the same gearbox, 1.5t is the outlier

* default to GEARBOX

* add old name to migration

* bump opendbc

* update refs

* change msg name, bump cereal

* Update selfdrive/test/test_routes.py

* update ref

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 13:35:23 -07:00
martinl 587060bd92
Subaru signals update (#20956)
* switch to opendbc subaru-signals-2021-05-19

* update carstate signals to match dbc, rename fake_button to cruise_button

* Revert "switch to opendbc subaru-signals-2021-05-19"

This reverts commit f88d6ddcf5.

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-18 19:39:09 -07:00
Adeeb Shihadeh 10e50f817c bump opendbc 2021-04-30 16:36:20 -07:00
Adeeb Shihadeh 6c7ed8f2e4
enforce message checks in can parser (#20742)
* enforce message checks in can parser

* nissan

* vw

* hkg

* subaru

* toyota

* honda bosch

* gm

* honda nidec

* bump opendbc

* not all tss2 have bsm

* toyota fixes

* honda fixes

* vw fix

* fix subaru

* fix long tests

* update refs

* crv bsm
2021-04-25 12:52:16 -07:00
Willem Melching 29f5248049 bump opendbc 2021-04-12 18:49:33 +02:00
vanillagorillaa 4f89f42d1b bump opendbc 2021-03-20 15:51:04 +00:00
Jason Young 1af35c3398
VW MQB: Updated message and signal data, round 2 (#20298)
* ACC_02 signal naming update

* Add conversion factor now that DBC scaling has changed

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-15 15:09:09 -07:00
Adeeb Shihadeh e8e2d40847 bump opendbc 2021-03-12 13:38:47 -08:00
Adeeb Shihadeh 20e6f6bd79
bump pycapnp version (#20326)
* bump pycapnp version

* bump cereal
2021-03-11 20:18:38 -08:00
Adeeb Shihadeh 645ae2c92e bump opendbc and cereal 2021-03-11 16:16:54 -08:00
Jason Young 042c877393
VW MQB: Updated message and signal data, round 1 (#20297)
* EPS_01 -> LH_EPS_03

* LDW_02 signal naming updates

* LDW_02 signal naming updates

* Copypasta repair

* New garbage, same as the old garbage

* Bump opendbc
2021-03-11 11:44:14 -08:00
Robbe Derks 88146c1db1 bump opendbc 2021-03-10 23:04:22 +01:00
Willem Melching 23c1257c67 bump opendbc 2021-03-09 16:36:09 +01:00
Adeeb Shihadeh e31336ed39 bump opendbc 2021-03-04 16:56:22 -08:00
Adeeb Shihadeh c46543a1c9 bump submodules 2021-02-19 20:57:56 -08:00
Adeeb Shihadeh 2d240717b3 bump opendbc 2021-01-30 18:23:19 -08:00
Greg Hogan f205f97be0
hyundai: support for controlling cruise speed via HDA (#19635) 2021-01-12 11:50:08 -08:00
Adeeb Shihadeh 9ca8f1a357 bump cereal and opendbc 2021-01-11 14:18:55 -08:00
Willem Melching bd8fbe15bf bump opendbc 2021-01-05 13:40:37 +01:00
Willem Melching d71fede2f9 Revert "bump opendbc"
This reverts commit 91efc11ee5.
2021-01-05 13:19:11 +01:00
Willem Melching 91efc11ee5 bump opendbc 2021-01-05 13:06:24 +01:00
Willem Melching fbc8fc53eb bump opendbc: add pacifica cruise state signal 2021-01-04 14:05:16 +01:00
Adeeb Shihadeh 61ec745ffc bump opendbc 2020-12-03 19:55:10 -08:00
Adeeb Shihadeh ca37feb6b1 bump opendbc + scons cleanup 2020-11-26 16:14:02 -08:00
Adeeb Shihadeh 719c5e3598
ubuntu 16.04 -> 20.04 (#2378) 2020-10-29 16:51:09 -07:00
Adeeb Shihadeh f163d5c1fd bump opendbc 2020-10-28 18:24:23 -07:00
Adeeb Shihadeh 6a840e7fae bump opendbc 2020-10-27 17:34:57 -07:00
Willem Melching 339d1967cb
--std=c++17 (#2330)
* switch to c++17

* more 17

* 1z

* use std::clamp

* Fix types in clamp

* bump submodules

* bump laika

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-17 13:33:12 -07:00
Adeeb Shihadeh 85a42ed12b bump opendbc 2020-10-11 13:30:13 -07:00
Adeeb Shihadeh be7cc63e3d bump submodules 2020-09-29 13:23:40 -07:00
Willem Melching 6cd475f9a2 bump opendbc 2020-09-16 11:40:57 +02:00
Willem Melching 9eca642c76 bump submodules 2020-09-09 17:41:17 +02:00
Adeeb Shihadeh 059a27d126
Update Hyundai DBC (#1968)
* update for new DBC update

* update to new DBC

* Ioniq uses SCC12. Ioniq EV lim uses FCA11

* update elect gear to EV_PC5 signal

* remove 'alt' from label

* revert

* update name to ev_pc5_gears

* update name to use_ev_pc5_gears

* Update values.py

* Update carstate.py

* bump opendbc

Co-authored-by: xps-genesis <65239463+xps-genesis@users.noreply.github.com>
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh 3eafa8d860 bump opendbc 2020-08-02 13:08:35 -07:00
Adeeb Shihadeh 58b167d75d bump opendbc 2020-08-02 00:00:19 -07:00