ardupilot/libraries/AP_Math
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
AP_Math_AVR_Compat.h AP_Math: fixed indent-tabs-mode 2013-05-30 09:51:51 +10:00
AP_Math.cpp AP_Math: Move simple math function implementations to header for better 2015-09-09 09:57:51 +10:00
AP_Math.h AP_Math: Move simple math function implementations to header for better 2015-09-09 09:57:51 +10:00
edc.cpp AP_MATH: Adding WGS GPS conversions, CRC16 checks, and double-precision Vectors and Matrices 2014-04-05 13:42:23 +11:00
edc.h AP_Math: standardize inclusion of libaries headers 2015-08-11 16:38:18 +10:00
keywords.txt Beginnings of a math library for ArduPilot(Mega) systems. 2010-09-08 08:21:46 +00:00
location.cpp AP_Math: remove duplicate RADIUS_OF_EARTH definition 2015-10-05 21:00:14 +09:00
matrix3.cpp AP_Math: added O3 optimisation to core math libraries 2015-10-20 14:36:53 +11:00
matrix3.h AP_Math: added euler312 functions (for gimbal) 2015-05-25 09:03:11 +10:00
matrix_alg.cpp AP_Math: added O3 optimisation to core math libraries 2015-10-20 14:36:53 +11:00
polygon.cpp uncrustify libraries/AP_Math/polygon.cpp 2012-08-21 19:03:34 -07:00
polygon.h uncrustify libraries/AP_Math/polygon.h 2012-08-21 19:03:34 -07:00
quaternion.cpp AP_Math: added O3 optimisation to core math libraries 2015-10-20 14:36:53 +11:00
quaternion.h AP_Math: use matrix3 euler312 operations in quaternion library 2015-05-25 09:08:31 +10:00
rotations.h AP_Math: change ROTATION_YAW_293_PITCH_68_ROLL_180 to ROLL_90 2015-01-02 17:15:18 +09:00
vector2.cpp AP_Math: added O3 optimisation to core math libraries 2015-10-20 14:36:53 +11:00
vector2.h Math: add Vector2 is_zero method 2015-09-16 15:10:25 +09:00
vector3.cpp AP_Math: added O3 optimisation to core math libraries 2015-10-20 14:36:53 +11:00
vector3.h AP_Math: compiler warning: is_zero special case for vector3.h in a template 2015-05-05 13:26:50 +10:00
vectorN.h AP_Math: Changes to fix the warnings in rover sitl build. 2015-02-11 18:16:46 +11:00