Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
p-nayak11 committed Nov 6, 2023
1 parent b31191b commit fb93905
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions soccer/src/soccer/strategy/agent/agent_action_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ void AgentActionClient::receive_communication_callback(
const std::shared_ptr<rj_msgs::srv::AgentCommunication::Request>& request,
const std::shared_ptr<rj_msgs::srv::AgentCommunication::Response>& response) {
if (current_position_ == nullptr) {
SPDLOG_INFO("I am getting stuck here!\n");
communication::AgentResponse agent_response;
communication::AgentRequest agent_request =
rj_convert::convert_from_ros(request->agent_request);
Expand All @@ -294,7 +293,6 @@ void AgentActionClient::receive_communication_callback(
agent_response.response = acknowledge;
response->agent_response = rj_convert::convert_to_ros(agent_response);
} else {
SPDLOG_INFO("I am NOT getting stuck here!\n");
// Convert agent request into AgentToPosCommRequest
communication::AgentPosRequestWrapper agent_request;
communication::AgentRequest received_request =
Expand Down
4 changes: 0 additions & 4 deletions soccer/src/soccer/strategy/agent/position/defense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ void Defense::receive_communication_response(communication::AgentPosResponseWrap
// Call to super
Position::receive_communication_response(response);

SPDLOG_INFO("ID: {} is calling comm response!\n");

// Handle join wall response
if (const communication::JoinWallRequest* join_request =
std::get_if<communication::JoinWallRequest>(&response.associated_request)) {
Expand All @@ -148,8 +146,6 @@ communication::PosAgentResponseWrapper Defense::receive_communication_request(
communication::PosAgentResponseWrapper response =
Position::receive_communication_request(request);

SPDLOG_INFO("ID: {} is calling comm request!\n");

// Handle join and leave wall request
if (const communication::JoinWallRequest* join_request =
std::get_if<communication::JoinWallRequest>(&request.request)) {
Expand Down

0 comments on commit fb93905

Please sign in to comment.