Class LevelingEstimator2
java.lang.Object
com.irurueta.navigation.inertial.estimators.LevelingEstimator2
This implementation provides slightly more accurate
roll and pitch attitude angles than the ones obtained by
LevelingEstimator, since north component of gravity in a
local navigation frame is not neglected, because Earth is not
considered to be fully spherical.
To get this slight improvement of accuracy, this estimator requires knowledge of device position (latitude and height) on Earth.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor to prevent instantiation. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.irurueta.navigation.frames.CoordinateTransformationgetAttitude(double latitude, double height, double fx, double fy, double fz, double angularRateX, double angularRateY, double angularRateZ) Gets body attitude expressed in the local navigation frame.static voidgetAttitude(double latitude, double height, double fx, double fy, double fz, double angularRateX, double angularRateY, double angularRateZ, com.irurueta.navigation.frames.CoordinateTransformation result) Gets body attitude expressed in the local navigation frame.static com.irurueta.navigation.frames.CoordinateTransformationgetAttitude(double latitude, double height, BodyKinematics kinematics) Gets body attitude expressed in the local navigation frame.static voidgetAttitude(double latitude, double height, BodyKinematics kinematics, com.irurueta.navigation.frames.CoordinateTransformation result) Gets body attitude expressed in the local navigation frame.static com.irurueta.navigation.frames.CoordinateTransformationgetAttitude(com.irurueta.navigation.frames.NEDPosition position, double fx, double fy, double fz, double angularRateX, double angularRateY, double angularRateZ) Gets body attitude expressed in the local navigation frame.static voidgetAttitude(com.irurueta.navigation.frames.NEDPosition position, double fx, double fy, double fz, double angularRateX, double angularRateY, double angularRateZ, com.irurueta.navigation.frames.CoordinateTransformation result) Gets body attitude expressed in the local navigation frame.static com.irurueta.navigation.frames.CoordinateTransformationgetAttitude(com.irurueta.navigation.frames.NEDPosition position, BodyKinematics kinematics) Gets body attitude expressed in the local navigation frame.static voidgetAttitude(com.irurueta.navigation.frames.NEDPosition position, BodyKinematics kinematics, com.irurueta.navigation.frames.CoordinateTransformation result) Gets body attitude expressed in the local navigation frame.(package private) static voidgetPartialAttitude(double latitude, double height, double fx, double fy, double fz, com.irurueta.navigation.frames.CoordinateTransformation result) Gets partial body attitude where only roll and pitch angles are reliable.
-
Constructor Details
-
LevelingEstimator2
private LevelingEstimator2()Private constructor to prevent instantiation.
-
-
Method Details
-
getAttitude
public static com.irurueta.navigation.frames.CoordinateTransformation getAttitude(double latitude, double height, double fx, double fy, double fz, double angularRateX, double angularRateY, double angularRateZ) Gets body attitude expressed in the local navigation frame.- Parameters:
latitude- device latitude expressed in radians (rad).height- device height expressed in meters (m).fx- x-coordinate of measured body specific force expressed in meters per squared second (m/s^2).fy- y-coordinate of measured body specific force expressed in meters per squared second (m/s^2).fz- z-coordinate of measured body specific force expressed in meters per squared second (m/s^2).angularRateX- x-coordinate of body angular rate expressed in radians per second (rad/s).angularRateY- y-coordinate of body angular rate expressed in radians per second (rad/s).angularRateZ- z-coordinate of body angular rate expressed in radians per second (rad/s).- Returns:
- estimated attitude.