Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
anymal-rbprm
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Humanoid Path Planner
anymal-rbprm
Commits
36325d3a
Commit
36325d3a
authored
6 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
adapt ref config to extradof in foot (z)
parent
d89725d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hpp/corbaserver/rbprm/anymal/robot.py
+14
-14
14 additions, 14 deletions
src/hpp/corbaserver/rbprm/anymal/robot.py
with
14 additions
and
14 deletions
src/hpp/corbaserver/rbprm/anymal/robot.py
+
14
−
14
View file @
36325d3a
...
...
@@ -24,33 +24,33 @@ class Robot (Parent):
##
# Information to retrieve urdf and srdf files.
packageName
=
"
anymal_
boxy_
description
"
meshPackageName
=
"
anymal_
boxy_
description
"
packageName
=
"
anymal_description
"
meshPackageName
=
"
anymal_description
"
rootJointType
=
"
freeflyer
"
urdfName
=
"
anymal
_reachability
"
urdfSuffix
=
""
srdfSuffix
=
""
urdfName
=
"
anymal
"
urdfSuffix
=
"
_reachability
"
srdfSuffix
=
"
_reachability
"
## Information about the names of thes joints defining the limbs of the robot
rLegId
=
'
RFleg
'
rleg
=
'
RF_HAA
'
rfoot
=
'
RF_
CONTACT_2
'
rfoot
=
'
RF_
ADAPTER_TO_FOOT
'
lLegId
=
'
LFleg
'
lleg
=
'
LF_HAA
'
lfoot
=
'
LF_
CONTACT_2
'
lfoot
=
'
LF_
ADAPTER_TO_FOOT
'
lArmId
=
'
LHleg
'
larm
=
'
LH_HAA
'
lhand
=
'
LH_
CONTACT_2
'
lhand
=
'
LH_
ADAPTER_TO_FOOT
'
rArmId
=
'
RHleg
'
rarm
=
'
RH_HAA
'
rhand
=
'
RH_
CONTACT_2
'
rhand
=
'
RH_
ADAPTER_TO_FOOT
'
referenceConfig
=
[
0.
,
0.
,
0.444
,
0.
,
0.
,
0.
,
1.
,
# FF
0.04
,
0.74
,
-
1.08
,
0.34
,
-
0.04
,
0.04
,
-
0.74
,
1.08
,
-
0.34
,
-
0.04
,
-
0.04
,
0.74
,
-
1.08
,
0.34
,
0.04
,
-
0.04
,
-
0.74
,
1.08
,
-
0.34
,
0.04
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 :
...
...
@@ -101,7 +101,7 @@ class Robot (Parent):
def
loadAllLimbs
(
self
,
heuristic
,
analysis
=
None
,
nbSamples
=
nbSamples
,
octreeSize
=
octreeSize
):
for
id
in
self
.
limbs_names
:
eff
=
self
.
dict_limb_joint
[
id
]
self
.
addLimb
(
id
,
self
.
dict_limb_rootJoint
[
id
],
eff
,
self
.
dict_offset
[
eff
].
translation
.
T
.
tolist
(),
self
.
dict_normal
[
eff
],
self
.
dict_size
[
eff
][
0
],
self
.
dict_size
[
eff
][
1
],
nbSamples
,
heuristic
,
octreeSize
,
self
.
cType
,
kinematicConstraintsPath
=
self
.
kinematicConstraintsPath
+
self
.
dict_limb_rootJoint
[
id
]
+
"
_com_constraints.obj
"
,
kinematicConstraintsMin
=
self
.
minDist
)
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
:
self
.
runLimbSampleAnalysis
(
id
,
analysis
,
True
)
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