* use standard ui command, looks no different before and after.

This commit is contained in:
Rick Lan
2018-08-30 20:26:09 +10:00
parent bc81560e3b
commit c5d2d2ea5f
2 changed files with 4 additions and 8 deletions
+4 -4
View File
@@ -115,10 +115,10 @@ BO_ 1042 LKAS_HUD: 8 XXX
SG_ ADJUSTING_CAMERA : 13|1@0+ (1,0) [0|1] "" XXX
SG_ LDA_MALFUNCTION : 15|1@0+ (1,0) [0|1] "" XXX
SG_ REPEATED_BEEPS : 32|1@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X0A : 23|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X29 : 47|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X08 : 55|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X03 : 63|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X0C : 23|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X2C : 47|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X38 : 55|8@0+ (1,0) [0|1] "" XXX
SG_ SET_ME_X02 : 63|8@0+ (1,0) [0|1] "" XXX
BO_ 1553 UI_SEETING: 8 XXX
SG_ UNITS : 26|2@0+ (1,0) [0|3] "" XXX
-4
View File
@@ -99,9 +99,5 @@ def create_ui_command(packer, steer, sound1, sound2):
"REPEATED_BEEPS": sound1,
"TWO_BEEPS": sound2,
"LDA_ALERT": steer,
"SET_ME_X0A": 0x0a,
"SET_ME_X29": 0x29,
"SET_ME_X08": 0x08,
"SET_ME_X03": 0x03,
}
return packer.make_can_msg("LKAS_HUD", 0, values)