LatControlTorque: log desired/actual lateral accel (#24406)

* log torque lateral accel

* bump cereal

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
This commit is contained in:
ntegan1
2022-05-03 17:18:46 -04:00
committed by GitHub
parent 986a991a09
commit 9a44d4c4e0
3 changed files with 4 additions and 2 deletions

2
cereal

Submodule cereal updated: 3f8210d1fd...5935572cee

View File

@@ -73,6 +73,8 @@ class LatControlTorque(LatControl):
pid_log.f = self.pid.f
pid_log.output = -output_torque
pid_log.saturated = self._check_saturation(self.steer_max - abs(output_torque) < 1e-3, CS)
pid_log.actualLateralAccel = actual_lateral_accel
pid_log.desiredLateralAccel = desired_lateral_accel
# TODO left is positive in this convention
return -output_torque, 0.0, pid_log

View File

@@ -1 +1 @@
7f1f4bd17965cc703b824ffb1870313bee93e2ec
70d79fbcc2b9ab0af867a7d6f138b58bcaaa3aa8