mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Copter: give the AHRS access to the range beacon sensor
This commit is contained in:
parent
21c7ea1df7
commit
3847975844
@ -188,6 +188,9 @@ void Copter::init_ardupilot()
|
|||||||
*/
|
*/
|
||||||
hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000);
|
hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000);
|
||||||
|
|
||||||
|
// give AHRS the rnage beacon sensor
|
||||||
|
ahrs.set_beacon(&g2.beacon);
|
||||||
|
|
||||||
// Do GPS init
|
// Do GPS init
|
||||||
gps.init(&DataFlash, serial_manager);
|
gps.init(&DataFlash, serial_manager);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user