Fixed CityObjectLabels

This commit is contained in:
Daniel 2024-04-12 15:49:53 +02:00 committed by Blyron
parent 4c086ad7d9
commit caac503fdb
1 changed files with 30 additions and 24 deletions

View File

@ -744,30 +744,36 @@ class BoundingBox():
class CityObjectLabel(Enum): 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.""" """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, NONE = 0,
Buildings = 1, Buildings = 3,
Fences = 2, Fences = 5,
Other = 3, Other = 22,
Pedestrians = 4, Pedestrians = 12,
Poles = 5, Poles = 6,
RoadLines = 6, RoadLines = 24,
Roads = 7, Roads = 1,
Sidewalks = 8, Sidewalks = 2,
TrafficSigns = 9, TrafficSigns = 8,
Vegetation = 10, Vegetation = 9,
Vehicles = 11, Car = 14,
Walls = 12, Walls = 4,
Sky = 13, Sky = 11,
Ground = 14, Ground = 25,
Bridge = 15, Bridge = 26,
RailTrack = 16, RailTrack = 27,
GuardRail = 17, GuardRail = 28,
TrafficLight = 18, TrafficLight = 7,
Static = 19, Static = 20,
Dynamic = 20, Dynamic = 21,
Water = 21, Water = 23,
Terrain = 22, Terrain = 10,
Any = 23 Truck = 15,
Motorcycle = 18,
Bicycle = 19,
Bus = 16,
Rider = 13,
Train = 17,
Any = 255
class Client(): class Client():