forked from rishabh1b/RealTimePathPlanning
-
Notifications
You must be signed in to change notification settings - Fork 4
/
simulationParam.h
37 lines (36 loc) · 1.06 KB
/
simulationParam.h
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
#pragma once
#include "ofMain.h"
#include <limits>
//#define randomSeed 5
#define CLK
//--------------------------------------------------------------Macros
#define M(e) ofMap(e,-1,1,0,1);
const float inf = std::numeric_limits<float>::infinity();
//--------------------------------------------------------------ofApp.h
#define numberOfobst 20
//--------------------------------------------------------------obstracle.h
#define manual
#define obstMaxVelocity 10
#ifndef manual
#define automatic
#endif // !manual
//--------------------------------------------------------------Enviroment.h
#define NODE_RADIUS 3
//--------------------------------------------------------------Robot.h
#define sensorRadius 200
#define mVal 4
#define mForce 1
#define accur 1.0
//-------------------------------------------------------------Genral
#define startx 500
#define starty 500
#define goalx 250
#define goaly 200
#define converge 50.0
#define epsilon 25
#define rrtstarradius 50
#define allowedTimeRewiring 0.5
#define maxNeighbours 50
#define minDistClosestNode 5
#define alpha 0.1
#define beta 1.4