SeqIO

This sample is included with the C++, Python and the Java editions of OpenRTM-aist.

Introduction

This sample shows how to use InPort and OutPort. When you start the SeqIn and SeqOut components, a GUI or console screen will be displayed. Both SeqIn and SeqOut have the following types of DataPort. TimedShort, TimedLong, TimedFLoat, TimedDouble, TimedShortSeq, TimedLongSeq, TimedFLoatSeq, TimedDoubleSeq, Output of each port are determined by random numbers, and when each port is connected, the output value of SeqOut and the input value of SeqIn are shown on the GUI or console screens. (Use RTSystemEditor for connection between ports.)

Screenshots

java_seqio_en.png
Running the SeqIO sample.


SeqIO_example_rtse_en.png
The SeqIO sample viewed in RTSystemEditor.


How to use

The SeqIO sample is a sample that sends numerical data continuously from the output of SeqOut. And the data is sent to the data port of SeqIn. Both output data and input data are displayed on each GUI / console screen. Connection of the corresponding ports of SeqOut and SeqIn are done on RTSystemEditor. When both components are activated, not only SeqOut but also the numerical value on the SeqIn GUI / console changes continuously, and you can observe the input and output of the data port.


You can execute this sample using the following procedure.
    • Start RTSystemEditor.
    • Run SeqIn and SeqOut components. Starting the components varies Depend on the OS and OpenRTM-aist version. Please refer to the following table.
Windows Linux
SeqIn component SeqOut component SeqIn component SeqOut component
C++ SeqIn.bat SeqOut.bat SeqInComp SeqOutComp
Python SeqIn.bat SeqOut.bat SeqIn.py SeqOut.py
Java SeqIn.bat SeqOut.bat SeqIn.sh SeqOut.sh
    • Both components are shown in the Name Service View of RTSystemEditor. Add the RT-Components to the System Editor.
    • Drag and drop between each ports to connect them.
    • Right-click one of the components and activate the components by selecting [Activate Systems]

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