Skip to content
Snippets Groups Projects
Commit 6071b41f authored by bpwilcox's avatar bpwilcox
Browse files

fix uncrustify/cpplint

parent 3ecdf390
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,8 @@ OccGridLoader::on_configure(const rclcpp_lifecycle::State & /*state*/)
} catch (YAML::Exception & e) {
std::string err("'" + yaml_filename_ +
"' does not contain an image tag or it is invalid: " + e.what());
throw std::runtime_error(err); }
throw std::runtime_error(err);
}
try {
loadParameters.resolution = doc["resolution"].as<double>();
......@@ -117,7 +118,7 @@ OccGridLoader::on_configure(const rclcpp_lifecycle::State & /*state*/)
} catch (YAML::Exception & e) {
std::string err("The map does not contain an "
"occupied_thresh tag or it is invalid: %s", e.what());
throw std::runtime_error(err);
throw std::runtime_error(err);
}
std::string mode_str;
......@@ -147,7 +148,7 @@ OccGridLoader::on_configure(const rclcpp_lifecycle::State & /*state*/)
loadParameters.negate = doc["negate"].as<int>();
} catch (YAML::Exception & e) {
std::string err("The map does not contain a negate tag or it is invalid: %s", e.what());
throw std::runtime_error(err);
throw std::runtime_error(err);
}
RCLCPP_DEBUG(node_->get_logger(), "resolution: %f", loadParameters.resolution);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment