Skip to content

Commit

Permalink
doubling wall space
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-i-am012 committed Sep 23, 2024
1 parent 5e606a9 commit f4f48e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soccer/src/soccer/strategy/agent/position/waller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ std::optional<RobotIntent> Waller::get_task(RobotIntent intent, const WorldState
rj_geometry::Point mid_point{(goal_center_point) + (ball_dir_vector * min_wall_rad)};

// Calculate the wall spacing
auto wall_spacing = robot_diameter_multiplier_ * kRobotDiameter + kBallRadius;
auto wall_spacing = 2 * (robot_diameter_multiplier_ * kRobotDiameter + kBallRadius);


// Calculate the target point
rj_geometry::Point target_point{};
Expand Down

0 comments on commit f4f48e3

Please sign in to comment.