Check that OpenRTM-aist is built and installed correctly using the sample component set SimpleIO.
This is a sample set consisting of RT components ConsoleIn and ConsoleOut. ConsoleIn is a component that outputs numerical values input from the console to OutPort, and ConsoleOut is a component that displays numerical values input from InPort to the console. These are RTC samples to show a simple I/O (input/output) use. It works by connecting the data ports from ConsoleIn's OutPort to ConsoleOut's InPort and activating these two components.
Here, I will explain by assuming that the sample set is under /usr/share/openrtm-1.2/components/python/SimpleIO. Also, it is assumed that a search path has been set for the executable file of Python itself. If you build from the source code, the sample executable file is in <source_dir>/OpenRTM_aist/examples/SimpleIO/, so replace the sample file location in the further explanation and the explanation in the linked page.
In the following explanation, an operation check using RTSystemEditor (OpenRTP) is explained. Please refer to Operation check (On Linux) under the "Install rtshell" page. for the environment that does not use OpenRTP like the case of Raspbian.
$ python /usr/share/openrtm-1.2/components/python/SimpleIO/ConsoleIn.py
$ python <source_dir>/OpenRTM_aist/examples/SimpleIO/ConsoleIn.py
$ python /usr/share/openrtm-1.2/components/python/SimpleIO/ConsoleOut.py
$ python <source_dir>/OpenRTM_aist/examples/SimpleIO/ConsoleOut.py
Please input number:
This concludes the confirmation of the basic operation of the OpenRTM-aist-python using RTSystemEditor.