Package com.kauailabs.navx.frc
Class Quaternion
java.lang.Object
com.kauailabs.navx.frc.Quaternion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
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 Details
-
Quaternion
public Quaternion() -
Quaternion
public Quaternion(float w, float x, float y, float z)
-
-
Method Details
-
set
public void set(float w, float x, float y, float z) -
getYaw
public float getYaw() -
getPitch
public float getPitch() -
getRoll
public float getRoll()
-