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
anymal-rbprm
Commits
ef68bc12
Commit
ef68bc12
authored
Feb 13, 2019
by
Pierre Fernbach
Browse files
fix end effetor name
parent
c9c3960b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/anymal/robot.py
View file @
ef68bc12
...
...
@@ -28,29 +28,29 @@ class Robot (Parent):
meshPackageName
=
"anymal_description"
rootJointType
=
"freeflyer"
urdfName
=
"anymal"
urdfSuffix
=
"_reachability"
srdfSuffix
=
"
_reachability
"
urdfSuffix
=
"_reachability
_old
"
srdfSuffix
=
""
## Information about the names of thes joints defining the limbs of the robot
rLegId
=
'RFleg'
rleg
=
'RF_HAA'
rfoot
=
'RF_
ADAPTER_TO_FOOT
'
rfoot
=
'RF_
KFE
'
lLegId
=
'LFleg'
lleg
=
'LF_HAA'
lfoot
=
'LF_
ADAPTER_TO_FOOT
'
lfoot
=
'LF_
KFE
'
lArmId
=
'LHleg'
larm
=
'LH_HAA'
lhand
=
'LH_
ADAPTER_TO_FOOT
'
lhand
=
'LH_
KFE
'
rArmId
=
'RHleg'
rarm
=
'RH_HAA'
rhand
=
'RH_
ADAPTER_TO_FOOT
'
rhand
=
'RH_
KFE
'
referenceConfig
=
[
0.
,
0.
,
0.444
,
0.
,
0.
,
0.
,
1.
,
# FF
0.04
,
0.74
,
-
1.08
,
0.34
,
-
0.04
,
0.
,
0.04
,
-
0.74
,
1.08
,
-
0.34
,
-
0.04
,
0.
,
-
0.04
,
0.74
,
-
1.08
,
0.34
,
0.04
,
0.
,
-
0.04
,
-
0.74
,
1.08
,
-
0.34
,
0.04
,
0.
0.04
,
0.74
,
-
1.08
,
0.34
,
-
0.04
,
#
0.,
0.04
,
-
0.74
,
1.08
,
-
0.34
,
-
0.04
,
#
0.,
-
0.04
,
0.74
,
-
1.08
,
0.34
,
0.04
,
#
0.,
-
0.04
,
-
0.74
,
1.08
,
-
0.34
,
0.04
#
,0.
]
# informations required to generate the limbs databases the limbs :
...
...
@@ -100,6 +100,7 @@ class Robot (Parent):
def
loadAllLimbs
(
self
,
heuristic
,
analysis
=
None
,
nbSamples
=
nbSamples
,
octreeSize
=
octreeSize
):
for
id
in
self
.
limbs_names
:
print
"add limb : "
,
id
eff
=
self
.
dict_limb_joint
[
id
]
self
.
addLimb
(
id
,
self
.
dict_limb_rootJoint
[
id
],
eff
,
self
.
dict_offset
[
eff
].
translation
.
T
.
tolist
()[
0
],
self
.
dict_normal
[
eff
],
self
.
dict_size
[
eff
][
0
]
/
2.
,
self
.
dict_size
[
eff
][
1
]
/
2.
,
nbSamples
,
heuristic
,
octreeSize
,
self
.
cType
,
kinematicConstraintsPath
=
self
.
kinematicConstraintsPath
+
self
.
dict_limb_rootJoint
[
id
]
+
"_com_constraints.obj"
,
kinematicConstraintsMin
=
self
.
minDist
)
if
analysis
:
...
...
Write
Preview
Supports
Markdown
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