mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 07:13:41 +08:00
pass yaw directly
This commit is contained in:
@@ -197,6 +197,7 @@ class Controls(ControlsExt, ModelStateBase):
|
||||
CC.rollCompensation = self.roll_compensation
|
||||
|
||||
if self.calibrated_pose is not None:
|
||||
CC.yawRate = self.calibrated_pose.angular_velocity.yaw
|
||||
CC.orientationNED = self.calibrated_pose.orientation.xyz.tolist()
|
||||
CC.angularVelocity = self.calibrated_pose.angular_velocity.xyz.tolist()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user