Let's start OpenRTM-aist in 10 minutes!


The latest version OpenRTM-aist-2.0.0-RELEASE installs C++ version, Python version, Java version.
Also, rtshell will be installed at the same time.

Advance preparation

Installation of Python

If Python is not installed, OpenRTM-aist can not be installed.
Please install Python before installing OpenRTM - aist.
The Python version corresponds to "3.10", "3.9", "3.8", "3.7".
To download Python please see Installation of OpenRTM-aist 2.0 series on Windows.

For Python , check [add python *** to PATH] at the bottom of the first screen.

The Python installation destination corresponds to the [Customize installation] selection made during installation.

Set the search path automatically by the following method. This will add the directory where python.exe is located and the Scripts directory to Path.
(Example: Path=C:\Python38;C:\ Python38\Scripts;...)

[Installing Python]

  • Launch the Python installer. To install Python 3.7, 3.8, 3.9, 3.10 check [add python *** to PATH] at the bottom of the first screen and select [Customize installation].
    Python38-install001_.png
  • There are no changes on the next Optional Features screen. Select [Next] to proceed.
    Python38-install002.png
  • On the [Advanced Options] screen, check [Install for all users] and set the installation destination in [Customize install location]. (Example: Path=C:\Python38;C:\ Python38\Scripts;...)
    Python38-install003.png
  • Select Install to complete the installation.

Installing OpenRTM-aist

Here, we will introduce the installation procedure using 64-bit installer OpenRTM-aist-2.0.0-RELEASE_x86_64.msi on Windows 10.
To download the installer please see Download.

[Installation procedure]

  1. Launch the installer. When the [Windows protected your PC] screen is displayed, click [Details] to display the [Run] button, and then click [Run]. (This screen is displayed when installing an application that is not registered with Microsoft Corp. on a certain version of Windows or later, and this screen is displayed because this software is not registered.)
  1. Then click Next.
    RTM2.0.0-msi-1.png

  1. This is the page of the license agreement. Accept the software license terms and click Next.
    RTM2.0.0-msi-2.png

  1. Select the installation type. Accept the default and click Next.
    RTM2.0.0-msi-3.png

  2. Select the Visual Studio version.
    • Set the version of Visual Studio used in the C++ version in the system environment variable.
    • Select the installed version of Visual Studio and click Next.
  3. Select the setup type.
    When [Standard] is selected, OpenRTM-aist C++ version, Java version, Python version, OpenRTP, RTSystemEditorRCP, RTShell, OpenRTM-aist-C++ version Visual Studio 2015 to 2022 runtime library, OpenRTM-aist-1.0. The runtime libraries from 0 to 2.0.0 are installed. If you have no particular reason to change it, click Standard.
    RTM2.0.0-msi-5.png

  4. Click [Install] to start the installation.
    RTM2.0.0-msi-6.png

    RTM2.0.0-msi-7.png

  5. The installation is complete. Click Finish to exit the installer.
    RTM2.0.0-msi-8.png

Run the sample component

Advance preparation

  • Although not required, start many applications registered in the start menu from here. It's hard to go from the start menu each time, so Display the start menu from the start button, right-click [OpenRTM-aist 2.0.0 x86_64]> [OpenRTP] and select [Open File Location].
    start-menu.png
    Open file location


start-menu-folder.png

Start menu folder


    • In this way, the Start Menu folder will be opened and you can easily access the applications registered in the menu.

Start Naming Service

  • Double-click Start Naming Service. The following console screen will be displayed.
    StartNameService122-001.png
    Start Naming Service


Sample component

Use ConsoleInComp and ConsoleOutComp

ConsoleInComp and ConsoleOutComp are samples showing how to use DataInPort and DataOutPort. The number entered on the Console In side is displayed on the Console Out side. Here, use these two components to check the operation.

Launch the sample component

  • Double-click ConsoleIn.bat and ConsoleOut.bat in the [OpenRTM-aist 2.0.0 x86_64]>[C++_Example] folder. If the [Important Windows Security Warning] screen is displayed, check [Private network (home network, corporate network, etc.)] and click [Allow access]. The following console screen will be displayed.
    ConsoleInOut122-001.png
    ConsoleIn.bat and ConsoleOut.bat


Start OpenRTP

  • Click the desktop shortcut to launch it. In the start menu, select [OpenRTM-aist 2.0.0 x86_64]> [OpenRTP]. You can also start it by double-clicking OpenRTP from the folder screen you opened earlier.
    • Please specify a suitable place for the workspace.
      OpenRTP122-001.png
      Select Workspace

  • Since the "Welcome" screen is not required, click the [x] button on the [Welcome] tab in the upper left to close the screen.
    OpenRTP122-002.png
    Initial startup screen

Using RTSystemEditor

  • Click [Open Perspective] at the top right of the screen. Select [RT System Editor] in the dialog that appears and click [Open] to start RT System Editor.
    OpenRTP122-003.png OpenRTP122-004.png
    Switching perspectives

  • The component appears in the Name Service View. Initially it is not shown because it is collapsed, but if you click [>] to expand it, you can see the ConsoleIn and ConsoleOut components.
    OpenRTP122-005.png
    Component startup confirmation

    • If the name server is not displayed in NameServerView, add localhost manually. Click Add Name Server on the image to display the dialog. Type "localhost" and click OK to add it. If it still does not start, please close all console screens once and try the procedure from starting Naming Service again.
      OpenRTP122-006.png OpenRTP122-007.png
      Add Name Server

  • Click Open New System Editor from the toolbar to display the System Diagram.
    OpenRTP122-008.png
    Display System Diagram

  • If you drag and drop the ConsoleIn and ConsoleOut components in the [NameServiceView] onto the [System Diagram], you can see the host context of the host name and the ConsoleIn and ConsoleOut components. Depending on the settings, the host context (the hierarchy of “hostname | host_cxt” such as “TPAD-RTM-NO13 | host_cxt” in the figure) may not be displayed and the component may be displayed directly.
    OpenRTP122-009.png
    Drag and drop components

  • Connect components by dragging and dropping between data ports. After that, a dialog box prompting you to enter the information required for connection will be displayed. Click [OK].
    OpenRTP122-010.png OpenRTP122-011.png
    Component connection

    • It will be connected as shown in the image below.
      OpenRTP122-012.png
      Connection completed


  • Sets the component status to Active. Click [All Activate]. It is successful when the color of the component changes from blue to light green. It is also possible to individually activate each component by selecting it and right-clicking. (If [All Activate] is not displayed, try restarting Openrtp. Or you can activate each component individually.)
    OpenRTP122-013.png

    OpenRTP122-014.png
    Activate complete

Checking the operation on the component console screen

  • Then check the operation on the console screen. After connecting with RTSystemEditor, "Please input number:" is displayed on the Console In screen.
    Console122-001.png
    Displayed as「Please input number:」

  • Enter an arbitrary value on the Console In screen and press [Enter] to display the value on the Console Out screen.
    Console122-002.png
    Operation check

    • If you enter a non-numeric value or enter a too large value, the operation may be strange. In that case, stop the operation of the batch file with the Cntrl-C key, and start the batch file again.
  • If you want to exit the component, click All Deactivate from the toolbar. Then right-click the component and select [Exit].
    • If Deactivate takes a long time, it is stopped by entering a value in ConsoleIn. In that case, enter some value.
      Console122-004.png
      ''Deactivate component'


Console122-005.png
Component termination


  • This is the end of the operation check using ConsoleIn and ConsoleOut.

Use rtshell

OpenRTM-aist installs rtshell as standard. By using rtshell, you can activate, deactivate, and terminate RTC from the command line.
Please see Install rtshell・Operation Check (On Windows)

Next...

Please see the link below.

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