Skip to content

Commit e5f2170

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

File tree

1 file changed

+75
-6
lines changed

1 file changed

+75
-6
lines changed

osi_object.proto

Lines changed: 75 additions & 6 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,106 @@ 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 TYPE_FIRE_BRIGADE instead
1283+
//
12711284
ROLE_FIRE = 4;
12721285

12731286
// The vehicle role is police.
12741287
//
12751288
ROLE_POLICE = 5;
12761289

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

1300+
// Traffic participant that can be perceived as belonging to a
1301+
// roadside/breakdown assistance service, e.g. towing vehicle.
1302+
//
1303+
ROLE_ROADSIDE_ASSISTANCE = 7;
1304+
12811305
// The vehicle role is roadside assistance, e.g. tow truck.
12821306
//
1307+
// \note Deprecated differentiation, use TYPE_ROADSIDE_ASSISTANCE
1308+
// instead
1309+
//
12831310
ROLE_ROAD_ASSISTANCE = 7;
12841311

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

1289-
// The vehicle role is road construction, e.g. a excavator or tipper truck.
1317+
// The vehicle role is road construction, e.g. a excavator or tipper
1318+
// truck.
12901319
//
12911320
ROLE_ROAD_CONSTRUCTION = 9;
12921321

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

0 commit comments

Comments
 (0)