ardupilot/libraries/Filter
Caio Marcelo de Oliveira Filho 2e464a53c2 AP_HAL: make code not depend on concrete HAL implementations
The switching between different AP_HAL was happening by giving different
definitions of AP_HAL_BOARD_DRIVER, and the programs would use it to
instantiate.

A program or library code would have to explicitly include (and depend)
on the concrete implementation of the HAL, even when using it only via
interface.

The proposed change move this dependency to be link time. There is a
AP_HAL::get_HAL() function that is used by the client code. Each
implementation of HAL provides its own definition of this function,
returning the appropriate concrete instance.

Since this replaces the job of AP_HAL_BOARD_DRIVER, the definition was
removed.

The static variables for PX4 and VRBRAIN were named differently to avoid
shadowing the extern symbol 'hal'.
2015-10-21 09:16:07 +11:00
..
examples AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AverageFilter.h libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
Butter.h Filter: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
DerivativeFilter.cpp Filter: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
DerivativeFilter.h DerivativeFilter: update and slope non-virtual 2014-02-10 20:47:02 +09:00
Filter.h Filter: added 2nd-order butterworth filters. 2013-01-14 19:18:47 -08:00
FilterClass.h libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
FilterWithBuffer.h FilterWithBuffer: make get_sample non-virtual 2014-02-10 20:47:00 +09:00
keywords.txt Filter - added AverageFilter, removed SumFilter 2012-02-28 21:01:11 +09:00
LowPassFilter2p.cpp Filter: Template implementation for <Filter> 2015-08-23 11:17:02 +10:00
LowPassFilter2p.h Filter: Template implementation for <Filter> 2015-08-23 11:17:02 +10:00
LowPassFilter.cpp Filter: Template implementation for <Filter> 2015-08-23 11:17:02 +10:00
LowPassFilter.h Filter: Template implementation for <Filter> 2015-08-23 11:17:02 +10:00
ModeFilter.h libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00