Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jason Chemin
hpp-rbprm-corba
Commits
2f707d70
Commit
2f707d70
authored
Jan 28, 2019
by
Pierre Fernbach
Browse files
[croc] check if path exist to avoid crash
parent
b617fef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rbprmbuilder.impl.cc
View file @
2f707d70
...
...
@@ -3417,7 +3417,7 @@ namespace hpp {
}
else
{
res
=
reachability
::
isReachableDynamic
(
fullBody
(),
lastStatesComputed_
[
stateFrom
],
lastStatesComputed_
[
stateTo
],
false
,
std
::
vector
<
double
>
(),
numPointPerPhase
);
}
if
(
res
.
success
()){
if
(
res
.
success
()
&&
res
.
path_
){
std
::
vector
<
std
::
size_t
>
ids
;
core
::
PathVectorPtr_t
pathVector_full
=
core
::
PathVector
::
create
(
res
.
path_
->
outputSize
(),
res
.
path_
->
outputDerivativeSize
());
pathVector_full
->
appendPath
(
res
.
path_
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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