Fawkes API  Fawkes Development Version
fawkes::worldinfo_penalty_message_t Struct Reference

Penalty message. More...

#include <messages.h>

List of all members.

Public Attributes

uint32_t player: 4
 Number of penalized robot.
uint32_t penalty: 6
 Penalty code, cf.
uint32_t reserved: 6
 Reserved for future use.
uint32_t seconds_remaining: 16
 Estimate in seconds when unpenalized.

Detailed Description

Penalty message.

This message is sent by the refbox repeater to indicate individual penalties for particular robots. This is optional and used in the SPL.


Member Data Documentation

Penalty code, cf.

worldinfo_penalty_t.

Definition at line 247 of file messages.h.

Referenced by fawkes::WorldInfoTransceiver::add_penalty(), and fawkes::WorldInfoTransceiver::recv().

Number of penalized robot.

Definition at line 246 of file messages.h.

Referenced by fawkes::WorldInfoTransceiver::add_penalty(), and fawkes::WorldInfoTransceiver::recv().

Reserved for future use.

Definition at line 248 of file messages.h.

Referenced by fawkes::WorldInfoTransceiver::add_penalty().

Estimate in seconds when unpenalized.

Definition at line 249 of file messages.h.

Referenced by fawkes::WorldInfoTransceiver::add_penalty(), and fawkes::WorldInfoTransceiver::recv().


The documentation for this struct was generated from the following file: