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-wholebody-step
Commits
8b624591
Commit
8b624591
authored
Apr 14, 2021
by
Guilhem Saurel
Browse files
update to changes in hpp-core
parent
cab76127
Changes
2
Show whitespace changes
Inline
Side-by-side
src/small-steps.cc
View file @
8b624591
...
...
@@ -124,7 +124,7 @@ namespace hpp {
{
if
(
!
model
.
active
)
return
;
if
(
model
.
optional
)
{
proj
->
add
(
eq
,
core
::
segments_t
(
0
),
1
);
proj
->
add
(
eq
,
1
);
proj
->
lastIsOptional
(
true
);
}
else
{
proj
->
add
(
eq
);
...
...
tests/romeo-small.cc
View file @
8b624591
...
...
@@ -103,7 +103,7 @@ void constraints_check (LineSearchFactory factory)
ConfigProjectorPtr_t
proj
=
ConfigProjector
::
create
(
hrp2
,
"projector"
,
1e-4
,
20
);
for
(
std
::
size_t
i
=
0
;
i
<
ncs
.
size
();
++
i
)
{
proj
->
add
(
ncs
[
i
],
hpp
::
core
::
segments_t
(
0
),
0
);
proj
->
add
(
ncs
[
i
],
0
);
}
ConfigurationShooterPtr_t
shooter
=
Uniform
::
create
(
hrp2
);
...
...
@@ -137,7 +137,7 @@ void constraints_check (LineSearchFactory factory)
ConfigProjectorPtr_t
projOpt
=
HPP_STATIC_PTR_CAST
(
ConfigProjector
,
proj
->
copy
());
projOpt
->
add
(
cc
,
hpp
::
core
::
segments_t
(
0
),
1
);
projOpt
->
add
(
cc
,
1
);
projOpt
->
lastIsOptional
(
true
);
success
=
0
;
...
...
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