I wanted to calculate the distance between the pilot and the helicopter and looked at the table of the GPS sensor.
the variables are pilot-lat / pilot-lon and lat / lon for the helicopter
The calculation only works every other time or so.
I researched and found that sometimes lon and lat are swapped and then until the geolink is turned off
Thomas, you can take a look at that
No problem, if I find that now I just turn the two values around in the lua script