Rechercher une page de manuel
Net::GPSD3::Return::TPV.3pm
Langue: en
Version: 2009-11-27 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Net::GPSD3::Return::TPV - Net::GPSD3 Return TPV ObjectSYNOPSIS
printf "Time: %s, Lat: %s, Lon: %s\n", $object->time, $object->lat, $object->lon;
DESCRIPTION
Provides a Perl object interface to the Time-Velocity-Position (TVP) object returned by the GPSD daemon.Example JSON objects:
{ "class":"TPV", "tag":"MID2", "device":"/dev/ttyUSB0", "time":1253593085.470, "ept":0.005, "lat":38.88945123, "lon":-77.03522143, "track":171.7249, "speed":0.467, "mode":2 } { "class":"TPV", "tag":"MID2", "device":"/dev/ttyUSB0", "time":1253593667.430, "ept":0.005, "lat":38.88945123, "lon":-77.03522143, "alt":146.911, "track":180.0000, "speed":0.194, "climb":-0.157, "mode":3 }
METHODS PROPERTIES
class
Returns the object classstring
Returns the JSON stringparent
Return the parent Net::GPSD objectdevice
Name of originating device.tag
Type tag associated with this GPS sentence; from an NMEA device this is just the NMEA sentence type.mode
NMEA mode: %d, 0=no mode value yet seen, 1=no fix, 2=2D, 3=3D.time
Seconds since the Unix epoch, UTC. May have a fractional part of up to .01sec precision.datetime
Returns a DateTime objectstrftime
lat
Latitude in degrees: +/- signifies West/Eastlon
Longitude in degrees: +/- signifies North/South.alt
Altitude in meters.speed
Speed over ground, meters per second.track
Course over ground, degreesfrom true north.climb
Climb (postive) or sink (negative) rate, meters per second.ept
Estimated timestamp error (%f, seconds, 95% confidence).epx
epy
Latitude error estimate in meters, 95% confidence.epv
Estimated vertical error in meters, 95% confidence.eps
Speed error estimate in meters/sec, 95% confifdence.epd
Direction error estinmate in degrees, 95% confifdence.epc
Climb/sink error estinmate in meters/sec, 95% confifdence.METHODS VALUE ADDED
point
Returns a GPS::Point Object_define
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, GPS::Point, Net::GPSD3::Return::UnknownContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre