You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::GPSLocationInterface

class GPSLocationInterface : public MeasurementPoint<gps_clock>

GPS location sample.

Public Types

enum class GPSMetaData


enumerator FixMode

int, 1 - no fix, 2 - 2D, 3 - 3D

enumerator Speed

double, m/s

enumerator PositionDilutionOfPrecision

double, meters

enumerator HorizontalDilutionOfPrecision

double, meters

enumerator VerticalDilutionOfPrecision

double, meters

enumerator GeoidalSeparation

double, meters

enumerator AgeOfCorrection

double, seconds

enumerator CorrectionStationID


enumerator Count
using Ptr = std::shared_ptr<GPSLocationInterface>
using CPtr = std::shared_ptr<const GPSLocationInterface>
using MeasurementPointT = MeasurementPoint<gps_clock>

Public Functions

virtual ~GPSLocationInterface() = default
inline virtual GPSQuality getQuality() const
inline virtual std::size_t getSatelliteCount() const
virtual double getLatitude() const = 0
virtual double getLongitude() const = 0
virtual double getAltitude() const = 0
virtual double getSpeed() const = 0
virtual const Matrix<double, 3, 3> &getCovariance() const = 0