toggle menu
ActiveSense
androidJvm
switch theme
search in API
app
/
de.hsrm.activesense.sensor
/
AttitudeSensor
Attitude
Sensor
class
AttitudeSensor
(
val
sensor
:
Sensor
,
newAttitudeAlgo
:
Boolean
)
:
SensorModel
Custom AttitudeSensor that implements two types of Euler Conversion Algorithms
Members
Constructors
Attitude
Sensor
Link copied to clipboard
constructor
(
sensor
:
Sensor
,
newAttitudeAlgo
:
Boolean
)
Properties
current
Val
Link copied to clipboard
var
currentVal
:
Array
<
SensorTypeFloat
>
processed
Data
Link copied to clipboard
var
processedData
:
Array
<
SensorTypeFloat
>
sensor
Link copied to clipboard
val
sensor
:
Sensor
value
Names
Link copied to clipboard
open
override
val
valueNames
:
Array
<
String
>
Functions
get
Current
Data
Link copied to clipboard
open
override
fun
getCurrentData
(
)
:
Array
<
SensorTypeFloat
>
on
Accuracy
Changed
Link copied to clipboard
open
override
fun
onAccuracyChanged
(
p0
:
Sensor
?
,
p1
:
Int
)
on
Sensor
Changed
Link copied to clipboard
open
override
fun
onSensorChanged
(
p0
:
SensorEvent
?
)
preprocessing
Link copied to clipboard
open
override
fun
preprocessing
(
additionalDataMap
:
Map
<
String
,
Any
>
?
)
register
Link copied to clipboard
open
override
fun
register
(
context
:
Context
)
unregister
Link copied to clipboard
open
override
fun
unregister
(
context
:
Context
)