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

* log value sent to the car

* rename

* bump

* Update ref_commit
old-commit-hash: f36a3664b056a3500b68f4b5d7955b13bc8d0e4c
This commit is contained in:
Shane Smiskol
2022-12-10 02:03:40 -08:00
committed by GitHub
parent 71f8754c86
commit ec9060c7ba
11 changed files with 11 additions and 2 deletions
+1 -1
Submodule cereal updated: eaf962bceb...439429cad4
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
View File
@@ -1 +1 @@
f17412941a0e8229eea308c33189a5bdb1a17ae8
9876d91c77d3f7611398c43c4d79237cadb01c9c