beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
MotionSensor
Ops.Devices.Mobile.MotionSensor_v2
get values from the device motion sensor mobile

summary (oneliner)

  • alpha value represents the motion of the device around the z axis, represented in degrees with values ranging from 0 to 360.

  • beta value represents the motion of the device around the x axis, represented in degrees with values ranging from -180 to 180.
    This represents a front to back motion of the device.

  • gamma value represents the motion of the device around the y axis, represented in degrees with values ranging from -90 to 90.
    This represents a left to right motion of the device.

doc

issues

youtube id

collections

related ops

Inputs

Mul Orientation (Number)

Request Permissions (Trigger)

Outputs

Orientation Alpha (Number)

Orientation Beta (Number)

Orientation Gamma (Number)

Acceleration X (Number)

Acceleration Y (Number)

Acceleration Z (Number)

Acceleration X no gravity (Number)

Acceleration Y no gravity (Number)

Acceleration Z no gravity (Number)

Rotation Rate Alpha (Number)

Rotation Rate Beta (Number)

Rotation Rate Gamma (Number)

Object (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
Motion sensor examples:

Motion sensor op works with Chrome.
Not with Firefox or Safari due to browser security issues.
Motion sensor 2 works with Firefox and Safari but not with Chrome.



Credits


Changelog


created op
2019-11-27 - pandur

Ops.Devices.Mobile.MotionSensor2 renamed to Ops.Devices.Mobile.MotionSensor_v2
2020-04-20 - pandur

Examples using MotionSensor_v2

Public Patches using MotionSensor_v2