本文整理汇总了Python中OpenRTM_aist.eraseBlank方法的典型用法代码示例。如果您正苦于以下问题:Python OpenRTM_aist.eraseBlank方法的具体用法?Python OpenRTM_aist.eraseBlank怎么用?Python OpenRTM_aist.eraseBlank使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OpenRTM_aist
的用法示例。
在下文中一共展示了OpenRTM_aist.eraseBlank方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: updateExportedPortsList
# 需要导入模块: import OpenRTM_aist [as 别名]
# 或者: from OpenRTM_aist import eraseBlank [as 别名]
def updateExportedPortsList(self):
plist = self._rtobj.getProperties().getProperty("conf.default.exported_ports")
if plist:
p = [plist]
OpenRTM_aist.eraseBlank(p)
self._expPorts = p[0].split(",")
return
示例2: __init__
# 需要导入模块: import OpenRTM_aist [as 别名]
# 或者: from OpenRTM_aist import eraseBlank [as 别名]
def __init__(self):
OpenRTM_aist.PeriodicExecutionContext.__init__(self)
self._rtcout = OpenRTM_aist.Manager.instance().getLogbuf("rtobject.mp_ec")
self.prop = OpenRTM_aist.Manager.instance().getConfig()
#print OpenRTM_aist.Manager.instance().getConfig()
self.SetGui = "YES"
self.FileName = ""
#self.DebugFlag = ""
self.SetGui = self.getProperty(self.prop, "exec_cxt.periodic.gui", self.SetGui)
#print self.SetGui
self.FileName = self.getProperty(self.prop, "exec_cxt.periodic.filename", self.FileName)
#print self.FileName
#self.DebugFlag = self.getProperty(self.prop, "exec_cxt.periodic.debug", self.DebugFlag)
self.rs = []
self.r_num = 0
self.SetGui = [self.SetGui]
OpenRTM_aist.eraseBlank(self.SetGui)
self.SetGui = self.SetGui[0]
self.FileName = [self.FileName]
OpenRTM_aist.eraseBlank(self.FileName)
self.FileName = self.FileName[0]
#self.DebugFlag = [self.DebugFlag]
#OpenRTM_aist.eraseBlank(self.DebugFlag)
#self.DebugFlag = self.DebugFlag[0]
self._mutex_del2 = threading.RLock()
if self.SetGui == "YES":
#print pyqtExist
if pyqtExist:
self.g_task = GUITask(self)
self.g_task.activate()
self.nameList = []
self.comp_t = []
示例3: stringToStrVec
# 需要导入模块: import OpenRTM_aist [as 别名]
# 或者: from OpenRTM_aist import eraseBlank [as 别名]
def stringToStrVec(v, _is):
str = [_is]
OpenRTM_aist.eraseBlank(str)
v[0] = str[0].split(",")
return True