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
Stack Of Tasks
sot-romeo
Commits
2af9cbe6
Commit
2af9cbe6
authored
Jan 21, 2014
by
Francois Keith
Browse files
Add sole size.
parent
ae8869de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/romeo/robot.py
View file @
2af9cbe6
...
...
@@ -50,6 +50,12 @@ class Robot (AbstractHumanoidRobot):
self
.
dynamic
.
addJointMapping
(
'BODY'
,
'body'
)
self
.
dynamic
.
loadFromParameterServer
()
# complete feet position (TODO: move it into srdf file)
ankle
=
self
.
dynamic
.
getAnklePositionInFootFrame
()
self
.
dynamic
.
setFootParameters
(
True
,
0.1935
,
0.121
,
ankle
)
self
.
dynamic
.
setFootParameters
(
False
,
0.1935
,
0.121
,
ankle
)
# check half sitting size
self
.
dimension
=
self
.
dynamic
.
getDimension
()
if
self
.
dimension
!=
len
(
self
.
halfSitting
):
raise
RuntimeError
(
"invalid half-sitting pose"
)
...
...
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