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
b8e37461
Unverified
Commit
b8e37461
authored
Sep 10, 2019
by
Joseph Mirabel
Committed by
GitHub
Sep 10, 2019
Browse files
Merge pull request #184 from florent-lamiraux/devel
[ProblemSolver] Remove deprecated method.
parents
ca274349
83d81c9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/hpp/core/problem-solver.hh
View file @
b8e37461
...
...
@@ -223,12 +223,6 @@ namespace hpp {
/// Add a constraint
void
addConstraint
(
const
ConstraintPtr_t
&
constraint
);
/// Add a LockedJoint
/// \deprecated use lockedJoints.add and addLockedJointToConfigProjector
/// instead
void
addLockedJoint
(
const
LockedJointPtr_t
&
lockedJoint
)
HPP_CORE_DEPRECATED
;
/// Get constraint set
const
ConstraintSetPtr_t
&
constraints
()
const
{
...
...
src/problem-solver.cc
View file @
b8e37461
...
...
@@ -532,20 +532,6 @@ namespace hpp {
hppDout
(
error
,
"Cannot add constraint while robot is not set"
);
}
void
ProblemSolver
::
addLockedJoint
(
const
LockedJointPtr_t
&
lj
)
{
if
(
!
robot_
)
{
hppDout
(
error
,
"Cannot add constraint while robot is not set"
);
}
ConfigProjectorPtr_t
configProjector
=
constraints_
->
configProjector
();
if
(
!
configProjector
)
{
configProjector
=
ConfigProjector
::
create
(
robot_
,
"ConfigProjector"
,
errorThreshold_
,
maxIterProjection_
);
constraints_
->
addConstraint
(
configProjector
);
}
configProjector
->
add
(
lj
);
}
void
ProblemSolver
::
resetConstraints
()
{
if
(
robot_
)
{
...
...
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