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
Wolfgang Merkt
example-robot-data
Commits
8e1cdfdf
Commit
8e1cdfdf
authored
Oct 29, 2019
by
Carlos Mastalli
Browse files
[unittest] Added kinova-related unittest
parent
7d4bf844
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/test_load.py
View file @
8e1cdfdf
...
@@ -29,6 +29,12 @@ class ANYmalTest(RobotTestCase):
...
@@ -29,6 +29,12 @@ class ANYmalTest(RobotTestCase):
RobotTestCase
.
NV
=
18
RobotTestCase
.
NV
=
18
class
ANYmalKinovaTest
(
RobotTestCase
):
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadANYmal
(
withArm
=
"kinova"
)
RobotTestCase
.
NQ
=
27
RobotTestCase
.
NV
=
24
class
HyQTest
(
RobotTestCase
):
class
HyQTest
(
RobotTestCase
):
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadHyQ
()
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadHyQ
()
RobotTestCase
.
NQ
=
19
RobotTestCase
.
NQ
=
19
...
@@ -95,10 +101,16 @@ class UR5Test(RobotTestCase):
...
@@ -95,10 +101,16 @@ class UR5Test(RobotTestCase):
RobotTestCase
.
NV
=
6
RobotTestCase
.
NV
=
6
class
KinovaTest
(
RobotTestCase
):
RobotTestCase
.
ROBOT
=
example_robot_data
.
loadKinova
()
RobotTestCase
.
NQ
=
9
RobotTestCase
.
NV
=
6
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
test_classes_to_run
=
[
test_classes_to_run
=
[
ANYmalTest
,
HyQTest
,
TalosTest
,
TalosArmTest
,
TalosArmFloatingTest
,
TalosLegsTest
,
ICubTest
,
SoloTest
,
ANYmalTest
,
ANYmalKinovaTest
,
HyQTest
,
TalosTest
,
TalosArmTest
,
TalosArmFloatingTest
,
TalosLegsTest
,
ICubTest
,
Solo12Test
,
TiagoTest
,
TiagoNoHandTest
SoloTest
,
Solo12Test
,
TiagoTest
,
TiagoNoHandTest
,
KinovaTest
]
]
loader
=
unittest
.
TestLoader
()
loader
=
unittest
.
TestLoader
()
suites_list
=
[]
suites_list
=
[]
...
...
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