Skip to content

Toyota: find bit for sterring assist active icon #1

@cydia2020

Description

@cydia2020

On stock, when LKA SA is active, an icon will pop up on the dash indicating this. Find this bit.
Todo:

  • Isolate bit
  • Test in openpilot, illuminate icon when lat is active

Signals to be checked (not exhaustive):

  • SG_ LKASPCND : 23|3@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG1 : 29|1@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG2 : 28|3@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG3 : 27|3@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG4 : 26|3@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG5 : 25|3@0+ (1,0) [0|0] "" Vector__XXX
  • SG_ NEW_SIG6 : 24|3@0+ (1,0) [0|0] "" Vector__XXX

Furthermore, there could be inaccuracies in previous attempts at reverse engineering, also test these:

  • SG_ LKACAMT : 13|1@0+ (1,0) [0|0] "" Vector__XXX (this is adjusting camera in upstream, but test again)
  • SG_ SWSFLD : 53|3@0+ (1,0) [0|0] "" Vector__XXX (we know this disables SWS, test other values)
  • SG_ LKATUCT : 14|1@0+ (1,0) [0|0] "" Vector__XXX (seems to be related to bit 13, observe behaviour)

TUCT is present in both PCS and LDA, maybe it's something they share, perhaps over temperature?

All the unknown bits are tested, none correlates with the steering wheel icon, maybe it's sent by something else.

from leaked dbc:

BO_ 1042 DS12F03: 8 FCM
 SG_ LKAINDI : 7|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKAWLSL : 5|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKAWLSR : 3|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKAFCT : 15|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKATUCT : 14|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKACAMT : 13|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LDWEXIST : 10|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKASPCND : 23|3@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKAWTCS : 18|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LKASAUT : 16|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LDWBZ : 32|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LDAFCVB : 47|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ LDARDA : 46|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ SWSSENSD : 45|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ SWSSWD : 43|1@0+ (1,0) [0|0] "" Vector__XXX
 SG_ SWSRAD : 55|2@0+ (1,0) [0|0] "" Vector__XXX
 SG_ SWSFLD : 53|3@0+ (1,0) [0|0] "" Vector__XXX
 SG_ SWSBUZ : 50|2@0+ (1,0) [0|0] "" Vector__XXX

what we have now:

BO_ 1042 LKAS_HUD: 8 DSU
 SG_ BARRIERS : 1|2@0+ (1,0) [0|3] "" XXX
 SG_ RIGHT_LINE : 3|2@0+ (1,0) [0|3] "" XXX
 SG_ LEFT_LINE : 5|2@0+ (1,0) [0|3] "" XXX
 SG_ LKAS_STATUS : 7|2@0+ (1,0) [0|3] "" XXX
 SG_ LDA_ALERT : 9|2@0+ (1,0) [0|3] "" XXX
 SG_ LDW_EXIST : 10|1@0+ (1,0) [0|1] "" XXX
 SG_ TWO_BEEPS : 12|1@0+ (1,0) [0|1] "" XXX
 SG_ ADJUSTING_CAMERA : 13|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_UNAVAILABLE_QUIET : 14|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_MALFUNCTION : 15|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_UNAVAILABLE : 16|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_SENSITIVITY : 18|2@0+ (1,0) [0|3] "" XXX
 SG_ LDA_SA_TOGGLE : 20|2@0+ (1,0) [0|3] "" XXX
 SG_ LDA_SPEED_TOO_LOW : 21|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_ON_MESSAGE : 31|2@0+ (1,0) [0|3] "" XXX
 SG_ REPEATED_BEEPS : 32|1@0+ (1,0) [0|1] "" XXX
 SG_ LANE_SWAY_TOGGLE : 43|1@0+ (1,0) [0|1] "" XXX
 SG_ LANE_SWAY_SENSITIVITY : 45|2@0+ (1,0) [0|3] "" XXX
 SG_ TAKE_CONTROL : 46|1@0+ (1,0) [0|1] "" XXX
 SG_ LDA_FRONT_CAMERA_BLOCKED : 47|1@0+ (1,0) [0|1] "" XXX
 SG_ LANE_SWAY_BUZZER : 50|2@0+ (1,0) [0|0] "" XXX
 SG_ LANE_SWAY_FLD : 53|3@0+ (1,0) [0|7] "" XXX
 SG_ LANE_SWAY_WARNING : 55|2@0+ (1,0) [0|3] "" XXX
 SG_ SET_ME_X01 : 42|1@0+ (1,0) [0|1] "" XXX
 SG_ SET_ME_X02 : 63|8@0+ (1,0) [0|1] "" XXX

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions