AP_AHRS: avoid use of AP_Motors include in header

This commit is contained in:
Peter Barker 2024-03-08 10:29:51 +11:00 committed by Andrew Tridgell
parent 47d4451370
commit 8d2109faec
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,6 @@
*/
#include "AP_AHRS.h"
#include <AP_Motors/AP_Motors.h>
// fwd declarations to avoid include errors
class AC_AttitudeControl;
@ -175,8 +174,9 @@ public:
// Logging Functions
void Write_AttitudeView(const Vector3f &targets) const;
void Write_Rate( const AP_Motors &motors, const AC_AttitudeControl &attitude_control,
const AC_PosControl &pos_control) const;
void Write_Rate(const class AP_Motors &motors,
const class AC_AttitudeControl &attitude_control,
const AC_PosControl &pos_control) const;
float roll;
float pitch;