Net::GPSD::Server::Fake::Track - Provides a linear feed for the GPSD Daemon.
use Net::GPSD::Server::Fake; use Net::GPSD::Server::Fake::Track; my $server=Net::GPSD::Server::Fake->new(); my $provider=Net::GPSD::Server::Fake::Track->new(lat=>38.865826, lon=>-77.108574, speed=>25, heading=>45.3, alt=>23.4, tle=>$filename); $server->start($provider);
Returns a new provider that can be passed to Net::GPSD::Server::Fake.
my $provider=Net::GPSD::Server::Fake::Track->new();
Method to create and retrieve the TLE object.
Returns a Net::GPSD::Point object
my $point=$obj->get;
Returns a list of Net::GPSD::Satellite objects
my @list=$obj->getsatellitelist($point);
Michael R. Davis, qw/gpsd michaelrdavis com/
Copyright (c) 2006 Michael R. Davis (mrdvt92)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Net::GPSD
To install Net::GPSD::Server::Fake, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::GPSD::Server::Fake
CPAN shell
perl -MCPAN -e shell install Net::GPSD::Server::Fake
For more information on module installation, please visit the detailed CPAN module installation guide.