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

* log torque lateral accel

* bump cereal

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9a44d4c4e0895f88dd5cd716ce3e2d6ebeab3457
This commit is contained in:
ntegan1
2022-05-03 17:18:46 -04:00
committed by GitHub
parent b9311fa3f4
commit af82274bac
3 changed files with 4 additions and 2 deletions
+1 -1
Submodule cereal updated: 3f8210d1fd...5935572cee
@@ -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
+1 -1
View File
@@ -1 +1 @@
7f1f4bd17965cc703b824ffb1870313bee93e2ec
70d79fbcc2b9ab0af867a7d6f138b58bcaaa3aa8