Skip to content

Commit

Permalink
soubled wall spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
piman51277 committed Sep 23, 2024
1 parent 5e606a9 commit 925cf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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,7 @@ 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 = (robot_diameter_multiplier_ * kRobotDiameter + kBallRadius) * 2;

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

0 comments on commit 925cf1e

Please sign in to comment.