Skip to content

Commit 37839ea

Browse files
jyoung8607sshane
andauthored
controls: publish current curvature in CarControl (#34679)
* controls: publish current curvature in CarControl * clean up * update refs --------- Co-authored-by: Shane Smiskol <[email protected]>
1 parent 362ddfc commit 37839ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

selfdrive/controls/controlsd.py

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def publish(self, CC, lac_log):
141141

142142
# Orientation and angle rates can be useful for carcontroller
143143
# Only calibrated (car) frame is relevant for the carcontroller
144+
CC.currentCurvature = self.curvature
144145
if self.calibrated_pose is not None:
145146
CC.orientationNED = self.calibrated_pose.orientation.xyz.tolist()
146147
CC.angularVelocity = self.calibrated_pose.angular_velocity.xyz.tolist()
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fcc771b9ceb487a61035885acbd84e592fb316bf
1+
4c7ac1a362933af9d97697979162087c1ab2584b

0 commit comments

Comments
 (0)