mirror of https://github.com/ArduPilot/ardupilot
Rover: use ahrs singleton for SmartRTL
This commit is contained in:
parent
ebebb3b107
commit
db7ce9aba2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue