Skip to content

Commit 6ad54e0

Browse files
Adopt traffic participant role specification
Signed-off-by: Thomas Sedlmayer <[email protected]>
1 parent 5b4adf1 commit 6ad54e0

File tree

1 file changed

+79
-7
lines changed

1 file changed

+79
-7
lines changed

osi_object.proto

Lines changed: 79 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,10 @@ message MovingObject
12501250
//
12511251
enum Role
12521252
{
1253+
// Allow aliases in enum
1254+
//
1255+
option allow_alias = true;
1256+
12531257
// Role of vehicle is unknown (must not be used in ground truth).
12541258
//
12551259
ROLE_UNKNOWN = 0;
@@ -1258,41 +1262,109 @@ message MovingObject
12581262
//
12591263
ROLE_OTHER = 1;
12601264

1261-
// The vehicle role is civil, e.g. a "normal" car.
1265+
// Traffic participant that can be perceived as regular civilian and
1266+
// does not perceivably indicate any other role.
12621267
//
12631268
ROLE_CIVIL = 2;
12641269

1265-
// The vehicle role is ambulance.
1270+
// Traffic participant that can be perceived as belonging to a
1271+
// medical emergency service.
12661272
//
12671273
ROLE_AMBULANCE = 3;
12681274

1275+
// Traffic participant that can be perceived as belonging to the
1276+
// fire brigade.
1277+
//
1278+
ROLE_FIRE_BRIGADE = 4;
1279+
12691280
// The vehicle role is fire fighting, e.g. fire engine.
12701281
//
1282+
// \note Deprecated differentiation, use ROLE_FIRE_BRIGADE instead
1283+
//
12711284
ROLE_FIRE = 4;
12721285

1273-
// The vehicle role is police.
1286+
// Traffic participant that can be perceived as belonging to a law
1287+
// enforcement agency.
12741288
//
12751289
ROLE_POLICE = 5;
12761290

1277-
// The vehicle role is public transport, e.g. a school bus.
1291+
// Traffic participant that can be perceived as a form of mass
1292+
// passenger transportation mode (e.g. public transport bus, rental
1293+
// passenger bus, tram) or clearly recognizable passenger
1294+
// transportation mode (e.g. taxi).
1295+
//
1296+
// \note Should not be used for HOV (high-occupancy vehicle) lane
1297+
// access: No indication of occupation state.
12781298
//
12791299
ROLE_PUBLIC_TRANSPORT = 6;
12801300

1301+
// Traffic participant that can be perceived as belonging to a
1302+
// roadside/breakdown assistance service, e.g. towing vehicle.
1303+
//
1304+
ROLE_ROADSIDE_ASSISTANCE = 7;
1305+
12811306
// The vehicle role is roadside assistance, e.g. tow truck.
12821307
//
1308+
// \note Deprecated differentiation, use ROLE_ROADSIDE_ASSISTANCE
1309+
// instead
1310+
//
12831311
ROLE_ROAD_ASSISTANCE = 7;
12841312

1285-
// The vehicle role is garbage collection, e.g. a garbage truck or sweeper.
1313+
// Traffic participant that can be perceived as belonging to a
1314+
// garbage collection service.
12861315
//
12871316
ROLE_GARBAGE_COLLECTION = 8;
12881317

1289-
// The vehicle role is road construction, e.g. a excavator or tipper truck.
1318+
// Traffic participant that can be perceived as construction
1319+
// vehicle/construction worker (e.g. road construction, rail
1320+
// construction).
1321+
//
1322+
ROLE_CONSTRUCTION = 9;
1323+
1324+
// The vehicle role is road construction, e.g. a excavator or tipper
1325+
// truck.
1326+
//
1327+
// \note Deprecated differentiation, use ROLE_CONSTRUCTION instead
12901328
//
12911329
ROLE_ROAD_CONSTRUCTION = 9;
12921330

1293-
// The vehicle role is military, e.g. camouflaged truck.
1331+
// Traffic participant that can be perceived as belonging to a
1332+
// military force.
12941333
//
12951334
ROLE_MILITARY = 10;
1335+
1336+
// Traffic participant that can be perceived as freight transport,
1337+
// e.g. freight truck, delivery van, delivery bike, postman.
1338+
//
1339+
ROLE_FREIGHT_TRANSPORT = 11;
1340+
1341+
// Traffic participant that can be perceived as part of special
1342+
// transport (e.g. heavy or oversized load).
1343+
//
1344+
// \note The transport vehicle may be accompanied by support
1345+
// vehicles which can be assigned to the role Traffic Control.
1346+
//
1347+
ROLE_SPECIAL_TRANSPORT = 12;
1348+
1349+
// Traffic participant that can be perceived as part of dangerous
1350+
// goods/hazardous materials transport.
1351+
//
1352+
// \note The transport vehicle may be accompanied by support
1353+
// vehicles which can be assigned to the role Traffic Control.
1354+
//
1355+
ROLE_DANGEROUS_GOODS_TRANSPORT = 13;
1356+
1357+
// Traffic participant that can be perceived as agricultural
1358+
// machinery.
1359+
//
1360+
ROLE_AGRICULTURE = 14;
1361+
1362+
// Traffic participant that can be perceived as an obligated traffic
1363+
// control unit (e.g. railroad flagman, person responsible for
1364+
// traffic control at construction site, support vehicle for
1365+
// dangerous goods transport).
1366+
//
1367+
ROLE_TRAFFIC_CONTROL = 15;
12961368
}
12971369
}
12981370

0 commit comments

Comments
 (0)