From 4de2cbcc102a2e45e55699167de379fcba553b13 Mon Sep 17 00:00:00 2001 From: Jonas Dech Date: Tue, 21 Nov 2023 09:12:43 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8379b6bc7..3e127326d 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,12 @@ from pycram.designators.motion_designator import * from pycram.designators.location_designator import * from pycram.designators.action_designator import * from pycram.designators.object_designator import * +from pycram.enums import ObjectType world = BulletWorld() -kitchen = Object("kitchen", "environment", "kitchen.urdf") -robot = Object("pr2", "robot", "pr2.urdf") -cereal = Object("cereal", "cereal", "breakfast_cereal.stl", position=[1.4, 1, 0.95]) +kitchen = Object("kitchen", ObjectType.ENVIRONMENT, "kitchen.urdf") +robot = Object("pr2", ObjectType.ROBOT, "pr2.urdf") +cereal = Object("cereal", ObjectType.BREAKFAST_CEREAL, "breakfast_cereal.stl", position=[1.4, 1, 0.95]) cereal_desig = ObjectDesignatorDescription(names=["cereal"]) kitchen_desig = ObjectDesignatorDescription(names=["kitchen"])