Skip to content

Commit 8856e72

Browse files
authored
document deprecation of playback <path> SDF param (#425)
Signed-off-by: Mabel Zhang <[email protected]>
1 parent 02739af commit 8856e72

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

Migration.md

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Gazebo 2+ for playback. [BitBucket pull request
3232
#257](https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-gazebo/pull-requests/257)
3333
added an SDF message to the start of log files.
3434

35+
* Log playback using `<path>` SDF parameter is deprecated. Use `--playback`
36+
command line argument instead.
37+
3538
## Ignition Gazebo 1.0.2 to 1.1.0
3639

3740
* All headers in `gazebo/network` are no longer installed.

examples/worlds/log_playback.sdf

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<!--
33
Log playback demo.
44
5+
This file will be removed in Ignition Dome. Use the command line argument
6+
for playback instead.
7+
58
Running this world will playback log files located at /tmp/log.
69
710
You can record such a log by running one of the `log_record*.sdf` files,
@@ -15,6 +18,8 @@
1518
<plugin
1619
filename='libignition-gazebo-log-system.so'
1720
name='ignition::gazebo::systems::LogPlayback'>
21+
<!-- Deprecation warning: This parameter will be removed in Ignition Dome.
22+
Use the command line argument for playback instead. -->
1823
<path>/tmp/log</path>
1924
</plugin>
2025
</world>

tutorials/log.md

+3
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ directory specified to record:
114114

115115
### From plugin in SDF
116116

117+
This feature is deprecated and will be removed in Ignition Dome.
118+
Use the command line argument instead.
119+
117120
Alternatively, playback can be specified in an SDF file. See example file
118121
`examples/worlds/log_playback.sdf`:
119122

0 commit comments

Comments
 (0)