All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.dk.cachet.carp.common.application.data.AngularVelocity.kt Maven / Gradle / Ivy

Go to download

Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.

The newest version!
package dk.cachet.carp.common.application.data

import kotlinx.serialization.*
import kotlin.js.JsExport


/**
 * Holds rate of rotation around perpendicular [x], [y], and [z] axes in radians per second.
 * Positive angular velocity indicates counter-clockwise rotation from the perspective of an observer
 * at some positive location on the x, y, or z axis, while negative angular velocity indicates clockwise rotation.
 */
@Serializable
@SerialName( CarpDataTypes.ANGULAR_VELOCITY_TYPE_NAME )
@JsExport
data class AngularVelocity(
    val x: Double,
    val y: Double,
    val z: Double,
    override val sensorSpecificData: Data? = null
) : SensorData




© 2015 - 2024 Weber Informatics LLC | Privacy Policy