Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Schniz/robotikka. Lee Ve Tom Ve Ani Doin our Robottttt
Something went wrong. Try again.
robotikka main.cpp
123456789101112131415161718192021222324252627282930313233343536373839404142/* * main.cpp * * Created on: Dec 14, 2014 * Author: user */#include "Robot.h"#include "Manager.h"#include "Plans/PlnObstacleAvoid.h"#include <stdarg.h>
#define RUN_ROBOT true#define TRASHHOLE 0.5#define BEST_EFFORT 0.9#define NUMBER_OF_PARTICLE 100
//map check#include "Managers/ConfigurationManager.h"#include "Models/Map.h"#include "Utils/AStarUtil.h"#include "Models/AnotherMap.h"
using namespace std;using namespace Utils;
int main(){ if (RUN_ROBOT) { Robot robot("localhost",6665); PlnObstacleAvoid plnOA(&robot); Manager manager(&robot, &plnOA); manager.run(); return 0; }
ConfigurationManager::LoadFromFile("Resources/parameters.txt"); Managers::ConfigurationManager* config = ConfigurationManager::GetInstance(); AnotherMap* m = new AnotherMap(config); AStarUtil::testWithMap(m);}