Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "logs hotfix" #104

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions roboteam_ai/src/utilities/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
4 changes: 2 additions & 2 deletions roboteam_robothub/src/RobotHubStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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) {
Expand Down
Loading