30 #ifndef _MIRA_PILOT_ESTARPLANNER_H_ 31 #define _MIRA_PILOT_ESTARPLANNER_H_ 45 namespace mira {
namespace pilot {
54 bool persistentDoubleBuffer =
false);
57 template <
typename Reflector>
84 float maxDistance = 1e10f)
const;
106 virtual void reset();
116 boost::shared_ptr<estar::Grid>
mGrid;
virtual bool hasValidGoal() const
Implementation of AbstractMetricPlanner::hasValidGoal()
virtual void planStep()
Implementation of AbstractMetricPlanner::planStep()
virtual Carrot getCurrentCarrot(const Point2f &pos, int maxCount, float maxDistance=1e10f) const
Implementation of MetricPlannerBase::getCurrentCarrot()
EstarPlanner(bool useDoubleBuffer=false, bool persistentDoubleBuffer=false)
Definition: EstarPlanner.h:35
virtual double getCurrentValueMap(const Point2i &mapPos) const
Implementation of MetricPlannerBase::getCurrentValueMap()
Base class for implementations of metric planners like Dijkstra and E*.
Definition: MetricPlannerBase.h:55
virtual double infinity() const
Implementation of AbstractMetricPlanner::infinity().
virtual bool haveWork() const
Implementation of AbstractMetricPlanner::haveWork()
virtual void dirtyCell(const Point2i &p, double value)
Update a cell's cost map value in the planner's internal cost function representation.
#define MIRA_REFLECT_BASE(reflector, BaseClass)
virtual void removeGoals()
Remove all set goals.
boost::shared_ptr< estar::Algorithm > mAlgorithm
Definition: EstarPlanner.h:117
StatusMap getStatusMap() const
virtual void freeCell(const Point2i &p)
Mark a cell as free in the planner's internal cost function representation.
std::vector< Point2f > Carrot
Definition: AbstractMetricPlanner.h:53
boost::shared_ptr< estar::Grid > mGrid
Definition: EstarPlanner.h:116
virtual void reset()
Re-initialize internal structures.
void reflect(Reflector &r)
Definition: EstarPlanner.h:58
virtual bool isValid() const
Return whether planner is properly initialized and able to calculate a path (when a goal is set) ...
virtual Img8U1 getStatusField() const
Implementation of MetricPlannerBase::getStatusField().
virtual maps::CostMap getCurrentNavFunction() const
Implementation of MetricPlannerBase::getCurrentNavFunction()
#define MIRA_OBJECT(classIdentifier)
boost::shared_ptr< estar::Kernel > mKernel
Definition: EstarPlanner.h:118
virtual void addGoal(const Point2i &p, float cost)
Add a goal cell with a certain cost (e.g.
virtual void copyDoubleBuffer()
Copy entire field of internally calculated cost values to mDoubleBuffer.
virtual ~EstarPlanner()
Definition: EstarPlanner.h:55
boost::shared_ptr< estar::Facade > mFacade
Definition: EstarPlanner.h:115
Definition: EstarPlanner.h:49
Base class for implementations of metric planners like Dijkstra and E*.