Skip to content

Commit

Permalink
Plane: Don't log PIDL messages
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and magicrub committed Oct 17, 2017
1 parent df80497 commit 615f6df
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ArduPlane/Log.cpp
Expand Up @@ -34,13 +34,6 @@ void Plane::Log_Write_Attitude(void)
DataFlash.Log_Write_PID(LOG_PIDP_MSG, pitchController.get_pid_info());
DataFlash.Log_Write_PID(LOG_PIDY_MSG, yawController.get_pid_info());
DataFlash.Log_Write_PID(LOG_PIDS_MSG, steerController.get_pid_info());
if (flight_stage == AP_Vehicle::FixedWing::FLIGHT_LAND) {
const DataFlash_Class::PID_Info *landing_info;
landing_info = landing.get_pid_info();
if (landing_info != nullptr) { // only log LANDING PID's while in landing
DataFlash.Log_Write_PID(LOG_PIDL_MSG, *landing_info);
}
}

#if AP_AHRS_NAVEKF_AVAILABLE
DataFlash.Log_Write_EKF(ahrs);
Expand Down

0 comments on commit 615f6df

Please sign in to comment.