From caac503fdbbb3ac66aea64c36f7a13a34b85f95e Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 12 Apr 2024 15:49:53 +0200 Subject: [PATCH] Fixed CityObjectLabels --- PythonAPI/carla/source/carla/libcarla.pyi | 54 +++++++++++++---------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/PythonAPI/carla/source/carla/libcarla.pyi b/PythonAPI/carla/source/carla/libcarla.pyi index 5db389340..590d8df08 100644 --- a/PythonAPI/carla/source/carla/libcarla.pyi +++ b/PythonAPI/carla/source/carla/libcarla.pyi @@ -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():