-/*TODO
- * No usage of jaws. Update dimensions.
+/*
+ * homologation.cc 12/02/21
+ *
+ * Robot's control program intended for homologation (approval phase) on Eurobot 2012.
+ *
+ * Copyright: (c) 2012 CTU Flamingos
+ * CTU FEE - Department of Control Engineering
+ * License: GNU GPL v.2
*/
+
#define FSM_MAIN
#include <robot.h>
#include <fsm.h>
#include "actuators.h"
#include <trgen.h>
#include "match-timing.h"
-//#include "eb2010misc.h"
#include <ul_log.h>
-//#include "../projects/eurobot/master/src/robofsm/actuators.h"
UL_LOG_CUST(ulogd_homologation); /* Log domain name = ulogd + name of the file */
case EV_ENTRY:
robot_trajectory_new(&tcSlow); // new trajectory
robot_trajectory_add_point_trans(
- 0.7,
+ 0.62,
PLAYGROUND_HEIGHT_M - (ROBOT_WIDTH_M/2.0));
robot_trajectory_add_final_point_trans(
- 0.7,
+ 0.72,
1.14,
TURN_CW(DEG2RAD(180)));
break;
case EV_ENTRY:
robot_trajectory_new_backward(&tcSlow); // new trajectory
robot_trajectory_add_final_point_trans(
- 0.6,
+ 0.64,
1.14,
NO_TURN());
break;
case EV_ENTRY:
robot_trajectory_new(&tcSlow); // new trajectory
robot_trajectory_add_point_trans(
- 0.6,
+ 0.64,
0.9);
robot_trajectory_add_final_point_trans(
- 0.6,
- ROBOT_AXIS_TO_FRONT_M,
+ 0.64,
+ ROBOT_AXIS_TO_FRONT_M + 0.05,
ARRIVE_FROM(DEG2RAD(270), 0.10));
break;
case EV_MOTION_DONE: