mirror of https://github.com/ArduPilot/ardupilot
AP_Module: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
This commit is contained in:
parent
42282dab65
commit
e19ae3ec01
|
@ -17,6 +17,8 @@
|
|||
|
||||
#if AP_MODULE_SUPPORTED
|
||||
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
|
||||
/*
|
||||
support for external modules
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#if AP_MODULE_SUPPORTED
|
||||
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
#include <AP_Math/vector3.h>
|
||||
|
||||
#ifndef AP_MODULE_DEFAULT_DIRECTORY
|
||||
#define AP_MODULE_DEFAULT_DIRECTORY "/usr/lib/ardupilot/modules"
|
||||
|
@ -48,7 +48,7 @@ public:
|
|||
static void call_hook_setup_complete(void);
|
||||
|
||||
// call any AHRS_update hooks
|
||||
static void call_hook_AHRS_update(const AP_AHRS &ahrs);
|
||||
static void call_hook_AHRS_update(const class AP_AHRS &ahrs);
|
||||
|
||||
// call any gyro_sample hooks
|
||||
static void call_hook_gyro_sample(uint8_t instance, float dt, const Vector3f &gyro);
|
||||
|
|
Loading…
Reference in New Issue