Package com.kauailabs.navx.frc
Class Quaternion
- java.lang.Object
-
- com.kauailabs.navx.frc.Quaternion
-
public class Quaternion extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Quaternion()
Quaternion(float w, float x, float y, float z)
Quaternion(Quaternion src)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getPitch()
float
getRoll()
float
getYaw()
void
set(float w, float x, float y, float z)
void
set(Quaternion src)
static Quaternion
slerp(Quaternion qa, Quaternion qb, double t)
-
-
-
Constructor Detail
-
Quaternion
public Quaternion()
-
Quaternion
public Quaternion(Quaternion src)
-
Quaternion
public Quaternion(float w, float x, float y, float z)
-
-
Method Detail
-
set
public void set(float w, float x, float y, float z)
-
set
public void set(Quaternion src)
-
getYaw
public float getYaw()
-
getPitch
public float getPitch()
-
getRoll
public float getRoll()
-
slerp
public static Quaternion slerp(Quaternion qa, Quaternion qb, double t)
-
-