|
|
|
@ -651,12 +651,6 @@ class Controls: |
|
|
|
|
cloudlog.error(f"actuators.{p} not finite {actuators.to_dict()}") |
|
|
|
|
setattr(actuators, p, 0.0) |
|
|
|
|
|
|
|
|
|
# decrement personality on distance button press |
|
|
|
|
if self.CP.openpilotLongitudinalControl: |
|
|
|
|
if any(not be.pressed and be.type == ButtonType.gapAdjustCruise for be in CS.buttonEvents): |
|
|
|
|
self.personality = (self.personality - 1) % 3 |
|
|
|
|
self.params.put_nonblocking('LongitudinalPersonality', str(self.personality)) |
|
|
|
|
|
|
|
|
|
return CC, lac_log |
|
|
|
|
|
|
|
|
|
def publish_logs(self, CS, start_time, CC, lac_log): |
|
|
|
|