

def init(view):
    global PointCloudQueue, _pointcloudItem, _pointcloudSource
    PointCloudQueue = PythonQt.dd.ddPointCloudLCM(lcmUtils.getGlobalLCMThread())
    PointCloudQueue.init(lcmUtils.getGlobalLCMThread(), drcargs.args().config_file)
    _pointcloudSource = PointCloudSource(view, PointCloudQueue)
    _pointcloudSource.start()
    sensorsFolder = om.getOrCreateContainer('sensors')
    _pointcloudItem = PointCloudItem(_pointcloudSource)
    om.addToObjectModel(_pointcloudItem, sensorsFolder)

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/pointcloudlcm.py init/original