Commit 8e1cdfdf authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[unittest] Added kinova-related unittest

parent 7d4bf844
...@@ -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 = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment