Skip to content

Commit

Permalink
[Multiverse] tests are running.
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrhmanBassiouny committed Aug 4, 2024
1 parent 2b3b5a2 commit b431d07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
18 changes: 0 additions & 18 deletions test/bullet_world_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,6 @@ def tearDownClass(cls):
cls.world.exit()


class TiagoBulletWorldTestCase(BulletWorldTestCase):

@classmethod
def setUpClass(cls):
rdm = RobotDescriptionManager()
rdm.load_description("tiago_dual")
cls.world = BulletWorld(mode=WorldMode.DIRECT)
cls.milk = Object("milk", ObjectType.MILK, "milk.stl", pose=Pose([1.3, 1, 0.9]))
cls.robot = Object(RobotDescription.current_robot_description.name, ObjectType.ROBOT,
RobotDescription.current_robot_description.name + cls.extension)
cls.kitchen = Object("kitchen", ObjectType.ENVIRONMENT, "kitchen" + cls.extension)
cls.cereal = Object("cereal", ObjectType.BREAKFAST_CEREAL, "breakfast_cereal.stl",
ObjectDescription, pose=Pose([1.3, 0.7, 0.95]))
ProcessModule.execution_delay = False
cls.viz_marker_publisher = VizMarkerPublisher()
OntologyManager(SOMA_ONTOLOGY_IRI)


class BulletWorldGUITestCase(unittest.TestCase):

world: BulletWorld
Expand Down
10 changes: 1 addition & 9 deletions test/test_action_designator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pycram.process_module import simulated_robot
from pycram.datastructures.pose import Pose
from pycram.datastructures.enums import ObjectType, Arms, GripperState, Grasp
from bullet_world_testcase import BulletWorldTestCase, TiagoBulletWorldTestCase
from bullet_world_testcase import BulletWorldTestCase
import numpy as np


Expand Down Expand Up @@ -162,11 +162,3 @@ def test_facing(self):
FaceAtPerformable(self.milk.pose).perform()
milk_in_robot_frame = LocalTransformer().transform_to_object_frame(self.milk.pose, self.robot)
self.assertAlmostEqual(milk_in_robot_frame.position.y, 0.)


class TiagoTestActionDesignatorGrounding(TiagoBulletWorldTestCase, TestActionDesignatorGrounding):
pass


if __name__ == '__main__':
unittest.main()

0 comments on commit b431d07

Please sign in to comment.