RoboCup-Humanoid-TC / webots

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

AutoRef: format of result reporting #190

Open ghost opened 3 years ago

ghost commented 3 years ago

We are currently working on a service that displays the schedule and the results automatically. For this, we would like to easily extract the final result from the AutoRef logs. They could, for example, be in a format like:

score[score]:score[score] where the first score is the score during the game and [score] the one including the penalty shoot-outs.
medrimonia commented 3 years ago

The version in 31ef09b always prints FINAL SCORE: 0 - 0 (at least in penalty shootouts)

EDIT: this was probably due to the error #245 which should be fixed by 5320de6

medrimonia commented 3 years ago

In order to properly report the result in an easy to parse way, the result should also write one line with: GAME RESULT: <teamTag> wins (<winComment>) or GAME RESULT: DRAW

with examples of winComment: