Positioning now sends position coords after success.
This commit is contained in:
parent
22acaca89f
commit
4241ed4d03
@ -238,6 +238,7 @@ local function locatePosition()
|
||||
local x, y, z = gps.locate()
|
||||
if x == nil then sendLog(POSITION, "could not locate.") end
|
||||
position = vector.new(x, y, z)
|
||||
sendLog(POSITION, "Position obtained: " .. tostring(position))
|
||||
end
|
||||
|
||||
local function determineHeading()
|
||||
|
Loading…
Reference in New Issue
Block a user