Difference between revisions of "UPMC iCub project/XDE-simulator-dev"

From Wiki for iCub and Friends
Jump to: navigation, search
(Created page with "If you want to develop robot controllers in XDE, you may need to prepare your machine by installing two further components: XDE-core, which is a set of core functionalities of...")
 
Line 1: Line 1:
If you want to develop robot controllers in XDE, you may need to prepare your machine by installing two further components: XDE-core, which is a set of core functionalities of XDE used for developers, and ORC.
+
If you want to develop robot controllers in XDE, you may need to prepare your machine by installing two further components: XDE-core, which is a set of development files of XDE used for developers, and ORC.
 +
XDE-core is, as XDE, not open-source.
 +
 
 +
* For any problems with the installation ask [http://chronos.isir.upmc.fr/~ivaldi/contact.htm Serena Ivaldi], [http://www.josini.com/ Joseph Salini], [http://www.isir.upmc.fr/?op=view_profil&id=262 Sovannara Hak].
 +
* For any problems with running it ask [http://www.isir.upmc.fr/?op=view_profil&id=262 Sovannara Hak].
 +
* For the license ask [http://www.isir.upmc.fr/?op=view_profil&id=89 Vincent Padois].
 +
 
 +
Once you have XDE-core and ORC, you can install the modules developed in ISIR for developing controllers in XDE. In this case the code can be downloaded on github.
  
 
== Preparation ==
 
== Preparation ==
Line 8: Line 15:
 
'''Dependencies''':
 
'''Dependencies''':
 
* System dependencies
 
* System dependencies
 
The basics:
 
 
<code>
 
<code>
 
sudo apt-get install libeigen3-dev g++ python-dev cmake git
 
sudo apt-get install libeigen3-dev g++ python-dev cmake git
</code>
 
These are required for XDE:
 
<code>
 
  sudo apt-get install ipython-qtconsole python-numpy \
 
  python-pyside libogre-dev libois-dev ogre-samples \
 
  ogre-samples-data ogre-tools libtbb-dev
 
 
</code>
 
</code>
 
* [[UPMC iCub project/XDE-simulator|XDE: installation]]
 
* [[UPMC iCub project/XDE-simulator|XDE: installation]]
 
* [[UPMC iCub project/Installing ORC|ORC: installation]]
 
* [[UPMC iCub project/Installing ORC|ORC: installation]]
  
* XDE dependencies from CEA repository
+
* XDE-core
You need to get some specific dependencies from the CEA repository. Add their key first:
+
To retrieve the last developers packages, ask [http://www.isir.upmc.fr/?op=view_profil&id=262 Sovannara Hak].
<code>
+
 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E50A1A3<br>
+
* XDE-ISIR modules
sudo add-apt-repository ppa:xde/dependencies<br>
+
You will need to retrieve some modules from the github repository https://github.com/xde-isir
sudo apt-get update
+
Create a folder, for example xde-isir, where you can put all he modules. Each will be compiled separately.
</code>
+
  mkdir /home/icub/software/src/xde-isir
you can now install the XDE dependencies
+
  git clone https://github.com/XDE-ISIR/XDE-Observers.git
<code>
+
  git clone https://github.com/XDE-ISIR/XDE-DocPythonAPI.git
 +
  git clone https://github.com/XDE-ISIR/demo-spacemouse.git
 +
  git clone https://github.com/XDE-ISIR/XDE-ZMPy.git
 +
  git clone https://github.com/XDE-ISIR/RTEKukaFRIClient.git
 +
  git clone https://github.com/XDE-ISIR/orocos_toolchain_xde.git
 +
  git clone https://github.com/XDE-ISIR/XDE-Resources.git
 +
  git clone https://github.com/XDE-ISIR/XDE-ISIRController.git
 +
  git clone https://github.com/XDE-ISIR/XDE-RobotLoader.git
 +
  git clone https://github.com/XDE-ISIR/XDE-WorldManager.git
 +
  git clone https://github.com/XDE-ISIR/XDE-Spacemouse.git
 +
  git clone https://github.com/XDE-ISIR/XDE-ISIR.git
 +
  git clone https://github.com/XDE-ISIR/XDE-DocExamples.git
 +
 
  
  

Revision as of 21:44, 13 November 2013

If you want to develop robot controllers in XDE, you may need to prepare your machine by installing two further components: XDE-core, which is a set of development files of XDE used for developers, and ORC. XDE-core is, as XDE, not open-source.

Once you have XDE-core and ORC, you can install the modules developed in ISIR for developing controllers in XDE. In this case the code can be downloaded on github.

Preparation

Linux

We hereby assume you have Ubuntu 12.04.

Dependencies:

  • System dependencies

sudo apt-get install libeigen3-dev g++ python-dev cmake git

  • XDE-core

To retrieve the last developers packages, ask Sovannara Hak.

  • XDE-ISIR modules

You will need to retrieve some modules from the github repository https://github.com/xde-isir Create a folder, for example xde-isir, where you can put all he modules. Each will be compiled separately.

  mkdir /home/icub/software/src/xde-isir
  git clone https://github.com/XDE-ISIR/XDE-Observers.git
  git clone https://github.com/XDE-ISIR/XDE-DocPythonAPI.git
  git clone https://github.com/XDE-ISIR/demo-spacemouse.git
  git clone https://github.com/XDE-ISIR/XDE-ZMPy.git
  git clone https://github.com/XDE-ISIR/RTEKukaFRIClient.git
  git clone https://github.com/XDE-ISIR/orocos_toolchain_xde.git
  git clone https://github.com/XDE-ISIR/XDE-Resources.git
  git clone https://github.com/XDE-ISIR/XDE-ISIRController.git 
  git clone https://github.com/XDE-ISIR/XDE-RobotLoader.git
  git clone https://github.com/XDE-ISIR/XDE-WorldManager.git
  git clone https://github.com/XDE-ISIR/XDE-Spacemouse.git
  git clone https://github.com/XDE-ISIR/XDE-ISIR.git
  git clone https://github.com/XDE-ISIR/XDE-DocExamples.git



Usage

Linux

The general way to run scripts in XDE is

  runxde.sh my_script.py

If you installed XDE correctly, you should be able to have runxde.sh in the PATH (so you can use the autocompletion in your terminal).