comparison python/display-trajectories.py @ 239:93c26e45efd8

modified functions to read velocities from sqlite database
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 11 Jul 2012 16:30:23 -0400
parents eb4525853030
children 20f9cd972dde
comparison
equal deleted inserted replaced
238:be3761a09b20 239:93c26e45efd8
4 4
5 import storage 5 import storage
6 import cvutils 6 import cvutils
7 7
8 from numpy.linalg.linalg import inv 8 from numpy.linalg.linalg import inv
9 from numpy.lib.npyio import loadtxt 9 from numpy import loadtxt
10 10
11 options, args = getopt.getopt(sys.argv[1:], 'hi:d:t:o:f:',['help']) 11 options, args = getopt.getopt(sys.argv[1:], 'hi:d:t:o:f:',['help'])
12 # alternative long names are a pain to support ,'video-filename=','database-filename=', 'type=' 12 # alternative long names are a pain to support ,'video-filename=','database-filename=', 'type='
13 # todo parse the cfg file (problem, python ConfigParser needs section headers) 13 # todo parse the cfg file (problem, python ConfigParser needs section headers)
14 options = dict(options) 14 options = dict(options)