Skip to content

Fixes and new message for VW MQB, fix for Accord Touring - #193

Merged
rbiasini merged 33 commits into
commaai:masterfrom
jyoung8607:accord-touring-fix
Oct 17, 2019
Merged

rbiasini merged 33 commits into
commaai:masterfrom
jyoung8607:accord-touring-fix

Conversation

@jyoung8607

Copy link
Copy Markdown
Collaborator

Add a new MQB message to detect gearshift position for the Volkswagen e-Golf, which doesn't have a traditional gearbox and therefore doesn't have the signal we usually listen for.

As part of the VW CRC work, our updated/refactored DBC processor in commaai/openpilot#836 correctly spots a problem in the 2016 Accord Touring DBC. Two checksum signals were incorrectly marked as little-endian when they should be big. In fact, the start bits were already set to the big-endian side, so I'm not sure how this even worked before.

While I'm in the neighborhood, quit throwing stones from my glass house and fix byte order issues with certain other homebrewed VW MQB signals. No functional issues here, just cleanliness and clarity.

jyoung8607 and others added 30 commits August 1, 2019 10:05
# Conflicts:
#	vw_golf_mk4.dbc
#	vw_mqb_2010.dbc
Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.
# Conflicts:
#	vw_golf_mk4.dbc
#	vw_mqb_2010.dbc
* Update ACC_02.SetSpeed to use a more accurate m/s formula instead of kmh

* Fixes to LWI vs EPS calculations for steering angles, clarify descriptions of each.

* Endianness fixes

* Add ESP_15 and PSD_04/05/06

* Testing PSD interpretation

* Correct message info for ESP_08

* Additional authoritative message names and IDs

* OpenDBC updates

* OpenDBC updates

* DBC cleanup, CRC support, restore VIN_01 mux lost during Cabana editing.

* Add the PQ heading control assist message.

* Add a pointer to the VIN_1 mux.

* Add comment about rate-limiting on Getriebe_11 counter signal.

* Rename CRC->CHECKSUM for upstream of a minimum viable VW port.

Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.
* Add 581 for ISH gas pedal signal

* Add STEER_ANGLE in 608 STEER_TORQUE_SENSOR (similar to TSS2)

* Change STEER_TORQUE_EPS factor in 608 STEER_TORQUE_SENSOR to 1.0

* Re-generate lexus_is_2018

* reduce factor to 0.77
* Create luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc
# Conflicts:
#	vw_mqb_2010.dbc
SG_ WIPERS_SPEED : 4|2@0+ (1,0) [0|3] "" NEO
SG_ COUNTER : 61|2@0+ (1,0) [0|3] "" XXX
SG_ CHECKSUM : 59|4@1+ (1,0) [0|15] "" XXX
SG_ CHECKSUM : 59|4@0+ (1,0) [0|15] "" XXX

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@rbiasini
rbiasini merged commit c516316 into commaai:master Oct 17, 2019
@jyoung8607
jyoung8607 deleted the accord-touring-fix branch March 30, 2020 23:56
eli-davis pushed a commit to eli-davis/opendbc_reference that referenced this pull request Jul 15, 2025
* Update ACC_02.SetSpeed to use a more accurate m/s formula instead of kmh

* Fixes to LWI vs EPS calculations for steering angles, clarify descriptions of each.

* Endianness fixes

* Add ESP_15 and PSD_04/05/06

* Testing PSD interpretation

* Correct message info for ESP_08

* Additional authoritative message names and IDs

* OpenDBC updates

* OpenDBC updates

* DBC cleanup, CRC support, restore VIN_01 mux lost during Cabana editing.

* Add the PQ heading control assist message.

* OpenDBC updates

* Add a pointer to the VIN_1 mux.

* Probable EPS_1 message

* Add comment about rate-limiting on Getriebe_11 counter signal.

* Rename CRC->CHECKSUM for upstream of a minimum viable VW port.

Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.

* OpenDBC updates

* OpenDBC updates

* Probable EPS_1 message

* Updates for Volkswagen support (commaai#191)

* Update ACC_02.SetSpeed to use a more accurate m/s formula instead of kmh

* Fixes to LWI vs EPS calculations for steering angles, clarify descriptions of each.

* Endianness fixes

* Add ESP_15 and PSD_04/05/06

* Testing PSD interpretation

* Correct message info for ESP_08

* Additional authoritative message names and IDs

* OpenDBC updates

* OpenDBC updates

* DBC cleanup, CRC support, restore VIN_01 mux lost during Cabana editing.

* Add the PQ heading control assist message.

* Add a pointer to the VIN_1 mux.

* Add comment about rate-limiting on Getriebe_11 counter signal.

* Rename CRC->CHECKSUM for upstream of a minimum viable VW port.

Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.

* Lexus is adjustment (commaai#192)

* Add 581 for ISH gas pedal signal

* Add STEER_ANGLE in 608 STEER_TORQUE_SENSOR (similar to TSS2)

* Change STEER_TORQUE_EPS factor in 608 STEER_TORQUE_SENSOR to 1.0

* Re-generate lexus_is_2018

* reduce factor to 0.77

* Fix steer angle factor for toyota

* OpenDBC updates

* Create luxgen_s5_2014.dbc (commaai#101)

* Create luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc

* fixed to luxgen dbc file

* EV_Gearshift message

* EV_Gearshift message for e-Golf support without a separate gearbox.

* Corrected byte order on two signals.

* Corrected byte order on several homebrewed VW MQB signals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants