Function navtk::utils::convert_pva_to_pos_ref_frame
Defined in File conversions.hpp
Function Documentation
-
AspnMeasurementPositionReferenceFrame navtk::utils::convert_pva_to_pos_ref_frame(AspnMeasurementPositionVelocityAttitudeReferenceFrame r)
Produces the appropriate refrence frame for an aspn::xtensor::MeasurementPosition derived from a aspn::xtensor::MeasurementPositionVelocityAttitude.
- Parameters
r – Source reference frame
- Throws
std::invalid_argument – if error mode is DIE and
ris not recongnized.- Returns
The matching MeasurementPosition reference frame.
ris not recognized will default to ASPN_MEASUREMENT_POSITION_REFERENCE_FRAME_GEODETIC.