Rechercher une page de manuel
Net::GPSD3::Return::SKY.3pm
Langue: en
Version: 2009-11-27 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Net::GPSD3::Return::SKY - Net::GPSD3 Return SKY ObjectSYNOPSIS
DESCRIPTION
Provides a Perl object interface to the SKY object returned by the GPSD daemon.An example JSON object:
{ "class":"SKY", "tag":"MID4", "device":"/dev/ttyUSB0", "time":1253593665.430, "hdop":23.60, "reported":9, "satellites": [ {"PRN":15,"el":77,"az":123,"ss":0, "used":false}, {"PRN":18,"el":25,"az":268,"ss":0, "used":false}, {"PRN":27,"el":13,"az":150,"ss":0, "used":false}, {"PRN":29,"el":47,"az":228,"ss":0, "used":false}, {"PRN":5, "el":39,"az":58, "ss":46,"used":true }, {"PRN":21,"el":41,"az":309,"ss":33,"used":true }, {"PRN":10,"el":32,"az":61, "ss":40,"used":true }, {"PRN":8, "el":12,"az":48, "ss":40,"used":true }, {"PRN":2, "el":9, "az":124,"ss":0, "used":false} ] }
METHODS PROPERTIES
class
Returns the object classstring
Returns the JSON stringparent
Return the parent Net::GPSD objectdevice
tag
time
datetime
Returns a DateTime objectstrftime
Returns the formatted datetimereported
Count of satellites in viewused
Count of satellites used in calculationsatellites
Returns a list of satellite data structures.my $satellites=$sky->satellites(); #[{},...] my @satellites=$sky->satellites(); #({},...)
Satellites
Returns a list of Net::GPSD3::Return::Satellite objects.my @satellites=$sky->Satellites; #(bless{},...) my $satellites=$sky->Satellites; #[bless{},...]
BUGS
Log on RT and Send to gpsd-dev email listSUPPORT
Try gpsd-dev email listAUTHOR
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/
COPYRIGHT
This program is free software licensed under the...The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Net::GPSD3, DateTime, Net::GPSD3::Return::UnknownContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre