OpenRTM / OpenRTM-aist-Python

OpenRTM-aist: RT-Middleware and OMG RTC implementation in Python implemented by AIST
Other
2 stars 7 forks source link

InPort.py/OutPort.pyのmarshaling_typeの作り方修正 #296

Closed n-ando closed 1 year ago

n-ando commented 1 year ago

Is your feature request related to a problem? Please describe.

以下のOutPort.py のmarshaling type取得のコード

https://github.com/OpenRTM/OpenRTM-aist-Python/blob/f35041af5898d504855b16c3bc5d5f47a40a8ad1/OpenRTM_aist/OutPort.py#L105-L107

がC++の挙動と合っていないので揃えてください。

Describe the solution you'd like

marshaling_type_list = OpenRTM_aist.SerializerFactories.instance().getSerializerList(value)
marshaling_type = [x.strip() for x in marshaling_type_list].join(",")

こんな感じで。 InPort.py についても同様に変更してください。