Commit 0dedc5dd authored by Alireza Nakhaei Sarvedani's avatar Alireza Nakhaei Sarvedani
Browse files

Add a tests in ChppPlanner::solveOneProblem() the check the lenght of kwsPath.

parent abf1a85f
48. Add a tests in ChppPlanner::solveOneProblem() the check the lenght of kwsPath.
47. Validate config before solving problem in ChppPlanner::solveOneProblem.
46. Before validating direct path, set penetration in validatorDPCollision.
45. Make ChppPlanner::roadmapBuilderIthProblem() virtual.
......
#!/bin/sh
aclocal
libtoolize -c
libtoolize -c --force
automake -ca
autoconf
......@@ -579,6 +579,12 @@ ktStatus ChppPlanner::solveOneProblem(unsigned int problemId)
return KD_ERROR;
}
if (kwsPath->length()== 0) {
ODEBUG1(":solveOneProblem: Path length is 0 after successfully solving the problem");
ODEBUG1(":solveOneProblem: this should not happen.");
return KD_ERROR;
}
/*
Store path before optimization
*/
......
Markdown is supported
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