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
Next revisionBoth sides next revision
tutorials:pycram:setup [2020/03/19 11:23] jdechtutorials:pycram:setup [2020/04/08 07:30] jdech
Line 1: Line 1:
 ====== Setting up PyCRAM ====== ====== Setting up PyCRAM ======
-==== Dependencies ====+The setup of PyCRAM can be differentiated in three steps: 
 +    * Installing Dependencies  
 +    * Cloning the PyCRAM repo 
 +    * Write a setup Script  
 +Installing the dependencies shouldn't be a problem because all packages are available via PyPi. 
 + 
 +The cloning of the PyCRAM repo is trivial. 
 + 
 +The setup script is used to add the src directory to the python path. This has to be done so Python can find PyCRAM when importing from there. 
 +===== Dependencies =====
 To install PyCRAM firstly the required packages must be installed. These are:  To install PyCRAM firstly the required packages must be installed. These are: 
     * Pybullet     * Pybullet
Line 9: Line 18:
 <code>pip install <package> </code> <code>pip install <package> </code>
  
-==== PyCRAM ====+===== PyCRAM =====
 To get PyCRAM simply clone the repository with the following command: To get PyCRAM simply clone the repository with the following command:
 <code>git clone https://github.com/cram2/pycram.git</code> <code>git clone https://github.com/cram2/pycram.git</code>
Line 15: Line 24:
 The cloned repository contains the source code for PyCRAM as well as two short demos which demonstrate how to use it.  The cloned repository contains the source code for PyCRAM as well as two short demos which demonstrate how to use it. 
  
-==== Using PyCRAM ====+===== Using PyCRAM =====
 To use PyCRAM one needs to add the path to the source code manually at the moment.  To use PyCRAM one needs to add the path to the source code manually at the moment. 
 This can be done in a python script before executing the actual code.  This can be done in a python script before executing the actual code.