Browse Source

AP_HAL_ChibiOS: rename AP_AHRS::get_position to get_location

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
51a9efe817
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-joey/scripts/mode.lua

2
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-joey/scripts/mode.lua

@ -10,7 +10,7 @@ local MODE_LAND = 9 @@ -10,7 +10,7 @@ local MODE_LAND = 9
local counter = 0
function update()
local pos = ahrs:get_position()
local pos = ahrs:get_location()
if (vehicle:get_mode() == MODE_AUTO or vehicle:get_mode() == MODE_LOITER) then
setfence(true)

Loading…
Cancel
Save