Download
latest Releases : 2.0.0-RELESE
2.0.0-RELESE | Download page |
Number of Projects
RT-Component | 152 |
RT-Middleware | 33 |
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
This section explains connection between data ports and service ports.
(G)Connection between data ports
Connect data port "InPort" and "OutPort". When dragging and dropping between these, the following dialog will be displayed. The setting items of "Buffer" are hidden in the initial display.
The items and conditions of the dialog are as follows.
dataport.data_type
Select from data types that can be sent and received from each port. However, when including Any, it accepts any value of the other port.
dataport.interface_type
Select from the interface types supported by each port. However, when including Any, it allows any interface of the other port.
dataport.dataflow_type
Select from the data flow types supported by each port. However, when including Any, it allows any kind of data flow on the partner port.
dataport.subscription_type
Specify the type of subscription supported by the RT system designer, or on RT Middleware on which RTC runs.
Select from among the subscription types supported by each port. However, if you include Any, you allow any subscription type of the other party.
dataport.push_interval
When the subscription type is "Periodic", specify the data transmission cycle. Specify the transmission cycle with a positive value (decimal possible).
dataport.publisher.push_policy
all:Bulk transmission of data in buffer
fifo:Send data in buffer one by one with FIFO
skip:Sending by thinning out the data in the buffer
new:Send the latest value of the data in the buffer (old values are discarded.)
dataport.publisher.skip_count
It is hidden at the initial display of the dialog.
⑮
(OutPort/InPort)
buffer.length
⑯
(OutPort/InPort)
buffer.write.full_policy
overwrite:Overwrite the data.
do_nothing:I will not do anything.
block:I will block.
If block is specified, if the next timeout value is specified, it will time out if it can not be written after the specified time. The default is overwrite (overwrite).
⑰
(OutPort/InPort)
buffer.write.timeout
The default is 1.0 [sec]. If 0.0 is set, timeout does not occur.
⑱
(OutPort/InPort)
buffer.read.empty_policy
readblock:It rereads the last element.
do_nothing:I will not do anything.
block:I will block.
If block is specified, if the next timeout value is specified, it will time out if it can not be read after the specified time. The default is readback.
⑲
(OutPort/InPort)
buffer.read.timeout
The default is 1.0 [sec]. If 0.0 is set, timeout does not occur.
㉑
Name
You can add items with the [Add] button and delete items with the [Delete] button.
The entered item is set to Properties of ConnectorProfile in NVList format.
Property of the same key can not be set.
Regarding items ② to ⑤, RT System Editor creates values that can be specified by matching character strings from the value list of each port. If only ANY is specified for both ports, it is impossible to determine the value that can be entered. Therefore, when ANY is included in both ports, RT System Editor allows you to enter arbitrary character strings. For items that can input arbitrary character strings, "Optional input possible" is displayed.
(G)Service port connection
For connection between service ports, connect "ServicePort" and "ServicePort". When dragging and dropping between these, the following dialog will be displayed.
The items and conditions of the dialog are as follows.
It is hidden at the initial display of the dialog.
In the selection list of ComboBox, it is displayed in the form of <component name>: <interface name>: <instance name>.
The added Consumer / Provider pair is stored in the ConnectorProfile with the Consumer ID as the property key and the Provider ID as the property value.
Consumer / Provider IDs are expressed in the following format.
<rtc_name>.port.<port_name>.<if_polality>.<if_tname>.<if_iname>
- rtc_name is the component name
- port_name is the port name
- if_polality is "required" for Consumer, "provided" for Provider
- if_iname is the instance name of the interface
Set using Consumer ID as key
⑧
Name
You can add items with the [Add] button and delete items with the [Delete] button.
The entered item is set to Properties of ConnectorProfile in NVList format.
Property of the same key can not be set.
For the service port, there is no mandatory connection condition. However, if PortInterfaceProfile between ServicePorts does not perfectly match (* 1), a warning will be displayed on the connection dialog.
*1 Perfect matching here means that the "type" of the PortInterfaceProfile is the same and the "polarity" are PROVIDED and REQUIred mutually. Also pointing to all PortInterfaceProfiles matching (PortInterfaceProfile exists on each port multiple times).