Rover: use ahrs singleton for SmartRTL

This commit is contained in:
Peter Barker 2018-04-02 21:17:47 +10:00 committed by Francisco Ferreira
parent ebebb3b107
commit db7ce9aba2
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ ParametersG2::ParametersG2(void)
beacon(rover.serial_manager),
motors(rover.ServoRelayEvents),
attitude_control(rover.ahrs),
smart_rtl(rover.ahrs),
smart_rtl(),
fence(rover.ahrs),
proximity(rover.serial_manager),
avoid(rover.ahrs, fence, rover.g2.proximity, &rover.g2.beacon)