Skip to content

Commit

Permalink
Update installation.rst for new Pose
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigul authored Aug 9, 2023
1 parent 079245e commit 45806d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]))

0 comments on commit 45806d7

Please sign in to comment.