Fixed CityObjectLabels
This commit is contained in:
parent
1aed9bc6d6
commit
e0010b4272
|
@ -744,30 +744,36 @@ class BoundingBox():
|
|||
|
||||
class CityObjectLabel(Enum):
|
||||
"""Enum declaration that contains the different tags available to filter the bounding boxes returned by carla.World.get_level_bbs(). These values correspond to the semantic tag that the elements in the scene have."""
|
||||
None,
|
||||
Buildings = 1,
|
||||
Fences = 2,
|
||||
Other = 3,
|
||||
Pedestrians = 4,
|
||||
Poles = 5,
|
||||
RoadLines = 6,
|
||||
Roads = 7,
|
||||
Sidewalks = 8,
|
||||
TrafficSigns = 9,
|
||||
Vegetation = 10,
|
||||
Vehicles = 11,
|
||||
Walls = 12,
|
||||
Sky = 13,
|
||||
Ground = 14,
|
||||
Bridge = 15,
|
||||
RailTrack = 16,
|
||||
GuardRail = 17,
|
||||
TrafficLight = 18,
|
||||
Static = 19,
|
||||
Dynamic = 20,
|
||||
Water = 21,
|
||||
Terrain = 22,
|
||||
Any = 23
|
||||
NONE = 0,
|
||||
Buildings = 3,
|
||||
Fences = 5,
|
||||
Other = 22,
|
||||
Pedestrians = 12,
|
||||
Poles = 6,
|
||||
RoadLines = 24,
|
||||
Roads = 1,
|
||||
Sidewalks = 2,
|
||||
TrafficSigns = 8,
|
||||
Vegetation = 9,
|
||||
Car = 14,
|
||||
Walls = 4,
|
||||
Sky = 11,
|
||||
Ground = 25,
|
||||
Bridge = 26,
|
||||
RailTrack = 27,
|
||||
GuardRail = 28,
|
||||
TrafficLight = 7,
|
||||
Static = 20,
|
||||
Dynamic = 21,
|
||||
Water = 23,
|
||||
Terrain = 10,
|
||||
Truck = 15,
|
||||
Motorcycle = 18,
|
||||
Bicycle = 19,
|
||||
Bus = 16,
|
||||
Rider = 13,
|
||||
Train = 17,
|
||||
Any = 255
|
||||
|
||||
|
||||
class Client():
|
||||
|
|
Loading…
Reference in New Issue