wip
This commit is contained in:
@@ -285,6 +285,8 @@ class CarState(CarStateBase):
|
||||
# test if this blocks trying to engage while pressin brakes
|
||||
if self.main_buttons[-1] != 0 and ret.brakePressed and self.main_enabled == False:
|
||||
self.main_buttons[-1] = 0
|
||||
# Suprisingly this works. Test with op long and submit.
|
||||
|
||||
# But enable always on lateral if self.main_enabled = false
|
||||
# I think this may require an override variable?
|
||||
# It looks like always on lat is only set when cruise control is enabled
|
||||
|
||||
@@ -169,9 +169,10 @@ def create_acc_control(packer, CAN, enabled, accel_last, accel, stopping, gas_ov
|
||||
|
||||
return packer.make_can_msg("SCC_CONTROL", CAN.ECAN, values)
|
||||
|
||||
|
||||
# Disabled blinker messages
|
||||
def create_spas_messages(packer, CAN, frame, left_blink, right_blink):
|
||||
ret = []
|
||||
return ret
|
||||
|
||||
values = {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user