Debugging RTSystemEditor, RTCBuilder

This page describes the debugging procedure of RTSystemEditor and RTCBuilder.

Obtain required software

eclipse

RTSystemEditor, RTCBuilder will work as eclipse plugin. Please download eclipse from the following site. At that time please select Ultimate Full Edision for package. Standard Edition requires plug-in development environment to be installed manually.

JDK

Since you need JRE 1.8 or higher, please obtain and install the latest version of JDK installer from below.

RTSystemEditor, RTCBuilder source code

Please check out below from TortoiseSVN etc.

Build

Please execute eclipse.exe.

JRE setting

Set up the JRE to use.

In the JRE path (eg C:\Program Files (x86)\Java\jdk1.8.0_131\jre), Select "Add" → "Standard VM" under "Window" → "Settings" → "Java" → "Installed JRE" and add a check


plugin4_1.png


plugin5_1.png


plugin6.png


plugin7_1.png


plugin8_1.png


Setting compiler compliance level

Since the compiler compliance level may be set to 1.6 in the initial state, please set the compiler compliance level to 1.8 with "Window" → "Setting" → "Java" → "compiler".


plugin9_1.png


Import RTSystemEditor, RTCBuilder project

RT System Editor, RTC Builder into eclipse of development environment. Select "File" → "Import" → "Plug-in Development" → "Plug-in and Fragment", then press "Next".


plugin12.png



plugin13.png


Please turn on "Directory" of "Import destination", set the directory where rtmtools was checked out, and proceed to the next.


plugin14_1.png


Please select "Add all" and press the completion button.


plugin15_1.png


IDL compilation

Compile the IDL file. In the package explorer, start by right clicking "buildForClient" of jp.go.aist.rtm.toolscommon project and choosing "Execute" → "Ant build".


plugin2_1.png


Garbled characters in Ant build

Double-click "Execution" → "External Tools" → "Configure External Tool" → "Ant Build" and select "Common" tab → "Encode" to Other "MS932" please.


plugin10.png



plugin11_1.png


Modifying the classpath

Depending on the environment, the classpath may not be set correctly. In that case, since ClassNotFoundException exception occurs at debugging, please correct all plugin.xml that exists in rtmtools. Double click on plugin.xml in Package Explorer and add "." To "Classpath" from "Runtime" tab. (It can be added to "Bundle-ClassPath" of "MANIFEST.MF")


plugin1_1.png


That's all there is to it.

Debug execution

Debugging starts with "Debug" → "Eclipse application" from the button of the upper bug mark.


plugin3_1.png


Download

latest Releases

For Begginers

Windows msi(installer) package (only trying samples)

C++,Python,Java,
Toolsを含む
1.2.1-RELEASE

Development environment is required for RT-Component development. See download page for details.

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