RobotInfo - RoboCup-Humanoid-TC/GameController GitHub Wiki
RobotInfo
C-Type | Bytes | Identifier | Explanation |
---|---|---|---|
uint8_t | 1 | penalty | The type of the game that is played.See @data.values.Penalties for allowed values |
uint8_t | 1 | secsTillUnpenalised | The number of seconds until the robot is unpenalized again. |
uint8_t | 1 | warningCount | The number of warnings the robot has |
uint8_t | 1 | yellowCardCount | The number of yellow cards the robot has |
uint8_t | 1 | redCardCount | The number of red cards the robot has |
bool | 1 | goalkeeper | Flag indicating whether the current robot is the goalkeeper of the team |