RoboCup-Humanoid-TC / webots

Webots Robot Simulator
https://cyberbotics.com
Apache License 2.0
14 stars 14 forks source link

Referee and Gamecontroller are out of sync for the kickoff #260

Open Flova opened 3 years ago

Flova commented 3 years ago

Describe the Bug During the second half, the game controller (and therefore the robots) thinks that another team has kickoff as the referee. This leads to the behavior that the teams correctly position themselves, but the robots of the kickoff team are removed by the game controller. It only happens in the beginning second half time and I suspect that the referee is confused due to goals scored in the game and the kickoffs related to the goals.

Steps to Reproduce

E.g. second half of https://www.twitch.tv/videos/1065150793

Expected behavior They should be synced

timonegk commented 3 years ago

This also happens when no goal was scored, and the referee is right, the GameController is wrong.

SGSSGene commented 3 years ago

The same happend in game Starkit vs RFC Berlin The kick of side was not switched (our robots didn't receive any signal, but receiving signals worked).

https://cloud.robocup.org/s/fTW228MqMMrS3fN

timonegk commented 3 years ago

If it helps, here is a log of a game that I just simulated where this issue occurred: https://games.bit-bots.de/private/issue-260/game.html The referee log is here: https://games.bit-bots.de/private/issue-260/referee_log.txt According to the game controller, the red team has kick off both times, which is wrong.