Skip to content

Commit f17a788

Browse files
adrianschultzpmai
authored andcommitted
Add new Roles and extend enum description
Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com> Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 44612c1 commit f17a788

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

osi_object.proto

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,17 @@ message MovingObject
10101010
}
10111011
}
10121012

1013-
// Definition of vehicle roles.
1013+
// Definition of vehicle roles.
1014+
//
1015+
// The role specifies the perceived role of a vehicle. Therfore, a
1016+
// civil police car is set to ROLE_CIVIL as long as it cannot be
1017+
// perceived as a ROLE_POLICE.
1018+
// The normal use case will consist of 99% ROLE_CIVIL, as this role is
1019+
// used for normal vehicles.
1020+
// To check whether a role is "active" (e.g. blue flashing light of an
1021+
// ambulance or an amber flashing light of a sweeper) can be looked up
1022+
// in message LightState.
1023+
//
10141024
//
10151025
enum Role
10161026
{
@@ -1049,6 +1059,14 @@ message MovingObject
10491059
// The vehicle role is roadside assistance, e.g. tow truck.
10501060
//
10511061
ROLE_ROAD_ASSISTANCE = 8;
1062+
1063+
// The vehicle role is garbage collection, e.g. a garbage truck or sweeper.
1064+
//
1065+
ROLE_GARBAGE_COLLECTION = 9;
1066+
1067+
// The vehicle role is road construction, e.g. a excavator or tipper truck.
1068+
//
1069+
ROLE_ROAD_CONSTRUCTION = 10;
10521070
}
10531071
}
10541072
}

0 commit comments

Comments
 (0)