Skip to content

Commit

Permalink
fix(traffic_light_visualizer): remove cerr temporarily to avoid flood…
Browse files Browse the repository at this point in the history
…ing logs (autowarefoundation#8294)

* fix(traffic_light_visualizer): remove cerr temporarily to avoid flooding logs

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* fix precommit

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* fix

Signed-off-by: kminoda <koji.minoda@tier4.jp>

---------

Signed-off-by: kminoda <koji.minoda@tier4.jp>
  • Loading branch information
kminoda authored and esteve committed Aug 13, 2024
1 parent 2f064f7 commit 652e3e1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ void drawShape(
if (
position.x < 0 || position.y < 0 || position.x + shapeImg.cols > params.image.cols ||
position.y + shapeImg.rows > params.image.rows) {
std::cerr << "Adjusted position is out of image bounds." << std::endl;
// TODO(KhalilSelyan): This error message may flood the terminal logs, so commented out
// temporarily. Need to consider a better way.

// std::cerr << "Adjusted position is out of image bounds." << std::endl;
return;
}

Expand Down

0 comments on commit 652e3e1

Please sign in to comment.