Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:pycram:demo [2021/02/04 13:30] jdechtutorials:pycram:demo [2021/07/01 09:37] (current) jdech
Line 1: Line 1:
 ====== Run the PyCRAM demos ====== ====== Run the PyCRAM demos ======
-There are two demos available for PyCRAM, the first shows the usage of the BulletWorld and its reasoning mechanisms. The Second can only be used with a real PR2 and shows how to use the ProcessModules, Motion Designator and the PyCRAM plan language.  +There are two demos available for PyCRAM, the first shows the usage of the BulletWorld and its reasoning mechanisms. The second can only be used with a real PR2 and shows how to use the ProcessModules, Motion Designators and the PyCRAM plan language.  
  
 ===== Demo 1 ===== ===== Demo 1 =====
Line 6: Line 6:
  
 ==== Setup ==== ==== Setup ====
-To run the demo a few packages need to be installed, they are all available via PyPi. +To setup PyCRAM please see the tutorial at [[tutorials/pycram/setup | here]].
-If you already installed pip you can skip this, if not the pip version for Python3 can be installed with the following command. +
-<code> apt install python3-pip</code> +
-To install the required packages via pip the following command is used. +
-<code>pip3 install pybullet pathlib numpy</code> +
- +
-Now the Repository needs to be cloned. +
-<code>cd ~ && git clone https://www.github.com/cram2/pycram.git</code> +
-  +
-This demo needs the models of the PR2 and the kitchen of the Institute of Artificial Intelligence. +
-They need to be in the resources directory in the PyCRAM repo. +
- +
-<code>cd ~/pycram/resources</code> +
-<code>git clone git@github.com:PR2/pr2_common.git</code> +
-<code>git clone git@github.com:code-iai/iai_maps.git</code> +
  
 ==== Start the IK service ==== ==== Start the IK service ====
Line 34: Line 19:
 <code>git clone git@github.com:code-iai/iai_robots.git </code> <code>git clone git@github.com:code-iai/iai_robots.git </code>
  
-Now you can choose which robot description to upload in the launch file. Note, in order for ROS to be able to find the robot description you have to build the iai_robots repo using catkin.+Now you can choose which robot description to upload in the launch file. This can be done by editing the argument 'robot' at the top of the launch file.  
 + 
 +Note, in order for ROS to be able to find the robot description you have to build the iai_robots repo using catkin.
  
 ==== Run the Demo ==== ==== Run the Demo ====