MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / RefereeSystem

Method RefereeSystem

roborts_base/referee_system/referee_system.cpp:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "referee_system.h"
2namespace roborts_base {
3RefereeSystem::RefereeSystem(std::shared_ptr<roborts_sdk::Handle> handle) :
4 handle_(handle) {
5 SDK_Init();
6 ROS_Init();
7}
8void RefereeSystem::SDK_Init() {
9 handle_->CreateSubscriber<roborts_sdk::cmd_game_state>(REFEREE_GAME_CMD_SET, CMD_GAME_STATUS,
10 CHASSIS_ADDRESS, MANIFOLD2_ADDRESS,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected