Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Aug 26, 2021
1 parent 99578a9 commit fb61a0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/CameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -516,13 +516,13 @@ bool CameraSensor::AdvertiseInfo(const std::string &_topic)
this->dataPtr->infoTopic);
if (!this->dataPtr->infoPub)
{
ignerr << "Unable to create publisher on topic["
ignerr << "Unable to create publisher on topic ["
<< this->dataPtr->infoTopic << "].\n";
}
else
{
igndbg << "Camera info advertised on [" << this->dataPtr->infoTopic << "]"
<< std::endl;
igndbg << "Camera info for [" << this->Name() << "] advertised on ["
<< this->dataPtr->infoTopic << "]" << std::endl;
}

return this->dataPtr->infoPub;
Expand Down
2 changes: 1 addition & 1 deletion src/DepthCameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ bool DepthCameraSensor::Load(const sdf::Sensor &_sdf)
}

igndbg << "Points for [" << this->Name() << "] advertised on ["
<< this->Topic() << "]" << std::endl;
<< this->Topic() << "/points]" << std::endl;

// Initialize the point message.
// \todo(anyone) The true value in the following function call forces
Expand Down

0 comments on commit fb61a0e

Please sign in to comment.