|
|
@ -14,6 +14,8 @@ def create_pscm_status(packer, pscm_status): |
|
|
|
values["LKATotalTorqueDelivered"] = 0 |
|
|
|
values["LKATotalTorqueDelivered"] = 0 |
|
|
|
values["LKATorqueDeliveredStatus"] = 0 |
|
|
|
values["LKATorqueDeliveredStatus"] = 0 |
|
|
|
values["LKATorqueDelivered"] = 0 |
|
|
|
values["LKATorqueDelivered"] = 0 |
|
|
|
|
|
|
|
# TODO: see if this works instead |
|
|
|
|
|
|
|
# values["HandsOffSWlDetectionStatus"] = 1 |
|
|
|
return packer.make_can_msg("PSCMStatus", 2, values) |
|
|
|
return packer.make_can_msg("PSCMStatus", 2, values) |
|
|
|
|
|
|
|
|
|
|
|
def create_steering_control(packer, bus, apply_steer, idx, lkas_active): |
|
|
|
def create_steering_control(packer, bus, apply_steer, idx, lkas_active): |
|
|
|