Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
test-hpp
Commits
ac660d14
Commit
ac660d14
authored
Dec 16, 2014
by
Florent Lamiraux
Browse files
Update to commit e7866c4 in hpp-core.
LockeDof has been replaced by LockedJoint.
parent
f405f4a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/test_rrt.py
View file @
ac660d14
...
...
@@ -31,11 +31,11 @@ ps.setNumericalConstraints ("balance", ["balance/relative-com",
# lock hands in closed position
lockedDofs
=
robot
.
leftHandClosed
()
for
name
,
value
in
lockedDofs
.
iteritems
():
ps
.
lock
Dof
(
name
,
value
,
0
,
0
)
ps
.
lock
Joint
(
name
,
value
)
lockedDofs
=
robot
.
rightHandClosed
()
for
name
,
value
in
lockedDofs
.
iteritems
():
ps
.
lock
Dof
(
name
,
value
,
0
,
0
)
ps
.
lock
Joint
(
name
,
value
)
q1
=
[
0.0
,
0.0
,
0.705
,
1.0
,
0.
,
0.
,
0.0
,
0.0
,
0.0
,
0.0
,
0.0
,
-
0.4
,
0
,
-
1.2
,
-
1.0
,
0.0
,
0.0
,
0.174532
,
-
0.174532
,
0.174532
,
-
0.174532
,
0.174532
,
-
0.174532
,
0.261799
,
-
0.17453
,
0.0
,
-
0.523599
,
0.0
,
0.0
,
0.174532
,
-
0.174532
,
0.174532
,
-
0.174532
,
0.174532
,
-
0.174532
,
0.0
,
0.0
,
-
0.453786
,
0.872665
,
-
0.418879
,
0.0
,
0.0
,
0.0
,
-
0.453786
,
0.872665
,
-
0.418879
,
0.0
]
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment