Skip to content

Commit 0f8f8e7

Browse files
Extend definition of vehicles
1 parent c4862a9 commit 0f8f8e7

File tree

1 file changed

+71
-7
lines changed

1 file changed

+71
-7
lines changed

osi_object.proto

Lines changed: 71 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ message Vehicle
3434

3535
// The base parameters of the vehicle (as a characteristic moving object).
3636
//
37+
// \note The bounding box includes mirrors.
38+
//
3739
optional BaseMoving base = 2;
3840

3941
// The type of the vehicle.
@@ -86,6 +88,10 @@ message Vehicle
8688
// approximate the clear area under a vehicle that a sensor can see
8789
// through.
8890
optional double ground_clearance = 12;
91+
92+
// Median radius of the wheels.
93+
//
94+
optional double radius_wheel = 13;
8995

9096
// Definition of vehicle types.
9197
//
@@ -99,13 +105,47 @@ message Vehicle
99105
//
100106
TYPE_OTHER = 1;
101107

102-
// Vehicle is a normal car.
108+
// Vehicle is a small car.
109+
//
110+
// Definition:
111+
//
112+
TYPE_SMALL_CAR = 2;
113+
114+
// Vehicle is a medium car.
115+
//
116+
// Definition:
117+
//
118+
TYPE_MEDIUM_CAR = 1000;
119+
120+
// Vehicle is a compact car.
121+
//
122+
// Definition:
123+
//
124+
TYPE_COMPACT_CAR = 1001;
125+
126+
// Vehicle is a luxury car.
127+
//
128+
// Definition:
103129
//
104-
TYPE_CAR = 2;
130+
TYPE_LUXURY_CAR = 1002;
105131

106-
// Vehicle is a truck, bus, or large van.
132+
// Vehicle is a delivery van.
133+
//
134+
// Definition:
135+
//
136+
TYPE_DELIVERY_VAN = 1003;
137+
138+
// Vehicle is a heavy truck, bus, or large van.
107139
//
108140
TYPE_TRUCK = 3;
141+
142+
// Vehicle is a truck with semitrailer.
143+
//
144+
TYPE_TRUCK_SEMITRAILER = 1004;
145+
146+
// Vehicle is a trailer (possibly attached to another vehicle).
147+
//
148+
TYPE_TRAILER = 6;
109149

110150
// Vehicle is a motorbike or moped.
111151
//
@@ -114,10 +154,6 @@ message Vehicle
114154
// Vehicle is a bicycle (without motor and specific lights).
115155
//
116156
TYPE_BICYCLE = 5;
117-
118-
// Vehicle is a trailer (possibly attached to another vehicle).
119-
//
120-
TYPE_TRAILER = 6;
121157
}
122158

123159
//
@@ -327,5 +363,33 @@ message StationaryObject
327363
// Object is a delineator (e.g. at a construction site).
328364
//
329365
TYPE_DELINEATOR = 6;
366+
367+
// Object is a pole.
368+
//
369+
TYPE_POLE = 2000;
370+
371+
// Object is a tree.
372+
//
373+
TYPE_TREE = 2001;
374+
375+
// Object is a barrier.
376+
//
377+
TYPE_BARRIER = 2002;
378+
379+
// Object is vegetation.
380+
//
381+
TYPE_VEGETATION = 2003;
382+
383+
// Object is a curbstone.
384+
//
385+
TYPE_CURBSTONE = 2004;
386+
387+
// Object is a wall.
388+
//
389+
TYPE_WALL = 2005;
390+
391+
// Object is a guard rail.
392+
//
393+
TYPE_GUARD_RAIL = 2006;
330394
}
331395
}

0 commit comments

Comments
 (0)