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
c8ce49c8
Commit
c8ce49c8
authored
10 years ago
by
Joseph Mirabel
Committed by
Joseph Mirabel
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Graph::configConstraint and Graph::pathConstraint return a ConstraintSet
parent
d76ac3fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/hpp/manipulation/graph/graph.hh
+3
-3
3 additions, 3 deletions
include/hpp/manipulation/graph/graph.hh
src/graph/graph.cc
+3
-3
3 additions, 3 deletions
src/graph/graph.cc
with
6 additions
and
6 deletions
include/hpp/manipulation/graph/graph.hh
+
3
−
3
View file @
c8ce49c8
...
@@ -53,19 +53,19 @@ namespace hpp {
...
@@ -53,19 +53,19 @@ namespace hpp {
/// Constraint to project onto the Nodes_t.
/// Constraint to project onto the Nodes_t.
/// \param the Nodes_t on which to project.
/// \param the Nodes_t on which to project.
/// \return The initialized projector.
/// \return The initialized projector.
virtual
ConstraintPtr_t
configConstraint
(
const
Nodes_t
&
nodes
);
virtual
Constraint
Set
Ptr_t
configConstraint
(
const
Nodes_t
&
nodes
);
/// Constraint to project onto the same leaf as config.
/// Constraint to project onto the same leaf as config.
/// \param edges a list of edges defining the foliation.
/// \param edges a list of edges defining the foliation.
/// \param config Configuration that will initialize the projector.
/// \param config Configuration that will initialize the projector.
/// \return The initialized projector.
/// \return The initialized projector.
virtual
ConstraintPtr_t
configConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
);
virtual
Constraint
Set
Ptr_t
configConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
);
/// Constraint to project a path.
/// Constraint to project a path.
/// \param edges a list of edges defining the foliation.
/// \param edges a list of edges defining the foliation.
/// \param config Configuration that will initialize the constraint.
/// \param config Configuration that will initialize the constraint.
/// \return The initialized constraint.
/// \return The initialized constraint.
virtual
ConstraintPtr_t
pathConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
);
virtual
Constraint
Set
Ptr_t
pathConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
);
/// Return the NodeSelector with the given name if any,
/// Return the NodeSelector with the given name if any,
/// NULL pointer if not found.
/// NULL pointer if not found.
...
...
This diff is collapsed.
Click to expand it.
src/graph/graph.cc
+
3
−
3
View file @
c8ce49c8
...
@@ -101,7 +101,7 @@ namespace hpp {
...
@@ -101,7 +101,7 @@ namespace hpp {
return
NodeSelectorPtr_t
();
return
NodeSelectorPtr_t
();
}
}
ConstraintPtr_t
Graph
::
configConstraint
(
const
Nodes_t
&
nodes
)
Constraint
Set
Ptr_t
Graph
::
configConstraint
(
const
Nodes_t
&
nodes
)
{
{
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
...
@@ -120,7 +120,7 @@ namespace hpp {
...
@@ -120,7 +120,7 @@ namespace hpp {
return
constraint
;
return
constraint
;
}
}
ConstraintPtr_t
Graph
::
configConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
)
Constraint
Set
Ptr_t
Graph
::
configConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
)
{
{
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
...
@@ -144,7 +144,7 @@ namespace hpp {
...
@@ -144,7 +144,7 @@ namespace hpp {
return
constraint
;
return
constraint
;
}
}
ConstraintPtr_t
Graph
::
pathConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
)
Constraint
Set
Ptr_t
Graph
::
pathConstraint
(
const
Edges_t
&
edges
,
ConfigurationIn_t
config
)
{
{
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
ConstraintSetPtr_t
constraint
=
ConstraintSet
::
create
(
robot
(),
name
());
...
...
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