UPMC iCub project/XDE-simulator-dev

From Wiki for iCub and Friends
Revision as of 21:17, 13 November 2013 by Arwen (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Preparation

Linux

We hereby assume you have Ubuntu 12.04.

Dependencies:

  • System dependencies

The basics: sudo apt-get install libeigen3-dev g++ python-dev cmake git These are required for XDE:

  sudo apt-get install ipython-qtconsole python-numpy \
  python-pyside libogre-dev libois-dev ogre-samples \
  ogre-samples-data ogre-tools libtbb-dev

  • XDE dependencies from CEA repository

You need to get some specific dependencies from the CEA repository. Add their key first:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E50A1A3
sudo add-apt-repository ppa:xde/dependencies
sudo apt-get update

you can now install the XDE dependencies


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).