diff --git a/roboteam_ai/src/utilities/Settings.cpp b/roboteam_ai/src/utilities/Settings.cpp index b1007c118..b51f7b849 100644 --- a/roboteam_ai/src/utilities/Settings.cpp +++ b/roboteam_ai/src/utilities/Settings.cpp @@ -42,6 +42,8 @@ void GameSettings::setLeft(bool _left) { left = _left; return; } + + RTT_INFO("This secondary AI can not alter settings") } net::RobotHubMode GameSettings::getRobotHubMode() { return robotHubMode; } diff --git a/roboteam_robothub/src/RobotHubStatistics.cpp b/roboteam_robothub/src/RobotHubStatistics.cpp index cee66bb4a..252c86ffb 100644 --- a/roboteam_robothub/src/RobotHubStatistics.cpp +++ b/roboteam_robothub/src/RobotHubStatistics.cpp @@ -50,7 +50,7 @@ void RobotHubStatistics::print() const { std::stringstream ss; // Clear and flush - ss << "\x1B[2J\x1B[H" << std::flush << std::endl; + ss << "\x1B[2J\x1B[H" << std::flush; ss << " ┏━━━━━━━━━━━━━━━━━━━┓ " << std::endl << "┏━━━━━━━━━━━━━━━━━━━━━━━━━┫ Roboteam RobotHub ┣━━━┳━━━━━━━━━━━━━━━━━━━━━━┓" << std::endl @@ -71,7 +71,7 @@ void RobotHubStatistics::print() const { << "┃" << b[3] << " │" << b[7] << " │ " << b[11] << " │ " << b[15] << " ┃ Feedback: " << this->numberToSideBox(this->feedbackPacketsDropped) << " ┃" << std::endl << "┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━┛" << std::endl; - RTT_INFO("", ss.str()) + RTT_INFO("\n", ss.str()) } void RobotHubStatistics::incrementCommandsReceivedCounter(int id, rtt::Team color) {