Untitled object in Sensors Schema
https://schema.vinv.io/vinv-sensors/0.0.1.json#/properties/sensor_data/items/properties/device_orientation
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | dereferenced.doc.json* |
device_orientation Type
object
(Details)
device_orientation Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
alpha | number | Required | cannot be null | Sensors |
beta | number | Required | cannot be null | Sensors |
gamma | number | Required | cannot be null | Sensors |
absolute | boolean | Optional | cannot be null | Sensors |
alpha
The z-axis rotation of the device, in degrees, around the z-axis. This value represents the compass direction the device is facing.
alpha
alpha Type
number
(Alpha)
alpha Constraints
maximum: the value of this number must smaller than or equal to: 360
minimum: the value of this number must greater than or equal to: 0
alpha Examples
0
alpha Access Restrictions
The value of this property is managed exclusively by the owning authority, and attempts by an application to modify the value of this property are expected to be ignored or rejected by that owning authority
beta
The x-axis rotation of the device, in degrees, around the x-axis. This value represents the front-to-back tilt of the device.
beta
beta Type
number
(Beta)
beta Constraints
maximum: the value of this number must smaller than or equal to: 180
minimum: the value of this number must greater than or equal to: -180
beta Examples
0
gamma
The y-axis rotation of the device, in degrees, around the y-axis. This value represents the left-to-right tilt of the device.
gamma
gamma Type
number
(Gamma)
gamma Constraints
maximum: the value of this number must smaller than or equal to: 90
minimum: the value of this number must greater than or equal to: -90
gamma Examples
0
absolute
A boolean value that indicates whether the device's orientation is provided as relative to the Earth's coordinate system or as relative to the device's coordinate system.
absolute
absolute Type
boolean
(Absolute)
absolute Examples
false
true