Template Function navtk::navutils::calculate_gravity_schwartz(const S1&, const S2&)
Defined in File gravity.hpp
Function Documentation
-
template<typename S1, typename S2, IfBothTensorsOfDim<S1, S2, 0>* = nullptr>
Vector3 navtk::navutils::calculate_gravity_schwartz(const S1 &alt, const S2 &lat) NED frame gravity from Schwartz gravity model.
Only the down term is provided (no deflections included).
- Template Parameters
S1 – Type of alt.
S2 – Type of lat.
std::enable_if_t<> – Constrains S1 and S2 to be 0 dimensional.
- Parameters
alt – Ellipsoidal altitude (meters)
lat – Latitude (radians)
- Returns
Gravity at the given latitude and altitude.