mirror of https://github.com/ArduPilot/ardupilot
Filter: remove unnecessary includes from examples
This commit is contained in:
parent
8e1e77007e
commit
d32207008d
|
@ -2,14 +2,7 @@
|
|||
* Example sketch to demonstrate use of DerivativeFilter library.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_Progmem/AP_Progmem.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL_AVR/AP_HAL_AVR.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <StorageManager/StorageManager.h>
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include <Filter/Filter.h>
|
||||
#include <Filter/DerivativeFilter.h>
|
||||
|
||||
|
|
|
@ -3,15 +3,7 @@
|
|||
* Code by Randy Mackay and Jason Short. DIYDrones.com
|
||||
*/
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_Progmem/AP_Progmem.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL_AVR/AP_HAL_AVR.h>
|
||||
#include <AP_HAL_PX4/AP_HAL_PX4.h>
|
||||
#include <AP_HAL_Empty/AP_HAL_Empty.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <StorageManager/StorageManager.h>
|
||||
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
|
||||
#include <Filter/Filter.h> // Filter library
|
||||
#include <Filter/ModeFilter.h> // ModeFilter class (inherits from Filter class)
|
||||
#include <Filter/AverageFilter.h> // AverageFilter class (inherits from Filter class)
|
||||
|
|
|
@ -3,13 +3,7 @@
|
|||
* Code by Randy Mackay. DIYDrones.com
|
||||
*/
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_Progmem/AP_Progmem.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL_AVR/AP_HAL_AVR.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <StorageManager/StorageManager.h>
|
||||
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
|
||||
#include <Filter/Filter.h> // Filter library
|
||||
#include <Filter/LowPassFilter.h> // LowPassFilter class (inherits from Filter class)
|
||||
|
||||
|
|
|
@ -3,15 +3,7 @@
|
|||
* Code by Randy Mackay and Andrew Tridgell
|
||||
*/
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_Progmem/AP_Progmem.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL_AVR/AP_HAL_AVR.h>
|
||||
#include <AP_HAL_PX4/AP_HAL_PX4.h>
|
||||
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <StorageManager/StorageManager.h>
|
||||
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
|
||||
#include <Filter/Filter.h> // Filter library
|
||||
#include <Filter/LowPassFilter2p.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue