Michael R. Davis > Net-GPSD-Server-Fake > Net::GPSD::Server::Fake::Stationary

Download:
Net-GPSD-Server-Fake-0.16.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.16   Source  

NAME ^

Net::GPSD::Server::Fake::Stationary - Provides a stationery feed for the GPSD Daemon.

SYNOPSIS ^

  use Net::GPSD::Server::Fake;
  use Net::GPSD::Server::Fake::Stationary;
  my $server=Net::GPSD::Server::Fake->new();
  my $provider =
       Net::GPSD::Server::Fake::Stationary->new(lat=>38.865826,  #degrees
                                                lon=>-77.108574, #degrees
                                                speed=>25,       #m/s
                                                heading=>90,     #degrees
                                                alt=>50,         #meters
                                                tlefile=>"./gps.tle");
  $server->start($provider);

DESCRIPTION ^

CONSTRUCTOR ^

new

Returns a new provider that can be passed to Net::GPSD::Server::Fake.

  my $provider=Net::GPSD::Server::Fake::Stationary->new();

METHODS ^

tle

Method to create and retrieve the TLE object.

get

Returns a Net::GPSD::Point object

  my $point=$obj->get;

getsatellitelist

Returns a list of Net::GPSD::Satellite objects

  my @list=$obj->getsatellitelist($point);

GETTING STARTED ^

KNOWN LIMITATIONS ^

BUGS ^

EXAMPLES ^

AUTHOR ^

Michael R. Davis, qw/gpsd michaelrdavis com/

LICENSE ^

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.

SEE ALSO ^

Net::GPSD

syntax highlighting: