Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-manipulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Humanoid Path Planner
hpp-manipulation
Commits
18517c3a
Commit
18517c3a
authored
10 years ago
by
Joseph Mirabel
Committed by
Joseph Mirabel
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add maxIterations, errorThreshold to class Graph
parent
d9f1cd51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/hpp/manipulation/graph/graph.hh
+41
-0
41 additions, 0 deletions
include/hpp/manipulation/graph/graph.hh
with
41 additions
and
0 deletions
include/hpp/manipulation/graph/graph.hh
+
41
−
0
View file @
18517c3a
...
...
@@ -168,7 +168,45 @@ namespace hpp {
/// Print the object in a stream.
std
::
ostream
&
print
(
std
::
ostream
&
os
)
const
;
/// Add a core::DifferentiableFunction function.
virtual
void
addNumericalConstraint
(
const
core
::
DifferentiableFunctionPtr_t
&
/* function */
)
{
HPP_THROW_EXCEPTION
(
Bad_function_call
,
"This component does not have constraints."
);
}
/// Add a core::LockedDof constraint.
virtual
void
addLockedDofConstraint
(
const
core
::
LockedDof
&
/* constraint */
)
{
HPP_THROW_EXCEPTION
(
Bad_function_call
,
"This component does not have constraints."
);
}
/// Set maximal number of iterations
void
maxIterations
(
size_type
iterations
)
{
maxIterations_
=
iterations
;
}
/// Get maximal number of iterations in config projector
size_type
maxIterations
()
const
{
return
maxIterations_
;
}
/// Set error threshold
void
errorThreshold
(
const
value_type
&
threshold
)
{
errorThreshold_
=
threshold
;
}
/// Get errorimal number of threshold in config projector
value_type
errorThreshold
()
const
{
return
errorThreshold_
;
}
/// Get the robot.
const
RobotPtr_t
&
robot
()
const
{
return
robot_
;
}
protected
:
/// Initialization of the object.
void
init
(
const
GraphWkPtr_t
&
weak
,
RobotPtr_t
robot
);
...
...
@@ -190,6 +228,9 @@ namespace hpp {
/// Weak pointer to itself.
GraphWkPtr_t
wkPtr_
;
value_type
errorThreshold_
;
size_type
maxIterations_
;
};
// Class Graph
}
// namespace graph
}
// namespace manipulation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment