|
static util::Duration | estimateDuration (const util::Pose &start_pose, const std::vector< FunctionalityVariant > &functionalities, const AmrDescription &description, const Topology &topology, bool check_positioning=true) |
| Estimates how much time (seconds) it takes to complete a list of FunctionalityVariant .
|
|
static util::Duration | estimateDuration (const util::Pose &start_pose, const FunctionalityVariant &functionality, const AmrDescription &description, const Topology &topology, bool check_positioning=true) |
| Estimates how much time (seconds) it takes to complete a list of FunctionalityVariant .
|
|
static std::vector< daisi::cpps::AmrMobilityStatus > | calculatePhases (const util::Duration &start_timestamp, const util::Pose &start_pose, const FunctionalityVariant &functionality, const AmrDescription &description, const Topology &topology) |
| Calculates acceleration, constant velocity and deceleration phases for simulation. The deceleration vector is pointing in the opposite direction of the velocity vector.
|
|
static daisi::cpps::AmrMobilityStatus | calculateMobilityStatus (const daisi::cpps::AmrMobilityStatus ¤t_phase, const util::Duration ¤t_timestamp) |
| Calculates the current status of the AMR for simulation.
|
|
static daisi::util::Distance | calculateDistance (const daisi::util::Position &start_position, const std::vector< FunctionalityVariant > &functionalities) |
| Calculates distance it takes to execute reach functionality starting from start_position.
|
|
static std::tuple< daisi::util::Duration, daisi::util::Duration, daisi::util::Duration, daisi::util::Distance, daisi::util::Distance > | calculateMetricsByDomain (const daisi::util::Position &start_position, const std::vector< FunctionalityVariant > &functionalities, const AmrDescription &description, const Topology &topology) |
| Calculates durations and distances different parts of the execution. The domains are empty travel (when the AMR carries no load), loaded, and action (when loading/unloading).
|
|