public class EulerConversions
extends java.lang.Object
Constructor and Description |
---|
EulerConversions() |
Modifier and Type | Method and Description |
---|---|
static double |
getOrientationFromEuler(double lat,
double lon,
double psi,
double theta)
Gets a degree heading for an entity based on euler angles.
|
static double |
getPhiFromTaitBryanAngles(double lat,
double lon,
double yaw,
double pitch,
double roll)
Gets the Euler Phi value (in radians) from position and Tait-Brayn yaw, pitch and roll angles
|
static double |
getPitchFromEuler(double lat,
double lon,
double psi,
double theta)
Gets a degree pitch for an entity based on euler angles.
|
static double |
getPsiFromTaitBryanAngles(double lat,
double lon,
double yaw,
double pitch)
Gets the Euler Psi value (in radians) from position and Tait-Brayn yaw and roll angles
|
static double |
getRollFromEuler(double lat,
double lon,
double psi,
double theta,
double phi)
Gets the degree roll for an entity based on euler angles.
|
static double |
getThetaFromTaitBryanAngles(double lat,
double lon,
double yaw,
double pitch)
Gets the Euler Theta value (in radians) from position and Tait-Brayn yaw and roll angles
|
public static double getOrientationFromEuler(double lat, double lon, double psi, double theta)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSpsi
- Psi angle, IN RADIANStheta
- Theta angle, IN RADIANSpublic static double getPitchFromEuler(double lat, double lon, double psi, double theta)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSpsi
- Psi angle, IN RADIANStheta
- Theta angle, IN RADIANSpublic static double getRollFromEuler(double lat, double lon, double psi, double theta, double phi)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSpsi
- Psi angle, IN RADIANStheta
- Theta angle, IN RADIANSphi
- Phi angle, IN RADIANSpublic static double getThetaFromTaitBryanAngles(double lat, double lon, double yaw, double pitch)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSyaw
- entity's yaw angle (also know as the entity's bearing or heading angle), in degreespitch
- entity's pitch angle, in degreespublic static double getPsiFromTaitBryanAngles(double lat, double lon, double yaw, double pitch)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSyaw
- ettity's yaw angle (also know as the entity's bearing or heading angle), in degreespitch
- entity's pitch angle, in degreespublic static double getPhiFromTaitBryanAngles(double lat, double lon, double yaw, double pitch, double roll)
lat
- Entity's latitude, IN RADIANSlon
- Entity's longitude, IN RADIANSyaw
- yaw angle (also know as the entity's bearing or heading angle), in degreespitch
- entity's pitch angle, in degreesroll
- entity's roll angle (0 is level flight, + roll is clockwise looking out the nose), in degrees