Skip to content

Commit cb8008f

Browse files
committed
Remove unused params from sanity check
1 parent b281285 commit cb8008f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

roadmap_explorer/src/Parameters.cpp

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,7 @@ void ParameterHandler::makeParameters(std::shared_ptr<nav2_util::LifecycleNode>
176176

177177
void ParameterHandler::sanityCheckParameters()
178178
{
179-
if (getValue<bool>("goalHysteresis.use_euclidean_distance") == true &&
180-
getValue<bool>("goalHysteresis.use_roadmap_planner_distance") == true)
181-
{
182-
throw RoadmapExplorerException(
183-
"Both use_euclidean_distance and use_roadmap_planner_distance are set to true. Please set only one of them to true.");
184-
} else if (getValue<bool>("goalHysteresis.use_euclidean_distance") == false &&
185-
getValue<bool>("goalHysteresis.use_roadmap_planner_distance") == false)
186-
{
187-
throw RoadmapExplorerException(
188-
"Both use_euclidean_distance and use_roadmap_planner_distance are set to false. Please set only one of them to true.");
189-
}
179+
// currently there are no sanity checks
190180
}
191181

192182
rcl_interfaces::msg::SetParametersResult ParameterHandler::dynamicReconfigureCallback(

0 commit comments

Comments
 (0)