The characteristics of Eclipse include:
And so on. Judging that these Eclipse features are useful for constructing an integrated development environment for robot, we chose Eclipse as a platform for tools of RT middleware.
To use RTCBuilder and RTSystemEditor you need to install Eclipse. Regarding the installation method of Eclipse,Etc. will be helpful.
After downloading please install according to the instructions of the installer.
JDK installation:
⇒ Java Development Kit 7
reference: → cool! Simple way to apply Oracle's Java (JRE) to Eclipse in a UNIX environment
$ su # vi /etc/apt/source.list This line is added. → deb http://jp.archive.ubuntu.com/ubuntu/ jaunty main restricted # apt-get update # apt-get install xulrunner-1.9 # dpkg -l |grep xulrunner-1.9 ii xulrunner-1.9 1.9.0.8+nobinonly-0ubuntu2 XUL + XPCOM application runner ii xulrunner-1.9.1 1.9.1.7+nobinonly-0ubuntu0.9.10.1 XUL + XPCOM application runner ii xulrunner-1.9.1-gnome-support 1.9.1.7+nobinonly-0ubuntu0.9.10.1 Support for GNOME in xulrunner-1.9.1 applica 1.9.1 and 1.9 live together. # exit $ export GDK_NATIVE_WINDOWS=1 $ ./eclipse
#/bin/sh export GDK_NATIVE_WINDOWS=1 ./eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.1.8/xulrunner
Terminate Eclipse once after installation.
RTCBuilder is a template generator tool for RT Components. It generates custom templates based on user-configured parameters. RTCBuilder operates on top of Eclipse and interacts seamlessly and intuitively with other Eclipse plugins. Although RTCBuilder can be used even if RTSystemEditor is not installed, if it is, RTCBuilder's menus will be integrated with those of RTSystemEditor. This document is written assuming RTSystemEditor is installed.
Function | Overview |
RTC Profile Editor | Edit the RTC specification based profile, data port definitions, service port definitions, configuration parameter definitions, and other profile extensions. |
Build view | Graphically display the RT Component being edited, including its data ports, service ports, service interfaces. |
Repository view | Display information on a selected RT Repository. |
The following must be installed for RTCBuilder to function.
Software | Remarks |
Java Development Kit 6 | Note: Java1.5 (5.0) is not suitable. |
Eclipse version 3.4.2 or above http://www.eclipse.org/downloads/index.php http://archive.eclipse.org/eclipse/downloads/index.php |
Eclipse itself |
Eclipse EMF version 2.2 or above (SDO, XSD included) | Eclipse plugin required by RTC Builder Note: be sure to use versions that match your Eclipse version. |
Eclipse GEF version 3.2 or above (Draw2D included) | Eclipse plugin required by RTC Builder Note: be sure to use versions that match your Eclipse version. |
If you will be generating components for C++ or Python, you will need the following as well:
Software | Remarks |
Eclipse CDT | C++ development environment |
Pydev for Eclipse | Python development environment |
Download the RTCBuilder plugin and copy the jar files into the Eclipse plugin directory. This is a directory called plugin below the'eclipse directory in the location you extracted the Eclipse archive to. Start Eclipse and select [Open Perspective] > [Other] from the Window menu. The perspective selection dialog will be displayed.
Select RTC Builder from the list to open its perspective.
Click the [Open New RTC Builder Editor] button in the toolbar, or select [Open New Builder Editor] from the File menu to begin editing a new component.RTSystemEditor is one of the OpenRTM-aist development tools. It allows RT Components to be manipulated in real-time using a graphical interface. It is implemented as a plugin for the Eclipse IDE, allowing seamless operation from within Eclipse and integration with existing plugins.
The functions offered by RTSystemEditor are given below.
Function | Overview |
Display and edit component configurations | The configuration profiles of the selected component is displayed in the Configuration View, and can be edited there. |
Change component behaviour | Select components and change their behaviour (active state, etc). |
Combine components | Retrieve components from a repository or load them from the file system and combine them together into a system using the System Editor. |
Save and open systems | Save the contents of the System Editor and load it again at a later date. |
Restore systems | Use saved System Editor states to restore a system of connected RT Components. |
The following must be installed for RTSystemEditor to function.
Software | Remarks |
Java Development Kit 6 | Note: Java1.5 (5.0) is not suitable. |
Eclipse 3.4.2 | Eclipse itself |
Eclipse EMF 2.2.4 EMF+SDO Runtime and XSD Runtime | Eclipse plugin required by RT System Editor |
Eclipse GEF 3.2.2 | Eclipse plugin required by RT System Editor |
Because RTSystemEditor is an Eclipse plugin, it requires Eclipse to be installed. Eclipse is written in Java, so it in turn requires a Java environment to be set up before it can be installed (such as the JDK).
Start Eclipse and select Open Perspective->Other from the Window menu. The perspective selection dialog will be displayed.
Select RTSystemEditor from the list to open its perspective.
If RTSystemEditor is not available in the list of perspectives, check that EMF, GEF and XSD are all correctly installed, and that the RTSystemEditor plugin is in the correct directory.
After confirming that RTSystemEditor starts, restart Eclipse using the same workspace. RTSystemEditor should be displayed as it was when you exited Eclipse.
reference:''FAQ:'' How to start EclipseThis page describes the debugging procedure of RTSystemEditor and RTCBuilder.
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.
Since you need JRE 1.8 or higher, please obtain and install the latest version of JDK installer from below.
Please check out below from TortoiseSVN etc.
Please execute eclipse.exe.
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
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".
RT System Editor, RTC Builder into eclipse of development environment. Select "File" → "Import" → "Plug-in Development" → "Plug-in and Fragment", then press "Next".
Please turn on "Directory" of "Import destination", set the directory where rtmtools was checked out, and proceed to the next.
Please select "Add all" and press the completion button.
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".
Double-click "Execution" → "External Tools" → "Configure External Tool" → "Ant Build" and select "Common" tab → "Encode" to Other "MS932" please.
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")
That's all there is to it.
Debugging starts with "Debug" → "Eclipse application" from the button of the upper bug mark.