mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Copter: Optflow constructor update
AHRS passed as param
This commit is contained in:
parent
780104dc9c
commit
f897356fd9
@ -199,7 +199,7 @@ private:
|
|||||||
|
|
||||||
// Optical flow sensor
|
// Optical flow sensor
|
||||||
#if OPTFLOW == ENABLED
|
#if OPTFLOW == ENABLED
|
||||||
OpticalFlow optflow;
|
OpticalFlow optflow{ahrs};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// gnd speed limit required to observe optical flow sensor limits
|
// gnd speed limit required to observe optical flow sensor limits
|
||||||
|
Loading…
Reference in New Issue
Block a user