Skip to content

Commit

Permalink
Update perception/autoware_elevation_map_loader/src/elevation_map_loa…
Browse files Browse the repository at this point in the history
…der_node.cpp

Co-authored-by: Shintaro Tomie <[email protected]>
  • Loading branch information
oguzkaganozt and Shin-kyoto committed Nov 14, 2024
1 parent 2384fdf commit 71907ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void ElevationMapLoaderNode::publish()
is_bag_loaded = grid_map::GridMapRosConverter::loadFromBag(
*data_manager_.elevation_map_path_, "elevation_map", elevation_map_);
} catch (const std::runtime_error & e) {
RCLCPP_ERROR(this->get_logger(), "Exception caught: %s", e.what());
RCLCPP_ERROR(this->get_logger(), "Failed to load elevation map from rosbag: %s", e.what());

Check warning on line 151 in perception/autoware_elevation_map_loader/src/elevation_map_loader_node.cpp

View check run for this annotation

Codecov / codecov/patch

perception/autoware_elevation_map_loader/src/elevation_map_loader_node.cpp#L151

Added line #L151 was not covered by tests
is_bag_loaded = false;
}
if (!is_bag_loaded) {
Expand Down

0 comments on commit 71907ae

Please sign in to comment.