Skip to content
On this page

Untitled object in Sensors Schema

txt
https://schema.vinv.io/vinv-sensors/0.0.1.json#/properties/sensor_data/items/properties/device_orientation
1
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednonedereferenced.doc.json*

device_orientation Type

object (Details)

device_orientation Properties

PropertyTypeRequiredNullableDefined by
alphanumberRequiredcannot be nullSensors
betanumberRequiredcannot be nullSensors
gammanumberRequiredcannot be nullSensors
absolutebooleanOptionalcannot be nullSensors

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

  • is required

  • Type: number (Alpha)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

  • is required

  • Type: number (Beta)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

  • is required

  • Type: number (Gamma)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

json
false
1
json
true
1

Released under the GNU GENERAL PUBLIC LICENSE.