Browse Source

Copter: Log_Write_Attitude yaw as 0 to 36000

master
Randy Mackay 10 years ago
parent
commit
ec298fb508
  1. 1
      ArduCopter/Log.cpp

1
ArduCopter/Log.cpp

@ -357,6 +357,7 @@ void Copter::Log_Write_Performance() @@ -357,6 +357,7 @@ void Copter::Log_Write_Performance()
void Copter::Log_Write_Attitude()
{
Vector3f targets = attitude_control.angle_ef_targets();
targets.z = wrap_360_cd_float(targets.z);
DataFlash.Log_Write_Attitude(ahrs, targets);
#if OPTFLOW == ENABLED

Loading…
Cancel
Save