@@ -14,107 +14,117 @@ message Occupant
1414 // The ID of the driver.
1515 //
1616 optional Identifier id = 1 ;
17-
18- // Flag determining whether the person is the driver of the vehicle or a
19- // passenger.
17+
18+ // Specific information about the classification of the occupant.
2019 //
21- optional bool is_driver = 2 ;
22-
23- // Seat position of the vehicle occupant.
20+ optional Classification classification = 2 ;
21+
2422 //
25- optional Seat seat = 3 ;
26-
27- // Describes the state of the passenger's hands related to the steering
28- // wheel (mostly driver).
23+ // \brief Information regarding the classification of the occupant.
2924 //
30- optional SteeringControl steering_control = 4 ;
31-
32- // Definition of seat positions.
33- //
34- enum Seat
25+ message Classification
3526 {
36- // Seat position is unknown (must not be used in ground truth).
27+ // Flag determining whether the person is the driver of the vehicle or a
28+ // passenger.
3729 //
38- SEAT_UNKNOWN = 0 ;
30+ optional bool is_driver = 2 ;
3931
40- // Other (unspecified but known) seat .
32+ // Seat position of the vehicle occupant .
4133 //
42- SEAT_OTHER = 1 ;
34+ optional Seat seat = 3 ;
4335
44- // Seat position is in the front row, left seat.
45- // This is usually the driver's seat in right-hand traffic .
36+ // Describes the state of the passenger's hands related to the steering
37+ // wheel (mostly driver) .
4638 //
47- SEAT_FRONT_LEFT = 2 ;
39+ optional SteeringControl steering_control = 4 ;
4840
49- // Seat position is in the front row, right seat.
50- // This is usually the driver's seat in left-hand traffic.
41+ // Definition of seat positions.
5142 //
52- SEAT_FRONT_RIGHT = 3 ;
43+ enum Seat
44+ {
45+ // Seat position is unknown (must not be used in ground truth).
46+ //
47+ SEAT_UNKNOWN = 0 ;
5348
54- // Seat position is in the front row, middle seat.
55- //
56- SEAT_FRONT_MIDDLE = 4 ;
49+ // Other (unspecified but known) seat.
50+ //
51+ SEAT_OTHER = 1 ;
5752
58- // Seat position is in the back row, left seat.
59- //
60- SEAT_BACK_LEFT = 5 ;
53+ // Seat position is in the front row, left seat.
54+ // This is usually the driver's seat in right-hand traffic.
55+ //
56+ SEAT_FRONT_LEFT = 2 ;
6157
62- // Seat position is in the back row, right seat.
63- //
64- SEAT_BACK_RIGHT = 6 ;
58+ // Seat position is in the front row, right seat.
59+ // This is usually the driver's seat in left-hand traffic.
60+ //
61+ SEAT_FRONT_RIGHT = 3 ;
6562
66- // Seat position is in the back row, middle seat.
67- //
68- SEAT_BACK_MIDDLE = 7 ;
63+ // Seat position is in the front row, middle seat.
64+ //
65+ SEAT_FRONT_MIDDLE = 4 ;
6966
70- // Seat position is in the third row, left seat.
71- //
72- SEAT_THIRD_ROW_LEFT = 8 ;
67+ // Seat position is in the back row, left seat.
68+ //
69+ SEAT_BACK_LEFT = 5 ;
7370
74- // Seat position is in the third row, right seat.
75- //
76- SEAT_THIRD_ROW_RIGHT = 9 ;
71+ // Seat position is in the back row, right seat.
72+ //
73+ SEAT_BACK_RIGHT = 6 ;
7774
78- // Seat position is in the third row, middle seat.
79- //
80- SEAT_THIRD_ROW_MIDDLE = 10 ;
81- }
75+ // Seat position is in the back row, middle seat.
76+ //
77+ SEAT_BACK_MIDDLE = 7 ;
8278
83- // Definition of hands related to the steering wheel (mostly driver).
84- //
85- enum SteeringControl
86- {
87- // Hands state is unknown (must not be used in ground truth).
88- //
89- STEERING_CONTROL_UNKNOWN = 0 ;
79+ // Seat position is in the third row, left seat.
80+ //
81+ SEAT_THIRD_ROW_LEFT = 8 ;
9082
91- // Other (unspecified but known) hand positioning related to the
92- // steering wheel.
93- //
94- STEERING_CONTROL_OTHER = 1 ;
83+ // Seat position is in the third row, right seat.
84+ //
85+ SEAT_THIRD_ROW_RIGHT = 9 ;
9586
96- // Hands are not on the steering wheel.
97- //
98- STEERING_CONTROL_NO_HAND = 2 ;
87+ // Seat position is in the third row, middle seat.
88+ //
89+ SEAT_THIRD_ROW_MIDDLE = 10 ;
90+ }
9991
100- // One hand is on the steering wheel. Whether it is the left or right
101- // hand is unspecified or unknown.
102- //
103- // \note If there is no differentiation between one or both hands on the
104- // steering wheel, this value should be used.
92+ // Definition of hands related to the steering wheel (mostly driver).
10593 //
106- STEERING_CONTROL_ONE_HAND = 3 ;
94+ enum SteeringControl
95+ {
96+ // Hands state is unknown (must not be used in ground truth).
97+ //
98+ STEERING_CONTROL_UNKNOWN = 0 ;
10799
108- // Both hands are on the steering wheel.
109- //
110- STEERING_CONTROL_BOTH_HANDS = 4 ;
100+ // Other (unspecified but known) hand positioning related to the
101+ // steering wheel.
102+ //
103+ STEERING_CONTROL_OTHER = 1 ;
111104
112- // Only left hand is on the steering wheel.
113- //
114- STEERING_CONTROL_LEFT_HAND = 5 ;
105+ // Hands are not on the steering wheel.
106+ //
107+ STEERING_CONTROL_NO_HAND = 2 ;
115108
116- // Only right hand is on the steering wheel.
117- //
118- STEERING_CONTROL_RIGHT_HAND = 6 ;
109+ // One hand is on the steering wheel. Whether it is the left or right
110+ // hand is unspecified or unknown.
111+ //
112+ // \note If there is no differentiation between one or both hands on the
113+ // steering wheel, this value should be used.
114+ //
115+ STEERING_CONTROL_ONE_HAND = 3 ;
116+
117+ // Both hands are on the steering wheel.
118+ //
119+ STEERING_CONTROL_BOTH_HANDS = 4 ;
120+
121+ // Only left hand is on the steering wheel.
122+ //
123+ STEERING_CONTROL_LEFT_HAND = 5 ;
124+
125+ // Only right hand is on the steering wheel.
126+ //
127+ STEERING_CONTROL_RIGHT_HAND = 6 ;
128+ }
119129 }
120130}
0 commit comments