예제 #1
0
 def __init__(self):
     FeatureGroup.__init__(
         self, {
             "displacementFromGround":
             "The difference between the distance of the start of the figure and the centroid of the ground,a and the end of the figure and the centroid of the ground.",
             "endpointDist":
             "Distance between ground endpoitn and my endpoint",
             "startpointDist":
             "Distance between ground endpoitn and my endpoint",
         })
예제 #2
0
    def __init__(self):

        names = [p.name for p in primitives]
        fmap = []

        for i, p1 in enumerate(primitives):
            fmap.append((p1.name, p1.name))
            for p2 in primitives[i:]:
                if p1 != p2:
                    name = "%s AND %s" % (p1.name, p2.name)
                    names.append(name)
                    fmap.append((name, name))
        FeatureGroup.__init__(self, dict(fmap))
        self.names = names  # so the order is right
예제 #3
0
파일: wander.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(self, {"pathLength":"Ratio of the length of the path compared to the length of the shortest path between the two points."})
예제 #4
0
파일: wander.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(self, {"stdErrorOfRegression":"The scaled standard error of a regression line."})
예제 #5
0
파일: follow.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(self, {"averageDistance":"The average distance between the figure and landmark.",
                                  "stdDevOfDistance":"The variance of the distance.",
                                  #"averageDistanceAtEnd":"Average distance in last 10%",
                                  #"averageDistanceAtStart":"Average distance in fist 10%",
                                  })
예제 #6
0
파일: follow.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(self, {"averageVisibility":"Proportion of time figure is visible from ground."})
예제 #7
0
파일: follow.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(self, {"averageDifferenceInAngle":"Difference in movement direction from movement towards landmark"})
예제 #8
0
파일: go.py 프로젝트: stefie10/slu_hri
 def __init__(self):
     FeatureGroup.__init__(
         self,
         {"netDisplacement": "The scaled distance traveled by the figure."})
예제 #9
0
 def __init__(self):
     FeatureGroup.__init__(
         self, {
             "hasApproach": "Whether figure approaches ground.",
             "hasFollow": "Whether figure follows landmark",
         })