![]() |
GT RoboCup SSL
Soccer software, robot firmware
|
Radio IO with robots in the simulator. More...
Public Member Functions | |
SimRadio (Context *const context, bool blueTeam=false) | |
virtual bool | isOpen () const override |
virtual void | send (Packet::RadioTx &packet) override |
virtual void | receive () override |
virtual void | switchTeam (bool blueTeam) override |
void | stopRobots () |
![]() | |
virtual void | channel (int n) |
int | channel () const |
bool | hasReversePackets () |
const Packet::RadioRx | popReversePacket () |
void | clear () |
Static Public Attributes | |
static std::size_t | instance_count |
Additional Inherited Members | |
![]() | |
std::deque< Packet::RadioRx > | _reversePackets |
std::mutex | _reverse_packets_mutex |
int | _channel |
Radio IO with robots in the simulator.