Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-practicals
Commits
3984a273
Commit
3984a273
authored
Nov 30, 2016
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Nov 30, 2016
Browse files
Use variable ballName to hide ugly name of joint.
parent
865d3de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/manipulation.py
View file @
3984a273
...
...
@@ -33,9 +33,9 @@ graph.createEdge ('grasp', 'placement', 'release-ball', 1, 'grasp')
## Create transformation constraint : ball is in horizontal plane with free
## rotation around z
ps
.
createTransformationConstraint
(
'placement'
,
'pokeball/base_joint_SO3'
,
''
,
[
0
,
0
,
0.025
,
1
,
0
,
0
,
0
],
[
False
,
False
,
True
,
True
,
True
,
False
,])
ps
.
createTransformationConstraint
(
'placement'
,
ballName
,
''
,
[
0
,
0
,
0.025
,
1
,
0
,
0
,
0
],
[
False
,
False
,
True
,
True
,
True
,
False
,])
# Create complement constraint
ps
.
createTransformationConstraint
(
'placement/complement'
,
'pokeball/base_joint_SO3'
,
''
,
[
0
,
0
,
0.025
,
1
,
0
,
0
,
0
],
[
True
,
True
,
False
,
False
,
False
,
True
,])
ps
.
createTransformationConstraint
(
'placement/complement'
,
ballName
,
''
,
[
0
,
0
,
0.025
,
1
,
0
,
0
,
0
],
[
True
,
True
,
False
,
False
,
False
,
True
,])
ps
.
setConstantRightHandSide
(
'placement'
,
True
)
ps
.
setConstantRightHandSide
(
'placement/complement'
,
False
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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