|
GPS::gpsd::Satellite - Provides an interface for a gps satellite object. |
GPS::gpsd::Satellite - Provides an interface for a gps satellite object.
#!/usr/bin/perl
use strict;
use GPS::gpsd;
my $host = shift() || 'localhost';
my $gps=GPS::gpsd->new(host=>$host) || die("Error: Cannot connect to the gpsd server");
my $i=0;
print join("\t", qw{Count PRN ELEV Azim SNR USED}), "\n";
foreach ($gps->getsatellitelist) {
print join "\t", ++$i,
$_->prn,
$_->elev,
$_->azim,
$_->snr,
$_->used;
print "\n";
}
No known bugs.
Michael R. Davis, qw/gpsd michaelrdavis com/
GPS::gpsd
GPS::gpsd::Point
|
GPS::gpsd::Satellite - Provides an interface for a gps satellite object. |