problem with getGpsPos(), only show latitude
Posted: Sun Jul 19, 2015 2:20 am
Hi, im trying a script on lua, with getGpsPos(), but it only show me the latitude with 1 decimal.
the script:
function onTick()
a = getGpsPos()
println(a)
end
and i get on the consoloe
-33.5, only that
on dashboard, this is my latitude and longitude
-33.499943 and -70.524559
firmware mk2 v2.8.3
also i have problem with getGpsTime(), that not show me the time
maybe its a bug of lua?
Regards
the script:
function onTick()
a = getGpsPos()
println(a)
end
and i get on the consoloe
-33.5, only that
on dashboard, this is my latitude and longitude
-33.499943 and -70.524559
firmware mk2 v2.8.3
also i have problem with getGpsTime(), that not show me the time
maybe its a bug of lua?
Regards