Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add video recorder tutorial #438

Merged
merged 6 commits into from
Nov 17, 2020
Merged

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Nov 3, 2020

Add video recorder tutorial with description of the sim time and lock step features added in pull request #414 and #419

Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some minor comments.

tutorials/video_recorder.md Outdated Show resolved Hide resolved
tutorials/video_recorder.md Outdated Show resolved Hide resolved
tutorials/video_recorder.md Outdated Show resolved Hide resolved
Signed-off-by: Ian Chen <[email protected]>
## Using the video recorder plugin

Ignition Gazebo offers a video recorder tool for recording videos from the 3D
Scene. The tool is available as a GUI plugin. To open this plugin, first launch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Scene. The tool is available as a GUI plugin. To open this plugin, first launch
scene. The recorder tool is available as a GUI plugin. To open this plugin, first launch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a flashing video recorder icon. At anytime that you wish to stop recording,
click on the flashing icon and select `Stop`. A file dialog window should pop up
and let you select the path to save the recorded video in. Save the file and
make sure to also include the file extension in the filename.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually specifying the file extension is not required, right? I think John fixed this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep just verified that it works without specifying the extension. bdee780

make sure to also include the file extension in the filename.

Playback the video you just saved and you should notice that the resolution
of the video is based on the size of your 3D Scene window. So if you wish
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
of the video is based on the size of your 3D Scene window. So if you wish
of the video is based on the size of your 3D scene window. So if you wish

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`video_record_dbl_pendulum.sdf` demo world, the GUI configurations are embedded
in the world SDF file so you will need to download a copy of the
[sdf file](https://raw.githubusercontent.com/ignitionrobotics/ign-gazebo/ign-gazebo3/examples/worlds/video_record_dbl_pendulum.sdf).
and modify the GUI configuration in that file. On the other hand, if launched
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
and modify the GUI configuration in that file. On the other hand, if launched
and modify the GUI configuration in that file. On the other hand, if you launched

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iche033 iche033 merged commit e69fd35 into record_lockstep Nov 17, 2020
@iche033 iche033 deleted the video_recorder_tutorial branch November 17, 2020 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants