18#ifndef LOCATION_SERVICE_COM_LOMIRI_LOCATION_SPACE_VEHICLE_H_
19#define LOCATION_SERVICE_COM_LOMIRI_LOCATION_SPACE_VEHICLE_H_
36 typedef std::uint32_t
Id;
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 <<
", "
boost::units::quantity< Unit, double > Quantity
bool roughly_equals(const Quantity< Unit > &lhs, const Quantity< Unit > &rhs)
std::ostream & operator<<(std::ostream &out, const Accuracy< T > &update)
Uniquely identifies a space vehicle, given its type and its id.
Id id
Unique id of the space vehicle.
bool operator<(const SpaceVehicle::Key &rhs) const
bool operator==(const SpaceVehicle::Key &rhs) const
Type type
The positioning system this vehicle belongs to.
A space-vehicle as visible to providers.
Type
Enumerates all known space-vehicle types.
@ gps
Fully operational worldwide.
@ galileo
A global system being developed by the European Union and other partner countries,...
@ qzss
Japanese regional system covering Asia and Oceania.
@ compass
People's Republic of China's global system, planned to be operational by 2020.
@ glonass
Russia's global navigation system. Fully operational worldwide.
@ unknown
Unknown (and thus invalid) type.
@ irnss
India's regional navigation system, planned to be operational by 2014, covering India and Northern In...
@ beidou
People's Republic of China's regional system, currently limited to Asia and the West Pacific.
Key key
Unique key identifying an instance.
bool operator==(const SpaceVehicle &rhs) const
units::Quantity< units::PlaneAngle > azimuth
Azimuth of SV.
bool has_almanac_data
Almanac data available for this vehicle.
std::uint32_t Id
Numeric Id of an individual SpaceVehicle.
bool operator<(const SpaceVehicle &rhs) const
units::Quantity< units::PlaneAngle > elevation
Elevation of SV.
bool used_in_fix
This vehicle has been used to obtain a fix.
bool has_ephimeris_data
Ephimeris data is available for this vehicle.
float snr
Signal to noise ratio;.