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
02288aaf
Commit
02288aaf
authored
Oct 24, 2019
by
Pierre Fernbach
Browse files
[fullbody] fix mistake in resetJointBounds
parent
0825f07f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/anymal/robot.py
View file @
02288aaf
...
...
@@ -135,19 +135,19 @@ class Robot (Parent):
# save original bounds of the urdf for futur reset
self
.
LF_HAA_bounds
=
self
.
getJointBounds
(
'LF_HAA'
)
self
.
LF_HFE_bounds
=
self
.
getJointBounds
(
'LF_HFE'
)
self
.
LF_
HAA
_bounds
=
self
.
getJointBounds
(
'LF_KFE'
)
self
.
LF_
KFE
_bounds
=
self
.
getJointBounds
(
'LF_KFE'
)
self
.
RF_HAA_bounds
=
self
.
getJointBounds
(
'RF_HAA'
)
self
.
RF_HFE_bounds
=
self
.
getJointBounds
(
'RF_HFE'
)
self
.
RF_
HAA
_bounds
=
self
.
getJointBounds
(
'RF_KFE'
)
self
.
RF_
KFE
_bounds
=
self
.
getJointBounds
(
'RF_KFE'
)
self
.
LH_HAA_bounds
=
self
.
getJointBounds
(
'LH_HAA'
)
self
.
LH_HFE_bounds
=
self
.
getJointBounds
(
'LH_HFE'
)
self
.
LH_
HAA
_bounds
=
self
.
getJointBounds
(
'LH_KFE'
)
self
.
LH_
KFE
_bounds
=
self
.
getJointBounds
(
'LH_KFE'
)
self
.
RH_HAA_bounds
=
self
.
getJointBounds
(
'RH_HAA'
)
self
.
RH_HFE_bounds
=
self
.
getJointBounds
(
'RH_HFE'
)
self
.
RH_
HAA
_bounds
=
self
.
getJointBounds
(
'RH_KFE'
)
self
.
RH_
KFE
_bounds
=
self
.
getJointBounds
(
'RH_KFE'
)
def
loadAllLimbs
(
self
,
heuristic
,
analysis
=
None
,
nbSamples
=
nbSamples
,
octreeSize
=
octreeSize
,
disableEffectorCollision
=
False
):
if
isinstance
(
heuristic
,
basestring
):
#only one heuristic name given assign it to all the limbs
...
...
@@ -206,19 +206,19 @@ class Robot (Parent):
def
resetJointsBounds
(
self
):
self
.
setJointBounds
(
'LF_HAA'
,
self
.
LF_HAA_bounds
)
self
.
setJointBounds
(
'LF_HFE'
,
self
.
LF_HFE_bounds
)
self
.
setJointBounds
(
'LF_KFE'
,
self
.
LF_
HAA
_bounds
)
self
.
setJointBounds
(
'LF_KFE'
,
self
.
LF_
KFE
_bounds
)
self
.
setJointBounds
(
'RF_HAA'
,
self
.
RF_HAA_bounds
)
self
.
setJointBounds
(
'RF_HFE'
,
self
.
RF_HFE_bounds
)
self
.
setJointBounds
(
'RF_KFE'
,
self
.
RF_
HAA
_bounds
)
self
.
setJointBounds
(
'RF_KFE'
,
self
.
RF_
KFE
_bounds
)
self
.
setJointBounds
(
'LH_HAA'
,
self
.
LH_HAA_bounds
)
self
.
setJointBounds
(
'LH_HFE'
,
self
.
LH_HFE_bounds
)
self
.
setJointBounds
(
'LH_KFE'
,
self
.
LH_
HAA
_bounds
)
self
.
setJointBounds
(
'LH_KFE'
,
self
.
LH_
KFE
_bounds
)
self
.
setJointBounds
(
'RH_HAA'
,
self
.
RH_HAA_bounds
)
self
.
setJointBounds
(
'RH_HFE'
,
self
.
RH_HFE_bounds
)
self
.
setJointBounds
(
'RH_KFE'
,
self
.
RH_
HAA
_bounds
)
self
.
setJointBounds
(
'RH_KFE'
,
self
.
RH_
KFE
_bounds
)
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