Plane: log roll and pitch PIDs

This commit is contained in:
Andrew Tridgell 2015-05-23 07:39:50 +10:00
parent 216a78a9f0
commit c31da93726

View File

@ -168,6 +168,8 @@ void Plane::Log_Write_Attitude(void)
targets.z = 0; //Plane does not have the concept of navyaw. This is a placeholder.
DataFlash.Log_Write_Attitude(ahrs, targets);
DataFlash.Log_Write_PID(LOG_PIDR_MSG, rollController.get_pid_info());
DataFlash.Log_Write_PID(LOG_PIDP_MSG, pitchController.get_pid_info());
#if AP_AHRS_NAVEKF_AVAILABLE
#if OPTFLOW == ENABLED