Commit 341257e5 authored by MarkG's avatar MarkG Committed by TIGERs GitLab
Browse files

Resolve "Fine tuning"

Closes #1673

See merge request main/Sumatra!1426

sumatra-commit: 503f6445f3c5e4183061b1ebf9409cec8630bc18
parent a3a21d5d
Pipeline #16974 passed with stage
in 10 minutes and 36 seconds
......@@ -35,6 +35,9 @@ public class RuleConstraints
@Configurable(comment = "Distance between bots and penalty area in standard situations", defValue = "200.0")
private static double botToPenaltyAreaMarginStandard = 200;
@Getter
@Configurable(comment = "Offset to distance between bots and penalty area in standard situations", defValue = "10.0")
private static double botToPenaltyAreaMarginStandardOffset = 10;
@Getter
@Configurable(comment = "Ball placement accuracy tolerance of referee", defValue = "150.0")
private static double ballPlacementTolerance = 150;
@Getter
......@@ -53,4 +56,10 @@ public class RuleConstraints
private RuleConstraints()
{
}
public static double getPenAreaMarginStandard()
{
return botToPenaltyAreaMarginStandard + botToPenaltyAreaMarginStandardOffset;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment