Rover: Added dataflash logging of the steering PID.

This commit is contained in:
Grant Morphett 2015-06-18 17:34:58 +10:00 committed by Andrew Tridgell
parent a87e06e6c2
commit 268afc9d5a

View File

@ -321,6 +321,11 @@ void Rover::Log_Write_Attitude()
DataFlash.Log_Write_AHRS2(ahrs);
#endif
DataFlash.Log_Write_POS(ahrs);
#if HAL_CPU_CLASS > HAL_CPU_CLASS_16
DataFlash.Log_Write_PID(LOG_PIDY_MSG, steerController.get_pid_info());
#endif
}
struct PACKED log_Sonar {