@@ -65,47 +65,45 @@ class RssActorConstellationResult:
65
65
@property
66
66
def rss_calculation_mode (self ) -> ad .rss .map .RssMode :
67
67
"""The calculation mode to be applied with the actor."""
68
- ...
68
+
69
69
@rss_calculation_mode .setter
70
70
def rss_calculation_mode (self , value : ad .rss .map .RssMode ) -> None :
71
71
"""Setter for rss_calculation_mode property."""
72
- ...
72
+
73
73
74
74
@property
75
75
def restrict_speed_limit_mode (self ) -> ad .rss .map .RssSceneCreation .RestrictSpeedLimitMode :
76
76
"""The mode for restricting speed limit."""
77
- ...
77
+
78
78
@restrict_speed_limit_mode .setter
79
79
def restrict_speed_limit_mode (self , value : ad .rss .map .RssSceneCreation .RestrictSpeedLimitMode ) -> None :
80
80
"""Setter for restrict_speed_limit_mode property."""
81
- ...
81
+
82
82
83
83
@property
84
- def ego_vehicle_dynamics (self ) -> ad .rss .world .RssDynamics :
85
- """The RSS dynamics to be applied for the ego vehicle."""
86
- ...
84
+ def ego_vehicle_dynamics (self ) -> ad .rss .world .RssDynamics : ...
85
+
87
86
@ego_vehicle_dynamics .setter
88
87
def ego_vehicle_dynamics (self , value : ad .rss .world .RssDynamics ) -> None :
89
88
"""Setter for ego_vehicle_dynamics property."""
90
- ...
91
89
92
90
@property
93
91
def actor_object_type (self ) -> ad .rss .world .ObjectType :
94
92
"""The RSS object type to be used for the actor."""
95
- ...
93
+
96
94
@actor_object_type .setter
97
95
def actor_object_type (self , value : ad .rss .world .ObjectType ) -> None :
98
96
"""Setter for actor_object_type property."""
99
- ...
97
+
100
98
101
99
@property
102
100
def actor_dynamics (self ) -> ad .rss .world .RssDynamics :
103
101
"""The RSS dynamics to be applied for the actor."""
104
- ...
102
+
105
103
@actor_dynamics .setter
106
104
def actor_dynamics (self , value : ad .rss .world .RssDynamics ) -> None :
107
105
"""Setter for actor_dynamics property."""
108
- ...
106
+
109
107
# endregion
110
108
111
109
# region Dunder Methods
@@ -265,12 +263,11 @@ class RssRestrictor:
265
263
266
264
Returns:
267
265
VehicleControl: The restricted vehicle control.
268
-
269
266
"""
270
267
# endregion
271
268
272
269
# region Setters
273
- def set_log_level (self , log_level : RssLogLevel ):
270
+ def set_log_level (self , log_level : RssLogLevel ) -> None :
274
271
"""Sets the log level."""
275
272
# endregion
276
273
@@ -332,23 +329,23 @@ class RssSensor(Sensor):
332
329
"""The current list of targets considered to route the vehicle. If no routing targets are defined, a route is generated at random."""
333
330
334
331
# region Methods
335
- def append_routing_target (self , routing_target : Transform ):
332
+ def append_routing_target (self , routing_target : Transform ) -> None :
336
333
"""
337
334
Appends a new target position to the current route of the vehicle.
338
335
339
336
Args:
340
337
routing_target (Transform): New target point for the route. Choose these after the intersections to force the route to take the desired turn.
341
338
"""
342
339
343
- def drop_route (self ):
340
+ def drop_route (self ) -> None :
344
341
"""
345
342
Discards the current route.
346
343
347
344
If there are targets remaining in `routing_targets`, creates a new route using those.
348
345
Otherwise, a new route is created at random.
349
346
"""
350
347
351
- def register_actor_constellation_callback (self , callback : Callable [[RssActorConstellationData ], RssActorConstellationResult ]):
348
+ def register_actor_constellation_callback (self , callback : Callable [[RssActorConstellationData ], RssActorConstellationResult ]) -> None :
352
349
"""
353
350
Register a callback to customize a `carla.RssActorConstellationResult`.
354
351
By this callback the settings of RSS parameters are done per actor constellation
@@ -358,12 +355,12 @@ class RssSensor(Sensor):
358
355
callback (Callable): The function to be called whenever a RSS situation is about to be calculated.
359
356
"""
360
357
361
- def reset_routing_targets (self ):
358
+ def reset_routing_targets (self ) -> None :
362
359
"""Erases the targets that have been appended to the route."""
363
360
364
- def set_log_level (self , log_level : RssLogLevel | int ):
361
+ def set_log_level (self , log_level : RssLogLevel | int ) -> None :
365
362
"""Sets the log level."""
366
- def set_map_log_level (self , log_level : RssLogLevel | int ):
363
+ def set_map_log_level (self , log_level : RssLogLevel | int ) -> None :
367
364
"""Sets the map log level."""
368
365
# endregion
369
366
0 commit comments