18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SPACE_VEHICLE_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SPACE_VEHICLE_H_
36 typedef std::uint32_t
Id;
59 return type == rhs.
type &&
id == rhs.
id;
65 return type < rhs.
type;
87 float snr = -std::numeric_limits<float>::max();
97 static const std::map<SpaceVehicle::Type, std::string> lut =
109 <<
"type: " << lut.at(sv.
key.
type) <<
", "
110 <<
"prn: " << sv.
key.
id <<
", "
111 <<
"snr: " << sv.
snr <<
", "
115 <<
"azimuth: " << sv.
azimuth <<
", "
123 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SPACE_VEHICLE_H_
Japanese regional system covering Asia and Oceania.
bool has_almanac_data
Almanac data available for this vehicle.
A global system being developed by the European Union and other partner countries, planned to be operational by 2014 (and fully deployed by 2019).
Unknown (and thus invalid) type.
bool roughly_equals(const Quantity< Unit > &lhs, const Quantity< Unit > &rhs)
units::Quantity< units::PlaneAngle > azimuth
Azimuth of SV.
Type type
The positioning system this vehicle belongs to.
float snr
Signal to noise ratio;.
boost::units::quantity< Unit, double > Quantity
People's Republic of China's global system, planned to be operational by 2020.
bool operator==(const SpaceVehicle::Key &rhs) const
bool has_ephimeris_data
Ephimeris data is available for this vehicle.
bool operator<(const SpaceVehicle &rhs) const
Uniquely identifies a space vehicle, given its type and its id.
India's regional navigation system, planned to be operational by 2014, covering India and Northern In...
bool operator==(const SpaceVehicle &rhs) const
bool operator<(const SpaceVehicle::Key &rhs) const
Russia's global navigation system. Fully operational worldwide.
Id id
Unique id of the space vehicle.
A space-vehicle as visible to providers.
Fully operational worldwide.
std::ostream & operator<<(std::ostream &out, const Accuracy< T > &update)
units::Quantity< units::PlaneAngle > elevation
Elevation of SV.
bool used_in_fix
This vehicle has been used to obtain a fix.
People's Republic of China's regional system, currently limited to Asia and the West Pacific...
std::uint32_t Id
Numeric Id of an individual SpaceVehicle.
Key key
Unique key identifying an instance.
Type
Enumerates all known space-vehicle types.