clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &t, NULL); \
} while(0)
- WAIT(5);
- // FIXME: any better solution?
- // microswitch (backside opponent detector), ignore it while at starting point
- robot.use_back_switch = true;
- printf("Back switch not ignored\n");
+// WAIT(5);
+// // microswitch (backside opponent detector), ignore it while at starting point
+// robot.use_back_switch = true;
+// printf("Back switch not ignored\n");
WAIT(TIME_TO_DEPOSITE);
short_time_to_end = true;
*/
robot.obstacle_avoidance_enabled = true;
- robot.use_back_switch = false; /* Switched on sime time after start */
+ robot.use_back_switch = true;
robot.state = POWER_ON;
/* init ORTE domain, create publishers, subscribers, .. */