Robot Planning and its Applications Project
obstacles.h
Go to the documentation of this file.
1 
7 #ifndef OBSTACLES_H
8 #define OBSTACLES_H
9 
10 #include <vector>
11 #include <eigen3/Eigen/Dense>
12 #include <assert.h>
13 
14 using namespace Eigen;
15 using namespace std;
16 
21 {
22 public:
23  RRTObstacles();
24  void addObstacle(double radius, Vector2f secondPoint);
25  bool isSegmentInObstacle(Vector2f &p1, Vector2f &p2);
26  vector<pair<double, Vector2f> > obstacles;
27 };
28 
29 #endif // OBSTACLES_H
Obstacles class for RRT* Star Implementation.
Definition: obstacles.h:20
vector< pair< double, Vector2f > > obstacles
Definition: obstacles.h:26