public class KickDirectionProfiler
extends java.lang.Object
The KickDirectionProfiler provides an estimate of a preferred kick direction.
It therefore creates a profiles of the scanRange which is
represented as a histogram in 1 degree steps. The histogram represents a
(complex ;)) weighting of players, the opponent goal and (not yet, but maybe
sometime) the field diameters. The best kick direction is then determined by
the maximum value in the histogram.
Known issues:
1. If the ball is directly in front of the opponents goal, but not central,
the choice of relating everything to the ball-to-goal-center-direction
revenges. But in such a case the agent should decide anyways to run with the
ball into the goal...
- Author:
- Stefan Glaser