Skip to content
GitLab
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
1464d907
Commit
1464d907
authored
May 28, 2013
by
Mehdi Benallegue
Browse files
Make error message more explicit.
parent
fb607c4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2/hrp2.py
View file @
1464d907
...
...
@@ -102,7 +102,7 @@ class Hrp2(AbstractHumanoidRobot):
self
.
dimension
=
self
.
dynamic
.
getDimension
()
if
self
.
dimension
!=
len
(
self
.
halfSitting
):
raise
RuntimeError
(
"
invalid
half
-s
itting
pose"
)
raise
RuntimeError
(
"
Dimension of half-sitting: {0} differs from dimension of robot: {1}"
.
format
(
len
(
self
.
half
S
itting
),
self
.
dimension
)
)
self
.
initializeRobot
()
__all__
=
[
Hrp2
]
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment