Browse Source

AP_HAL_Empty: adapt to new api

Removed gyro_cb in HAL interface
Added 2 new methods
master
Julien Beraud 8 years ago committed by Andrew Tridgell
parent
commit
c08587fb09
  1. 4
      libraries/AP_HAL_Empty/OpticalFlow.h

4
libraries/AP_HAL_Empty/OpticalFlow.h

@ -16,6 +16,8 @@ @@ -16,6 +16,8 @@
class Empty::OpticalFlow : public AP_HAL::OpticalFlow {
public:
void init(AP_HAL::OpticalFlow::Gyro_Cb) { }
void init() { }
bool read(Data_Frame& frame) { return false; }
void push_gyro(float gyro_x, float gyro_y, float dt) { };
void push_gyro_bias(float gyro_bias_x, float gyro_bias_y) { }
};

Loading…
Cancel
Save