DirectPlanner.h
Go to the documentation of this file.
1 
6 #include "PathPlanner.h"
7 #include "Geom.h"
8 
9 
10 #ifndef ORCA_DIRECTPLANNER_H
11 #define ORCA_DIRECTPLANNER_H
12 
17 class DirectPlanner : public PathPlanner
18 {
19  public:
28  DirectPlanner(const Map &map, const EnvironmentOptions &options, const Point &start, const Point &goal, const float &radius);
29 
34  DirectPlanner(const DirectPlanner &obj);
35 
39  ~DirectPlanner() override;
40 
41 
47  bool GetNext(const Point &curr, Point &next) override;
48 
53  bool CreateGlobalPath() override;
54 
59  DirectPlanner* Clone() const override;
60 
67 
68 
69 };
70 
71 #endif //ORCA_DIRECTPLANNER_H
PathPlanner class implements base pathfinder interface and behavior.
Definition: PathPlanner.h:25
DirectPlanner class implements simple planner, which creates direct path from start to goal position...
Definition: DirectPlanner.h:17
File contains Node, Point, Line, Vertex, ObstacleSegment classes and some methods and functions imple...
bool GetNext(const Point &curr, Point &next) override
Returns current goal of agent. Always return goal position.
DirectPlanner * Clone() const override
Method for cloning objects. Creates copy of object in memmory and return pointer to copy...
The Point class defines a position (or euclidean vector from (0,0)) in 2D space.
Definition: Geom.h:61
File contains PathPlanner class.
~DirectPlanner() override
DirectPlanner destructor.
bool CreateGlobalPath() override
Nothing.
Class EnvironmentOptions contains environment and algoritms parameters.
Map class describes static environment.
Definition: Map.h:36
DirectPlanner(const Map &map, const EnvironmentOptions &options, const Point &start, const Point &goal, const float &radius)
DirectPlanner constructor with parametes.
DirectPlanner & operator=(const DirectPlanner &obj)
Assignment operator.


ORCAStar
Author(s): Stepan Drgachev
autogenerated on Wed Jul 15 2020 16:13:14