-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathYourPlanner.h
More file actions
39 lines (25 loc) · 744 Bytes
/
YourPlanner.h
File metadata and controls
39 lines (25 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _YOUR_PLANNER_H_
#define _YOUR_PLANNER_H_
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "RrtConConBase.h"
using namespace ::rl::plan;
/**
* The implementation of your planner.
* modify any of the existing methods to improve planning performance.
*/
class YourPlanner : public RrtConConBase
{
public:
YourPlanner();
virtual ~YourPlanner();
virtual ::std::string getName() const;
bool solve();
protected:
void choose(::rl::math::Vector& chosen);
RrtConConBase::Vertex connect(Tree& tree, const Neighbor& nearest, const ::rl::math::Vector& chosen);
RrtConConBase::Vertex extend(Tree& tree, const Neighbor& nearest, const ::rl::math::Vector& chosen);
private:
};
#endif // _YOUR_PLANNER_H_