|
|
|
@ -54,7 +54,7 @@ public:
@@ -54,7 +54,7 @@ public:
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/// Constructor
|
|
|
|
|
AC_WPNav(const AP_InertialNav& inav, const AP_AHRS& ahrs, AC_PosControl& pos_control, const AC_AttitudeControl& attitude_control); |
|
|
|
|
AC_WPNav(const AP_InertialNav& inav, const AP_AHRS_View& ahrs, AC_PosControl& pos_control, const AC_AttitudeControl& attitude_control); |
|
|
|
|
|
|
|
|
|
/// provide pointer to terrain database
|
|
|
|
|
void set_terrain(AP_Terrain* terrain_ptr) { _terrain = terrain_ptr; } |
|
|
|
@ -308,7 +308,7 @@ protected:
@@ -308,7 +308,7 @@ protected:
|
|
|
|
|
|
|
|
|
|
// references and pointers to external libraries
|
|
|
|
|
const AP_InertialNav& _inav; |
|
|
|
|
const AP_AHRS& _ahrs; |
|
|
|
|
const AP_AHRS_View& _ahrs; |
|
|
|
|
AC_PosControl& _pos_control; |
|
|
|
|
const AC_AttitudeControl& _attitude_control; |
|
|
|
|
AP_Terrain *_terrain = nullptr; |
|
|
|
|