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
test-hpp
Commits
fae5c682
Commit
fae5c682
authored
Jan 23, 2015
by
Joseph Mirabel
Committed by
Joseph Mirabel
Jan 23, 2015
Browse files
Update test_constraints.py and rename it
balance_constraints_success_statistics.py
parent
b91bbb15
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/
test
_constraints.py
→
script/
balance
_constraints
_success_statistics
.py
View file @
fae5c682
...
...
@@ -22,8 +22,7 @@ balanceConstraints = [constraintName + "/relative-com",
constraintName
+
"/orientation-left-foot"
,
constraintName
+
"/position-left-foot"
]
for
a
in
[
"x"
,
"y"
,
"z"
]:
robot
.
setJointBounds
(
"base_joint_"
+
a
,
[
-
4
,
4
])
robot
.
setJointBounds
(
"base_joint_xyz"
,
[
-
4
,
4
,
-
4
,
4
,
-
4
,
4
])
def
testConstraint
(
constraints
,
nbIter
=
100
):
success
=
0
...
...
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