IEvsSensorsService

Interface defines the glasses sensors service

The service handles the various sensors exists on the glasses

see SensorRate for more information

Functions

Link copied to clipboard
abstract fun disableInertialSensors()

Disable all active inertial sensors and sensors fusion

Link copied to clipboard
abstract fun enableAccelerometer(rate: SensorRate)

Enable the glasses accelerometer sensor

Link copied to clipboard
abstract fun enableAmbient(enable: Boolean)

Enable\disable the glasses ambient sensor

Link copied to clipboard
abstract fun enableGyro(rate: SensorRate)

Enable the glasses gyro sensor

Link copied to clipboard
abstract fun enableMagneticDeclinationCorrection(lat: Float, lon: Float, alt: Float)

Enable magnetic declination correction for the given location

Link copied to clipboard
abstract fun enableMagnetometer(rate: SensorRate)

Enable the glasses magnetometer sensor

Link copied to clipboard
abstract fun enableSensorsFusion(rate: SensorRate, usePredication: Boolean): Boolean

Enable sensor fusion

Link copied to clipboard
abstract fun enableTouch(enable: Boolean)

Enable\disable the glasses touch sensor

Link copied to clipboard
abstract fun isEnabled(sensor: SensorType): Boolean

Returns the SensorType enable state

Link copied to clipboard
abstract fun isSupported(sensor: SensorType): Boolean

Returns true if the glasses firmware supports this sensor

Link copied to clipboard

Receive the proximity state

Link copied to clipboard

Register for inertial sensors callbacks

Link copied to clipboard

Register for quaternions fused sensors callbacks

Link copied to clipboard

Register for sensors callbacks

Link copied to clipboard

Register for Yaw Pitch Roll sensors callbacks

Link copied to clipboard

Unregister from inertial sensors callbacks

Link copied to clipboard

Unregister from quaternions fused sensors callbacks

Link copied to clipboard

Unregister from sensors callbacks

Link copied to clipboard

Unregister from fused sensors callbacks