Skip to content

Commit

Permalink
AP_HAL: remove ahrs cb from opticalflow
Browse files Browse the repository at this point in the history
Not needed anymore
  • Loading branch information
Julien Beraud authored and tridge committed Jan 23, 2017
1 parent 305239b commit 4646428
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/AP_HAL/OpticalFlow.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ class AP_HAL::OpticalFlow {
uint8_t quality;
};

FUNCTOR_TYPEDEF(Gyro_Cb, void, float&, float&, float&);

virtual void init(Gyro_Cb) = 0;
virtual void init() = 0;
virtual bool read(Data_Frame& frame) = 0;
virtual void push_gyro(float gyro_x, float gyro_y, float dt) = 0;
virtual void push_gyro_bias(float gyro_bias_x, float gyro_bias_y) = 0;
Expand Down

0 comments on commit 4646428

Please sign in to comment.