line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::GPSD3::Return::GST; |
2
|
1
|
|
|
1
|
|
788
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
4
|
1
|
|
|
1
|
|
4
|
use base qw{Net::GPSD3::Return::Unknown::Timestamp}; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
626
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
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 object |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head2 device |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
49
|
|
|
|
|
|
|
|
50
|
0
|
|
|
0
|
1
|
|
sub device {shift->{"device"}}; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 tag |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |
55
|
|
|
|
|
|
|
|
56
|
0
|
|
|
0
|
1
|
|
sub tag {shift->{"tag"}}; |
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 object |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 rms |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Total RMS standard deviation of ranges inputs to the navigation solution |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
75
|
|
|
|
|
|
|
|
76
|
0
|
|
|
0
|
1
|
|
sub rms {shift->{"rms"}}; |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 major |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Standard deviation (meters) of semi-major axis of error ellipse |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
0
|
|
|
0
|
1
|
|
sub major {shift->{"major"}}; |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 minor |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Standard deviation (meters) of semi-minor axis of error ellipse |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=cut |
91
|
|
|
|
|
|
|
|
92
|
0
|
|
|
0
|
1
|
|
sub minor {shift->{"minor"}}; |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 orient |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Orientation of semi-major axis of error ellipse (true north degrees) |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
0
|
|
|
0
|
1
|
|
sub orient {shift->{"orient"}}; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 lat |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Standard deviation (meters) of latitude error |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |
107
|
|
|
|
|
|
|
|
108
|
0
|
|
|
0
|
1
|
|
sub lat {shift->{"lat"}}; |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 lon |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Standard deviation (meters) of longitude error |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|
116
|
0
|
|
|
0
|
1
|
|
sub lon {shift->{"lon"}}; |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 alt |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Standard deviation (meters) of altitude error |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
0
|
|
|
0
|
1
|
|
sub alt {shift->{"alt"}}; |
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, L |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=cut |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
1; |