File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments