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
Guilhem Saurel
hpp-rbprm-corba
Commits
0e6fe70e
Commit
0e6fe70e
authored
Mar 20, 2020
by
Jason Chemin
Browse files
create new startState_ and endState_, it was stacking before
parent
e3da9658
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rbprmbuilder.impl.cc
View file @
0e6fe70e
...
...
@@ -1191,6 +1191,7 @@ void RbprmBuilder::setStartState(const hpp::floatSeq& configuration,
bool
validity
=
problemSolver
()
->
problem
()
->
configValidations
()
->
validate
(
dofArrayToConfig
(
fullBody
()
->
device_
,
configuration
),
validationReport
);
if
(
validity
)
{
startState_
=
State
();
SetPositionAndNormal
(
startState_
,
fullBody
(),
configuration
,
names
);
}
else
{
std
::
ostringstream
oss
;
...
...
@@ -1235,6 +1236,7 @@ void RbprmBuilder::setEndState(const hpp::floatSeq& configuration,
bool
validity
=
problemSolver
()
->
problem
()
->
configValidations
()
->
validate
(
dofArrayToConfig
(
fullBody
()
->
device_
,
configuration
),
validationReport
);
if
(
validity
)
{
endState_
=
State
();
SetPositionAndNormal
(
endState_
,
fullBody
(),
configuration
,
names
);
}
else
{
std
::
ostringstream
oss
;
...
...
Write
Preview
Markdown
is supported
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