[openrtm-users 02753] Python版のRTObject_implのremoveInPort関数の不具合について

1 post / 0 new
fsi-katami
Offline
Last seen: 6 years 1 month ago
Joined: 2010-08-02 13:37
[openrtm-users 02753] Python版のRTObject_implのremoveInPort関数の不具合について

OpenRTM MLの皆様
ウィン電子工業の片見です。

Python 版の RTObject_impl の removeInPort 関数に不具合が
あるようですので報告いたします。

現象としましては、
addInPort で追加したポートを
removeInPort でポートを削除しようとすると
コンポーネントがエラー状態になります。

原因は、
RTObject_impl の removeInPort 内で
removePort 与えている変数名が
inport となっていることだと思われます。
# 変数名を port に変更してエラーが発生しなくなることを
# 確認しました。

@@ -2804,7 +2804,7 @@
# bool removeInPort(InPortBase& port);
def removeInPort(self, port):
self._rtcout.RTC_TRACE("removeInPort()")
- ret = self.removePort(inport)
+ ret = self.removePort(port)

if ret:
for inport in self._inports:

よろしくお願いいたします。
_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Undefined

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