Skip to content

Commit

Permalink
doubled value of wall spacing in waller.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jonagil1661 committed Sep 29, 2024
1 parent 5e606a9 commit 5486577
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 = 2 * robot_diameter_multiplier_ * kRobotDiameter + kBallRadius;

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

0 comments on commit 5486577

Please sign in to comment.