Skip to content

Commit

Permalink
added epsilon to 0.15m y max step length
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Winkler committed Sep 12, 2016
1 parent fcff5ee commit 1d05292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/step_sequence_planner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ StepSequencePlanner::DetermineStepSequence ()

// based on distance to cover
const double length_per_step = 0.25;
const double width_per_step = 0.15;
const double width_per_step = 0.15111;
Eigen::Vector2d start_to_goal = goal_state_.p.segment<2>(0) - curr_state_.p.segment<2>(0);
int req_steps_by_length = std::ceil(std::fabs(start_to_goal.x())/length_per_step);
int req_steps_by_width = std::ceil(std::fabs(start_to_goal.y())/width_per_step);
Expand Down

0 comments on commit 1d05292

Please sign in to comment.