| 1 | package Net::GPSD3::Return::GST; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use base qw{Net::GPSD3::Return::Unknown::Timestamp}; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION='0.14'; | |
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Net::GPSD3::Return::GST - Net::GPSD3 Return GST Object | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | Provides a Perl object interface to the GST (GPS Pseudorange Noise Statistics) object returned by the GPSD daemon. | ||
| 17 | |||
| 18 | { | ||
| 19 | 'class' => 'GST', | ||
| 20 | 'device' => '/dev/cuaU0', | ||
| 21 | 'tag' => '0x0130', | ||
| 22 | 'time' => '1970-01-01T00:00:00.00Z', | ||
| 23 | 'lat' => '0', | ||
| 24 | 'lon' => '0', | ||
| 25 | 'alt' => '0.002', | ||
| 26 | 'rms' => '0', | ||
| 27 | 'orient' => '0', | ||
| 28 | 'major' => '0' | ||
| 29 | 'minor' => '-0', | ||
| 30 | } | ||
| 31 | |||
| 32 | =head1 METHODS PROPERTIES | ||
| 33 | |||
| 34 | =head2 class | ||
| 35 | |||
| 36 | Returns the object class | ||
| 37 | |||
| 38 | =head2 string | ||
| 39 | |||
| 40 | Returns the JSON string | ||
| 41 | |||
| 42 | =head2 parent | ||
| 43 | |||
| 44 | Returns the parent L<Net::GPSD3> object | ||
| 45 | |||
| 46 | =head2 device | ||
| 47 | |||
| 48 | =cut | ||
| 49 | |||
| 50 | 0 | ▶ | sub device {shift->{"device"}}; |
|
Subroutine
device: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | |||
| 52 | =head2 tag | ||
| 53 | |||
| 54 | =cut | ||
| 55 | |||
| 56 | 0 | ▶ | sub tag {shift->{"tag"}}; |
|
Subroutine
tag: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 57 | |||
| 58 | =head2 time | ||
| 59 | |||
| 60 | Returns a unix epoch time | ||
| 61 | |||
| 62 | =head2 timestamp | ||
| 63 | |||
| 64 | Returns a W3C formated date | ||
| 65 | |||
| 66 | =head2 datetime | ||
| 67 | |||
| 68 | Returns a L<DateTime> object | ||
| 69 | |||
| 70 | =head2 rms | ||
| 71 | |||
| 72 | Total RMS standard deviation of ranges inputs to the navigation solution | ||
| 73 | |||
| 74 | =cut | ||
| 75 | |||
| 76 | 0 | ▶ | sub rms {shift->{"rms"}}; |
|
Subroutine
rms: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 77 | |||
| 78 | =head2 major | ||
| 79 | |||
| 80 | Standard deviation (meters) of semi-major axis of error ellipse | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||
| 84 | 0 | ▶ | sub major {shift->{"major"}}; |
|
Subroutine
major: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 85 | |||
| 86 | =head2 minor | ||
| 87 | |||
| 88 | Standard deviation (meters) of semi-minor axis of error ellipse | ||
| 89 | |||
| 90 | =cut | ||
| 91 | |||
| 92 | 0 | ▶ | sub minor {shift->{"minor"}}; |
|
Subroutine
minor: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 93 | |||
| 94 | =head2 orient | ||
| 95 | |||
| 96 | Orientation of semi-major axis of error ellipse (true north degrees) | ||
| 97 | |||
| 98 | =cut | ||
| 99 | |||
| 100 | 0 | ▶ | sub orient {shift->{"orient"}}; |
|
Subroutine
orient: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 101 | |||
| 102 | =head2 lat | ||
| 103 | |||
| 104 | Standard deviation (meters) of latitude error | ||
| 105 | |||
| 106 | =cut | ||
| 107 | |||
| 108 | 0 | ▶ | sub lat {shift->{"lat"}}; |
|
Subroutine
lat: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 109 | |||
| 110 | =head2 lon | ||
| 111 | |||
| 112 | Standard deviation (meters) of longitude error | ||
| 113 | |||
| 114 | =cut | ||
| 115 | |||
| 116 | 0 | ▶ | sub lon {shift->{"lon"}}; |
|
Subroutine
lon: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 117 | |||
| 118 | =head2 alt | ||
| 119 | |||
| 120 | Standard deviation (meters) of altitude error | ||
| 121 | |||
| 122 | =cut | ||
| 123 | |||
| 124 | 0 | ▶ | sub alt {shift->{"alt"}}; |
|
Subroutine
alt: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 125 | |||
| 126 | =head1 BUGS | ||
| 127 | |||
| 128 | Log on RT and Send to gpsd-dev email list | ||
| 129 | |||
| 130 | =head1 SUPPORT | ||
| 131 | |||
| 132 | DavisNetworks.com supports all Perl applications including this package. | ||
| 133 | |||
| 134 | Try gpsd-dev email list | ||
| 135 | |||
| 136 | =head1 AUTHOR | ||
| 137 | |||
| 138 | Michael R. Davis | ||
| 139 | CPAN ID: MRDVT | ||
| 140 | STOP, LLC | ||
| 141 | domain=>michaelrdavis,tld=>com,account=>perl | ||
| 142 | http://www.stopllc.com/ | ||
| 143 | |||
| 144 | =head1 COPYRIGHT | ||
| 145 | |||
| 146 | This program is free software licensed under the... | ||
| 147 | |||
| 148 | The BSD License | ||
| 149 | |||
| 150 | The full text of the license can be found in the LICENSE file included with this module. | ||
| 151 | |||
| 152 | =head1 SEE ALSO | ||
| 153 | |||
| 154 | L<Net::GPSD3>, L<Net::GPSD3::Return::Unknown::Timestamp> | ||
| 155 | |||
| 156 | =cut | ||
| 157 | |||
| 158 | 1 | 1; | |