Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-core
Commits
c35776e2
Commit
c35776e2
authored
Jul 03, 2008
by
florent
Browse files
In ChppPlanner::solveOneProblem, test direct path with all validators of device.
parent
8d530376
Changes
2
Show whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c35776e2
44. In ChppPlanner::solveOneProblem, test direct path with all validators of device.
43. Added some tests in ChppPlanner::solveOneProblem() for robustness purposes.
42. In ChppPlanner::solveOneProblem, if path is null after calling rdmBuilder return KD_ERROR.
41. Added a method to interrupt the roadmap builder during path planning process.
...
...
src/hppPlanner.cpp
View file @
c35776e2
...
...
@@ -489,9 +489,7 @@ ktStatus ChppPlanner::solveOneProblem(unsigned int problemId)
CkwsDirectPathShPtr
directPath
=
steeringMethod
->
makeDirectPath
(
*
initConfig
,
*
goalConfig
);
if
(
directPath
)
{
double
penetration
=
hppProblem
.
roadmapBuilder
()
->
penetration
();
CkwsValidatorDPCollisionShPtr
dpValidator
=
CkwsValidatorDPCollision
::
create
(
hppDevice
,
penetration
);
CkwsDirectPathValidatorSetConstShPtr
dpValidator
=
hppDevice
->
directPathValidators
();
dpValidator
->
validate
(
*
directPath
);
if
(
directPath
->
isValid
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment