Positioning now sends position coords after success.

This commit is contained in:
Harrison Deng 2021-05-03 15:30:04 -05:00
parent 22acaca89f
commit 4241ed4d03

View File

@ -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()