Skip to content

Commit

Permalink
Merge pull request #6 from robocin/fix/remove_warnings_messages
Browse files Browse the repository at this point in the history
Remove unnecessary prints
  • Loading branch information
jefersonseverino authored Jun 21, 2023
2 parents 9e5ce76 + 6c557be commit 8aba1c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions rcsc/player/action_effector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,6 @@ ActionEffector::makeCommand( std::ostream & to )
{
dlog.addText( Logger::SYSTEM,
__FILE__": WARNING. no body command." );
std::cerr << M_agent.world().teamName() << ' '
<< M_agent.world().self().unum()<< ": "
<< M_agent.world().time()
<< " WARNING. no body command." << std::endl;
// register dummy command
PlayerTurnCommand turn( 0 );
turn.toCommandString( to );
Expand Down
6 changes: 2 additions & 4 deletions rcsc/player/player_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2472,10 +2472,8 @@ PlayerAgent::Impl::doNeckAction()
}
else
{
std::cerr << agent_.world().teamName() << ' '
<< agent_.world().self().unum() << ": "
<< agent_.world().time()
<< " WARNING. no turn_neck." << std::endl;
dlog.addText( Logger::SYSTEM,
__FILE__": WARNING. no turn_neck." );
}
}

Expand Down

0 comments on commit 8aba1c4

Please sign in to comment.