mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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);
|
||||
|
||||
// give AHRS the rnage beacon sensor
|
||||
ahrs.set_beacon(&g2.beacon);
|
||||
|
||||
// Do GPS init
|
||||
gps.init(&DataFlash, serial_manager);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user