Skip to content

Commit

Permalink
change wall spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayden Bastien authored and Jayden Bastien committed Oct 28, 2024
1 parent ba4465c commit 5a859d1
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 @@ -35,7 +35,7 @@ std::optional<RobotIntent> Waller::get_task(RobotIntent intent, const WorldState
// Find target Point
rj_geometry::Point mid_point{(goal_pos) + (ball_dir_vector * min_wall_rad)};

auto wall_spacing = kRobotDiameterMultiplier * kRobotDiameter + kBallRadius;
auto wall_spacing = kRobotDiameterMultiplier * kRobotDiameter + kBallRadius * 2;

rj_geometry::Point target_point{};
auto angle = (mid_point - goal_pos).angle();
Expand Down

0 comments on commit 5a859d1

Please sign in to comment.