Esempio n. 1
0
 def testImportInvalidRobot(self):
     with self.assertRaises(ImportRobotException):
         GraspitCommander.importRobot("")
Esempio n. 2
0
 def testSaveWorld(self):
     GraspitCommander.importRobot("Barrett")
     GraspitCommander.importGraspableBody("ashtray")
     GraspitCommander.saveWorld("test_world")
Esempio n. 3
0
 def testImportRobot(self):
     GraspitCommander.importRobot("Barrett")
     assert len(GraspitCommander.getRobots().ids) == 1