mirror of https://github.com/ArduPilot/ardupilot
Plane: make optflow available to AHRS
This commit is contained in:
parent
70c2aeca42
commit
8f571f1225
|
@ -167,6 +167,9 @@ static void init_ardupilot()
|
||||||
ahrs.set_compass(&compass);
|
ahrs.set_compass(&compass);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make optflow available to libraries
|
||||||
|
ahrs.set_optflow(&optflow);
|
||||||
|
|
||||||
// Register mavlink_delay_cb, which will run anytime you have
|
// Register mavlink_delay_cb, which will run anytime you have
|
||||||
// more than 5ms remaining in your call to hal.scheduler->delay
|
// more than 5ms remaining in your call to hal.scheduler->delay
|
||||||
|
|
Loading…
Reference in New Issue