RoboCup-Humanoid-TC / webots

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

Player with invalid reentry pose can crash the system #258

Closed medrimonia closed 3 years ago

medrimonia commented 3 years ago

Currently if a player has a reentry pose inside the field, it receives yellow card each time it is repositioned. Since the attribution of yellow cards is not synchronized with the GC state, this can lead to adding a third yellow card. This is an illegal call which is currently considered as fatal.

The simplest solution is to only display warnings if the illegal answer from GameController concerns a yellow card.