0004-Introduced-a-new-message-for-representing-a-range-of.patch

L. Ziegler, 04/16/2014 06:54 PM

Download (1.51 KB)

View differences:

proto/sandbox/rst/hri/PersonHypothesis.proto
44 44
    optional math.Vec2DFloat human_head_direction = 30;
45 45

  
46 46
    /**
47
     * Results from the identity recognizer.
48
     *
49
     * @todo "Describe what these mean, not where they come from."
47
     * Represents a person's age as a range. If the exact age is known, set
48
     * both values (min and max) to the desired value.
49
     */
50
    message AgeRange {
51
        /**
52
         * The lower bound of the age range.
53
         */
54
        required float age_min = 1;
55

  
56
        /**
57
         * The upper bound of the age range.
58
         */
59
        required float age_max = 2;
60
    }
61

  
62
    /**
63
     * The person's age as a range. If the exact age is known, set
64
     * both bounds of the range to the desired value.
50 65
     */
51
    optional bytes age = 40;
66
    optional AgeRange age = 40;
52 67

  
53 68
    enum Gender {
54 69
        UNKNOWN = 0;
55
-