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
Guilhem Saurel
sot-hrp2
Commits
9e5379aa
Commit
9e5379aa
authored
Oct 04, 2012
by
Antonio El Khoury
Browse files
Add position of foot force sensors in hrp2 python class.
parent
94563e6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2/hrp2.py
View file @
9e5379aa
...
...
@@ -33,6 +33,16 @@ class Hrp2(AbstractHumanoidRobot):
"""
This class instanciates a Hrp2 robot
"""
forceSensorInLeftAnkle
=
((
1.
,
0.
,
0.
,
0.
),
(
0.
,
1.
,
0.
,
0.
),
(
0.
,
0.
,
1.
,
-
0.105
),
(
0.
,
0.
,
0.
,
1.
))
forceSensorInRightAnkle
=
((
1.
,
0.
,
0.
,
0.
),
(
0.
,
1.
,
0.
,
0.
),
(
0.
,
0.
,
1.
,
-
0.105
),
(
0.
,
0.
,
0.
,
1.
))
def
smallToFull
(
self
,
config
):
res
=
(
config
+
10
*
(
0.
,))
return
res
...
...
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