Go to the documentation of this file.
65 #ifndef XSDEVICECAPABILITIES_H
66 #define XSDEVICECAPABILITIES_H
138 inline bool hasAccelerometer()
const
144 inline bool hasGyroscope()
const
150 inline bool hasMagnetometer()
const
156 inline bool hasBarometer()
const
162 inline bool hasGnss()
const
168 inline bool isImu()
const
174 inline bool isVru()
const
180 inline bool isAhrs()
const
186 inline bool isGnssIns()
const
191 inline bool isRtk()
const
XSTYPES_DLL_API int XsDeviceCapabilities_isRtk(const struct XsDeviceCapabilities *thisPtr)
Test if the device is an RTK device.
XSTYPES_DLL_API int XsDeviceCapabilities_isImu(const struct XsDeviceCapabilities *thisPtr)
Test if the device is an IMU.
@ XDC_Baro
Device has an operational barometer.
XSTYPES_DLL_API int XsDeviceCapabilities_hasMagnetometer(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an operational magnetometer.
@ XDC_Rtk
Device has RTK features.
Describes what a device is capable of.
XSTYPES_DLL_API int XsDeviceCapabilities_isVru(const struct XsDeviceCapabilities *thisPtr)
Test if the device has a VRU.
XSTYPES_DLL_API int XsDeviceCapabilities_isGnssIns(const struct XsDeviceCapabilities *thisPtr)
Test if the device is a GNSS/INS.
@ XDC_Vru
Device is a VRU.
XSTYPES_DLL_API int XsDeviceCapabilities_isValid(const struct XsDeviceCapabilities *thisPtr)
Test if the given XsDeviceCapabilities is valid.
@ XDC_Gnss
Device has an operational GNSS receiver.
XSTYPES_DLL_API int XsDeviceCapabilities_isAhrs(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an AHRS.
@ XDC_Imu
Device is an IMU.
XsDeviceCapability
Device capability flags.
XSTYPES_DLL_API int XsDeviceCapabilities_hasGnss(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an operational GNSS receiver.
@ XDC_GnssIns
Device is a GNSS/INS.
@ XDC_Acc
Device has an operational accelerometer.
XSTYPES_DLL_API int XsDeviceCapabilities_hasBarometer(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an operational barometer.
@ XDC_Gyr
Device has an operational gyroscope.
@ XDC_Invalid
Indicates the XsDeviceCapabilities structure is invalid.
XSTYPES_DLL_API int XsDeviceCapabilities_hasAccelerometer(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an operational accelerometer.
@ XDC_Mag
Device has an operational magnetometer.
XSTYPES_DLL_API int XsDeviceCapabilities_hasGyroscope(const struct XsDeviceCapabilities *thisPtr)
Test if the device has an operational gyroscope.
@ XDC_Ahrs
Device is an AHRS.
struct XsDeviceCapabilities XsDeviceCapabilities