libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
ManhattanLike-RRT.hpp
1 /*
2  * ManhattanLike-RRT.hpp
3  *
4  * Created on: Aug 31, 2009
5  * Author: jmainpri
6  */
7 
8 #ifndef _MANHATTAN_LIKE_RRT_HPP_
9 #define _MANHATTAN_LIKE_RRT_HPP_
10 
11 #include "planner/Diffusion/RRT.hpp"
12 
13 
17 class ManhattanLikeRRT: public RRT
18 {
19 public:
21  ManhattanLikeRRT(Robot * robot, Graph * graph) : RRT(robot, graph) {
22  std::cout << "Construct the ML-RRT" << std::endl;
23  }
24 
26  virtual ~ManhattanLikeRRT() {};
27 
32  unsigned expandOneStep(ConnectedComponent * fromComp);
33 
34 private:
41  unsigned passiveExpandProcess(Node * expansionNode, Node * directionNode);
42 
43  bool getCollidingPassiveJntList(Robot * R, Configuration & qinv, std::vector<p3d_jnt *> & joints);
44 
45  bool selectNewJntInList(std::vector<p3d_jnt *> & joints, std::vector<p3d_jnt *> & oldJoints,
46  std::vector<p3d_jnt *> & newJoints);
47 
48  void shoot_jnt_list_and_copy_into_conf(Configuration & qrand, std::vector<p3d_jnt *> & joints);
49 };
50 
51 #endif
Definition: compco.hpp:23
The Manhattan-Like RRT (ML-RRT) algorithm.
Definition: ManhattanLike-RRT.hpp:17
Classe représentant un Node d'un Graph.
Definition: node.hpp:39
Definition: graph.hpp:28
ManhattanLikeRRT(Robot *robot, Graph *graph)
Constructor.
Definition: ManhattanLike-RRT.hpp:21
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
virtual ~ManhattanLikeRRT()
Destructor.
Definition: ManhattanLike-RRT.hpp:26
unsigned expandOneStep(ConnectedComponent *fromComp)
Perform a single expansion step of ML-RRT, growing the given connected component. ...
Definition: ManhattanLike-RRT.cpp:24
Classe représentant une Configuration d'un Robot.
Definition: configuration.hpp:25
The Rapidly-exploring Random Tree (RRT) algorithm.
Definition: RRT.hpp:81