mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
fix carcontroller.py
This commit is contained in:
@@ -108,7 +108,7 @@ class CarController(CarControllerBase):
|
||||
can_sends.extend(mazdacan.create_steering_control(self.packer, self.CP,
|
||||
self.frame, apply_steer, CS.cam_lkas))
|
||||
|
||||
new_actuators = CC.actuators
|
||||
new_actuators = CC.actuators.as_builder()
|
||||
new_actuators.steer = apply_steer / self.ccp.STEER_MAX
|
||||
new_actuators.steerOutputCan = apply_steer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user