mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-06 00:36:29 +08:00
Addresses brake error review comment
old-commit-hash: e40c1611256fe95667ea35c4b648bf0bb520d673
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