Skip to content
Snippets Groups Projects
Unverified Commit d7ff68b7 authored by Marwan Taher's avatar Marwan Taher Committed by GitHub
Browse files

removed unused condition (#1769)

parent 7c0ac745
No related branches found
No related tags found
No related merge requests found
......@@ -39,10 +39,6 @@ namespace dwb_critics
{
void TwirlingCritic::onInit()
{
if (!nh_->has_parameter(dwb_plugin_name_ + "." + name_ + ".scale")) {
nh_->declare_parameter(dwb_plugin_name_ + "." + name_ + ".scale", rclcpp::ParameterValue(0.0));
}
// Scale is set to 0 by default, so if it was not set otherwise, set to 0
nh_->get_parameter(dwb_plugin_name_ + "." + name_ + ".scale", scale_);
}
......
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