Class BodyMagneticFluxDensityEstimator
java.lang.Object
com.irurueta.navigation.inertial.estimators.BodyMagneticFluxDensityEstimator
Estimates magnetic flux density resolved around body coordinates for
a given Earth magnetic flux density an a given body attitude.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor to prevent instantiation. -
Method Summary
Modifier and TypeMethodDescriptionprivate static doubleconvertAngle(com.irurueta.units.Angle angle) Converts a given angle instance into radians.static BodyMagneticFluxDensityestimate(double magnitude, double declination, double dip, double roll, double pitch, double yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(double magnitude, double declination, double dip, double roll, double pitch, double yaw, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(double magnitude, double declination, double dip, com.irurueta.navigation.frames.CoordinateTransformation c) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(double magnitude, double declination, double dip, com.irurueta.navigation.frames.CoordinateTransformation c, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(double magnitude, com.irurueta.units.Angle declination, com.irurueta.units.Angle dip, com.irurueta.navigation.frames.CoordinateTransformation c) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(double magnitude, com.irurueta.units.Angle declination, com.irurueta.units.Angle dip, com.irurueta.navigation.frames.CoordinateTransformation c, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(double magnitude, com.irurueta.units.Angle declination, com.irurueta.units.Angle dip, com.irurueta.units.Angle roll, com.irurueta.units.Angle pitch, com.irurueta.units.Angle yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(double magnitude, com.irurueta.units.Angle declination, com.irurueta.units.Angle dip, com.irurueta.units.Angle roll, com.irurueta.units.Angle pitch, com.irurueta.units.Angle yaw, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(NEDMagneticFluxDensity earthB, double roll, double pitch, double yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(NEDMagneticFluxDensity earthB, double roll, double pitch, double yaw, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(NEDMagneticFluxDensity earthB, com.irurueta.navigation.frames.CoordinateTransformation c) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(NEDMagneticFluxDensity earthB, com.irurueta.navigation.frames.CoordinateTransformation c, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static BodyMagneticFluxDensityestimate(NEDMagneticFluxDensity earthB, com.irurueta.units.Angle roll, com.irurueta.units.Angle pitch, com.irurueta.units.Angle yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).static voidestimate(NEDMagneticFluxDensity earthB, com.irurueta.units.Angle roll, com.irurueta.units.Angle pitch, com.irurueta.units.Angle yaw, BodyMagneticFluxDensity result) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).
-
Constructor Details
-
BodyMagneticFluxDensityEstimator
private BodyMagneticFluxDensityEstimator()Private constructor to prevent instantiation.
-
-
Method Details
-
estimate
public static BodyMagneticFluxDensity estimate(double magnitude, double declination, double dip, double roll, double pitch, double yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).- Parameters:
magnitude- magnitude (a.k.a. intensity) of Earth magnetic flux density expressed in Teslas (T).declination- declination angle expressed in radians (rad).dip- dip (a.k.a. inclination) angle expressed in radians (rad).roll- body roll angle expressed in radians (rad).pitch- body pitch angle expressed in radians (rad).yaw- body yaw angle expressed in radians (rad).- Returns:
- measured magnetic flux density resolved in body coordinates.
-
estimate
public static BodyMagneticFluxDensity estimate(double magnitude, com.irurueta.units.Angle declination, com.irurueta.units.Angle dip, com.irurueta.units.Angle roll, com.irurueta.units.Angle pitch, com.irurueta.units.Angle yaw) Computes expected measured body magnetic flux density for a given Earth magnetic flux density and a certain body attitude (a.k.a. orientation).- Parameters:
magnitude- magnitude (a.k.a. intensity) of Earth magnetic flux density expressed in Teslas (T).declination- declination angle.dip- dip (a.k.a. inclination) angle.roll- body roll angle expressed.pitch- body pitch angle.yaw- body yaw angle.- Returns:
- measured magnetic flux density resolved in body coordinates.
-
convertAngle
private static double convertAngle(com.irurueta.units.Angle angle) Converts a given angle instance into radians.- Parameters:
angle- angle to be converted.- Returns:
- converted value expressed in radians.