From 37c2810a53512895eb2fea6759af31d3b3a9af24 Mon Sep 17 00:00:00 2001 From: sid-parikh Date: Mon, 29 Apr 2024 00:33:22 +0000 Subject: [PATCH] automated style fixes --- soccer/src/soccer/radio/network_radio.cpp | 2 +- .../soccer/strategy/agent/position/robot_factory_position.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/soccer/src/soccer/radio/network_radio.cpp b/soccer/src/soccer/radio/network_radio.cpp index a5fc2bd1ea2..161f4872fc5 100644 --- a/soccer/src/soccer/radio/network_radio.cpp +++ b/soccer/src/soccer/radio/network_radio.cpp @@ -125,7 +125,7 @@ void NetworkRadio::receive_alive_robots(const boost::system::error_code& error, return; } - uint16_t alive = (((uint16_t) alive_robots_buffer_[1]) << 8) | (alive_robots_buffer_[0]); + uint16_t alive = (((uint16_t)alive_robots_buffer_[1]) << 8) | (alive_robots_buffer_[0]); SPDLOG_INFO("Alive: {}", alive); // uint16_t alive = (alive_robots_buffer_[0] << 8) | (alive_robots_buffer_[0]); diff --git a/soccer/src/soccer/strategy/agent/position/robot_factory_position.cpp b/soccer/src/soccer/strategy/agent/position/robot_factory_position.cpp index aac0b26ebe9..373d16c2924 100644 --- a/soccer/src/soccer/strategy/agent/position/robot_factory_position.cpp +++ b/soccer/src/soccer/strategy/agent/position/robot_factory_position.cpp @@ -25,8 +25,6 @@ std::optional RobotFactoryPosition::derived_get_task([ current_play_state_); } - - // Update our state process_play_state();