Skip to content

Commit

Permalink
Revert "Fix segfault in test_planner_random_node/test_planner_costmap…
Browse files Browse the repository at this point in the history
…s_node (#1640)"

This reverts commit 26d776b.
  • Loading branch information
AlexeyMerzlyakov committed May 12, 2020
1 parent 6b380f6 commit d1fbf22
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nav2_system_tests/src/planning/planner_tester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ class NavFnPlannerTester : public nav2_planner::PlannerServer
}
try {
path = planners_["GridBased"]->createPlan(start, goal);
// The situation when createPlan() did not throw any exception
// does not guarantee that plan was created correctly.
// So it should be checked additionally that path is correct.
if (!path.poses.size()) {
return false;
}
} catch (...) {
return false;
}
Expand Down

0 comments on commit d1fbf22

Please sign in to comment.