case EV_ENTRY:
tcFast = trajectoryConstraintsDefault;
tcFast.maxv = 1.5;
- tcFast.maxacc = 0.8;
+ tcFast.maxacc = 0.3;
tcSlow = trajectoryConstraintsDefault;
tcSlow.maxv = 0.3;
tcSlow.maxacc = 0.3;
case EV_ENTRY:
robot.ignore_hokuyo = true;
climb_the_slope_motion_done_count = 0;
- robot_trajectory_new_backward(&tcVerySlow);
+ robot_trajectory_new_backward(&tcSlow);
robot_trajectory_add_final_point_trans(
SLOPE_TO_RIM_M - ROBOT_AXIS_TO_BACK_M + 0.25,
PLAYGROUND_HEIGHT_M - 0.355,
NO_TURN());
break;
case EV_MOTION_DONE:
- //FSM_TRANSITION(to_container_diag);
- FSM_TRANSITION(to_container_ortho);
+ FSM_TRANSITION(to_container_diag);
+ //FSM_TRANSITION(to_container_ortho);
break;
case EV_START:
case EV_TIMER:
robot_trajectory_add_point_trans(0.50, PLAYGROUND_HEIGHT_M - 0.6);
// face the rim with front of the robot
- robot_trajectory_add_final_point_trans(PLAYGROUND_WIDTH_M-0.35, 0.12, ARRIVE_FROM(DEG2RAD(-90), 0.10));
+ //robot_trajectory_add_final_point_trans(PLAYGROUND_WIDTH_M-0.35, 0.12, ARRIVE_FROM(DEG2RAD(-90), 0.10));
// face the rim with back of the robot
- //robot_trajectory_add_point_trans(PLAYGROUND_WIDTH_M-0.5, 0.35);
- //robot_trajectory_add_final_point_trans(PLAYGROUND_WIDTH_M-0.35, 0.40, TURN(DEG2RAD(90)));
+ robot_trajectory_add_point_trans(PLAYGROUND_WIDTH_M-0.5, 0.35);
+ robot_trajectory_add_final_point_trans(PLAYGROUND_WIDTH_M-0.35, 0.40, TURN(DEG2RAD(90)));
break;
case EV_START:
case EV_TIMER: