![]() |
0.3.0
|
Inertial Navigation Mechanization Functions in local navigation frame. More...
Go to the source code of this file.
Functions | |
template<typename DerivedA, typename DerivedB> | |
Eigen::Vector4< typename DerivedA::Scalar > | NAV::calcTimeDerivativeFor_n_Quat_b (const Eigen::MatrixBase< DerivedA > &b_omega_nb, const Eigen::MatrixBase< DerivedB > &n_Quat_b_coeffs) |
Calculates the time derivative of the quaternion n_Quat_b. | |
template<typename Derived> | |
Eigen::Vector3< typename Derived::Scalar > | NAV::lla_calcTimeDerivativeForPosition (const Eigen::MatrixBase< Derived > &n_velocity, const auto &phi, const auto &h, const auto &R_N, const auto &R_E) |
Calculates the time derivative of the curvilinear position. | |
template<typename T> | |
Eigen::Vector< T, 10 > | NAV::n_calcPosVelAttDerivative (const Eigen::Vector< T, 10 > &y, const Eigen::Vector< T, 6 > &z, const PosVelAttDerivativeConstants &c, double=0.0) |
Calculates the derivative of the quaternion, velocity and curvilinear position. | |
template<typename DerivedA, typename DerivedB, typename DerivedC, typename DerivedD> | |
Eigen::Vector3< typename DerivedA::Scalar > | NAV::n_calcTimeDerivativeForVelocity (const Eigen::MatrixBase< DerivedA > &n_measuredForce, const Eigen::MatrixBase< DerivedB > &n_coriolisAcceleration, const Eigen::MatrixBase< DerivedC > &n_gravitation, const Eigen::MatrixBase< DerivedD > &n_centrifugalAcceleration) |
Calculates the time derivative of the velocity in local-navigation frame coordinates. | |
Inertial Navigation Mechanization Functions in local navigation frame.
Eigen::Vector4< typename DerivedA::Scalar > NAV::calcTimeDerivativeFor_n_Quat_b | ( | const Eigen::MatrixBase< DerivedA > & | b_omega_nb, |
const Eigen::MatrixBase< DerivedB > & | n_Quat_b_coeffs ) |
Calculates the time derivative of the quaternion n_Quat_b.
[in] | b_omega_nb | ω_nb_b Body rate with respect to the navigation frame, expressed in the body frame |
[in] | n_Quat_b_coeffs | Coefficients of the quaternion n_Quat_b in order x, y, z, w (q = w + ix + jy + kz) |
Eigen::Vector3< typename Derived::Scalar > NAV::lla_calcTimeDerivativeForPosition | ( | const Eigen::MatrixBase< Derived > & | n_velocity, |
const auto & | phi, | ||
const auto & | h, | ||
const auto & | R_N, | ||
const auto & | R_E ) |
Calculates the time derivative of the curvilinear position.
[in] | n_velocity | [v_N v_E v_D]^T Velocity with respect to the Earth in local-navigation frame coordinates [m/s] |
[in] | phi | ϕ Latitude [rad] |
[in] | h | Altitude above the ellipsoid [m] |
[in] | R_N | North/South (meridian) earth radius [m] |
[in] | R_E | East/West (prime vertical) earth radius [m] |
Eigen::Vector< T, 10 > NAV::n_calcPosVelAttDerivative | ( | const Eigen::Vector< T, 10 > & | y, |
const Eigen::Vector< T, 6 > & | z, | ||
const PosVelAttDerivativeConstants & | c, | ||
double | = 0.0 ) |
Calculates the derivative of the quaternion, velocity and curvilinear position.
[in] | y | [ 𝜙, λ, h, v_N, v_E, v_D, n_q_bx, n_q_by, n_q_bz, n_q_bw]^T |
[in] | z | [fx, fy, fz, ωx, ωy, ωz]^T |
[in] | c | Constant values needed to calculate the derivatives |
Eigen::Vector3< typename DerivedA::Scalar > NAV::n_calcTimeDerivativeForVelocity | ( | const Eigen::MatrixBase< DerivedA > & | n_measuredForce, |
const Eigen::MatrixBase< DerivedB > & | n_coriolisAcceleration, | ||
const Eigen::MatrixBase< DerivedC > & | n_gravitation, | ||
const Eigen::MatrixBase< DerivedD > & | n_centrifugalAcceleration ) |
Calculates the time derivative of the velocity in local-navigation frame coordinates.
[in] | n_measuredForce | f_n = [f_N f_E f_D]^T Specific force vector as measured by a triad of accelerometers and resolved into local-navigation frame coordinates |
[in] | n_coriolisAcceleration | Coriolis acceleration in local-navigation coordinates in [m/s^2] |
[in] | n_gravitation | Local gravitation vector (caused by effects of mass attraction) in local-navigation frame coordinates [m/s^2] |
[in] | n_centrifugalAcceleration | Centrifugal acceleration in local-navigation coordinates in [m/s^2] |