Beispiel #1
0
 def testImportInvalidGraspableBody(self):
     with self.assertRaises(ImportGraspableBodyException):
         GraspitCommander.importGraspableBody("")
Beispiel #2
0
 def testSaveWorld(self):
     GraspitCommander.importRobot("Barrett")
     GraspitCommander.importGraspableBody("ashtray")
     GraspitCommander.saveWorld("test_world")
Beispiel #3
0
 def testImportGraspableBody(self):
     GraspitCommander.importGraspableBody("ashtray")
     assert len(GraspitCommander.getGraspableBodies().ids) == 1