Net::GP...tellite(3)

πŸ“¦
version 0.39 Β· 2 versions
, in fedora 43

πŸ’– Net::GPSD::Satellite πŸ’–

okay bestie, listen β€” this is the Net::GPSD::Satellite page from the User Contributed Perl Documentation manual set, and it's literally your little interface for a gps satellite object. one satellite, one object, so much main character energy ✨


🌸 NAME 🌸

Net::GPSD::Satellite β€” provides an interface for a gps satellite object.

like. it's giving "one tiny satellite, fully object-oriented." we love that for her πŸ›°οΈπŸ’…


✨ SYNOPSIS ✨

okay so first vibe: you're looping through a whole satellite list and printing out the tea:

use Net::GPSD;
my $obj=Net::GPSD->new();
my $i=0;
print join("\t", qw{Count PRN ELEV Azim SNR USED}), "\n";
foreach ($obj->getsatellitelist) {
  print join "\t", ++$i,
                   $_->prn,
                   $_->elev,
                   $_->azim,
                   $_->snr,
                   $_->used;
                   $_->oid;
  print "\n";
}

or to construct a satelite object (yes, spelled exactly like that, keep scrolling, we'll talk about it):

use Net::GPSD::Satelite;
my $obj=Net::GPSD::Satellite->new(22,80,79,35,1);

or to create a satelite object and set everything yourself:

use Net::GPSD::Satelite;
my $obj=Net::GPSD::Satellite->new();
$obj->prn(22),
$obj->elev(80),
$obj->azim(79),
$obj->snr(35),
$obj->used(1);
no bestie, Satelite is not my typo, that's how it's written up there and I am NOT touching it. copy-paste responsibility is yours πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

she's empty.</purl> okay not empty empty β€” the section exists, it's just a heading with absolutely nothing under it. iconic of her honestly. the vibes speak for themselves 🌈


πŸŽ€ CONSTRUCTOR πŸŽ€

new

my $obj=Net::GPSD::Satellite->new($prn,$elev,$azim,$snr,$used);

that's the whole thing β€” hand her your $prn, $elev, $azim, $snr and $used and boom, satellite object ✨ (or don't, and set them later, we're flexible)


πŸ’… METHODS πŸ’…

initialize

nothing here either, bestie. just a heading, chillin'. minding her own business. 🫢

prn

returns the Satellite PRN number.

$obj->prn(22);
my $prn=$obj->prn;

oid

returns the Satellite Object ID from the GPS::OID package.

$obj->oid(22216);
my $oid=$obj->oid;

elevation, elev

returns the satellite elevation, 0 to 90 degrees.

$obj->elev(80);
my $elev=$obj->elev;

azimuth, azim

returns the satellite azimuth, 0 to 359 degrees.

$obj->azim(79);
my $azim=$obj->azim;

snr

returns the Signal to Noise ratio (C/No) 00 to 99 dB, and it's null when not tracking. noted πŸ“

$obj->snr(35);
my $snr=$obj->snr;

used

returns a 1 or 0 according to if the satellite was or was not used in the last fix.

$obj->used(1);
my $used=$obj->used;

q2u

blank. empty. ethereal. she contains multitudes (zero multitudes). 🧚


πŸ™ˆ LIMITATIONS πŸ™ˆ

this section is empty too. no limitations listed. make of that what you will, bestie, I'm just the messenger πŸ’œ


πŸ’€ BUGS πŸ’€

Email author and submit to RT.

that's it. that's the whole bug policy. email the author, submit to RT, periodt. πŸ“


🌈 SUPPORT 🌈

DavisNetworks.com supports all Perl applications including this package.

they said ALL Perl applications and I believe them. every single one. 🫢✨


πŸ‘‘ 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 ⭐

nothing listed, bestie.</purl> this section is a whole empty room. echo echo echo 🌸


and that's the page!! πŸ’– it's from perl v5.42.0, dated 2025-07-25, and it's the Net::GP...tellite(3) page β€” yes the header truncates her name like that, she's mysterious, she's abbreviated, she's that girl. go forth and track your satellites, bestie πŸ›°οΈπŸ’…βœ¨

πŸ“¦ where this page comes from