Dribble¶
The DribbleToGoal
skill dribbles the ball to the goal, but tries to avoid obstacles and handles the field border to not dribble outside.
For this the potential field from the representation FieldRating is used. Based on the last direction, the potential field direction 1 cm further is determined in a loop, until a distance of one meter is reached. The end position is then used to calculate the base dribble direction. Afterwards a sector wheel and the distances to the field border are used, to determine the nearest best dribble direction. The potential field and sector wheel usage is shown below.
You can use the following command, to see the drawings in the world state, whenever the robot is executing the DribbleToGoal
skill and is near the ball:
call Drawings/DribbleToGoal
Indirect Kick Rule¶
In case the robot is not allowed to kick at the goal yet, the ball is dribbled about to the opponent penalty mark instead.
Current Problems¶
The skill works quite well, but still has a few short comings:
- Near the opponent goal posts the resulting directions tends to dribble directly into the goal post.
- Different kick ranges, which the walk kicks support, are not used. The problems comes from the kicks themself, because they have high range deviations.
- Kicks near the field border are handled by using a minimal distance to the field border. Additionally using a minimal angle would reduce the risk of kicking outside even further.