UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

satellite Class

Module: common

Satellite structure definition

Item Index

Methods

satellite

() Number

Default constructor

Returns:

Number:

satellite

(
  • sprn
  • elevation
  • azimuth
  • snr
)
Number

Create a satellite from arguments constructor

Parameters:

  • sprn Const std::string *

    Target PRN string

  • elevation Number

    Target elevation angle in degrees

  • azimuth Number

    Target azimuth angle in degrees

  • snr Number

    Target signal to noise ratio (usually in dB, unfortunately non-standard)

Returns:

Number:

__str__

() String

Provide a string representation of this structure.

Returns:

String:

String representing a satellite

Properties

prn

String

PRN pseudo-random-noise value which identifies a satellite

elevation_deg

Number

Satellite elevation angle in degrees

azimuth_deg

Number

Satellite azimuth angle in degrees

snr

Number

Satellite signal-to-noise ratio