Building from source

For uses who require more flexibility, or wish to alter and use the source, OpenRTM-aist-Java can be installed from source.

Building a source distribution

OpenRTM-aist-Java provides a build environment for Eclipse.

Dependencies

Building OpenRTM-aist-Java requires the following libraries.

  • Eclipse SDK 3.3.x or greater.
  • jdk1.7.0_xx or greater.

Install these dependencies according to their individual documentations. Installing them into standard locations such as /usr and /usr/local will make compiling OpenRTM-aist-Python easier.

Download the source

Download the OpenRTM-aist-Java source from here.

Extract the source code

Extract the OpenRTM-aist-Java.X.X.X.tar.gz file into a suitable location.

  • For Linux:
     $ tar xvzf OpenRTM-aist-Java-X.X.X.tar.gz
  • For Windows, expand it using a tool that can expand tgz.

Build

The diagrams in this section show Windows and Eclipse 3.4.2.

Start Eclipse and import the project into the workspace by selecting "Import" from the File menu.

eclipse_open_import_en.png
Importing the project

Select "Import an existing project" and click "Next."

eclipse_select_import_en.png
Import selection window

Select the folder with the extract files and click "Finish."

eclipse_select_project_en.png
Project import window

This will import the project into the current workspace.

eclipse_open_project_en.png
Importing a project

Right click the build.xml file in the package explorer and select "Ant build" from the "Debug" menu.

eclipse_select_ant_built_en.png
"Ant build"

From the displayed window, select "buildAllLinux" and click the "Debug" button.

eclipse_execute_ant_en.png
Edit configuration window

The build will begin.

eclipse_execution_result_en.png
Build result

If the console window displays the above result, the build has completed.

Buidling from the repository

The OpenRTM-aist-Python source code is stored in a publicly-available Subversion repository. This source code can be checked out and built.

Necessary tools

Subclipse is required to access the repository in Eclipse. You need ant4eclipse at the first build. ant4eclipse: Eclipse plugin (http://ant4eclipse.sourceforge.net)
In addition to this in Windows,
Python and PyYAML are required. Download page of OpenRTM-aist C++ version, Please set environment variable. Add to PATH C:\Python27 etc.
JSmooth is required. Please install and set environment variable JSMOOTH_HOME.JSMOOTH_HOME=C:\Program Files (x86)\JSmooth0.9.9-7

Check out the source

The diagrams in this section show Windows and Eclipse 3.4.2.

Check out the source in Eclipse and import it into the workspace. The Import Selection window opens in File > Import. Select [Others] > [Check out project from SVN] and click the [Next] button to open the "Check out from SVN" window. Select "Generate new repository location" and click "Import project" Click the "Next" button. In 'Url' enter http://svn.openrtm.org/OpenRTM-aist-Java/trunk/ and click the Next button. The "Select Folder" window opens, so select "jp.go.aist.rtm.RTC" and click the "Finish" button.
Download the script file or batch file from the first time only ( http://svn.openrtm.org/OpenRTM-aist-Java/trunk/ ) and execute it.
These files Subclipse can not check out.
The required java source file is generated from the idl file.
There is an incompleteness in the current trunk, an error occurs in part of the TEST file etc. In addition, msi file is not generated on Windows.

Build

The diagrams in this section show Windows and Eclipse 3.4.2.

Right click the build.xml file in the package explorer and select "Ant build" from the "Debug" menu.

eclipse_select_ant_built_en.png
"Ant build"

From the displayed window, select "buildAllLinux" and click the "Debug" button.

eclipse_execute_ant_en.png
Edit configuration window

The build will begin.

eclipse_execution_result_en.png
Build result

If the console window displays the above result, the build has completed.

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK