mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
controls: publish current curvature in CarControl (#34679)
* controls: publish current curvature in CarControl * clean up * update refs --------- Co-authored-by: Shane Smiskol <shane@smiskol.com>
This commit is contained in:
@@ -141,6 +141,7 @@ class Controls:
|
||||
|
||||
# Orientation and angle rates can be useful for carcontroller
|
||||
# Only calibrated (car) frame is relevant for the carcontroller
|
||||
CC.currentCurvature = self.curvature
|
||||
if self.calibrated_pose is not None:
|
||||
CC.orientationNED = self.calibrated_pose.orientation.xyz.tolist()
|
||||
CC.angularVelocity = self.calibrated_pose.angular_velocity.xyz.tolist()
|
||||
|
||||
@@ -1 +1 @@
|
||||
fcc771b9ceb487a61035885acbd84e592fb316bf
|
||||
4c7ac1a362933af9d97697979162087c1ab2584b
|
||||
Reference in New Issue
Block a user