upm  1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
Public Member Functions | Data Fields
satellite Struct Reference

Detailed Description

Satellite structure definition

Public Member Functions

 satellite ()
 
 satellite (const std::string &sprn, int elevation, int azimuth, int snr)
 
std::string __str__ ()
 

Data Fields

std::string prn
 
int elevation_deg
 
int azimuth_deg
 
int snr
 

Constructor & Destructor Documentation

satellite ( )
inline

Default constructor

satellite ( const std::string &  sprn,
int  elevation,
int  azimuth,
int  snr 
)
inline

Create a satellite from arguments constructor

Parameters
sprnTarget PRN string
elevationTarget elevation angle in degrees
azimuthTarget azimuth angle in degrees
snrTarget signal to noise ratio (usually in dB, unfortunately non-standard)

Here is the call graph for this function:

Member Function Documentation

std::string __str__ ( )

Provide a string representation of this structure.

Returns
String representing a satellite

Field Documentation

std::string prn

PRN pseudo-random-noise value which identifies a satellite

int elevation_deg

Satellite elevation angle in degrees

int azimuth_deg

Satellite azimuth angle in degrees

int snr

Satellite signal-to-noise ratio


The documentation for this struct was generated from the following files: