1 #ifndef HRICS_RRTPLANEXPANSION_H
2 #define HRICS_RRTPLANEXPANSION_H
4 #include "API/planningAPI.hpp"
5 #include "planner/Diffusion/Variants/Transition-RRT.hpp"
6 #include "HRI_costspace/Grid/HRICS_TwoDGrid.hpp"
31 void setCellPath(std::vector<API::TwoDCell*> cellPath);
37 Node* expandComp,
Node* goalComp,
bool samplePassive,
Node*& directionNode);
48 Node* directionNode,
unsigned& nbCreatedNodes);
58 std::vector<API::TwoDCell*> m2DCellPath;
71 #endif // HRICS_RRTEXPANSION_H
Classe représentant un Node d'un Graph.
Definition: node.hpp:39
Classe représentant un chemin local.
Definition: localpath.hpp:15
Special RRT Expansion method for the HRICS.
Definition: HRICS_rrtPlanExpansion.hpp:12
std::tr1::shared_ptr< Configuration > getConfigurationInNextCell(Node *CompcoNode, Node *goalComp)
Configuration from the next cell along the 3dPath.
Definition: HRICS_rrtPlanExpansion.cpp:101
Definition: TwoDCell.hpp:19
bool on2DPathAndAfter(API::TwoDCell *cell)
Checks it the cell is after the given cell on the 2D path.
Definition: HRICS_rrtPlanExpansion.cpp:184
std::tr1::shared_ptr< Configuration > getExpansionDirection(Node *expandComp, Node *goalComp, bool samplePassive, Node *&directionNode)
Direction used in RRT one step.
Definition: HRICS_rrtPlanExpansion.cpp:61
Definition: TwoDGrid.hpp:25
double pathDelta(LocalPath &path)
Return the path parameter that is the closest to step()
Definition: BaseExpansion.cpp:79
Expansion procedure of the Transition-based RRT (T-RRT) algorithm.
Definition: Transition-RRT.hpp:17
void init()
Initializes some variables for the expansion method.
Definition: HRICS_rrtPlanExpansion.cpp:27
void setCellPath(std::vector< API::TwoDCell * > cellPath)
Sets the cell path.
Definition: HRICS_rrtPlanExpansion.cpp:49
Plannar HRI Grid.
Definition: HRICS_TwoDGrid.hpp:13
Node * addNode(Node *currentNode, LocalPath &path, double pathDelta, Node *directionNode, unsigned &nbCreatedNodes)
Adds a node to a conected component.
Definition: HRICS_rrtPlanExpansion.cpp:254
void setGrid(API::TwoDGrid *grid)
Sets the grid.
Definition: HRICS_rrtPlanExpansion.hpp:26