forked from cyberbotics/webots
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
During the 3rd place game, a freekick was called during another freekick twice over the simulations:
First occurrence is at t=1128.232 in 1st attempt with the relevant logs:
[14458.364|1126.488] Info: New secondary state received from GameController: STATE_DIRECT_FREEKICK, phase 1.
[14458.364|1126.488] Info: State has succesfully changed to STATE_DIRECT_FREEKICK:1
[14458.457|1126.496] Info: Ball in play, can be touched by any player (moved by 50.00 cm).
[14479.583|1128.232] Info: 1128232: contact between red player 2 and blue player 2.
[14479.583|1128.232] Info: Check if red 2 is performing a foul on blue 2
[14479.583|1128.232] Info: red 2 : at [-0.56 -0.60 0.33], dist to ball: 0.64
[14479.583|1128.232] Info: blue 2: at [-0.37 -0.40 0.39], dist to ball: 0.53
[14479.583|1128.232] Info: Pushing time: 1.008 > 1 over the last 2
[14479.583|1128.232] Info: Difference of distance: 0.10787854056576973 > 0.1
[14479.583|1128.232] Info: Red player 2 committed a forceful contact foul on blue player 2 (long_collision) outside penalty area.
[14479.583|1128.232] Info: Ball in play: 1126496, foul far from ball: False
[14479.583|1128.232] Info: Interruption countdown set to 625
[14479.583|1128.232] Info: Ball not in play, will be kicked by a player from the blue team.
[14479.583|1128.232] Info: Direct free kick awarded to blue team.
[14479.583|1128.232] Info: Waiting for secondary state: DIRECT_FREEKICK:0
Second occurrence is at t=971.152 in 3rd attempt with the relevant logs:
[10386.667|0967.720] Info: New secondary state received from GameController: STATE_DIRECT_FREEKICK, phase 1.
[10386.668|0967.720] Info: State has succesfully changed to STATE_DIRECT_FREEKICK:1
[10386.720|0967.728] Info: Ball in play, can be touched by any player (moved by 50.00 cm).
[10418.405|0971.152] Info: 971152: contact between red player 3 and blue player 2.
[10418.405|0971.152] Info: Check if blue 2 is performing a foul on red 3
[10418.405|0971.152] Info: blue 2: at [-0.34 -0.20 0.11], dist to ball: 0.87
[10418.405|0971.152] Info: red 3 : at [-0.80 0.09 0.32], dist to ball: 0.67
[10418.405|0971.152] Info: blue 2: velocity: [-0.22 -0.37 -0.41], speed: 0.43
[10418.405|0971.152] Info: red 3 : velocity: [-0.04 -0.01 -0.01], speed: 0.04
[10418.405|0971.152] Info: blue 2 is close to the ball (0.87 < 2)
[10418.405|0971.152] Info: Blue player 2 committed a forceful contact foul on red player 3 (opponent moving towards the ball, charge) outside penalty area.
[10418.406|0971.152] Info: Ball in play: 967728, foul far from ball: False
[10418.406|0971.152] Info: Interruption countdown set to 625
[10418.406|0971.152] Info: Ball not in play, will be kicked by a player from the red team.
[10418.406|0971.152] Info: Direct free kick awarded to red team.
[10418.406|0971.152] Info: Waiting for secondary state: DIRECT_FREEKICK:0
One thing which seems weird is the Ball in play, ... (moved by 50cm) in both cases at the tick after the ball was positioned.
The most likely explanation is that the ball is placed at an alternative location and is therefore considered as moving. However, once a game interruption has started, it should be impossible to place the ball in play until one of the following event happened:
- Message
ABORTis sent to the GameController and secondary state is set toNORMAL - Message
EXECUTEis sent to the GameController and secondary state is set toNORMAL