UPenn-RoboCup / UPennalizers

Open Source Repository for Team UPennalizers
GNU General Public License v3.0
69 stars 38 forks source link

NaoDemo Playing/Penalized Bug #14

Closed jbrindza closed 4 years ago

jbrindza commented 12 years ago

The NaoGameControl changes the robot state based on the button press but the GameSM uses its own button detection to change state. If you just press the chest button quickly you can make the state of the robot switch between penalized and playing without it being reflected in the state machine behaviors.

It does, however, affect the team play behavior because it thinks it is determines whether it is penalized or not from game control states causing the robot to be stuck in 'support' mode because it thinks it is penalized.