diff python/moving.py @ 411:31604ef1cad4

added hog functions and the display of road user types if known
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 21 Aug 2013 00:00:23 -0400
parents 0ce2210790b1
children cd342a774806
line wrap: on
line diff
--- a/python/moving.py	Wed Aug 14 14:23:50 2013 -0400
+++ b/python/moving.py	Wed Aug 21 00:00:23 2013 -0400
@@ -631,7 +631,7 @@
     with a trajectory and a geometry (constant volume over time) and a usertype (e.g. road user) coded as a number (see 
     '''
 
-    def __init__(self, num = None, timeInterval = None, positions = None, velocities = None, geometry = None, userType = None):
+    def __init__(self, num = None, timeInterval = None, positions = None, velocities = None, geometry = None, userType = userType2Num['unknown']):
         super(MovingObject, self).__init__(num, timeInterval)
         self.positions = positions
         self.velocities = velocities