Andrew Tridgell
7d48b25207
AP_Module: use ifdef in function, not caller
...
suggestion by Lucas
2016-07-14 13:39:48 +10:00
Andrew Tridgell
5ce472ab8a
AP_Module: changed hook prefix to ap_hook_
2016-07-14 13:39:47 +10:00
Andrew Tridgell
e8d8ca5eef
AP_Module: updated example module
2016-07-14 13:39:47 +10:00
Andrew Tridgell
f29323871f
AP_Module: added default module directory
2016-07-14 13:39:47 +10:00
Andrew Tridgell
6b6a02e67e
AP_Module: also allow export of raw gyro and accel samples
...
allows for oversampling in image correction
2016-07-14 13:39:46 +10:00
Andrew Tridgell
7a2d67bde9
AP_Module: added AP_MODULE_SUPPORTED define
2016-07-14 13:39:46 +10:00
Andrew Tridgell
bd00beaf99
AP_Module: added external module hook library
...
this allows for external modules to be called at defined hook
locations in ArduPilot. The initial example is a module that consumes
the AHRS state, but this can be generalised to a wide variety of hooks
2016-07-14 13:39:46 +10:00