Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    "\nlongitude: " . $gps->tpv('lon') .
    "\ndirection: " . $gps->tpv('track') .
    "\naltitude:  " . $gps->tpv('alt') . "\n";
    
  2. or download this
    poll time: 2017-05-17T00:48:16.000Z
    lattitude: 51.00000000
    longitude: -114.000000000
    direction: 324.87
    altitude:  1084.9
    
  3. or download this
    time     => '2017-05-16T22:29:29.000Z'   # date/time in UTC
    lon      => '-114.000000000' # longitude
    ...
    eps      => '9.35'           # speed error estimate (metres/sec)
    class    => 'TPV'            # data type (fixed as TPV)
    tag      => 'ZDA'            # identifier
    
  4. or download this
    PRN     => 16   # PRN ID of the satellite 
     
    ...
    az      => 161  # azimuth (degrees from true north)
    used    => 1    # currently being used in calculations
    el      => 88   # elevation in degrees