Function navtk::utils::convert_pva_to_pos_ref_frame

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 r is not recongnized.

Returns

The matching MeasurementPosition reference frame. r is not recognized will default to ASPN_MEASUREMENT_POSITION_REFERENCE_FRAME_GEODETIC.