LibMuse 6.0.3
com.choosemuse.libmuse.Gyro Enum Reference

Public Attributes

 X
 
 Y
 
 Z
 
 FORWARD_BACKWARD
 
 UP_DOWN
 
 LEFT_RIGHT
 

Detailed Description

Represents the data mapping in a Gyro data packet

The gyro data is measured as the rotation about 3 axes which as shown in the picture below:

MuseAxes.png

The axes are oriented to a Right Hand Coordinate System.
Rotation about the X axis corresponds to tilting the head side to side. Positive values increase when tilting to the right. This is also known as roll.
Rotation about the Y axis corresponds to tilting the head up and down. Positive values increase when looking up. This is also known as pitch.
Rotation about the Z axis corresponds to looking left and right. Positive values increase when looking to the right. This is also known as yaw.

See also
MuseDataPacketType.GYRO
MuseDataPacket.getGyroValue()

Member Data Documentation

§ FORWARD_BACKWARD

com.choosemuse.libmuse.Gyro.FORWARD_BACKWARD

Rotation about the Forward/Backward axis value in degrees per second. Positive values increase when tilting to the right.

Deprecated:
Use Gyro.X instead.

§ LEFT_RIGHT

com.choosemuse.libmuse.Gyro.LEFT_RIGHT

Rotation about the Left/Right axis value in degrees per second. Positive values increase when looking left.

Deprecated:
Use Gyro.Y instead.

§ UP_DOWN

com.choosemuse.libmuse.Gyro.UP_DOWN

Rotation about the Up/Down axis value in degrees per second. Positive values increase when looking down.

Deprecated:
Use Gyro.Z instead.

§ X

com.choosemuse.libmuse.Gyro.X

Rotation about the X axis in degrees per second. Rotation about the X axis corresponds to tilting the head side to side. Positive values increase when tilting to the right. This is also known as roll.

§ Y

com.choosemuse.libmuse.Gyro.Y

Rotation about the Y axis in degrees per second. Rotation about the Y axis corresponds to tilting the head up and down. Positive values increase when looking up. This is also known as pitch.

§ Z

com.choosemuse.libmuse.Gyro.Z

Rotation about the Z axis in degrees per second. Rotation about the Z axis corresponds to looking left and right. Positive values increase when looking to the right. This is also known as yaw.


The documentation for this enum was generated from the following file: