Skip to content

Commit 767ef84

Browse files
committed
Increase the distance threshold for checking distances to ball, etc
1 parent f1c1e93 commit 767ef84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/engine/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
const ballSteadyThreshold = 0.2
1515
const robotRadius = 0.09
16-
const distanceThreshold = 0.03
16+
const distanceThreshold = 0.05
1717

1818
func createGameEventChange(eventType state.GameEvent_Type, event state.GameEvent) *statemachine.Change {
1919
event.Type = &eventType

0 commit comments

Comments
 (0)