Skip to content

Commit 6bb55d0

Browse files
author
Ahmed Ebrahim
committed
fix(log-messages): lower some info msgs to debug
Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
1 parent d246e0a commit 6bb55d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

localization/localization_util/src/util_func.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ void output_pose_with_cov_to_log(
241241
rpy.y = rpy.y * 180.0 / M_PI;
242242
rpy.z = rpy.z * 180.0 / M_PI;
243243

244-
RCLCPP_INFO_STREAM(
244+
RCLCPP_DEBUG_STREAM(
245245
logger, std::fixed << prefix << "," << pose.position.x << "," << pose.position.y << ","
246246
<< pose.position.z << "," << pose.orientation.x << "," << pose.orientation.y
247247
<< "," << pose.orientation.z << "," << pose.orientation.w << "," << rpy.x

localization/ndt_scan_matcher/src/map_update_module.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void MapUpdateModule::update_ndt(const geometry_msgs::msg::Point & position, Ndt
167167
const auto duration_micro_sec =
168168
std::chrono::duration_cast<std::chrono::microseconds>(exe_end_time - exe_start_time).count();
169169
const auto exe_time = static_cast<double>(duration_micro_sec) / 1000.0;
170-
RCLCPP_INFO(logger_, "Time duration for creating new ndt_ptr: %lf [ms]", exe_time);
170+
RCLCPP_DEBUG(logger_, "Time duration for creating new ndt_ptr: %lf [ms]", exe_time);
171171
}
172172

173173
void MapUpdateModule::publish_partial_pcd_map()

localization/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ geometry_msgs::msg::PoseWithCovarianceStamped NDTScanMatcher::align_pose(
992992
result_pose_with_cov_msg.pose.pose = best_particle_ptr->result_pose;
993993

994994
output_pose_with_cov_to_log(get_logger(), "align_pose_output", result_pose_with_cov_msg);
995-
RCLCPP_INFO_STREAM(get_logger(), "best_score," << best_particle_ptr->score);
995+
RCLCPP_DEBUG_STREAM(get_logger(), "best_score," << best_particle_ptr->score);
996996

997997
return result_pose_with_cov_msg;
998998
}

0 commit comments

Comments
 (0)