From 45806d7840dcce1c4f15ffba1bdfd2aceb7e064f Mon Sep 17 00:00:00 2001 From: Jonas Dech Date: Wed, 9 Aug 2023 15:36:47 +0200 Subject: [PATCH] Update installation.rst for new Pose --- doc/source/installation.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 7bf51266f..5d7f7c9c8 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -262,9 +262,10 @@ Here is an example how a setup script can look like. from pycram.designators.location_designator import * from pycram.designators.object_designator import * from pycram.process_module import simulated_robot + from pycram.pose import Pose world = BulletWorld() robot = Object("pr2", "robot", "pr2.urdf") kitchen = Object("kitchen", "environment", "kitchen.urdf") - cereal = Object("cereal", "cereal", "breakfast_cereal.stl", position=[1.4, 1, 0.95]) + cereal = Object("cereal", "cereal", "breakfast_cereal.stl", pose=Pose([1.4, 1, 0.95]))