DUNE: Uniform Navigational Environment
2.5.0-rc1
|
Utility class to estimate a plan's duration.
Classes | |
struct | SpeedConversion |
Public Types | |
typedef std::map< std::string, std::vector< float > > | ManeuverDuration |
Static Public Member Functions | |
static ManeuverDuration::const_iterator | parse (const std::vector< IMC::PlanManeuver * > &nodes, const IMC::EstimatedState *state, ManeuverDuration &man_durations, const SpeedConversion &speed_conv) |
static ManeuverDuration::const_iterator | parse (const std::vector< IMC::PlanManeuver * > &nodes, const IMC::EstimatedState *state, ManeuverDuration &man_durations) |
typedef std::map< std::string, std::vector<float> > DUNE::Plans::Duration::ManeuverDuration |
Mapping between maneuver IDs and point durations.
|
static |
Parse plan duration from plan specification.
[in] | nodes | vector of plan maneuver nodes |
[in] | state | current estimated state |
[out] | man_durations | map of maneuver ids to point durations |
[in] | speed_conv | speed conversion factors |
References DUNE::IMC::Message::getId().
Referenced by parse().
|
inlinestatic |
Parse plan duration from plan specification.
[in] | nodes | vector of plan maneuver nodes |
[in] | state | current estimated state |
[out] | man_durations | map of maneuver ids to point durations |
References DUNE::Plans::Duration::SpeedConversion::act_factor, parse(), and DUNE::Plans::Duration::SpeedConversion::rpm_factor.