Table of contents

Before you begin

* The SSE extension command is validated in the binary package of OpenHRP. It does not operate in CPU before Pentiumâ…¢,Athlon XP.

Since OpenHRP is an application based on 3D Graphics, it is necessary to confirm whether your pc is aware of handling 3D Graphics properly, before you begin installation. To confirm that, open a Terminal window and run following command;

$ glxinfo | grep rendering

  • If the result is: "direct rendering: Yes"
    Your system is capable of handling 3D graphics. Please proceed to the next section.

  • If the result is: "direct rendering: No"
    You have to install a graphics driver, that supports 3D acceleration feature.

    Note:

    1. Depending on the graphics board, sometimes the above procedure may not be applicable for your system.Even in this case, basically OpenHRP itself is working.But the 3D visualizations may become slower and would not perform effectively, due to the inactivity of 3D acceleration.

    2. Regarding the graphics board, we can assure that the boards having nVidia chipsets, would support 3D acceleration feature well in Linux platfoems.

    3. For Ubuntu guest platforms running on virtual machine environments, we have confirmed that the 3D graphics works fine even without installing a proper graphics driver.


Installing OpenHRP3 from a binary package

Distribution of the binary package by apt-get is supported after OpenHRP3.1.0. β4.

Composition of a file

Installation directories are the following composition.
/usr/
  +- bin/                  # The executable file of OpenHRP. "openhrp" is added to the head of a file name.
  +- include/              # The header file of an OpenHRP library
  +- lib/                  # The OpenHRP library
      +- pkgconfig/
          +- openhrp3.1.pc # The configuration file of pkg-config
  +- share/
      +- OpenHRP-3.1/
          +- idl/          # IDL file
          +- sample/       # Sample
          +- java/         # The jar file of GrxUI which OpenHRP offers
          +- plugins/      # Eclipse plug-in which OpenHRP offers
      +- doc/              # Document
          +- OpenHRP-3.1/  # A license, a history, etc. 
             +- idl/       # Doxygen of IDL in English
             +- idl_jp/    # IDoxygen of IDL in Japanese
             +- lib/       # Doxygen of library in English
             +- lib_jp/    # Doxygen of library in Japanese
             +- ut/        # Doxygen of DynamicsSimulator of University of Tokyo in English

Since it is dependent on OpenRTM-1.1.0, it does not operate in old version.
Please install in the following procedures.

Using apt-get

Please execute the following command to install an openhr package.

sudo add-apt-repository ppa:hrg/stable
sudo add-apt-repository ppa:openrave/release
sudo apt-get update
sudo apt-get install openhrp
Please choose "Yes" or "accept", and finish installation.

A check of the third party of Java

$ java -version
Please check the third party of java.
If the sentence of "Java (TM) SE Runtime Enviroment" is displayed jre of Sun is effective.
If the sentence of OpenJDK Runtime Environment" is displayed jre of OpenJDK is effective.
Please check that Sun or OpenJDK is effective, then continue Installation of Eclipse and GrxUI plug-in.
If it is not displayed, please execute the following command.
$ sudo update-java-alternatives -s java-6-sun
or
$ sudo update-java-alternatives -s java-6-openjdk


Installation of Eclipse and GrxUI plug-in

GrxUI is plug-in of Eclipse. The present version corresponds to Eclipse3.4.
We prepared the package which all contains required plug-in.
Please download Eclipse all-in-one package from "download" page and extract it.
tar xzvf eclipse342_hrpdependencies_linux_en_20120220.tar.gz
Please copy all the jar files in /usr/share/OpenHRP-3.1-/java/plugins/ directory to the plugins directory of Eclipse.
For example, when a current directory is an eclipse directory, please execute the following command.
$ cp /usr/share/OpenHRP-3.1/java/plugins/*.jar plugins/

Installation is completion now. The next is Starting and initial setting of GrxUI.