diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 63f238f2d7..335b4bcc9d 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -75,9 +75,7 @@ void Copter::Log_Write_Control_Tuning() // Write an attitude packet void Copter::Log_Write_Attitude() { - Vector3f targets = attitude_control->get_att_target_euler_cd(); - targets.z = wrap_360_cd(targets.z); - ahrs.Write_Attitude(targets); + ahrs.Write_Attitude(attitude_control->get_att_target_euler_rad() * RAD_TO_DEG); ahrs_view->Write_Rate(*motors, *attitude_control, *pos_control); }