Skip to content

Commit 4a4ba2b

Browse files
committed
remove cout
1 parent bbcc1d8 commit 4a4ba2b

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

src/grpc/grpc_agent_coach.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ void GrpcAgentCoach::init(rcsc::CoachAgent *agent,
4949

5050
void GrpcAgentCoach::getActions() const
5151
{
52-
// LOG("getAction Started");
5352
auto agent = M_agent;
54-
LOGV(agent->world().time().cycle());
5553
State state = generateState();
5654
state.set_agent_type(protos::AgentType::CoachT);
5755
protos::CoachActions actions;

src/grpc/grpc_agent_player.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,12 @@ void GrpcAgentPlayer::init(rcsc::PlayerAgent *agent,
100100
}
101101

102102
this->target = target + ":" + std::to_string(port);
103-
LOG("target: " + this->target);
104103
sample_communication = Communication::Ptr(new SampleCommunication());
105104
}
106105

107106
void GrpcAgentPlayer::getActions() const
108107
{
109-
// LOG("getAction Started");
110108
auto agent = M_agent;
111-
// LOGV(agent->world().time().cycle());
112109
State state = generateState();
113110
state.set_agent_type(protos::AgentType::PlayerT);
114111
protos::PlayerActions actions;
@@ -122,7 +119,6 @@ void GrpcAgentPlayer::getActions() const
122119
return;
123120
}
124121

125-
LOG("getAction apply actions on agent");
126122
int body_action_done = 0;
127123
for (int i = 0; i < actions.actions_size(); i++)
128124
{
@@ -210,10 +206,8 @@ void GrpcAgentPlayer::getActions() const
210206
// todo debugClient
211207
case PlayerAction::kBodyGoToPoint:
212208
{
213-
LOG("body go to point");
214209
const auto &bodyGoToPoint = action.body_go_to_point();
215210
const auto &targetPoint = GrpcAgent::convertVector2D(bodyGoToPoint.target_point());
216-
LOGV(targetPoint);
217211
Body_GoToPoint(targetPoint, bodyGoToPoint.distance_threshold(), bodyGoToPoint.max_dash_power()).execute(agent);
218212
body_action_done++;
219213
break;
@@ -638,7 +632,6 @@ void GrpcAgentPlayer::getActions() const
638632
break;
639633
}
640634
}
641-
LOG("getAction done");
642635
}
643636
}
644637

src/grpc/grpc_agent_trainer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ void GrpcAgentTrainer::init(rcsc::TrainerAgent *agent,
4747

4848
void GrpcAgentTrainer::getActions() const
4949
{
50-
LOG("getAction Started");
5150
auto agent = M_agent;
52-
LOGV(agent->world().time().cycle());
5351
State state = generateState();
5452
state.set_agent_type(protos::AgentType::TrainerT);
5553
protos::TrainerActions actions;

utils/app-image/bin.7z

-950 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)