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


Net-GPSD-Server-Fake documentation  | view source Contained in the Net-GPSD-Server-Fake distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

CONSTRUCTOR

Top

new

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

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

METHODS

Top

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

Top

KNOWN LIMITATIONS

Top

BUGS

Top

EXAMPLES

Top

AUTHOR

Top

Michael R. Davis, qw/gpsd michaelrdavis com/

LICENSE

Top

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

Top

Net::GPSD


Net-GPSD-Server-Fake documentation  | view source Contained in the Net-GPSD-Server-Fake distribution.