Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(map_height_fitter): set log level of debug printing to DEBUG #5997

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions map/map_height_fitter/src/map_height_fitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@
req->area.center_y = point.y;
req->area.radius = 50;

RCLCPP_INFO(logger, "Send request to map_loader");
RCLCPP_DEBUG(logger, "Send request to map_loader");

Check warning on line 104 in map/map_height_fitter/src/map_height_fitter.cpp

View check run for this annotation

Codecov / codecov/patch

map/map_height_fitter/src/map_height_fitter.cpp#L104

Added line #L104 was not covered by tests
auto future = cli_map_->async_send_request(req);
auto status = future.wait_for(std::chrono::seconds(1));
while (status != std::future_status::ready) {
RCLCPP_INFO(logger, "waiting response");
RCLCPP_DEBUG(logger, "waiting response");

Check warning on line 108 in map/map_height_fitter/src/map_height_fitter.cpp

View check run for this annotation

Codecov / codecov/patch

map/map_height_fitter/src/map_height_fitter.cpp#L108

Added line #L108 was not covered by tests
if (!rclcpp::ok()) {
return false;
}
status = future.wait_for(std::chrono::seconds(1));
}

const auto res = future.get();
RCLCPP_INFO(
RCLCPP_DEBUG(

Check warning on line 116 in map/map_height_fitter/src/map_height_fitter.cpp

View check run for this annotation

Codecov / codecov/patch

map/map_height_fitter/src/map_height_fitter.cpp#L116

Added line #L116 was not covered by tests
logger, "Loaded partial pcd map from map_loader (grid size: %lu)",
res->new_pointcloud_with_ids.size());

Expand Down Expand Up @@ -168,7 +168,7 @@
const auto logger = node_->get_logger();
tf2::Vector3 point(position.x, position.y, position.z);

RCLCPP_INFO(logger, "original point: %.3f %.3f %.3f", point.getX(), point.getY(), point.getZ());
RCLCPP_DEBUG(logger, "original point: %.3f %.3f %.3f", point.getX(), point.getY(), point.getZ());

Check warning on line 171 in map/map_height_fitter/src/map_height_fitter.cpp

View check run for this annotation

Codecov / codecov/patch

map/map_height_fitter/src/map_height_fitter.cpp#L171

Added line #L171 was not covered by tests

if (cli_map_) {
if (!get_partial_point_cloud_map(position)) {
Expand All @@ -193,7 +193,7 @@
return std::nullopt;
}

RCLCPP_INFO(logger, "modified point: %.3f %.3f %.3f", point.getX(), point.getY(), point.getZ());
RCLCPP_DEBUG(logger, "modified point: %.3f %.3f %.3f", point.getX(), point.getY(), point.getZ());

Check warning on line 196 in map/map_height_fitter/src/map_height_fitter.cpp

View check run for this annotation

Codecov / codecov/patch

map/map_height_fitter/src/map_height_fitter.cpp#L196

Added line #L196 was not covered by tests

Point result;
result.x = point.getX();
Expand Down
Loading