scenario_runner
scenario_runner copied to clipboard
`spawn_point` for CarlaDataProvider.request_new_actor should be optional when using `random_location`.
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.