FSM_STATE(climb_the_slope)
{
+ struct TrajectoryConstraints tc;
switch(FSM_EVENT) {
case EV_ENTRY: {
// disables using side switches on bumpers when going up
act_vidle(VIDLE_LOAD_PREPARE, 5);
robot.ignore_hokuyo = true;
/* create the trajectory and go */
- robot_trajectory_new_backward(&tcSlow);
+ tc = tcSlow;
+ tc.maxacc = 0.4;
+ robot_trajectory_new_backward(&tc);
if (slope_approach_style_p->which_oranges == NEAR_PLAYGROUND_BOUNDARY) {
robot_trajectory_add_point_trans(
x_coord(SLOPE_TO_RIM_M + SLOPE_LENGTH_M - ROBOT_AXIS_TO_BACK_M, slope_approach_style_p->which_side),