From 9bb1e52581a60ac6d3bca9af41036330bd50c315 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 29 Jul 2024 18:51:27 +0200 Subject: [PATCH] Missing default value --- Docs/python_api.md | 2 +- PythonAPI/docs/client.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Docs/python_api.md b/Docs/python_api.md index b8c231fe3..5a411a2f0 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -545,7 +545,7 @@ Reload the current world, note that a new world is created with default settings - `reset_settings` (_bool_) - Option to reset the episode setting to default values, set to false to keep the current settings. This is useful to keep sync mode when changing map and to keep deterministic scenarios. - **Return:** _[carla.World](#carla.World)_ - **Raises:** RuntimeError when corresponding. -- **replay_file**(**self**, **name**, **start**, **duration**, **follow_id**, **replay_sensors**) +- **replay_file**(**self**, **name**, **start**, **duration**, **follow_id**, **replay_sensors**=False) Load a new world with default settings using `map_name` map. All actors present in the current world will be destroyed, __but__ traffic manager instances will stay alive. - **Parameters:** - `name` (_str_) - Name of the file containing the information of the simulation. diff --git a/PythonAPI/docs/client.yml b/PythonAPI/docs/client.yml index e8a811162..4b15bb7db 100644 --- a/PythonAPI/docs/client.yml +++ b/PythonAPI/docs/client.yml @@ -169,6 +169,7 @@ ID of the actor to follow. If this is 0 then camera is disabled. - param_name: replay_sensors type: bool + default: false doc: > Flag to enable or disable the spawn of sensors during playback. doc: >