[openrtm-commit:01845] r690 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 3月 11日 (金) 18:45:33 JST
Author: miyamoto
Date: 2016-03-11 18:45:33 +0900 (Fri, 11 Mar 2016)
New Revision: 690
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/NamingManager.py
Log:
[compat,bugfix,->RELENG_1_2] bug fix. refs #3411
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/NamingManager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/NamingManager.py 2016-03-07 10:23:17 UTC (rev 689)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/NamingManager.py 2016-03-11 09:45:33 UTC (rev 690)
@@ -516,7 +516,7 @@
##
# @if jp
#
- # @brief 指定マネージャ名、ポート名でManagerのオブジェクトリファレンスを取得
+ # @brief 指定ホスト名、ポート名でManagerのオブジェクトリファレンスを取得
#
# @return Managerのオブジェクトリファレンス
#
@@ -543,8 +543,8 @@
return mgr
try:
mgrloc = "corbaloc:iiop:"
-
- manager_name = "manager"
+ prop = self._mgr.getConfig()
+ manager_name = prop.getProperty("manager.name")
mgrloc += name
mgrloc += "/" + manager_name
More information about the openrtm-commit
mailing list