GPS::NMEA man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

NMEA(3)		      User Contributed Perl Documentation	       NMEA(3)

NAME
       GPS::NMEA - Perl interface to GPS equipment using the NMEA Protocol

SYNOPSIS
	 use GPS::NMEA;
	 $gps = new GPS::NMEA(	'Port'	    => '/dev/ttyS0',
				'Baud'	    => 9600,
		       );

DESCRIPTION
       GPS::NMEA allows the connection and use of of a GPS receiver in perl
       scripts.

       Note that latitudes and longitudes are in DMM format.

GETTING STARTED
KNOWN LIMITATIONS
BUGS
EXAMPLES
       Get the position periodically:

	   #!/usr/bin/perl
	   use GPS::NMEA;

	   my $gps = GPS::NMEA->new(Port => '/dev/cuaa0', # or COM5: or /dev/ttyS0
				    Baud => 4800);
	   while(1) {
	       my($ns,$lat,$ew,$lon) = $gps->get_position;
	       print "($ns,$lat,$ew,$lon)\n";
	   }

       Get the internal NMEA dump:

	   #!/usr/bin/perl
	   use GPS::NMEA;
	   use Data::Dumper;

	   my $gps = GPS::NMEA->new(Port => '/dev/cuaa0', # or COM5: or /dev/ttyS0
				    Baud => 4800);
	   while(1) {
	       $gps->parse;

	       # Dump internal NMEA data:
	       $gps->nmea_data_dump;

	       # Alternative to look at the internal NMEA data:
	       require Data::Dumper;
	       print Data::Dumper->new([$gps->{NMEADATA}],[])->Indent(1)->Useqq(1)->Dump;
	   }
	   __END__

AUTHOR
       Joao Pedro B Goncalves , joaop@iscsp.utl.pt

SEE ALSO
POD ERRORS
       Hey! The above document had some coding errors, which are explained
       below:

       Around line 151:
	   You forgot a '=back' before '=head1'

perl v5.14.0			  2007-12-31			       NMEA(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net