操作
整備 #377
完了SDO 1.1対応
開始日:
2009/02/12
期日:
2009/02/13
進捗率:
100%
予定工数:
説明
SDOのIDLのバージョンが1.1にあがったため、OpenRTMで使用するSDOPackage.idlのバージョンも1.1に追従する。
IDLの変更に伴いいくつかのオペレーションが変更されたので、これにも追従する。
kurihara さんが16年以上前に更新
SDOPackage.idlのバージョン1.1への変更に伴うクラスファイルの変更箇所。
kurihara@ubuntu810:~/svn$ diff OpenRTM-aist-Python/OpenRTM_aist/SdoConfiguration.py OpenRTM-aist-Python_backup/OpenRTM_aist/SdoConfiguration.py
333c333
< def add_service_profile(self, sProfile):
---
> def set_service_profile(self, sProfile):
352c352
< raise SDOPackage.InternalError("Configuration.add_service_profile")
---
> raise SDOPackage.InternalError("Configuration.set_service_profile")
848c848,851
< def set_configuration_set_values(self, configuration_set):
---
> def set_configuration_set_values(self, config_id, configuration_set):
> if not config_id:
> raise SDOPackage.InvalidParameter("ID is empty.")
>
850c853
< conf = OpenRTM_aist.Properties(key=configuration_set.id)
---
> conf = OpenRTM_aist.Properties(key=config_id)
852c855
< return self._configsets.setConfigurationSetValues(configuration_set.id, conf)
---
> return self._configsets.setConfigurationSetValues(config_id, conf)
kurihara@ubuntu810:~/svn$
kurihara@ubuntu810:~/svn$
kurihara@ubuntu810:~/svn$
kurihara@ubuntu810:~/svn$ diff OpenRTM-aist-Python/OpenRTM_aist/SdoOrganization.py OpenRTM-aist-Python_backup/OpenRTM_aist/SdoOrganization.py
69c69
< class Organization_impl(SDOPackage__POA.Organization):
---
> class Organization_impl:
275c275
< def add_organization_property(self, org_property):
---
> def set_organization_property(self, org_property):
284c284
< raise SDOPackage.InternalError("add_organization_property()")
---
> raise SDOPackage.InternalError("set_organization_property()")
800,805c800
<
<
< def getObjRef(self):
< return self._objref
<
<
---
>
kurihara@ubuntu810:~/svn$
操作