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
solo-rbprm
Commits
c662bcc6
Commit
c662bcc6
authored
Sep 02, 2020
by
Pierre Fernbach
Browse files
Update height values of CoM and contact points
parent
1b96ff24
Changes
2
Hide whitespace changes
Inline
Side-by-side
solo_rbprm/solo.py
View file @
c662bcc6
...
...
@@ -49,19 +49,25 @@ class Robot (Parent):
rarm
=
'HR_HAA'
rhand
=
'HR_FOOT'
referenceConfig
=
[
0.
,
0.
,
0.2
35
,
0.
,
0.
,
0.
,
1.
,
# freeflyer
referenceConfig
=
[
0.
,
0.
,
0.2
41
,
0.
,
0.
,
0.
,
1.
,
# freeflyer
0.
,
0.8
,
-
1.6
,
# FL
0.
,
0.8
,
-
1.6
,
# FR
0.
,
-
0.8
,
1.6
,
# HL
0.
,
-
0.8
,
1.6
]
# HR
DEFAULT_COM_HEIGHT
=
0.211
postureWeights
=
[
0
,
0
,
0
,
0
,
0
,
0
,
#FF
100.
,
1.
,
20.
,
100.
,
1.
,
20.
,
100.
,
1.
,
20.
,
100.
,
1.
,
20.
,]
DEFAULT_COM_HEIGHT
=
0.2
# informations required to generate the limbs databases the limbs :
nbSamples
=
50000
# Number of sampled configuration for each limb in the database
octreeSize
=
0.002
# Resolution of the octree leaf (as a cube, in meter)
cType
=
"_3_DOF"
# 6_dof constraints the orientation of the contacts, 3_dof only constraint the position
offset
=
[
0.
,
0.
,
-
0.0
05
]
#
Offset applied to the contact position wrt to the frame position
offset
=
[
0.
,
0.
,
-
0.0
18
]
#
Contact position in the effector frame
# Position on the first joint of each limb (in the root frame) in the 'reference' configration,
# Used by some heuristic when sorting candidates contacts positions
...
...
@@ -106,10 +112,10 @@ class Robot (Parent):
rArmId
:
ref_EE_rArm
,
lArmId
:
ref_EE_lArm
}
# display transform :
MRsole_display
=
SE3
.
Identit
y
()
MLsole_display
=
SE3
.
Identit
y
()
MRhand_display
=
SE3
.
Identit
y
()
MLhand_display
=
SE3
.
Identit
y
()
MRsole_display
=
MRsole_offset
.
cop
y
()
MLsole_display
=
MLsole_offset
.
cop
y
()
MRhand_display
=
MRhand_offset
.
cop
y
()
MLhand_display
=
MLhand_offset
.
cop
y
()
dict_display_offset
=
{
rfoot
:
MRsole_display
,
lfoot
:
MLsole_display
,
rhand
:
MRhand_display
,
lhand
:
MLhand_display
}
kneeIds
=
{
"LF"
:
9
,
"LH"
:
12
,
"RF"
:
15
,
"HR"
:
18
}
...
...
solo_rbprm/solo_abstract.py
View file @
c662bcc6
...
...
@@ -34,7 +34,7 @@ class Robot (Parent):
srdfSuffix
=
""
name
=
urdfName
ref_height
=
0.2
35
ref_height
=
0.2
41
rLegId
=
'solo_RFleg_rom'
lLegId
=
'solo_LFleg_rom'
...
...
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