Skip to content

Commit db69c0c

Browse files
committed
Missing default value
1 parent d0a4a27 commit db69c0c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Docs/python_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ Reload the current world, note that a new world is created with default settings
545545
- `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.
546546
- **Return:** _[carla.World](#carla.World)_
547547
- **Raises:** RuntimeError when corresponding.
548-
- <a name="carla.Client.replay_file"></a>**<font color="#7fb800">replay_file</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**name**</font>, <font color="#00a6ed">**start**</font>, <font color="#00a6ed">**duration**</font>, <font color="#00a6ed">**follow_id**</font>, <font color="#00a6ed">**replay_sensors**</font>)
548+
- <a name="carla.Client.replay_file"></a>**<font color="#7fb800">replay_file</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**name**</font>, <font color="#00a6ed">**start**</font>, <font color="#00a6ed">**duration**</font>, <font color="#00a6ed">**follow_id**</font>, <font color="#00a6ed">**replay_sensors**=False</font>)
549549
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.
550550
- **Parameters:**
551551
- `name` (_str_) - Name of the file containing the information of the simulation.

PythonAPI/docs/client.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
ID of the actor to follow. If this is 0 then camera is disabled.
170170
- param_name: replay_sensors
171171
type: bool
172+
default: false
172173
doc: >
173174
Flag to enable or disable the spawn of sensors during playback.
174175
doc: >

0 commit comments

Comments
 (0)