Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-rbprm-corba
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
Jason Chemin
hpp-rbprm-corba
Commits
54f941c7
Commit
54f941c7
authored
7 years ago
by
t steve
Browse files
Options
Downloads
Plain Diff
Merge branch 'rewrite_p2' into grasp
parents
17647fc1
7ca28e77
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/scenarios/demos/stair_bauzil_hrp2_interp.py
+17
-6
17 additions, 6 deletions
script/scenarios/demos/stair_bauzil_hrp2_interp.py
with
17 additions
and
6 deletions
script/scenarios/demos/stair_bauzil_hrp2_interp.py
+
17
−
6
View file @
54f941c7
...
@@ -28,26 +28,35 @@ r = tp.Viewer (ps, viewerClient=tp.r.client)
...
@@ -28,26 +28,35 @@ r = tp.Viewer (ps, viewerClient=tp.r.client)
#~ AFTER loading obstacles
#~ AFTER loading obstacles
rLegId
=
'
0rLeg
'
rLegId
=
'
0rLeg
'
rLeg
=
'
RLEG_JOINT0
'
rLeg
=
'
RLEG_JOINT0
'
rLegOffset
=
[
0
,
-
0.105
,
0
,
]
rLegOffset
=
[
0
,
0
,
-
0.105
]
rLegNormal
=
[
0
,
1
,
0
]
rLegNormal
=
[
0
,
0
,
1
]
rLegx
=
0.09
;
rLegy
=
0.05
rLegx
=
0.09
;
rLegy
=
0.05
fullBody
.
addLimb
(
rLegId
,
rLeg
,
''
,
rLegOffset
,
rLegNormal
,
rLegx
,
rLegy
,
10000
,
"
manipulability
"
,
0.1
)
fullBody
.
addLimb
(
rLegId
,
rLeg
,
''
,
rLegOffset
,
rLegNormal
,
rLegx
,
rLegy
,
10000
,
"
manipulability
"
,
0.1
)
lLegId
=
'
1lLeg
'
lLegId
=
'
1lLeg
'
lLeg
=
'
LLEG_JOINT0
'
lLeg
=
'
LLEG_JOINT0
'
lLegOffset
=
[
0
,
-
0.105
,
0
]
lLegOffset
=
[
0
,
0
,
-
0.105
]
lLegNormal
=
[
0
,
1
,
0
]
lLegNormal
=
[
0
,
0
,
1
]
lLegx
=
0.09
;
lLegy
=
0.05
lLegx
=
0.09
;
lLegy
=
0.05
fullBody
.
addLimb
(
lLegId
,
lLeg
,
''
,
lLegOffset
,
rLegNormal
,
lLegx
,
lLegy
,
10000
,
"
manipulability
"
,
0.1
)
fullBody
.
addLimb
(
lLegId
,
lLeg
,
''
,
lLegOffset
,
rLegNormal
,
lLegx
,
lLegy
,
10000
,
"
manipulability
"
,
0.1
)
rarmId
=
'
3Rarm
'
rarmId
=
'
3Rarm
'
rarm
=
'
RARM_JOINT0
'
rarm
=
'
RARM_JOINT0
'
rHand
=
'
RARM_JOINT5
'
rHand
=
'
RARM_JOINT5
'
rArmOffset
=
[
0
,
0
,
-
0.1
]
rArmOffset
=
[
0
,
0
,
-
0.1
075
]
rArmNormal
=
[
0
,
0
,
1
]
rArmNormal
=
[
0
,
0
,
1
]
rArmx
=
0.024
;
rArmy
=
0.024
rArmx
=
0.024
;
rArmy
=
0.024
#disabling collision for hook
#disabling collision for hook
fullBody
.
addLimb
(
rarmId
,
rarm
,
rHand
,
rArmOffset
,
rArmNormal
,
rArmx
,
rArmy
,
10000
,
"
manipulability
"
,
0.05
,
"
_6_DOF
"
,
True
)
#~ fullBody.addLimb(rarmId,rarm,rHand,rArmOffset,rArmNormal, rArmx, rArmy, 10000, "manipulability", 0.05, "_6_DOF", True)
fullBody
.
addLimb
(
rarmId
,
rarm
,
rHand
,
rArmOffset
,
rArmNormal
,
rArmx
,
rArmy
,
10000
,
"
manipulability
"
,
0.05
)
#~ value [(2.22045e-16 1 -3.92523e-17)(1 2.22045e-16 3.92523e-17)(3.92523e-17 -3.92523e-17 -1)]
#~ invvalue [(2.22045e-16 1 3.92523e-17)(1 2.22045e-16 -3.92523e-17)(-3.92523e-17 3.92523e-17 -1)]
#~ value [0 1 0)(1 0 0)(0 0 -1)]
#~ invvalue [(4.44089e-16 1 -1.17757e-16)(1 7.77156e-16 -1.96262e-16)(-1.96262e-16 -1.17757e-16 -1)]
#~ AFTER loading obstacles
#~ AFTER loading obstacles
...
@@ -236,3 +245,5 @@ print "Root path generated in " + str(tp.t) + " ms."
...
@@ -236,3 +245,5 @@ print "Root path generated in " + str(tp.t) + " ms."
#~ gen_and_save(fullBody,configs, "stair_bauzil_contacts_data")
#~ gen_and_save(fullBody,configs, "stair_bauzil_contacts_data")
#~ main()
#~ main()
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