Browse Source

AP_AHRS: remove optical flow pointer from AP_AHRS

Nothing was ever using it.
zr-v5.1
Peter Barker 4 years ago committed by Peter Barker
parent
commit
e141578376
  1. 11
      libraries/AP_AHRS/AP_AHRS.h

11
libraries/AP_AHRS/AP_AHRS.h

@ -116,14 +116,6 @@ public: @@ -116,14 +116,6 @@ public:
return _compass;
}
void set_optflow(const OpticalFlow *optflow) {
_optflow = optflow;
}
const OpticalFlow* get_optflow() const {
return _optflow;
}
// allow for runtime change of orientation
// this makes initial config easier
void update_orientation();
@ -665,9 +657,6 @@ protected: @@ -665,9 +657,6 @@ protected:
// pointer to compass object, if available
Compass * _compass;
// pointer to OpticalFlow object, if available
const OpticalFlow *_optflow;
// pointer to airspeed object, if available
// time in microseconds of last compass update

Loading…
Cancel
Save