Ejemplo n.º 1
0
def main(argv):

    try:
        logFile = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()
    
    parser = LCMLogAnalyzer(logFile)
    
    parser.parseLog()
    parser.plotResults()
Ejemplo n.º 2
0
def main(argv):

    try:
        logFile = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    parser = LCMLogAnalyzer(logFile)

    parser.parseLog()
    parser.plotResults()
Ejemplo n.º 3
0
def main():

    try:
        logFileDir = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file directory>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    catalogThread = CatalogThread(logFileDir, 'DECKLINK_VIDEO_CAPTURE')
    catalogThread.start()


    serverThread = ServerThread(catalogThread.utimeMap)
    serverThread.start()

    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        pass
Ejemplo n.º 4
0
from ddapp.consoleapp import ConsoleApp
from ddapp import lcmspy
from ddapp import lcmUtils
from ddapp import simpletimer as st

app = ConsoleApp()

app.setupGlobals(globals())

if app.getTestingInteractiveEnabled():
    app.showPythonConsole()


lcmspy.findLCMModulesInSysPath()

timer = st.SimpleTimer()
stats = {}

channelToMsg = {}
items = {}

def item(r, c):
    rowDict = items.setdefault(r, {})
    try:
        return rowDict[c]

    except KeyError:
        i = QtGui.QTableWidgetItem('')
        table.setItem(r, c, i)
        rowDict[c] = i
        return i
Ejemplo n.º 5
0
from ddapp.consoleapp import ConsoleApp
from ddapp import lcmspy
from ddapp import lcmUtils
from ddapp import simpletimer as st

app = ConsoleApp()

app.setupGlobals(globals())

if app.getTestingInteractiveEnabled():
    app.showPythonConsole()

lcmspy.findLCMModulesInSysPath()

timer = st.SimpleTimer()
stats = {}

channelToMsg = {}
items = {}


def item(r, c):
    rowDict = items.setdefault(r, {})
    try:
        return rowDict[c]

    except KeyError:
        i = QtGui.QTableWidgetItem('')
        table.setItem(r, c, i)
        rowDict[c] = i
        return i