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
e953c45c
Commit
e953c45c
authored
7 years ago
by
Joseph Mirabel
Committed by
Joseph Mirabel
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove AxialHandle::createPreGraspComplement
parent
9e538806
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/axial-handle.hh
+0
-12
0 additions, 12 deletions
include/hpp/manipulation/axial-handle.hh
src/axial-handle.cc
+0
-21
0 additions, 21 deletions
src/axial-handle.cc
with
0 additions
and
33 deletions
include/hpp/manipulation/axial-handle.hh
+
0
−
12
View file @
e953c45c
...
...
@@ -71,18 +71,6 @@ namespace hpp {
virtual
NumericalConstraintPtr_t
createPreGrasp
(
const
GripperPtr_t
&
gripper
,
const
value_type
&
shift
,
std
::
string
name
)
const
;
/// Create constraint that acts on the non-constrained axis of the
/// constraint generated by Handle::createPreGrasp.
/// \param gripper object containing the gripper information
/// \param shift the target value along the x-axis
/// \param width width of the interval of freedom of gripper along x-axis.
/// \return the constraint of relative position between the handle and
/// the gripper.
/// \note The translation along x-axis and the rotation around z-axis are constrained.
virtual
NumericalConstraintPtr_t
createPreGraspComplement
(
const
GripperPtr_t
&
gripper
,
const
value_type
&
shift
,
const
value_type
&
width
,
std
::
string
name
)
const
;
virtual
std
::
ostream
&
print
(
std
::
ostream
&
os
)
const
;
protected
:
/// Constructor
...
...
This diff is collapsed.
Click to expand it.
src/axial-handle.cc
+
0
−
21
View file @
e953c45c
...
...
@@ -84,27 +84,6 @@ namespace hpp {
localPosition
(),
mask
)));
}
NumericalConstraintPtr_t
AxialHandle
::
createPreGraspComplement
(
const
GripperPtr_t
&
gripper
,
const
value_type
&
shift
,
const
value_type
&
width
,
std
::
string
n
)
const
{
using
boost
::
assign
::
list_of
;
using
core
::
DoubleInequality
;
std
::
vector
<
bool
>
mask
=
list_of
(
true
)(
false
)(
false
)(
false
)(
false
)
(
false
);
Transform3f
transform
=
gripper
->
objectPositionInJoint
()
*
Transform3f
(
I3
,
vector3_t
(
shift
,
0
,
0
));
if
(
n
.
empty
())
n
=
"Transformation_(1,0,0,0,0,0)_"
+
name
()
+
"_"
+
gripper
->
name
();
return
NumericalConstraintPtr_t
(
NumericalConstraint
::
create
(
RelativeTransformation
::
create
(
n
,
gripper
->
joint
()
->
robot
(),
gripper
->
joint
(),
joint
(),
transform
,
localPosition
(),
mask
),
DoubleInequality
::
create
(
width
)));
}
HandlePtr_t
AxialHandle
::
clone
()
const
{
AxialHandlePtr_t
self
=
weakPtr_
.
lock
();
...
...
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