#include <sys/time.h>
#include <time.h>
#include <unistd.h>
-#include "map_handling.h"
#include <string.h>
#include <robodim.h>
#include <ul_log.h>
#include "fsmmove.cc"
+#include "map_handling.h"
/* Subtract the `struct timespec' values X and Y,
ignore_hokuyo = false;
- map = ShmapInit(1);
+ map_handle.set_map(ShmapInit(1));
// fill_in_known_areas_in_map();
signal(SIGINT, int_handler);
* Signals all the robot threads to finish.
*/
void Robot::robot_exit() {
- destroy();
+ sched.terminate();
}