|
|
#include <armarx/navigation/algorithms/astar/Planner2D.h>
Classes | |
| struct | point2D |
Public Member Functions | |
| virtual std::vector< point2D > | getGridVisu (float xdist, float ydist, Eigen::Vector2f goal) |
| float | getParameter (const std::string &s) |
| get the corresponding float parameter (0 is returned when parameter string is not present) More... | |
| bool | hasParameter (const std::string &s) |
| check if a parameter is set More... | |
| virtual std::vector< Eigen::Vector2f > | plan (const Eigen::Vector2f &start, const Eigen::Vector2f &goal)=0 |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Planner2D (VirtualRobot::RobotPtr robot, VirtualRobot::SceneObjectSetPtr obstacles=VirtualRobot::SceneObjectSetPtr()) |
| Initialize Planner with robot and obstacles. More... | |
| Eigen::Matrix4f | positionToMatrix4f (Eigen::Vector2f pos) |
| void | setObstacles (VirtualRobot::SceneObjectSetPtr obstacles) |
| Update obstacles. More... | |
| void | setParameter (const std::string &s, float p) |
| set a float parameter that is identified with a string More... | |
| void | setRobot (VirtualRobot::RobotPtr robot) |
| update robot More... | |
| void | setRobotColModel (const std::string &robotColModelName) |
| set name of RobotNode which should be used for collision detection More... | |
| virtual | ~Planner2D ()=default |
Protected Attributes | |
| VirtualRobot::SceneObjectSetPtr | obstacles |
| std::map< std::string, float > | parameters |
| VirtualRobot::RobotPtr | robot |
| VirtualRobot::CollisionModelPtr | robotCollisionModel |
| std::string | robotColModelName |
| Eigen::Vector2f | sceneBoundsMax |
| Eigen::Vector2f | sceneBoundsMin |
Definition at line 15 of file Planner2D.h.
| Planner2D | ( | VirtualRobot::RobotPtr | robot, |
| VirtualRobot::SceneObjectSetPtr | obstacles = VirtualRobot::SceneObjectSetPtr() |
||
| ) |
Initialize Planner with robot and obstacles.
| robot | The robot |
| obstacles | The obstacles which should be considered by the planner |
Definition at line 17 of file Planner2D.cpp.
Here is the call graph for this function:
|
virtualdefault |
|
inlinevirtual |
Definition at line 62 of file Planner2D.h.
| float getParameter | ( | const std::string & | s | ) |
get the corresponding float parameter (0 is returned when parameter string is not present)
Definition at line 76 of file Planner2D.cpp.
Here is the call graph for this function:| bool hasParameter | ( | const std::string & | s | ) |
check if a parameter is set
Definition at line 70 of file Planner2D.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
| Eigen::Matrix4f positionToMatrix4f | ( | Eigen::Vector2f | pos | ) |
| void setObstacles | ( | VirtualRobot::SceneObjectSetPtr | obstacles | ) |
Update obstacles.
Definition at line 26 of file Planner2D.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setParameter | ( | const std::string & | s, |
| float | p | ||
| ) |
set a float parameter that is identified with a string
Definition at line 64 of file Planner2D.cpp.
Here is the call graph for this function:| void setRobot | ( | VirtualRobot::RobotPtr | robot | ) |
update robot
Definition at line 43 of file Planner2D.cpp.
Here is the caller graph for this function:| void setRobotColModel | ( | const std::string & | robotColModelName | ) |
set name of RobotNode which should be used for collision detection
Definition at line 49 of file Planner2D.cpp.
|
protected |
Definition at line 72 of file Planner2D.h.
|
protected |
Definition at line 76 of file Planner2D.h.
|
protected |
Definition at line 71 of file Planner2D.h.
|
protected |
Definition at line 70 of file Planner2D.h.
|
protected |
Definition at line 68 of file Planner2D.h.
|
protected |
Definition at line 74 of file Planner2D.h.
|
protected |
Definition at line 73 of file Planner2D.h.