Sub: do not pass ahrs to opticalflow constructor
This commit is contained in:
parent
102f06bb92
commit
2bca18b712
@ -204,7 +204,7 @@ private:
|
|||||||
|
|
||||||
// Optical flow sensor
|
// Optical flow sensor
|
||||||
#if OPTFLOW == ENABLED
|
#if OPTFLOW == ENABLED
|
||||||
OpticalFlow optflow{ahrs};
|
OpticalFlow optflow;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// system time in milliseconds of last recorded yaw reset from ekf
|
// system time in milliseconds of last recorded yaw reset from ekf
|
||||||
|
Loading…
Reference in New Issue
Block a user