DUNE: Uniform Navigational Environment
2019.02.0
|
Utility class to estimate a plan's progress.
Static Public Member Functions | |
static float | compute (const IMC::Message *man, const IMC::ManeuverControlState *mcs, const std::vector< float > &durations, float total_duration) |
|
static |
Compute a plan's progress from maneuver and ManeuverControlState.
[in] | man | pointer to maneuver message |
[in] | mcs | pointer to ManeuverControlState message |
[in] | durations | pointer to vector of maneuver duration(s) |
[in] | total_duration | full duration of the plan |
References DUNE::IMC::ManeuverControlState::eta, DUNE::IMC::Message::getId(), and DUNE::Math::trimValue().