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
e7be1446
Commit
e7be1446
authored
Feb 01, 2021
by
Pierre Fernbach
Browse files
update default gait
parent
c662bcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
solo_rbprm/solo.py
View file @
e7be1446
...
...
@@ -86,7 +86,7 @@ class Robot (Parent):
minDist
=
0.15
# Minimal height of the CoM wrt to the contact height
# Data used by mlp
limbs_names
=
[
rArmId
,
rLegId
,
lArmId
,
l
LegId
]
# List of effector used to create contact
limbs_names
=
[
rArmId
,
lArmId
,
lLegId
,
r
LegId
]
# List of effector used to create contact
dict_limb_rootJoint
=
{
rLegId
:
rleg
,
lLegId
:
lleg
,
rArmId
:
rarm
,
lArmId
:
larm
}
dict_limb_joint
=
{
rLegId
:
rfoot
,
lLegId
:
lfoot
,
rArmId
:
rhand
,
lArmId
:
lhand
}
dict_limb_color_traj
=
{
rfoot
:[
0
,
1
,
0
,
1
],
lfoot
:[
1
,
0
,
0
,
1
],
rhand
:[
0
,
0
,
1
,
1
],
lhand
:[
0.9
,
0.5
,
0
,
1
]}
...
...
@@ -118,7 +118,7 @@ class Robot (Parent):
MLhand_display
=
MLhand_offset
.
copy
()
dict_display_offset
=
{
rfoot
:
MRsole_display
,
lfoot
:
MLsole_display
,
rhand
:
MRhand_display
,
lhand
:
MLhand_display
}
kneeIds
=
{
"
L
F"
:
9
,
"
L
H"
:
12
,
"
R
F"
:
15
,
"HR"
:
18
}
kneeIds
=
{
"F
L
"
:
9
,
"H
L
"
:
12
,
"F
R
"
:
15
,
"HR"
:
18
}
def
__init__
(
self
,
name
=
None
,
load
=
True
,
client
=
None
,
clientRbprm
=
None
):
...
...
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