@ -185,7 +185,7 @@ private:
FUNCTOR_BIND_MEMBER(&Rover::exit_mission, void));
#if AP_AHRS_NAVEKF_AVAILABLE
OpticalFlow optflow{ahrs};
OpticalFlow optflow = OpticalFlow::create(ahrs);
#endif
// RSSI
@ -233,7 +233,7 @@ private:
// Optical flow sensor
#if OPTFLOW == ENABLED
// gnd speed limit required to observe optical flow sensor limits
@ -279,7 +279,7 @@ private:
// Rally Ponints
@ -200,7 +200,7 @@ private:
OpticalFlow optflow {ahrs};
@ -34,7 +34,7 @@ public:
};
static DummyVehicle vehicle;
static OpticalFlow optflow(vehicle.ahrs);
static OpticalFlow optflow = OpticalFlow::create(vehicle.ahrs);
void setup()
{