Download
latest Releases : 2.0.0-RELESE
2.0.0-RELESE | Download page |
Number of Projects
RT-Component | 153.5 |
RT-Middleware | 35 |
Tools | 22 |
Documentation | 2 |
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
Location of sample components
After successful installation or build, test the operation with the included sample. The sample is usually at the following location for the 64-bit version.
Use the following procedure to check that OpenRTM-aist is correctly built/installed using the sample component set SimpleIO.
Operation check using sample (SimpleIO)
This is a sample set consisting of the RT-Components ConsoleIn and ConsoleOut. ConsoleIn is a component that outputs the numerical value input from the console to the OutPort, and ConsoleOutComp is a component that displays the numerical value input from the InPort on the console. These are RTC samples to show a simple I/O (input/output) use. It works by connecting the OutPort of ConsoleIn's OutPort to the InPort of ConsoleOut's InPort and activating these two components.
The following explanation assumes that various programs are started from the start menu in an environment where OpenRTM-aist is installed with the MSI installer.
Start RTSystemEditor and name server
Follow the steps below to start the RTSystemEditor and the name server.
Start sample component
After starting the name server, start the appropriate sample component.
For Windows 10, type "C++_Examples" in the bottom right corner [Tyepe here to search], find the directory for the examples and open it.
Here, double-click "ConsoleIn.bat" and "ConsoleOut.bat" respectively to start two components.
Warning from Windows Defender
When trying to launch the sample component, Windows Defender Firewall may display a Windows Security Alert dialog. Check [Private network (home network, company network, etc.) (R)] and uncheck [Public network (airport, coffee shop, etc.) (not recommended) (U)] and then click [Allow access (A)]. This screen may be different from Windows 10 (build 1903), and may not be displayed depending on the settings. If it is displayed, make the same settings and close the dialog.
Screen after starting sample component
A few seconds after startup, two console screens as shown below will open.
If the component does not start
If a component does not start, there are several possible causes.
Console screen opens and disappears immediately
If the environment variables RTM_VC_VERSION , OMNI_ROOT and RTM_ROOT are not set, the RTC will fail to start. When installing with the MSI installer, restarting the OS may solve the problem.
Also, there may be a case where there is a problem with the setting of rtc.conf and it cannot be started. Open [rtc.conf] in VCxx (VC14 when using Visual Studio 2019) under the folder searched using `` C ++ _ Example '' above and check the settings. For example, if the settings such as corba.endpoint/corba.endpoints are mismatched with the IP address of the currently running PC host, CORBA will terminate abnormally.
Please rewrite rtc.conf with the following contents (minimum setting) and try.
Exit with a runtime error
Runtime errors may occur due to improperly installed or configured libraries, etc. In that case, please try the following method.Place the components on the system diagram
Open the System Editor screen (System Diagram) for editing the system. Click the [Open New System Editor] button at the top to open the system editor (System Diagram) in the center pane. From the name service view on the left, drag and drop the components (two) indicated by the icon onto the system diagram view in the center.
Connection and activation
You can see an OutPort where data is output to and is shown on the right side of the ConsoleIn0 component and an InPort where data is input from and is shown on the left side of the ConsoleOut0 component like the following figure.
Connect the InPort and the OutPort (these are called "data port"). If you drag and drop from the OutPort to the InPort (or from the InPort to the OutPort), a dialog as shown below appears. Click the [OK] button with the default settings.
A connecting line appears between the two components. Next, click the [All Activate] button in the top menu of the editor to activate these components. When activated, the component turns green.
When the component is activated, the ConsoleIn component will display on the console
Please input number:
The prompt is displayed. Enter an appropriate number (within the range of short int: 32767 or less) and press the Enter key. Then, the entered value is displayed on the ConsoleOut side console screen. You can see that the data has been transferred from the ConsoleIn component to the ConsoleOut component.
This is the end of the basic operation check of the component.
Other samples
The installer also comes with some sample components. These components can also be tested by double-clicking on them, then connecting and activating the ports using RTSystemEditor.
Below are a list and a brief description of the attached component startup batch files.