This sample is included with C ++, Python and Java versions of OpenRTM-aist.
Sample of how to use InPort and OutPort. Start the ConsoleIn and ConsoleOut components. When the ports are connected, the numbers entered on the ConsoleIn side are displayed on the ConsoleOut side. Ports can be connected by executing rtshell commands in addition to using RTSystemEditor.
The sample of SimpleIO is a sample that sends the number input by ConsoleIn from the data port to ConsoleOut and displays the same number on ConsoleOut side. Enter a number from the ConsoleIn screen. Then the number entered in ConsoleOut will be output.
For Windows | For Linux | |||
ConsoleIn component | ConsoleOut component | ConsoleIn component | ConsoleOut component | |
C++ version | ConsoleIn.bat | ConsoleOut.bat | ConsoleInComp | ConsoleOutComp |
Python version | ConsoleIn.bat | ConsoleOut.bat | ConsoleIn.py | ConsoleOut.py |
Java version | ConsoleIn.bat | ConsoleOut.bat | ConsoleIn.sh | ConsoleOut.sh |