twisted.positioning.base.Satellite(PositioningBeacon)
class documentationtwisted.positioning.base
(View In Hierarchy)
A satellite.
Instance Variable | azimuth | The azimuth of the satellite. This is the heading (positive angle relative to true north) where the satellite appears to be to the device. |
Instance Variable | elevation | The (positive) angle above the horizon where this satellite appears to be to the device. |
Instance Variable | signalToNoiseRatio | The signal to noise ratio of the signal coming from this satellite. |
Method | __init__ | Initializes a satellite object. |
Method | __repr__ | Returns a string representation of this Satellite. |
Inherited from PositioningBeacon:
Instance Variable | identifier | The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN. (type: Pretty much anything that can be used as a unique identifier. Depends on the implementation.) |
Method | __hash__ | Returns the hash of the identifier for this beacon. |
Initializes a satellite object.
Parameters | identifier | The PRN (unique identifier) of this satellite. (type: int ) |
azimuth | The azimuth of the satellite (see instance variable documentation). (type: float ) | |
elevation | The elevation of the satellite (see instance variable documentation). (type: float ) | |
signalToNoiseRatio | The signal to noise ratio of the connection to this satellite (see instance
variable documentation). (type: float ) |