From 36f3f99237f12c20d0c760b4cf543dfafa41b6b6 Mon Sep 17 00:00:00 2001 From: Calvin Miao Date: Mon, 30 Oct 2017 11:52:27 -0700 Subject: [PATCH] Prediction: restored debug message printing --- modules/prediction/prediction.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/prediction/prediction.cc b/modules/prediction/prediction.cc index e338d9fcf5..c923b1d0a2 100644 --- a/modules/prediction/prediction.cc +++ b/modules/prediction/prediction.cc @@ -105,8 +105,8 @@ void Prediction::OnLocalization(const LocalizationEstimate& localization) { ADEBUG << "Invalid pose found."; } - // ADEBUG << "Received a localization message [" - // << localization.ShortDebugString() << "]."; + ADEBUG << "Received a localization message [" + << localization.ShortDebugString() << "]."; } void Prediction::OnPerception(const PerceptionObstacles& perception_obstacles) { @@ -130,6 +130,8 @@ void Prediction::OnPerception(const PerceptionObstacles& perception_obstacles) { } } } + ADEBUG << "Received a perception message [" + << perception_obstacles.ShortDebugString() << "]."; } Status Prediction::OnError(const std::string& error_msg) { -- GitLab