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