CarController: log steer sent to the car (#26743)

* log value sent to the car

* rename

* bump

* Update ref_commit
old-commit-hash: f36a3664b0
taco
Shane Smiskol 2 years ago committed by GitHub
parent 71f8754c86
commit ec9060c7ba
  1. 2
      cereal
  2. 1
      selfdrive/car/body/carcontroller.py
  3. 1
      selfdrive/car/chrysler/carcontroller.py
  4. 1
      selfdrive/car/gm/carcontroller.py
  5. 1
      selfdrive/car/honda/carcontroller.py
  6. 1
      selfdrive/car/hyundai/carcontroller.py
  7. 1
      selfdrive/car/mazda/carcontroller.py
  8. 1
      selfdrive/car/subaru/carcontroller.py
  9. 1
      selfdrive/car/toyota/carcontroller.py
  10. 1
      selfdrive/car/volkswagen/carcontroller.py
  11. 2
      selfdrive/test/process_replay/ref_commit

@ -1 +1 @@
Subproject commit eaf962bcebee713d26008db30d95c6a713e9fc59
Subproject commit 439429cad4d1e2ab874520cb5d4db8b8d978cbde

@ -85,6 +85,7 @@ class CarController:
new_actuators = CC.actuators.copy()
new_actuators.accel = torque_l
new_actuators.steer = torque_r
new_actuators.steerOutputCan = torque_r
self.frame += 1
return new_actuators, can_sends

@ -78,5 +78,6 @@ class CarController:
new_actuators = CC.actuators.copy()
new_actuators.steer = self.apply_steer_last / self.params.STEER_MAX
new_actuators.steerOutputCan = self.apply_steer_last
return new_actuators, can_sends

@ -158,6 +158,7 @@ class CarController:
new_actuators = actuators.copy()
new_actuators.steer = self.apply_steer_last / self.params.STEER_MAX
new_actuators.steerOutputCan = self.apply_steer_last
new_actuators.gas = self.apply_gas
new_actuators.brake = self.apply_brake

@ -262,6 +262,7 @@ class CarController:
new_actuators.gas = self.gas
new_actuators.brake = self.brake
new_actuators.steer = self.last_steer
new_actuators.steerOutputCan = apply_steer
self.frame += 1
return new_actuators, can_sends

@ -186,6 +186,7 @@ class CarController:
new_actuators = actuators.copy()
new_actuators.steer = apply_steer / self.params.STEER_MAX
new_actuators.steerOutputCan = apply_steer
new_actuators.accel = accel
self.frame += 1

@ -59,6 +59,7 @@ class CarController:
new_actuators = CC.actuators.copy()
new_actuators.steer = apply_steer / CarControllerParams.STEER_MAX
new_actuators.steerOutputCan = apply_steer
self.frame += 1
return new_actuators, can_sends

@ -87,6 +87,7 @@ class CarController:
new_actuators = actuators.copy()
new_actuators.steer = self.apply_steer_last / self.p.STEER_MAX
new_actuators.steerOutputCan = self.apply_steer_last
self.frame += 1
return new_actuators, can_sends

@ -158,6 +158,7 @@ class CarController:
new_actuators = actuators.copy()
new_actuators.steer = apply_steer / CarControllerParams.STEER_MAX
new_actuators.steerOutputCan = apply_steer
new_actuators.accel = self.accel
new_actuators.gas = self.gas

@ -107,6 +107,7 @@ class CarController:
new_actuators = actuators.copy()
new_actuators.steer = self.apply_steer_last / self.CCP.STEER_MAX
new_actuators.steerOutputCan = self.apply_steer_last
self.gra_acc_counter_last = CS.gra_stock_values["COUNTER"]
self.frame += 1

@ -1 +1 @@
f17412941a0e8229eea308c33189a5bdb1a17ae8
9876d91c77d3f7611398c43c4d79237cadb01c9c

Loading…
Cancel
Save