scenario_runner icon indicating copy to clipboard operation
scenario_runner copied to clipboard

`spawn_point` for CarlaDataProvider.request_new_actor should be optional when using `random_location`.

Open Daraan opened this issue 5 months ago • 0 comments

The request_new_actor of the CarlaDataProvider has arguments for spawn_point and for random_location.

spawn_point is a required argument, however it is unused if random_location is True

This PR makes spawn_point an optional argument and ensures that at least one of these two is provided and warns if both are provided. Behavior of current code will not change.


This change is Reviewable

Daraan avatar Sep 11 '24 08:09 Daraan