From 53fb7b1e207417a28a4a8efaf2ed87496697d415 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Thu, 5 Sep 2024 14:03:39 +0100 Subject: [PATCH] Rover: log attitude target in degrees --- Rover/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rover/Log.cpp b/Rover/Log.cpp index 3490e2a703..f13ad700ad 100644 --- a/Rover/Log.cpp +++ b/Rover/Log.cpp @@ -7,8 +7,8 @@ // Write an attitude packet void Rover::Log_Write_Attitude() { - float desired_pitch_cd = degrees(g2.attitude_control.get_desired_pitch()) * 100.0f; - const Vector3f targets(0.0f, desired_pitch_cd, 0.0f); + float desired_pitch = degrees(g2.attitude_control.get_desired_pitch()); + const Vector3f targets(0.0f, desired_pitch, 0.0f); ahrs.Write_Attitude(targets);