Net::GPSD::Server::Fake::Circle - Provides a linear 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::Circle - Provides a linear feed for the GPSD Daemon.

SYNOPSIS

Top

  use Net::GPSD::Server::Fake;
  use Net::GPSD::Server::Fake::Circle;
  my $server=Net::GPSD::Server::Fake->new();
  my $provider=Net::GPSD::Server::Fake::Circle->new(lat=>38.865826, #center
                                                    lon=>-77.108574,#center
                                                    speed=>25,      #constant
                                                    heading=>45.3,  #init
                                                    distance=>1000);#constant
  $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::Circle->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.