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()
|
local x, y, z = gps.locate()
|
||||||
if x == nil then sendLog(POSITION, "could not locate.") end
|
if x == nil then sendLog(POSITION, "could not locate.") end
|
||||||
position = vector.new(x, y, z)
|
position = vector.new(x, y, z)
|
||||||
|
sendLog(POSITION, "Position obtained: " .. tostring(position))
|
||||||
end
|
end
|
||||||
|
|
||||||
local function determineHeading()
|
local function determineHeading()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user