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
Guilhem Saurel
hpp-manipulation
Commits
5ed9eb97
Commit
5ed9eb97
authored
8 years ago
by
Joseph Mirabel
Committed by
Joseph Mirabel
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update headers to changes in hpp-constraints (GenericTransformation)
parent
12853855
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/axial-handle.cc
+1
-1
1 addition, 1 deletion
src/axial-handle.cc
src/handle.cc
+1
-2
1 addition, 2 deletions
src/handle.cc
tests/path-projection.cc
+3
-4
3 additions, 4 deletions
tests/path-projection.cc
with
5 additions
and
7 deletions
src/axial-handle.cc
+
1
−
1
View file @
5ed9eb97
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include
<hpp/model/joint.hh>
#include
<hpp/model/joint.hh>
#include
<hpp/model/gripper.hh>
#include
<hpp/model/gripper.hh>
#include
<hpp/constraints/
relative
-transformation.hh>
#include
<hpp/constraints/
generic
-transformation.hh>
#include
<hpp/core/numerical-constraint.hh>
#include
<hpp/core/numerical-constraint.hh>
...
...
This diff is collapsed.
Click to expand it.
src/handle.cc
+
1
−
2
View file @
5ed9eb97
...
@@ -29,8 +29,7 @@
...
@@ -29,8 +29,7 @@
#include
<hpp/model/joint.hh>
#include
<hpp/model/joint.hh>
#include
<hpp/model/gripper.hh>
#include
<hpp/model/gripper.hh>
#include
<hpp/constraints/relative-position.hh>
#include
<hpp/constraints/generic-transformation.hh>
#include
<hpp/constraints/relative-transformation.hh>
#include
<hpp/core/numerical-constraint.hh>
#include
<hpp/core/numerical-constraint.hh>
#include
<hpp/core/explicit-numerical-constraint.hh>
#include
<hpp/core/explicit-numerical-constraint.hh>
...
...
This diff is collapsed.
Click to expand it.
tests/path-projection.cc
+
3
−
4
View file @
5ed9eb97
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include
<hpp/model/configuration.hh>
#include
<hpp/model/configuration.hh>
#include
<hpp/model/object-factory.hh>
#include
<hpp/model/object-factory.hh>
#include
<hpp/constraints/
posi
tion.hh>
#include
<hpp/constraints/
generic-transforma
tion.hh>
#define REQUIRE_MESSAGE(b,m) do {\
#define REQUIRE_MESSAGE(b,m) do {\
if (!b) {\
if (!b) {\
...
@@ -79,8 +79,6 @@ using hpp::core::pathProjector::Progressive;
...
@@ -79,8 +79,6 @@ using hpp::core::pathProjector::Progressive;
using
hpp
::
core
::
Problem
;
using
hpp
::
core
::
Problem
;
using
hpp
::
core
::
ProblemPtr_t
;
using
hpp
::
core
::
ProblemPtr_t
;
static
matrix3_t
identity
()
{
matrix3_t
R
;
R
.
setIdentity
();
return
R
;}
hpp
::
model
::
ObjectFactory
objectFactory
;
hpp
::
model
::
ObjectFactory
objectFactory
;
namespace
hpp_test
{
namespace
hpp_test
{
...
@@ -177,7 +175,8 @@ int main (int , char**) {
...
@@ -177,7 +175,8 @@ int main (int , char**) {
JointPtr_t
ee
=
r
->
getJointByName
(
"FOREARM"
);
JointPtr_t
ee
=
r
->
getJointByName
(
"FOREARM"
);
vector3_t
target
(
0
,
(
ARM_LENGTH
+
FOREARM_LENGTH
)
/
2
,
0
),
vector3_t
target
(
0
,
(
ARM_LENGTH
+
FOREARM_LENGTH
)
/
2
,
0
),
origin
(
0
,
FOREARM_LENGTH
,
0
);
origin
(
0
,
FOREARM_LENGTH
,
0
);
PositionPtr_t
c
=
Position
::
create
(
r
,
ee
,
origin
,
target
,
identity
(),
list_of
(
false
)(
true
)(
false
));
PositionPtr_t
c
=
Position
::
create
(
"Pos"
,
r
,
ee
,
origin
,
target
,
list_of
(
false
)(
true
)(
false
).
convert_to_container
<
std
::
vector
<
bool
>
>
());
ConstraintSetPtr_t
cs
=
ConstraintSet
::
create
(
r
,
"test-cs"
);
ConstraintSetPtr_t
cs
=
ConstraintSet
::
create
(
r
,
"test-cs"
);
ConfigProjectorPtr_t
proj
=
ConfigProjector
::
create
(
r
,
"test"
,
1e-4
,
20
);
ConfigProjectorPtr_t
proj
=
ConfigProjector
::
create
(
r
,
"test"
,
1e-4
,
20
);
proj
->
add
(
NumericalConstraint
::
create
(
c
));
proj
->
add
(
NumericalConstraint
::
create
(
c
));
...
...
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