diff --git a/PythonAPI/carla/source/carla/ad/__init__.pyi b/PythonAPI/carla/source/carla/ad/__init__.pyi index 662612a56c9..76b33c0e33c 100644 --- a/PythonAPI/carla/source/carla/ad/__init__.pyi +++ b/PythonAPI/carla/source/carla/ad/__init__.pyi @@ -4,7 +4,7 @@ Warning: some functions and attributes are still missing. """ -from typing import Iterable, Iterator, Protocol, TypeVar, type_check_only +from typing import Iterable, Iterator, Protocol, TypeVar, overload, type_check_only from typing_extensions import Self @@ -21,135 +21,113 @@ __all__ = [ _T = TypeVar('_T') -@type_check_only -class _FloatLike(Protocol): - def __float__(self) -> float: ... - - def __add__(self, other: float | Self) -> Self: ... - - def __iadd__(self, other: float | Self) -> Self: ... - - def __truediv__(self, other: float | Self) -> Self: ... - - def __sub__(self, other: float | Self) -> Self: ... - - def __isub(self, other: float | Self) -> Self: ... - - def __lt__(self, other: float | Self) -> bool: ... - - def __le__(self, other: float | Self) -> bool: ... - - def __ge__(self, other: float | Self) -> bool: ... - - def __gt__(self, other: float | Self) -> bool: ... - - def __eq__(self, value: object) -> bool: ... - - @type_check_only class _Vector(Protocol[_T]): + # Note: __contains__, __iter__, and __reversed__ cann fall to __getitem__ - def __getitem__(self, index: int) -> _T: + def append(self, item: _T, /) -> None: ... - def __delitem__(self, index: int): + def extend(self, iterable: Iterable[_T], /) -> None: ... - def __setitem__(self, index: int, value: _T) -> None: + def insert(self, index: int, item: _T, /) -> None: ... - def __len__(self) -> int: + def reverse(self) -> None: ... - def append(self, item: _T) -> None: - ... + @overload + def __getitem__(self, index: slice, /) -> list[_T]: ... - def count(self, item: _T) -> int: + @overload + def __getitem__(self, index: int, /) -> _T: ... - def extend(self, iterable: Iterable[_T]) -> None: + def __delitem__(self, index: int, /): ... - def index(self, item: _T) -> int: + @overload + def __setitem__(self, arg2: slice, value: Iterable[_T], /) -> None: ... + + @overload + def __setitem__(self, index: int, value: _T, /) -> None: ... + + def __len__(self) -> int: ... - def insert(self, index: int, item: _T) -> None: + def __contains__(self, item: object, /) -> bool: ... - def reverse(self) -> None: + def __iter__(self) -> Iterator[_T]: ... - def __contains__(self, item: object) -> bool: +@type_check_only +class _IndexableVector(_Vector[_T], Protocol): + """add `index` methods.""" + + def index(self, item: _T, /) -> int: ... - def __iter__(self) -> Iterator[_T]: +@type_check_only +class _VectorSequence(_IndexableVector[_T], Protocol): + """Adds `count` and `index` methods.""" + + def index(self, item: _T, /) -> int: ... -class _Calculable(Protocol): +@type_check_only +class _Assignable(Protocol): - cMaxValue: float - cMinValue: float - cPrecisionValue: float + def assign(self, other: Self) -> Self: ... - @classmethod - def getMin(cls) -> Self: - pass +@type_check_only +class _FloatLike(Protocol): + def __float__(self) -> float: ... - @classmethod - def getMax(cls) -> Self: - pass + def __add__(self, other: float | Self) -> Self: ... - @classmethod - def getPrecision(cls) -> Self: - pass + def __iadd__(self, other: float | Self) -> Self: ... - def Valid(self) -> bool: - pass + def __truediv__(self, other: float | Self) -> Self: ... + + def __sub__(self, other: float | Self) -> Self: ... - def ensureValid(self, value: Self) -> Self: - pass + def __isub(self, other: float | Self) -> Self: ... - def ensureValidNonZero(self, value: Self) -> Self: - pass + def __lt__(self, other: float | Self) -> bool: ... - def assign(self, other: Self) -> None: - pass + def __le__(self, other: float | Self) -> bool: ... - def __truediv__(self, other: Self) -> Self: - pass + def __mul__(self, other: Self) -> Self: ... - def __sub__(self, other: Self) -> Self: - pass + def __ge__(self, other: float | Self) -> bool: ... - def __isub__(self, other: Self) -> None: - pass + def __gt__(self, other: float | Self) -> bool: ... - def __le__(self, other: Self) -> bool: - pass + def __eq__(self, value: object) -> bool: ... - def __lt__(self, other: Self) -> bool: - pass +@type_check_only +class _Calculable(_Assignable, _FloatLike, Protocol): - def __mul__(self, other: Self) -> Self: - pass + cMaxValue: float + cMinValue: float + cPrecisionValue: float - def __ne__(self, other: Self) -> bool: - pass + @classmethod + def getMin(cls) -> Self: ... - def __add__(self, other: Self) -> Self: - pass + @classmethod + def getMax(cls) -> Self: ... - def __eq__(self, other: Self) -> bool: - pass + @classmethod + def getPrecision(cls) -> Self: ... - def __float__(self) -> float: - pass + @property + def Valid(self) -> bool: ... - def __ge__(self, other: Self) -> bool: - pass + def ensureValid(self, value: Self) -> Self: ... - def __gt__(self, other: Self) -> bool: - pass + def ensureValidNonZero(self, value: Self) -> Self: ... - def __hash__(self) -> int: - pass + def __hash__(self) -> int: ... diff --git a/PythonAPI/carla/source/carla/ad/map/__init__.pyi b/PythonAPI/carla/source/carla/ad/map/__init__.pyi index 2085b59b8a0..25cdc06e253 100644 --- a/PythonAPI/carla/source/carla/ad/map/__init__.pyi +++ b/PythonAPI/carla/source/carla/ad/map/__init__.pyi @@ -1,5 +1,5 @@ from typing import Any, ClassVar -from libcarla import _CarlaEnum +from ...libcarla import _CarlaEnum from . import access, config, intersection, landmark, lane, match, point, restriction, route from .. import rss @@ -55,29 +55,28 @@ class RssSceneCreation: RouteOnly = AppendRoadBoundariesMode.RouteOnly __instance_size__: ClassVar[int] = 256 - @classmethod - def __init__(cls, timeIndex: int, defaultEgoRssDynamics: rss.world.RssDynamics) -> None: + def __init__(self, timeIndex: int, defaultEgoRssDynamics: rss.world.RssDynamics) -> None: """ __init__( (object)arg1, (object)timeIndex, (RssDynamics)defaultEgoRssDynamics) -> None : C++ signature : void __init__(_object*,unsigned long,ad::rss::world::RssDynamics)""" @classmethod - def appendRoadBoundaries(cls, egoObjectData: RssObjectData, route: route.FullRoute, operationMode: AppendRoadBoundariesMode): + def appendRoadBoundaries(cls, egoObjectData: RssObjectData, route: route.FullRoute, operationMode: AppendRoadBoundariesMode) -> bool: """ appendRoadBoundaries( (RssSceneCreation)arg1, (RssObjectData)egoObjectData, (FullRoute)route, (AppendRoadBoundariesMode)operationMode) -> bool : C++ signature : bool appendRoadBoundaries(ad::rss::map::RssSceneCreation {lvalue},ad::rss::map::RssObjectData,ad::map::route::FullRoute,ad::rss::map::RssSceneCreation::AppendRoadBoundariesMode)""" - @classmethod - def appendScenes(cls, *args, **kwargs): + + def appendScenes(self, *args, **kwargs) -> bool: """ appendScenes( (RssSceneCreation)arg1, (RssObjectData)egoObjectData, (FullRoute)egoRoute, (RssObjectData)otherObjectData, (RestrictSpeedLimitMode)restrictSpeedLimitMode, (LandmarkIdSet)greenTrafficLights, (RssMode)mode) -> bool : C++ signature : bool appendScenes(ad::rss::map::RssSceneCreation {lvalue},ad::rss::map::RssObjectData,ad::map::route::FullRoute,ad::rss::map::RssObjectData,ad::rss::map::RssSceneCreation::RestrictSpeedLimitMode,std::set, std::allocator >,ad::rss::map::RssMode)""" - @classmethod - def getWorldModel(cls) -> Any: + + def getWorldModel(self) -> rss.world.WorldModel: """ getWorldModel( (RssSceneCreation)arg1) -> WorldModel : diff --git a/PythonAPI/carla/source/carla/ad/map/access.pyi b/PythonAPI/carla/source/carla/ad/map/access.pyi index 5a326d77cc0..40716098969 100644 --- a/PythonAPI/carla/source/carla/ad/map/access.pyi +++ b/PythonAPI/carla/source/carla/ad/map/access.pyi @@ -34,9 +34,9 @@ class PartitionId: """ ... - cMaxValue = 18446744073709551615 + cMaxValue: float = 18446744073709551615 - cMinValue = 0 + cMinValue: float = 0 def ensureValid(self, arg1: PartitionId) -> None: """ diff --git a/PythonAPI/carla/source/carla/ad/map/intersection.pyi b/PythonAPI/carla/source/carla/ad/map/intersection.pyi index 9a56d1c8145..4fc60db075c 100644 --- a/PythonAPI/carla/source/carla/ad/map/intersection.pyi +++ b/PythonAPI/carla/source/carla/ad/map/intersection.pyi @@ -1,10 +1,10 @@ -from typing import TypeAlias +from typing import TypeAlias, overload import ad from . import * -Unknown : TypeAlias = "UnknownType" +Unknown: TypeAlias = UnknownType class CoreIntersection(): @property @@ -23,17 +23,23 @@ class CoreIntersection(): def exitParaPoints(self) -> point.ParaPointList: ... def extractLanesOfCoreIntersection(self, arg1: CoreIntersection, laneId: lane.LaneId) -> None: - ''' + """ extractLanesOfCoreIntersection( (CoreIntersection)arg1, (LaneId)laneId) -> None : C++ signature : void extractLanesOfCoreIntersection(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getCoreIntersectionFor(self, laneId: lane.LaneId, mapMatchedPosition: match.MapMatchedPosition) -> CoreIntersection: - ''' + @overload + @staticmethod + def getCoreIntersectionFor(laneId: lane.LaneId) -> CoreIntersection: ... + + @overload + @staticmethod + def getCoreIntersectionFor(mapMatchedPosition: match.MapMatchedPosition) -> CoreIntersection: + """ getCoreIntersectionFor( (LaneId)laneId) -> CoreIntersection : @@ -44,11 +50,12 @@ class CoreIntersection(): C++ signature : std::shared_ptr getCoreIntersectionFor(ad::map::match::MapMatchedPosition) - ''' + """ ... - def getCoreIntersectionsFor(self, laneIds: lane.LaneIdSet | lane.LaneIdList) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_: - ''' + @staticmethod + def getCoreIntersectionsFor(laneIds: lane.LaneIdSet | lane.LaneIdList) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_: + """ getCoreIntersectionsFor( (LaneIdSet)laneIds) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_ : @@ -59,11 +66,11 @@ class CoreIntersection(): C++ signature : std::vector, std::allocator > > getCoreIntersectionsFor(std::vector >) - ''' + """ ... - def getCoreIntersectionsForInLaneMatches(self, position: point.ENUPoint, mapMatchedPositionConfidenceList: vector_less_ad_scope_map_scope_match_scope_MapMatchedPosition_greater_, object: match.MapMatchedObjectBoundingBox) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_: - ''' + def getCoreIntersectionsForInLaneMatches(self, position: point.ENUPoint, mapMatchedPositionConfidenceList: match.vector_less_ad_scope_map_scope_match_scope_MapMatchedPosition_greater_, object: match.MapMatchedObjectBoundingBox) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_: + """ getCoreIntersectionsForInLaneMatches( (ENUPoint)position) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_ : @@ -79,143 +86,144 @@ class CoreIntersection(): C++ signature : std::vector, std::allocator > > getCoreIntersectionsForInLaneMatches(ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def getCoreIntersectionsForMap(self, ) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_: - ''' + """ getCoreIntersectionsForMap() -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_ : C++ signature : std::vector, std::allocator > > getCoreIntersectionsForMap() - ''' + """ ... def getEntryParaPointOfExternalLane(self, arg1: CoreIntersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + """ getEntryParaPointOfExternalLane( (CoreIntersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getEntryParaPointOfExternalLane(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... def getEntryParaPointOfInternalLane(self, arg1: CoreIntersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + """ getEntryParaPointOfInternalLane( (CoreIntersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getEntryParaPointOfInternalLane(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... def getExitParaPointOfExternalLane(self, arg1: CoreIntersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + """ getExitParaPointOfExternalLane( (CoreIntersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getExitParaPointOfExternalLane(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... def getExitParaPointOfInternalLane(self, arg1: CoreIntersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + """ getExitParaPointOfInternalLane( (CoreIntersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getExitParaPointOfInternalLane(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... @property def internalLanes(self) -> lane.LaneIdSet: ... def isIntersectionOnRoute(self, route: route.FullRoute) -> bool: - ''' + """ isIntersectionOnRoute( (FullRoute)route) -> bool : C++ signature : bool isIntersectionOnRoute(ad::map::route::FullRoute) - ''' + """ ... - def isLanePartOfAnIntersection(self, laneId: lane.LaneId) -> bool: - ''' + @staticmethod + def isLanePartOfAnIntersection(laneId: lane.LaneId) -> bool: + """ isLanePartOfAnIntersection( (LaneId)laneId) -> bool : C++ signature : bool isLanePartOfAnIntersection(ad::map::lane::LaneId) - ''' + """ ... - def isLanePartOfCoreIntersection(self, arg1: CoreIntersection, laneId: lane.LaneId) -> bool: - ''' + @staticmethod + def isLanePartOfCoreIntersection(arg1: CoreIntersection, laneId: lane.LaneId) -> bool: + """ isLanePartOfCoreIntersection( (CoreIntersection)arg1, (LaneId)laneId) -> bool : C++ signature : bool isLanePartOfCoreIntersection(CoreIntersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... def isRoadSegmentEnteringIntersection(self, routeIterator: route.RouteIterator, routePreviousSegmentIter: object) -> bool: - ''' + """ isRoadSegmentEnteringIntersection( (RouteIterator)routeIterator, (object)routePreviousSegmentIter) -> bool : C++ signature : bool isRoadSegmentEnteringIntersection(ad::map::route::RouteIterator,__gnu_cxx::__normal_iterator > > {lvalue}) - ''' + """ ... def isRoutePartOfAnIntersection(self, route: route.FullRoute) -> bool: - ''' + """ isRoutePartOfAnIntersection( (FullRoute)route) -> bool : C++ signature : bool isRoutePartOfAnIntersection(ad::map::route::FullRoute) - ''' + """ ... def objectDistanceToIntersection(self, arg1: CoreIntersection, object: match.Object) -> ad.physics.Distance: - ''' + """ objectDistanceToIntersection( (CoreIntersection)arg1, (Object)object) -> Distance : C++ signature : ad::physics::Distance objectDistanceToIntersection(ad::map::intersection::CoreIntersection {lvalue},ad::map::match::Object) - ''' + """ ... def objectRouteCrossesIntersection(self, arg1: CoreIntersection, objectRoute: route.FullRoute) -> bool: - ''' + """ objectRouteCrossesIntersection( (CoreIntersection)arg1, (FullRoute)objectRoute) -> bool : C++ signature : bool objectRouteCrossesIntersection(ad::map::intersection::CoreIntersection {lvalue},ad::map::route::FullRoute) - ''' + """ ... def objectWithinIntersection(self, arg1: CoreIntersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectWithinIntersection( (CoreIntersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectWithinIntersection(ad::map::intersection::CoreIntersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... - class Intersection(CoreIntersection,): @property def BoundingSphere(self) -> Unknown: ... @@ -250,84 +258,87 @@ class Intersection(CoreIntersection,): @property def exitParaPoints(self) -> Unknown: ... - def extractLanesOfCoreIntersection(self, arg1: Intersection, laneId: lane.LaneId) -> None: - ''' + def extractLanesOfCoreIntersection(self, laneId: lane.LaneId) -> None: + """ extractLanesOfCoreIntersection( (Intersection)arg1, (LaneId)laneId) -> None : C++ signature : void extractLanesOfCoreIntersection(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getEntryParaPointOfExternalLane(self, arg1: Intersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + def getEntryParaPointOfExternalLane(self, laneId: lane.LaneId) -> point.ParaPoint: + """ getEntryParaPointOfExternalLane( (Intersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getEntryParaPointOfExternalLane(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getEntryParaPointOfInternalLane(self, arg1: Intersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + def getEntryParaPointOfInternalLane(self, laneId: lane.LaneId) -> point.ParaPoint: + """ getEntryParaPointOfInternalLane( (Intersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getEntryParaPointOfInternalLane(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getExitParaPointOfExternalLane(self, arg1: Intersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + def getExitParaPointOfExternalLane(self, laneId: lane.LaneId) -> point.ParaPoint: + """ getExitParaPointOfExternalLane( (Intersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getExitParaPointOfExternalLane(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getExitParaPointOfInternalLane(self, arg1: Intersection, laneId: lane.LaneId) -> point.ParaPoint: - ''' + def getExitParaPointOfInternalLane(self, laneId: lane.LaneId) -> point.ParaPoint: + """ getExitParaPointOfInternalLane( (Intersection)arg1, (LaneId)laneId) -> ParaPoint : C++ signature : ad::map::point::ParaPoint getExitParaPointOfInternalLane(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... - def getIntersectionForRoadSegment(self, routeIterator: route.RouteIterator) -> Intersection: - ''' + @staticmethod + def getIntersectionForRoadSegment(routeIterator: route.RouteIterator) -> Intersection: + """ getIntersectionForRoadSegment( (RouteIterator)routeIterator) -> Intersection : C++ signature : std::shared_ptr getIntersectionForRoadSegment(ad::map::route::RouteIterator) - ''' + """ ... - def getIntersectionsForRoute(self, route: route.FullRoute) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_: - ''' + @staticmethod + def getIntersectionsForRoute(route: route.FullRoute) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_: + """ getIntersectionsForRoute( (FullRoute)route) -> vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_ : C++ signature : std::vector, std::allocator > > getIntersectionsForRoute(ad::map::route::FullRoute) - ''' + """ ... - def getNextIntersectionOnRoute(self, route: route.FullRoute) -> Intersection: - ''' + @staticmethod + def getNextIntersectionOnRoute(route: route.FullRoute) -> Intersection: + """ getNextIntersectionOnRoute( (FullRoute)route) -> Intersection : C++ signature : std::shared_ptr getNextIntersectionOnRoute(ad::map::route::FullRoute) - ''' + """ ... @property @@ -367,166 +378,166 @@ class Intersection(CoreIntersection,): def intersectionType(self) -> Unknown: ... def isLanePartOfCoreIntersection(self, arg1: Intersection, laneId: lane.LaneId) -> bool: - ''' + """ isLanePartOfCoreIntersection( (Intersection)arg1, (LaneId)laneId) -> bool : C++ signature : bool isLanePartOfCoreIntersection(Intersection_wrapper {lvalue},ad::map::lane::LaneId) - ''' + """ ... @property def lanesOnRoute(self) -> Unknown: ... def objectInterpenetrationDistanceWithIntersection(self, arg1: Intersection, object: match.Object) -> ad.physics.Distance: - ''' + """ objectInterpenetrationDistanceWithIntersection( (Intersection)arg1, (Object)object) -> Distance : C++ signature : ad::physics::Distance objectInterpenetrationDistanceWithIntersection(ad::map::intersection::Intersection {lvalue},ad::map::match::Object) - ''' + """ ... def objectOnCrossingLane(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnCrossingLane( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnCrossingLane(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnIncomingLane(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnIncomingLane( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnIncomingLane(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnIncomingLaneWithHigherPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnIncomingLaneWithHigherPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnIncomingLaneWithHigherPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnIncomingLaneWithLowerPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnIncomingLaneWithLowerPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnIncomingLaneWithLowerPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnInternalLaneWithHigherPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnInternalLaneWithHigherPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnInternalLaneWithHigherPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnInternalLaneWithLowerPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnInternalLaneWithLowerPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnInternalLaneWithLowerPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnIntersectionRoute(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnIntersectionRoute( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnIntersectionRoute(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnLaneWithHigherPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnLaneWithHigherPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnLaneWithHigherPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectOnLaneWithLowerPriority(self, arg1: Intersection, object: match.MapMatchedObjectBoundingBox) -> bool: - ''' + """ objectOnLaneWithLowerPriority( (Intersection)arg1, (MapMatchedObjectBoundingBox)object) -> bool : C++ signature : bool objectOnLaneWithLowerPriority(ad::map::intersection::Intersection {lvalue},ad::map::match::MapMatchedObjectBoundingBox) - ''' + """ ... def objectRouteCrossesIntersectionRoute(self, arg1: Intersection, objectRoute: route.FullRoute) -> bool: - ''' + """ objectRouteCrossesIntersectionRoute( (Intersection)arg1, (FullRoute)objectRoute) -> bool : C++ signature : bool objectRouteCrossesIntersectionRoute(ad::map::intersection::Intersection {lvalue},ad::map::route::FullRoute) - ''' + """ ... def objectRouteCrossesLanesWithHigherPriority(self, arg1: Intersection, objectRoute: route.FullRoute) -> bool: - ''' + """ objectRouteCrossesLanesWithHigherPriority( (Intersection)arg1, (FullRoute)objectRoute) -> bool : C++ signature : bool objectRouteCrossesLanesWithHigherPriority(ad::map::intersection::Intersection {lvalue},ad::map::route::FullRoute) - ''' + """ ... def objectRouteFromSameArmAsIntersectionRoute(self, arg1: Intersection, objectRoute: route.FullRoute) -> bool: - ''' + """ objectRouteFromSameArmAsIntersectionRoute( (Intersection)arg1, (FullRoute)objectRoute) -> bool : C++ signature : bool objectRouteFromSameArmAsIntersectionRoute(ad::map::intersection::Intersection {lvalue},ad::map::route::FullRoute) - ''' + """ ... def objectRouteOppositeToIntersectionRoute(self, arg1: Intersection, objectRoute: route.FullRoute) -> bool: - ''' + """ objectRouteOppositeToIntersectionRoute( (Intersection)arg1, (FullRoute)objectRoute) -> bool : C++ signature : bool objectRouteOppositeToIntersectionRoute(ad::map::intersection::Intersection {lvalue},ad::map::route::FullRoute) - ''' + """ ... def onlySolidTrafficLightsOnRoute(self, arg1: Intersection) -> bool: - ''' + """ onlySolidTrafficLightsOnRoute( (Intersection)arg1) -> bool : C++ signature : bool onlySolidTrafficLightsOnRoute(ad::map::intersection::Intersection {lvalue}) - ''' + """ ... @property @@ -548,16 +559,15 @@ class Intersection(CoreIntersection,): def turnDirection(self) -> Unknown: ... def updateRouteCounters(self, arg1: Intersection, newRoutePlanningCounter: object, newRouteSegmentCounter: object) -> None: - ''' + """ updateRouteCounters( (Intersection)arg1, (object)newRoutePlanningCounter, (object)newRouteSegmentCounter) -> None : C++ signature : void updateRouteCounters(ad::map::intersection::Intersection {lvalue},unsigned long,unsigned long) - ''' + """ ... - class IntersectionType(int,): AllWayStop = 3 @@ -577,7 +587,6 @@ class IntersectionType(int,): Yield = 1 - class TurnDirection(int,): Left = 3 @@ -589,147 +598,85 @@ class TurnDirection(int,): Unknown = 0 - class vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_(): def append(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_, arg2: object) -> None: - ''' + """ append( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1, (object)arg2) -> None : C++ signature : void append(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' + """ ... def count(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_, arg2: object) -> int: - ''' + """ count( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1, (object)arg2) -> int : C++ signature : unsigned long count(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' + """ ... def extend(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_, arg2: object) -> None: - ''' + """ extend( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1, (object)arg2) -> None : C++ signature : void extend(std::vector, std::allocator > > {lvalue},boost::python::api::object) - ''' + """ ... def index(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_, arg2: object) -> int: - ''' + """ index( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1, (object)arg2) -> int : C++ signature : unsigned long index(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' + """ ... def insert(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_, arg2: int, arg3: object) -> None: - ''' + """ insert( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1, (int)arg2, (object)arg3) -> None : C++ signature : void insert(std::vector, std::allocator > > {lvalue},long,std::shared_ptr) - ''' + """ ... def reverse(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_) -> None: - ''' + """ reverse( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1) -> None : C++ signature : void reverse(std::vector, std::allocator > > {lvalue}) - ''' + """ ... def sort(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_) -> None: - ''' + """ sort( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_CoreIntersection_greater__greater_)arg1) -> None : C++ signature : void sort(std::vector, std::allocator > > {lvalue}) - ''' - ... - - -class vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_(): - def append(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_, arg2: Intersection) -> None: - ''' - - append( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1, (Intersection)arg2) -> None : - - C++ signature : - void append(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' - ... - - def count(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_, arg2: Intersection) -> int: - ''' - - count( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1, (Intersection)arg2) -> int : - - C++ signature : - unsigned long count(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' - ... - - def extend(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_, arg2: object) -> None: - ''' - - extend( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector, std::allocator > > {lvalue},boost::python::api::object) - ''' - ... - - def index(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_, arg2: Intersection) -> int: - ''' - - index( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1, (Intersection)arg2) -> int : - - C++ signature : - unsigned long index(std::vector, std::allocator > > {lvalue},std::shared_ptr) - ''' - ... - - def insert(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_, arg2: int, arg3: Intersection) -> None: - ''' - - insert( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1, (int)arg2, (Intersection)arg3) -> None : - - C++ signature : - void insert(std::vector, std::allocator > > {lvalue},long,std::shared_ptr) - ''' - ... - - def reverse(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_) -> None: - ''' - - reverse( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1) -> None : - - C++ signature : - void reverse(std::vector, std::allocator > > {lvalue}) - ''' + """ ... +class vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_(ad._VectorSequence[Intersection]): def sort(self, arg1: vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_) -> None: - ''' + """ sort( (vector_less_std_scope_shared_ptr_less_ad_scope_map_scope_intersection_scope_Intersection_greater__greater_)arg1) -> None : C++ signature : void sort(std::vector, std::allocator > > {lvalue}) - ''' + """ ... diff --git a/PythonAPI/carla/source/carla/ad/map/landmark.pyi b/PythonAPI/carla/source/carla/ad/map/landmark.pyi index dc6127a9f29..2c222acb1a9 100644 --- a/PythonAPI/carla/source/carla/ad/map/landmark.pyi +++ b/PythonAPI/carla/source/carla/ad/map/landmark.pyi @@ -1,4 +1,3 @@ -from . import * class ENULandmark: def assign(self, arg1: ENULandmark, other: ENULandmark) -> ENULandmark: @@ -136,9 +135,9 @@ class LandmarkId: """ ... - cMaxValue = 18446744073709551615 + cMaxValue: float = 18446744073709551615 - cMinValue = 0 + cMinValue: float = 0 def ensureValid(self, arg1: LandmarkId) -> None: """ diff --git a/PythonAPI/carla/source/carla/ad/map/lane.pyi b/PythonAPI/carla/source/carla/ad/map/lane.pyi index 3cd77cbce65..6c34ff51bcc 100644 --- a/PythonAPI/carla/source/carla/ad/map/lane.pyi +++ b/PythonAPI/carla/source/carla/ad/map/lane.pyi @@ -599,8 +599,6 @@ class LaneAltitudeRange: @property def minimum(self) -> point.Altitude: ... - ... - class LaneDirection(int): BIDIRECTIONAL = 5 @@ -630,9 +628,9 @@ class LaneId: """ ... - cMaxValue = 18446744073709551615 + cMaxValue: float = 18446744073709551615 - cMinValue = 0 + cMinValue: float = 0 def ensureValid(self, arg1: LaneId) -> None: """ diff --git a/PythonAPI/carla/source/carla/ad/map/match.pyi b/PythonAPI/carla/source/carla/ad/map/match.pyi index 68cb72260ff..3eb452cd6c7 100644 --- a/PythonAPI/carla/source/carla/ad/map/match.pyi +++ b/PythonAPI/carla/source/carla/ad/map/match.pyi @@ -169,7 +169,6 @@ class AdMapMatching(): ''' ... - class ENUObjectPosition(): def assign(self, arg1: ENUObjectPosition, other: ENUObjectPosition) -> ENUObjectPosition: ''' @@ -193,7 +192,6 @@ class ENUObjectPosition(): @property def heading(self) -> point.ENUHeading: ... - class ENUObjectPositionList(): def append(self, arg1: ENUObjectPositionList, arg2: ENUObjectPosition) -> None: ''' @@ -255,7 +253,6 @@ class ENUObjectPositionList(): ''' ... - class LaneOccupiedRegion(): def assign(self, arg1: LaneOccupiedRegion, other: LaneOccupiedRegion) -> LaneOccupiedRegion: ''' @@ -276,7 +273,6 @@ class LaneOccupiedRegion(): @property def longitudinalRange(self) -> ad.physics.ParametricRange: ... - class LaneOccupiedRegionList(): def append(self, arg1: LaneOccupiedRegionList, arg2: LaneOccupiedRegion) -> None: ''' @@ -337,17 +333,16 @@ class LaneOccupiedRegionList(): void reverse(std::vector > {lvalue}) ''' ... - + def __getitem__(self, key: int) -> LaneOccupiedRegion: ... - + def __contains__(self, item: LaneOccupiedRegion) -> bool: ... - + def __delitem__(self, key: int) -> None: ... - + def __hash__(self) -> int: ... - - def __setitem__(self, key: int, value: LaneOccupiedRegion) -> None: ... + def __setitem__(self, key: int, value: LaneOccupiedRegion) -> None: ... class LanePoint(): def assign(self, arg1: LanePoint, other: LanePoint) -> LanePoint: @@ -372,7 +367,6 @@ class LanePoint(): @property def paraPoint(self) -> point.ParaPoint: ... - class MapMatchedObjectBoundingBox(): def assign(self, arg1: MapMatchedObjectBoundingBox, other: MapMatchedObjectBoundingBox) -> MapMatchedObjectBoundingBox: ''' @@ -396,7 +390,6 @@ class MapMatchedObjectBoundingBox(): @property def samplingDistance(self) -> ad.physics.Distance: ... - class MapMatchedObjectReferencePositionList(): def append(self, arg1: MapMatchedObjectReferencePositionList, arg2: vector_less_ad_scope_map_scope_match_scope_MapMatchedPosition_greater_) -> None: ''' @@ -438,7 +431,6 @@ class MapMatchedObjectReferencePositionList(): ''' ... - class MapMatchedPosition(): def assign(self, arg1: MapMatchedPosition, other: MapMatchedPosition) -> MapMatchedPosition: ''' @@ -468,7 +460,6 @@ class MapMatchedPosition(): @property def type(self) -> MapMatchedPositionType: ... - class MapMatchedPositionType(int,): INVALID = 0 @@ -480,7 +471,6 @@ class MapMatchedPositionType(int,): UNKNOWN = 1 - class Object(): def assign(self, arg1: Object, other: Object) -> Object: ''' @@ -498,7 +488,6 @@ class Object(): @property def mapMatchedBoundingBox(self) -> MapMatchedObjectBoundingBox: ... - class ObjectReferencePoints(int,): Center = 4 @@ -512,7 +501,6 @@ class ObjectReferencePoints(int,): RearRight = 3 - class vector_less_ad_scope_map_scope_match_scope_MapMatchedPosition_greater_(): def append(self, arg1: vector_less_ad_scope_map_scope_match_scope_MapMatchedPosition_greater_, arg2: MapMatchedPosition) -> None: ''' diff --git a/PythonAPI/carla/source/carla/ad/map/point.pyi b/PythonAPI/carla/source/carla/ad/map/point.pyi index ca62f0b5f85..694ed1e6628 100644 --- a/PythonAPI/carla/source/carla/ad/map/point.pyi +++ b/PythonAPI/carla/source/carla/ad/map/point.pyi @@ -4,75 +4,10 @@ import ad from . import * -class Altitude: - @property - def Valid(self) -> bool: ... - - def assign(self, arg1: Altitude, other: Altitude) -> Altitude: - """ - - assign( (Altitude)arg1, (Altitude)other) -> Altitude : - - C++ signature : - ad::map::point::Altitude {lvalue} assign(ad::map::point::Altitude {lvalue},ad::map::point::Altitude) - """ - ... - - cMaxValue = 1.7976931348623157e+308 - - cMinValue = -1.7976931348623157e+308 - - cPrecisionValue = 0.001 - - def ensureValid(self, arg1: Altitude) -> None: - """ - - ensureValid( (Altitude)arg1) -> None : - - C++ signature : - void ensureValid(ad::map::point::Altitude {lvalue}) - """ - ... - - def ensureValidNonZero(self, arg1: Altitude) -> None: - """ - - ensureValidNonZero( (Altitude)arg1) -> None : - - C++ signature : - void ensureValidNonZero(ad::map::point::Altitude {lvalue}) - """ - ... - - def getMax(self) -> Altitude: - """ - - getMax() -> Altitude : - - C++ signature : - ad::map::point::Altitude getMax() - """ - ... - - def getMin(self) -> Altitude: - """ - - getMin() -> Altitude : - - C++ signature : - ad::map::point::Altitude getMin() - """ - ... - - def getPrecision(self) -> Altitude: - """ - - getPrecision() -> Altitude : - - C++ signature : - ad::map::point::Altitude getPrecision() - """ - ... +class Altitude(ad._Calculable): + cMaxValue: float = ... + cMinValue: float = ... + cPrecisionValue: float = 0.001 class BoundingSphere: def assign(self, arg1: BoundingSphere, other: BoundingSphere) -> BoundingSphere: @@ -289,136 +224,13 @@ class CoordinateTransform: """ ... -class ECEFCoordinate: - @property - def Valid(self) -> bool: ... - - def assign(self, arg1: ECEFCoordinate, other: ECEFCoordinate) -> ECEFCoordinate: - """ - - assign( (ECEFCoordinate)arg1, (ECEFCoordinate)other) -> ECEFCoordinate : - - C++ signature : - ad::map::point::ECEFCoordinate {lvalue} assign(ad::map::point::ECEFCoordinate {lvalue},ad::map::point::ECEFCoordinate) - """ - ... - - cMaxValue = 1000000000.0 - - cMinValue = -1000000000.0 - - cPrecisionValue = 0.001 - - def ensureValid(self, arg1: ECEFCoordinate) -> None: - """ - - ensureValid( (ECEFCoordinate)arg1) -> None : - - C++ signature : - void ensureValid(ad::map::point::ECEFCoordinate {lvalue}) - """ - ... - - def ensureValidNonZero(self, arg1: ECEFCoordinate) -> None: - """ +class ECEFCoordinate(ad._Calculable): + cMaxValue: float = 1000000000.0 + cMinValue: float = -1000000000.0 + cPrecisionValue: float = 0.001 - ensureValidNonZero( (ECEFCoordinate)arg1) -> None : - - C++ signature : - void ensureValidNonZero(ad::map::point::ECEFCoordinate {lvalue}) - """ - ... - - def getMax(self) -> ECEFCoordinate: - """ - - getMax() -> ECEFCoordinate : - - C++ signature : - ad::map::point::ECEFCoordinate getMax() - """ - ... - - def getMin(self) -> ECEFCoordinate: - """ - - getMin() -> ECEFCoordinate : - - C++ signature : - ad::map::point::ECEFCoordinate getMin() - """ - ... - - def getPrecision(self) -> ECEFCoordinate: - """ - - getPrecision() -> ECEFCoordinate : - - C++ signature : - ad::map::point::ECEFCoordinate getPrecision() - """ - ... - -class ECEFEdge: - def append(self, arg1: ECEFEdge, arg2: ECEFPoint) -> None: - """ - - append( (ECEFEdge)arg1, (ECEFPoint)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::map::point::ECEFPoint) - """ - ... - - def count(self, arg1: ECEFEdge, arg2: ECEFPoint) -> int: - """ - - count( (ECEFEdge)arg1, (ECEFPoint)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::map::point::ECEFPoint) - """ - ... - - def extend(self, arg1: ECEFEdge, arg2: object) -> None: - """ - - extend( (ECEFEdge)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: ECEFEdge, arg2: ECEFPoint) -> int: - """ - - index( (ECEFEdge)arg1, (ECEFPoint)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::map::point::ECEFPoint) - """ - ... - - def insert(self, arg1: ECEFEdge, arg2: int, arg3: ECEFPoint) -> None: - """ - - insert( (ECEFEdge)arg1, (int)arg2, (ECEFPoint)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::map::point::ECEFPoint) - """ - ... - - def reverse(self, arg1: ECEFEdge) -> None: - """ - - reverse( (ECEFEdge)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... +class ECEFEdge(ad._VectorSequence[ECEFPoint]): + ... class ECEFHeading: def assign(self, arg1: ECEFHeading, other: ECEFHeading) -> ECEFHeading: @@ -460,137 +272,13 @@ class ECEFPoint: @property def z(self) -> ECEFCoordinate: ... -class ENUCoordinate(ad._FloatLike): +class ENUCoordinate(ad._Calculable): + cMaxValue: float = 1000000.0 + cMinValue: float = -1000000.0 + cPrecisionValue: float = 0.001 - @property - def Valid(self) -> bool: ... - - def assign(self, arg1: ENUCoordinate, other: ENUCoordinate) -> ENUCoordinate: - """ - - assign( (ENUCoordinate)arg1, (ENUCoordinate)other) -> ENUCoordinate : - - C++ signature : - ad::map::point::ENUCoordinate {lvalue} assign(ad::map::point::ENUCoordinate {lvalue},ad::map::point::ENUCoordinate) - """ - ... - - cMaxValue = 1000000.0 - - cMinValue = -1000000.0 - - cPrecisionValue = 0.001 - - def ensureValid(self, arg1: ENUCoordinate) -> None: - """ - - ensureValid( (ENUCoordinate)arg1) -> None : - - C++ signature : - void ensureValid(ad::map::point::ENUCoordinate {lvalue}) - """ - ... - - def ensureValidNonZero(self, arg1: ENUCoordinate) -> None: - """ - - ensureValidNonZero( (ENUCoordinate)arg1) -> None : - - C++ signature : - void ensureValidNonZero(ad::map::point::ENUCoordinate {lvalue}) - """ - ... - - def getMax(self) -> ENUCoordinate: - """ - - getMax() -> ENUCoordinate : - - C++ signature : - ad::map::point::ENUCoordinate getMax() - """ - ... - - def getMin(self) -> ENUCoordinate: - """ - - getMin() -> ENUCoordinate : - - C++ signature : - ad::map::point::ENUCoordinate getMin() - """ - ... - - def getPrecision(self) -> ENUCoordinate: - """ - - getPrecision() -> ENUCoordinate : - - C++ signature : - ad::map::point::ENUCoordinate getPrecision() - """ - ... - -class ENUEdge: - def append(self, arg1: ENUEdge, arg2: ENUPoint) -> None: - """ - - append( (ENUEdge)arg1, (ENUPoint)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::map::point::ENUPoint) - """ - ... - - def count(self, arg1: ENUEdge, arg2: ENUPoint) -> int: - """ - - count( (ENUEdge)arg1, (ENUPoint)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::map::point::ENUPoint) - """ - ... - - def extend(self, arg1: ENUEdge, arg2: object) -> None: - """ - - extend( (ENUEdge)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: ENUEdge, arg2: ENUPoint) -> int: - """ - - index( (ENUEdge)arg1, (ENUPoint)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::map::point::ENUPoint) - """ - ... - - def insert(self, arg1: ENUEdge, arg2: int, arg3: ENUPoint) -> None: - """ - - insert( (ENUEdge)arg1, (int)arg2, (ENUPoint)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::map::point::ENUPoint) - """ - ... - - def reverse(self, arg1: ENUEdge) -> None: - """ - - reverse( (ENUEdge)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... +class ENUEdge(ad._VectorSequence[ENUPoint]): + ... class ENUEdgeCache: def assign(self, arg1: ENUEdgeCache, other: ENUEdgeCache) -> ENUEdgeCache: @@ -609,77 +297,12 @@ class ENUEdgeCache: @property def enuVersion(self) -> int: ... -class ENUHeading(ad._FloatLike): - def __float__(self) -> float: ... - - @property - def Valid(self) -> bool: ... - - def assign(self, arg1: ENUHeading, other: ENUHeading) -> ENUHeading: - """ +class ENUHeading(ad._Calculable): + cMaxValue: float = ... - assign( (ENUHeading)arg1, (ENUHeading)other) -> ENUHeading : + cMinValue: float = ... - C++ signature : - ad::map::point::ENUHeading {lvalue} assign(ad::map::point::ENUHeading {lvalue},ad::map::point::ENUHeading) - """ - ... - - cMaxValue = 1.7976931348623157e+308 - - cMinValue = -1.7976931348623157e+308 - - cPrecisionValue = 0.0001 - - def ensureValid(self, arg1: ENUHeading) -> None: - """ - - ensureValid( (ENUHeading)arg1) -> None : - - C++ signature : - void ensureValid(ad::map::point::ENUHeading {lvalue}) - """ - ... - - def ensureValidNonZero(self, arg1: ENUHeading) -> None: - """ - - ensureValidNonZero( (ENUHeading)arg1) -> None : - - C++ signature : - void ensureValidNonZero(ad::map::point::ENUHeading {lvalue}) - """ - ... - - def getMax(self) -> ENUHeading: - """ - - getMax() -> ENUHeading : - - C++ signature : - ad::map::point::ENUHeading getMax() - """ - ... - - def getMin(self) -> ENUHeading: - """ - - getMin() -> ENUHeading : - - C++ signature : - ad::map::point::ENUHeading getMin() - """ - ... - - def getPrecision(self) -> ENUHeading: - """ - - getPrecision() -> ENUHeading : - - C++ signature : - ad::map::point::ENUHeading getPrecision() - """ - ... + cPrecisionValue: float = 0.0001 class ENUPoint(ad._FloatLike): def assign(self, arg1: ENUPoint, other: ENUPoint) -> ENUPoint: @@ -822,11 +445,11 @@ class Latitude(ad._FloatLike): """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 1e-08 + cPrecisionValue: float = 1e-08 def ensureValid(self, arg1: Latitude) -> None: """ @@ -892,11 +515,11 @@ class Longitude(ad._FloatLike): """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 1e-08 + cPrecisionValue: float = 1e-08 def ensureValid(self, arg1: Longitude) -> None: """ diff --git a/PythonAPI/carla/source/carla/ad/map/restriction.pyi b/PythonAPI/carla/source/carla/ad/map/restriction.pyi index ae0fc7bf314..4ea5ed02a61 100644 --- a/PythonAPI/carla/source/carla/ad/map/restriction.pyi +++ b/PythonAPI/carla/source/carla/ad/map/restriction.pyi @@ -1,3 +1,4 @@ +from ...libcarla import _CarlaEnum import ad class Restriction: @@ -20,66 +21,8 @@ class Restriction: @property def roadUserTypes(self) -> RoadUserTypeList: ... -class RestrictionList: - def append(self, arg1: RestrictionList, arg2: Restriction) -> None: - """ - - append( (RestrictionList)arg1, (Restriction)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::map::restriction::Restriction) - """ - ... - - def count(self, arg1: RestrictionList, arg2: Restriction) -> int: - """ - - count( (RestrictionList)arg1, (Restriction)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::map::restriction::Restriction) - """ - ... - - def extend(self, arg1: RestrictionList, arg2: object) -> None: - """ - - extend( (RestrictionList)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: RestrictionList, arg2: Restriction) -> int: - """ - - index( (RestrictionList)arg1, (Restriction)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::map::restriction::Restriction) - """ - ... - - def insert(self, arg1: RestrictionList, arg2: int, arg3: Restriction) -> None: - """ - - insert( (RestrictionList)arg1, (int)arg2, (Restriction)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::map::restriction::Restriction) - """ - ... - - def reverse(self, arg1: RestrictionList) -> None: - """ - - reverse( (RestrictionList)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... +class RestrictionList(ad._VectorSequence[Restriction]): + ... class Restrictions: def assign(self, arg1: Restrictions, other: Restrictions) -> Restrictions: @@ -98,7 +41,7 @@ class Restrictions: @property def disjunctions(self) -> RestrictionList: ... -class RoadUserType(int): +class RoadUserType(int, _CarlaEnum): BICYCLE = 7 BUS = 3 @@ -123,76 +66,8 @@ class RoadUserType(int): UNKNOWN = 1 -class RoadUserTypeList: - def append(self, arg1: RoadUserTypeList, arg2: RoadUserType) -> None: - """ - - append( (RoadUserTypeList)arg1, (RoadUserType)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::map::restriction::RoadUserType) - """ - ... - - def count(self, arg1: RoadUserTypeList, arg2: RoadUserType) -> int: - """ - - count( (RoadUserTypeList)arg1, (RoadUserType)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::map::restriction::RoadUserType) - """ - ... - - def extend(self, arg1: RoadUserTypeList, arg2: object) -> None: - """ - - extend( (RoadUserTypeList)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: RoadUserTypeList, arg2: RoadUserType) -> int: - """ - - index( (RoadUserTypeList)arg1, (RoadUserType)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::map::restriction::RoadUserType) - """ - ... - - def insert(self, arg1: RoadUserTypeList, arg2: int, arg3: RoadUserType) -> None: - """ - - insert( (RoadUserTypeList)arg1, (int)arg2, (RoadUserType)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::map::restriction::RoadUserType) - """ - ... - - def reverse(self, arg1: RoadUserTypeList) -> None: - """ - - reverse( (RoadUserTypeList)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - - def sort(self, arg1: RoadUserTypeList) -> None: - """ - - sort( (RoadUserTypeList)arg1) -> None : - - C++ signature : - void sort(std::vector > {lvalue}) - """ - ... +class RoadUserTypeList(ad._VectorSequence[RoadUserType]): + ... class SpeedLimit: def assign(self, arg1: SpeedLimit, other: SpeedLimit) -> SpeedLimit: @@ -211,66 +86,8 @@ class SpeedLimit: @property def speedLimit(self) -> ad.physics.Speed: ... -class SpeedLimitList: - def append(self, arg1: SpeedLimitList, arg2: SpeedLimit) -> None: - """ - - append( (SpeedLimitList)arg1, (SpeedLimit)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::map::restriction::SpeedLimit) - """ - ... - - def count(self, arg1: SpeedLimitList, arg2: SpeedLimit) -> int: - """ - - count( (SpeedLimitList)arg1, (SpeedLimit)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::map::restriction::SpeedLimit) - """ - ... - - def extend(self, arg1: SpeedLimitList, arg2: object) -> None: - """ - - extend( (SpeedLimitList)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: SpeedLimitList, arg2: SpeedLimit) -> int: - """ - - index( (SpeedLimitList)arg1, (SpeedLimit)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::map::restriction::SpeedLimit) - """ - ... - - def insert(self, arg1: SpeedLimitList, arg2: int, arg3: SpeedLimit) -> None: - """ - - insert( (SpeedLimitList)arg1, (int)arg2, (SpeedLimit)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::map::restriction::SpeedLimit) - """ - ... - - def reverse(self, arg1: SpeedLimitList) -> None: - """ - - reverse( (SpeedLimitList)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... +class SpeedLimitList(ad._VectorSequence[SpeedLimit]): + ... class VehicleDescriptor: def assign(self, arg1: VehicleDescriptor, other: VehicleDescriptor) -> VehicleDescriptor: diff --git a/PythonAPI/carla/source/carla/ad/map/route.pyi b/PythonAPI/carla/source/carla/ad/map/route.pyi index 17107619c6f..26207d1989c 100644 --- a/PythonAPI/carla/source/carla/ad/map/route.pyi +++ b/PythonAPI/carla/source/carla/ad/map/route.pyi @@ -1,7 +1,7 @@ from typing import Iterable, TypeAlias, overload import ad -from libcarla import _CarlaEnum +from ...libcarla import _CarlaEnum from . import * @@ -574,8 +574,6 @@ class RoutingParaPoint: @property def point(self) -> point.ParaPoint: ... - ... - class ShortenRouteMode(int): DontCutIntersectionAndPrependIfSucceededBeforeRoute = 2 diff --git a/PythonAPI/carla/source/carla/ad/physics.pyi b/PythonAPI/carla/source/carla/ad/physics.pyi index af2ed54e226..7aae406251e 100644 --- a/PythonAPI/carla/source/carla/ad/physics.pyi +++ b/PythonAPI/carla/source/carla/ad/physics.pyi @@ -17,11 +17,11 @@ class Acceleration: """ ... - cMaxValue = 1000.0 + cMaxValue: float = 1000.0 - cMinValue = -1000.0 + cMinValue: float = -1000.0 - cPrecisionValue = 0.0001 + cPrecisionValue: float = 0.0001 def ensureValid(self, arg1: Acceleration) -> None: """ @@ -331,11 +331,11 @@ class Angle: """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: Angle) -> None: """ @@ -550,11 +550,11 @@ class AngularAcceleration: """ ... - cMaxValue = 1000.0 + cMaxValue: float = 1000.0 - cMinValue = -1000.0 + cMinValue: float = -1000.0 - cPrecisionValue = 0.0001 + cPrecisionValue: float = 0.0001 def ensureValid(self, arg1: AngularAcceleration) -> None: """ @@ -691,11 +691,11 @@ class AngularVelocity: """ ... - cMaxValue = 1000.0 + cMaxValue: float = 1000.0 - cMinValue = -1000.0 + cMinValue: float = -1000.0 - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: AngularVelocity) -> None: """ @@ -1072,11 +1072,11 @@ class Distance(_FloatLike): """ ... - cMaxValue = 1000000000.0 + cMaxValue: float = 1000000000.0 - cMinValue = -1000000000.0 + cMinValue: float = -1000000000.0 - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: Distance) -> None: """ @@ -1372,11 +1372,11 @@ class DistanceSquared: """ ... - cMaxValue = 1e+18 + cMaxValue: float = 1e+18 - cMinValue = -1e+18 + cMinValue: float = -1e+18 - cPrecisionValue = 1e-06 + cPrecisionValue: float = 1e-06 def ensureValid(self, arg1: DistanceSquared) -> None: """ @@ -1513,11 +1513,11 @@ class Duration: """ ... - cMaxValue = 1000000.0 + cMaxValue: float = 1000000.0 - cMinValue = -1000000.0 + cMinValue: float = -1000000.0 - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: Duration) -> None: """ @@ -1654,11 +1654,11 @@ class DurationSquared: """ ... - cMaxValue = 1000000000000.0 + cMaxValue: float = 1000000000000.0 - cMinValue = -1000000000000.0 + cMinValue: float = -1000000000000.0 - cPrecisionValue = 1e-06 + cPrecisionValue: float = 1e-06 def ensureValid(self, arg1: DurationSquared) -> None: """ @@ -1951,11 +1951,11 @@ class ParametricValue: """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 1e-06 + cPrecisionValue: float = 1e-06 def ensureValid(self, arg1: ParametricValue) -> None: """ @@ -2092,11 +2092,11 @@ class Probability: """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 1e-06 + cPrecisionValue: float = 1e-06 def ensureValid(self, arg1: Probability) -> None: """ @@ -2233,11 +2233,11 @@ class RatioValue: """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 1e-09 + cPrecisionValue: float = 1e-09 def ensureValid(self, arg1: RatioValue) -> None: """ @@ -2374,11 +2374,11 @@ class Speed: """ ... - cMaxValue = 1000.0 + cMaxValue: float = 1000.0 - cMinValue = -1000.0 + cMinValue: float = -1000.0 - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: Speed) -> None: """ @@ -2593,11 +2593,11 @@ class SpeedSquared: """ ... - cMaxValue = 1000000.0 + cMaxValue: float = 1000000.0 - cMinValue = -1000000.0 + cMinValue: float = -1000000.0 - cPrecisionValue = 1e-06 + cPrecisionValue: float = 1e-06 def ensureValid(self, arg1: SpeedSquared) -> None: """ @@ -2815,11 +2815,11 @@ class Weight: """ ... - cMaxValue = 1.7976931348623157e+308 + cMaxValue: float = ... - cMinValue = -1.7976931348623157e+308 + cMinValue: float = ... - cPrecisionValue = 0.001 + cPrecisionValue: float = 0.001 def ensureValid(self, arg1: Weight) -> None: """ diff --git a/PythonAPI/carla/source/carla/ad/rss/__init__.pyi b/PythonAPI/carla/source/carla/ad/rss/__init__.pyi index a4f42aa80b0..079c0eef2c9 100644 --- a/PythonAPI/carla/source/carla/ad/rss/__init__.pyi +++ b/PythonAPI/carla/source/carla/ad/rss/__init__.pyi @@ -7,5 +7,5 @@ __all__ = [ 'situation', 'state', 'unstructured', - 'world' + 'world', ] diff --git a/PythonAPI/carla/source/carla/ad/rss/situation.pyi b/PythonAPI/carla/source/carla/ad/rss/situation.pyi index 6195e9f51c6..2c5436e77a7 100644 --- a/PythonAPI/carla/source/carla/ad/rss/situation.pyi +++ b/PythonAPI/carla/source/carla/ad/rss/situation.pyi @@ -1,8 +1,10 @@ -from libcarla import ad +import ad +from ad import _Assignable +from ...libcarla import _CarlaEnum from . import * -class LateralRelativePosition(int): +class LateralRelativePosition(int, _CarlaEnum): AtLeft = 0 AtRight = 4 @@ -13,7 +15,7 @@ class LateralRelativePosition(int): OverlapRight = 3 -class LongitudinalRelativePosition(int): +class LongitudinalRelativePosition(int, _CarlaEnum): AtBack = 4 InFront = 0 @@ -24,16 +26,7 @@ class LongitudinalRelativePosition(int): OverlapFront = 1 -class RelativePosition: - def assign(self, arg1: RelativePosition, other: RelativePosition) -> RelativePosition: - """ - - assign( (RelativePosition)arg1, (RelativePosition)other) -> RelativePosition : - - C++ signature : - ad::rss::situation::RelativePosition {lvalue} assign(ad::rss::situation::RelativePosition {lvalue},ad::rss::situation::RelativePosition) - """ - ... +class RelativePosition(_Assignable): @property def lateralDistance(self) -> ad.physics.Distance: ... @@ -47,16 +40,7 @@ class RelativePosition: @property def longitudinalPosition(self) -> LongitudinalRelativePosition: ... -class Situation: - def assign(self, arg1: Situation, other: Situation) -> Situation: - """ - - assign( (Situation)arg1, (Situation)other) -> Situation : - - C++ signature : - ad::rss::situation::Situation {lvalue} assign(ad::rss::situation::Situation {lvalue},ad::rss::situation::Situation) - """ - ... +class Situation(_Assignable): @property def egoVehicleState(self) -> VehicleState: ... @@ -76,16 +60,7 @@ class Situation: @property def situationType(self) -> SituationType: ... -class SituationSnapshot: - def assign(self, arg1: SituationSnapshot, other: SituationSnapshot) -> SituationSnapshot: - """ - - assign( (SituationSnapshot)arg1, (SituationSnapshot)other) -> SituationSnapshot : - - C++ signature : - ad::rss::situation::SituationSnapshot {lvalue} assign(ad::rss::situation::SituationSnapshot {lvalue},ad::rss::situation::SituationSnapshot) - """ - ... +class SituationSnapshot(_Assignable): @property def defaultEgoVehicleRssDynamics(self) -> world.RssDynamics: ... @@ -96,7 +71,7 @@ class SituationSnapshot: @property def timeIndex(self) -> int: ... -class SituationType(int): +class SituationType(int, _CarlaEnum): IntersectionEgoHasPriority = 3 IntersectionObjectHasPriority = 4 @@ -111,77 +86,10 @@ class SituationType(int): Unstructured = 6 -class SituationVector(ad._Vector[Situation]): - def append(self, arg1: SituationVector, arg2: Situation) -> None: - """ - - append( (SituationVector)arg1, (Situation)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::situation::Situation) - """ - ... - - def count(self, arg1: SituationVector, arg2: Situation) -> int: - """ - - count( (SituationVector)arg1, (Situation)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::rss::situation::Situation) - """ - ... - - def extend(self, arg1: SituationVector, arg2: object) -> None: - """ - - extend( (SituationVector)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... +class SituationVector(ad._VectorSequence[Situation]): + ... - def index(self, arg1: SituationVector, arg2: Situation) -> int: - """ - - index( (SituationVector)arg1, (Situation)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::rss::situation::Situation) - """ - ... - - def insert(self, arg1: SituationVector, arg2: int, arg3: Situation) -> None: - """ - - insert( (SituationVector)arg1, (int)arg2, (Situation)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::situation::Situation) - """ - ... - - def reverse(self, arg1: SituationVector) -> None: - """ - - reverse( (SituationVector)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class VehicleState: - def assign(self, arg1: VehicleState, other: VehicleState) -> VehicleState: - """ - - assign( (VehicleState)arg1, (VehicleState)other) -> VehicleState : - - C++ signature : - ad::rss::situation::VehicleState {lvalue} assign(ad::rss::situation::VehicleState {lvalue},ad::rss::situation::VehicleState) - """ - ... +class VehicleState(_Assignable): @property def distanceToEnterIntersection(self) -> ad.physics.Distance: ... @@ -207,16 +115,7 @@ class VehicleState: @property def velocity(self) -> VelocityRange: ... -class VelocityRange: - def assign(self, arg1: VelocityRange, other: VelocityRange) -> VelocityRange: - """ - - assign( (VelocityRange)arg1, (VelocityRange)other) -> VelocityRange : - - C++ signature : - ad::rss::situation::VelocityRange {lvalue} assign(ad::rss::situation::VelocityRange {lvalue},ad::rss::situation::VelocityRange) - """ - ... +class VelocityRange(_Assignable): @property def speedLat(self) -> ad.physics.SpeedRange: ... diff --git a/PythonAPI/carla/source/carla/ad/rss/state.pyi b/PythonAPI/carla/source/carla/ad/rss/state.pyi index 1ef80a95190..669edea9f05 100644 --- a/PythonAPI/carla/source/carla/ad/rss/state.pyi +++ b/PythonAPI/carla/source/carla/ad/rss/state.pyi @@ -2,13 +2,12 @@ from ... import ad from ...libcarla import _CarlaEnum from . import * - def isDangerous(rssState: RssState) -> bool: ... - + def isLateralSafe(rssState: RssState) -> bool: ... - + def isLongitudinalSafe(rssState: RssState) -> bool: ... @@ -32,7 +31,6 @@ class AccelerationRestriction(): @property def longitudinalRange(self) -> ad.physics.AccelerationRange: ... - class HeadingRange(): def assign(self, arg1: HeadingRange, other: HeadingRange) -> HeadingRange: ''' @@ -50,7 +48,6 @@ class HeadingRange(): @property def end(self) -> ad.physics.Angle: ... - class HeadingRangeVector(ad._Vector[HeadingRange]): def append(self, arg1: HeadingRangeVector, arg2: HeadingRange) -> None: ''' @@ -112,13 +109,11 @@ class HeadingRangeVector(ad._Vector[HeadingRange]): ''' ... - class LateralResponse(int,): BrakeMin = 1 None = 0 # type: ignore - class LateralRssState(): @property def alphaLat(self) -> world.LateralRssAccelerationValues: ... @@ -142,7 +137,6 @@ class LateralRssState(): @property def rssStateInformation(self) -> RssStateInformation: ... - class LongitudinalResponse(int,): BrakeMin = 2 @@ -150,7 +144,6 @@ class LongitudinalResponse(int,): None = 0 # type: ignore - class LongitudinalRssState(): @property def alphaLon(self) -> world.LongitudinalRssAccelerationValues: ... @@ -174,7 +167,6 @@ class LongitudinalRssState(): @property def rssStateInformation(self) -> RssStateInformation: ... - class ProperResponse(): @property def accelerationRestrictions(self) -> AccelerationRestriction: ... @@ -213,7 +205,6 @@ class ProperResponse(): @property def unstructuredSceneResponse(self) -> UnstructuredSceneResponse: ... - class RssState(): def assign(self, other: RssState) -> RssState: ''' @@ -279,7 +270,6 @@ class RssStateInformation(): @property def safeDistance(self) -> ad.physics.Distance: ... - class RssStateSnapshot(): def assign(self, other: RssStateSnapshot) -> RssStateSnapshot: ''' @@ -303,68 +293,10 @@ class RssStateSnapshot(): @property def unstructuredSceneEgoInformation(self) -> UnstructuredSceneStateInformation: ... -class RssStateVector(ad._Vector[RssState]): - def append(self, arg1: RssStateVector, arg2: RssState) -> None: - ''' - - append( (RssStateVector)arg1, (RssState)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::state::RssState) - ''' - ... - - def count(self, arg1: RssStateVector, arg2: RssState) -> int: - ''' - - count( (RssStateVector)arg1, (RssState)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::rss::state::RssState) - ''' - ... - - def extend(self, arg1: RssStateVector, arg2: object) -> None: - ''' - - extend( (RssStateVector)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - ''' - ... - - def index(self, arg1: RssStateVector, arg2: RssState) -> int: - ''' - - index( (RssStateVector)arg1, (RssState)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::rss::state::RssState) - ''' - ... - - def insert(self, arg1: RssStateVector, arg2: int, arg3: RssState) -> None: - ''' - - insert( (RssStateVector)arg1, (int)arg2, (RssState)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::state::RssState) - ''' - ... - - def reverse(self, arg1: RssStateVector) -> None: - ''' - - reverse( (RssStateVector)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - ''' - ... +class RssStateVector(ad._VectorSequence[RssState]): + ... -class UnstructuredSceneResponse(int,): +class UnstructuredSceneResponse(int, _CarlaEnum): None = 0 # type: ignore # is named None in the C++ code ContinueForward = 1 DriveAway = 2 diff --git a/PythonAPI/carla/source/carla/ad/rss/unstructured.pyi b/PythonAPI/carla/source/carla/ad/rss/unstructured.pyi index 089c8644b33..f7367bd2955 100644 --- a/PythonAPI/carla/source/carla/ad/rss/unstructured.pyi +++ b/PythonAPI/carla/source/carla/ad/rss/unstructured.pyi @@ -1,3 +1,4 @@ +from ad import _Vector class DebugDrawing: class DebugLine: @@ -81,125 +82,11 @@ class DebugDrawing: """ ... -class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_: - def append(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_, arg2: DebugDrawing.DebugLine) -> None: - """ - - append( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_)arg1, (DebugLine)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::unstructured::DebugDrawing::DebugLine) - """ - ... +class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_(_Vector[DebugDrawing.DebugLine]): + ... - def extend(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_, arg2: object) -> None: - """ - - extend( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def insert(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_, arg2: int, arg3: DebugDrawing.DebugLine) -> None: - """ - - insert( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_)arg1, (int)arg2, (DebugLine)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::unstructured::DebugDrawing::DebugLine) - """ - ... - - def reverse(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_) -> None: - """ +class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_(_Vector[DebugDrawing.DebugPoint]): + ... - reverse( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugLine_greater_)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_: - def append(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_, arg2: DebugDrawing.DebugPoint) -> None: - """ - - append( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_)arg1, (DebugPoint)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::unstructured::DebugDrawing::DebugPoint) - """ - ... - - def extend(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_, arg2: object) -> None: - """ - - extend( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def insert(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_, arg2: int, arg3: DebugDrawing.DebugPoint) -> None: - """ - - insert( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_)arg1, (int)arg2, (DebugPoint)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::unstructured::DebugDrawing::DebugPoint) - """ - ... - - def reverse(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_) -> None: - """ - - reverse( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPoint_greater_)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_: - def append(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_, arg2: DebugDrawing.DebugPolygon) -> None: - """ - - append( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_)arg1, (DebugPolygon)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::unstructured::DebugDrawing::DebugPolygon) - """ - ... - - def extend(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_, arg2: object) -> None: - """ - - extend( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def insert(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_, arg2: int, arg3: DebugDrawing.DebugPolygon) -> None: - """ - - insert( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_)arg1, (int)arg2, (DebugPolygon)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::unstructured::DebugDrawing::DebugPolygon) - """ - ... - - def reverse(self, arg1: vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_) -> None: - """ - - reverse( (vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... +class vector_less_ad_scope_rss_scope_unstructured_scope_DebugDrawing_scope_DebugPolygon_greater_(_Vector[DebugDrawing.DebugPolygon]): + ... diff --git a/PythonAPI/carla/source/carla/ad/rss/world.pyi b/PythonAPI/carla/source/carla/ad/rss/world.pyi index 8d28a562263..e6ef2f78d4a 100644 --- a/PythonAPI/carla/source/carla/ad/rss/world.pyi +++ b/PythonAPI/carla/source/carla/ad/rss/world.pyi @@ -1,4 +1,5 @@ -import ad +from typing import ClassVar, overload +from carla import ad from . import * @@ -218,6 +219,8 @@ class ObjectType(int): Pedestrian = 3 class OccupiedRegion: + __instance_size__: ClassVar[int] = ... + def assign(self, arg1: OccupiedRegion, other: OccupiedRegion) -> OccupiedRegion: """ @@ -237,186 +240,45 @@ class OccupiedRegion: @property def segmentId(self) -> int: ... -class OccupiedRegionVector(ad._Vector[OccupiedRegion]): - def append(self, arg1: OccupiedRegionVector, arg2: OccupiedRegion) -> None: - """ - - append( (OccupiedRegionVector)arg1, (OccupiedRegion)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::world::OccupiedRegion) - """ - ... - - def count(self, arg1: OccupiedRegionVector, arg2: OccupiedRegion) -> int: - """ - - count( (OccupiedRegionVector)arg1, (OccupiedRegion)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::rss::world::OccupiedRegion) - """ - ... - - def extend(self, arg1: OccupiedRegionVector, arg2: object) -> None: - """ - - extend( (OccupiedRegionVector)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: OccupiedRegionVector, arg2: OccupiedRegion) -> int: - """ - - index( (OccupiedRegionVector)arg1, (OccupiedRegion)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::rss::world::OccupiedRegion) - """ - ... - - def insert(self, arg1: OccupiedRegionVector, arg2: int, arg3: OccupiedRegion) -> None: - """ - - insert( (OccupiedRegionVector)arg1, (int)arg2, (OccupiedRegion)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::world::OccupiedRegion) - """ - ... - - def reverse(self, arg1: OccupiedRegionVector) -> None: - """ - - reverse( (OccupiedRegionVector)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class RoadArea: - def append(self, arg1: RoadArea, arg2: RoadSegment) -> None: - """ - - append( (RoadArea)arg1, (RoadSegment)arg2) -> None : - - C++ signature : - void append(std::vector >, std::allocator > > > {lvalue},std::vector >) - """ - ... - - def extend(self, arg1: RoadArea, arg2: object) -> None: - """ - - extend( (RoadArea)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector >, std::allocator > > > {lvalue},boost::python::api::object) - """ - ... - - def insert(self, arg1: RoadArea, arg2: int, arg3: RoadSegment) -> None: + @classmethod + def __eq__(cls, other: object, /) -> bool: """ - - insert( (RoadArea)arg1, (int)arg2, (RoadSegment)arg3) -> None : + __eq__( (OccupiedRegion)arg1, (OccupiedRegion)arg2) -> object : C++ signature : - void insert(std::vector >, std::allocator > > > {lvalue},long,std::vector >) + _object* __eq__(ad::rss::world::OccupiedRegion {lvalue},ad::rss::world::OccupiedRegion) """ - ... - def reverse(self, arg1: RoadArea) -> None: + @classmethod + def __ne__(cls, other: object, /) -> bool: """ - - reverse( (RoadArea)arg1) -> None : + __ne__( (OccupiedRegion)arg1, (OccupiedRegion)arg2) -> object : C++ signature : - void reverse(std::vector >, std::allocator > > > {lvalue}) + _object* __ne__(ad::rss::world::OccupiedRegion {lvalue},ad::rss::world::OccupiedRegion) """ - ... -class RoadSegment: - def append(self, arg1: RoadSegment, arg2: LaneSegment) -> None: - """ + @classmethod + def __reduce__(cls): ... - append( (RoadSegment)arg1, (LaneSegment)arg2) -> None : +class OccupiedRegionVector(ad._VectorSequence[OccupiedRegion]): + ... - C++ signature : - void append(std::vector > {lvalue},ad::rss::world::LaneSegment) - """ - ... - - def count(self, arg1: RoadSegment, arg2: LaneSegment) -> int: - """ +class RoadArea(ad._VectorSequence[RoadSegment]): + __instance_size__: ClassVar[int] = ... - count( (RoadSegment)arg1, (LaneSegment)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::rss::world::LaneSegment) - """ - ... - - def extend(self, arg1: RoadSegment, arg2: object) -> None: - """ - - extend( (RoadSegment)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg1: RoadSegment, arg2: LaneSegment) -> int: - """ +class RoadSegment(ad._VectorSequence[LaneSegment]): + __instance_size__: ClassVar[int] = ... - index( (RoadSegment)arg1, (LaneSegment)arg2) -> int : +class RssDynamics(ad._Assignable): + __instance_size__: ClassVar[int] = ... - C++ signature : - unsigned long index(std::vector > {lvalue},ad::rss::world::LaneSegment) - """ - ... - - def insert(self, arg1: RoadSegment, arg2: int, arg3: LaneSegment) -> None: - """ - - insert( (RoadSegment)arg1, (int)arg2, (LaneSegment)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::world::LaneSegment) - """ - ... - - def reverse(self, arg1: RoadSegment) -> None: - """ - - reverse( (RoadSegment)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class RssDynamics: @property def alphaLat(self) -> LateralRssAccelerationValues: ... @property def alphaLon(self) -> LongitudinalRssAccelerationValues: ... - def assign(self, arg1: RssDynamics, other: RssDynamics) -> RssDynamics: - """ - - assign( (RssDynamics)arg1, (RssDynamics)other) -> RssDynamics : - - C++ signature : - ad::rss::world::RssDynamics {lvalue} assign(ad::rss::world::RssDynamics {lvalue},ad::rss::world::RssDynamics) - """ - ... - @property def lateralFluctuationMargin(self) -> ad.physics.Distance: ... @@ -429,17 +291,7 @@ class RssDynamics: @property def unstructuredSettings(self) -> UnstructuredSettings: ... -class Scene: - def assign(self, arg1: Scene, other: Scene) -> Scene: - """ - - assign( (Scene)arg1, (Scene)other) -> Scene : - - C++ signature : - ad::rss::world::Scene {lvalue} assign(ad::rss::world::Scene {lvalue},ad::rss::world::Scene) - """ - ... - +class Scene(ad._Assignable): @property def egoVehicle(self) -> Object: ... @@ -461,78 +313,10 @@ class Scene: @property def situationType(self) -> situation.SituationType: ... -class SceneVector(ad._Vector[Scene]): - def append(self, arg2: Scene) -> None: - """ - - append( (SceneVector)arg1, (Scene)arg2) -> None : - - C++ signature : - void append(std::vector > {lvalue},ad::rss::world::Scene) - """ - ... - - def count(self, arg2: Scene) -> int: - """ - - count( (SceneVector)arg1, (Scene)arg2) -> int : - - C++ signature : - unsigned long count(std::vector > {lvalue},ad::rss::world::Scene) - """ - ... - - def extend(self, arg2: object) -> None: - """ - - extend( (SceneVector)arg1, (object)arg2) -> None : - - C++ signature : - void extend(std::vector > {lvalue},boost::python::api::object) - """ - ... - - def index(self, arg2: Scene) -> int: - """ - - index( (SceneVector)arg1, (Scene)arg2) -> int : - - C++ signature : - unsigned long index(std::vector > {lvalue},ad::rss::world::Scene) - """ - ... - - def insert(self, arg2: int, arg3: Scene) -> None: - """ - - insert( (SceneVector)arg1, (int)arg2, (Scene)arg3) -> None : - - C++ signature : - void insert(std::vector > {lvalue},long,ad::rss::world::Scene) - """ - ... - - def reverse(self) -> None: - """ - - reverse( (SceneVector)arg1) -> None : - - C++ signature : - void reverse(std::vector > {lvalue}) - """ - ... - -class UnstructuredSettings: - def assign(self, other: UnstructuredSettings) -> UnstructuredSettings: - """ - - assign( (UnstructuredSettings)arg1, (UnstructuredSettings)other) -> UnstructuredSettings : - - C++ signature : - ad::rss::world::UnstructuredSettings {lvalue} assign(ad::rss::world::UnstructuredSettings {lvalue},ad::rss::world::UnstructuredSettings) - """ - ... +class SceneVector(ad._VectorSequence[Scene]): + ... +class UnstructuredSettings(ad._Assignable): @property def driveAwayMaxAngle(self) -> ad.physics.Angle: ... @@ -578,16 +362,7 @@ class UnstructuredSettings: @property def vehicleYawRateChange(self) -> ad.physics.AngularAcceleration: ... -class Velocity: - def assign(self, arg1: Velocity, other: Velocity) -> Velocity: - """ - - assign( (Velocity)arg1, (Velocity)other) -> Velocity : - - C++ signature : - ad::rss::world::Velocity {lvalue} assign(ad::rss::world::Velocity {lvalue},ad::rss::world::Velocity) - """ - ... +class Velocity(ad._Assignable): @property def speedLatMax(self) -> ad.physics.Speed: ... @@ -601,17 +376,7 @@ class Velocity: @property def speedLonMin(self) -> ad.physics.Speed: ... -class WorldModel: - def assign(self, arg1: WorldModel, other: WorldModel) -> WorldModel: - """ - - assign( (WorldModel)arg1, (WorldModel)other) -> WorldModel : - - C++ signature : - ad::rss::world::WorldModel {lvalue} assign(ad::rss::world::WorldModel {lvalue},ad::rss::world::WorldModel) - """ - ... - +class WorldModel(ad._Assignable): @property def defaultEgoVehicleRssDynamics(self) -> RssDynamics: ... @@ -620,3 +385,108 @@ class WorldModel: @property def timeIndex(self) -> int: ... + +@overload +def to_string(value: (OccupiedRegion | OccupiedRegionVector | ObjectIdVector | LongitudinalRssAccelerationValues + | Velocity | LaneDrivingDirection | LaneSegment | LaneSegmentType | RoadSegment + | LateralRssAccelerationValues | UnstructuredSettings | RssDynamics | ObjectState | ObjectType + | Object | RoadArea | Scene | SceneVector | WorldModel)) -> str: + """ + to_string( (OccupiedRegion)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::OccupiedRegion) + + to_string( (OccupiedRegionVector)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(std::vector >) + + to_string( (ObjectIdVector)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(std::vector >) + + to_string( (LongitudinalRssAccelerationValues)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::LongitudinalRssAccelerationValues) + + to_string( (Velocity)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::Velocity) + + to_string( (LaneDrivingDirection)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::LaneDrivingDirection) + + to_string( (LaneSegmentType)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::LaneSegmentType) + + to_string( (LaneSegment)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::LaneSegment) + + to_string( (RoadSegment)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(std::vector >) + + to_string( (LateralRssAccelerationValues)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::LateralRssAccelerationValues) + + to_string( (UnstructuredSettings)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::UnstructuredSettings) + + to_string( (RssDynamics)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::RssDynamics) + + to_string( (ObjectState)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::ObjectState) + + to_string( (ObjectType)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::ObjectType) + + to_string( (Object)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::Object) + + to_string( (RoadArea)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(std::vector >, std::allocator > > >) + + to_string( (Scene)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::Scene) + + to_string( (SceneVector)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(std::vector >) + + to_string( (WorldModel)value) -> str : + + C++ signature : + std::__cxx11::basic_string, std::allocator > to_string(ad::rss::world::WorldModel) + """ +@overload +def to_string(ad) -> str: + ...