Class TravelEstimator

Nested Relationships

Nested Types

Class Documentation

class TravelEstimator

A class to estimate the cost of travelling between any two points in a navigation graph. Results will be memoized for efficiency.

Public Functions

TravelEstimator(const Parameters &parameters)

Constructor

Parameters:

parameters[in] The parameters for the robot

std::optional<Result> estimate(const rmf_traffic::agv::Plan::Start &start, const rmf_traffic::agv::Plan::Goal &goal) const

Estimate the cost of travelling.

class Result

The result of a travel estimation.

Public Functions

rmf_traffic::Duration duration() const

How long the travelling will take.

double change_in_charge() const

How much the battery will drain while travelling.