24 - 09 - 2017

GPS Blocks library

Block GPSConstCoords

Constant GPS coordinates.

Parameters:

  • LatitudeCoord - Output Latitude will get value of this parameter;
  • LongitudeCoord - Output Longitude will get value of this parameter;

Block GPSDistance

Caclulates the distance between two points on Earth. First point is with GPS coordinates which come from inputs LatitudeX, LongitudeX, second point is with GPS coordinates from inputs LatitudeY, LongitudeY. Output of the block calculates the distance between two points in kilometers. Block has no parameters. With this block it is easy to calculate the distance between user with GPS coordinates which come from his mobile phone and his home with GPS coordinates constant values entered in the GPSConstCoords block.