mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-03 06:03:52 +08:00
Addresses brake error review comment
This commit is contained in:
@@ -183,8 +183,7 @@ class CarController(object):
|
||||
print "STEER ERROR"
|
||||
self.controls_allowed = False
|
||||
|
||||
# crvtodo, fix brake error, might be issue with dbc.
|
||||
if CS.brake_error and not CS.crv:
|
||||
if CS.brake_error:
|
||||
print "BRAKE ERROR"
|
||||
self.controls_allowed = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user