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

Performance drops when saving data from segmentation camera sensor #158

Open
adlarkin opened this issue Sep 22, 2021 · 0 comments
Open

Performance drops when saving data from segmentation camera sensor #158

adlarkin opened this issue Sep 22, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed performance Runtime performance

Comments

@adlarkin
Copy link
Contributor

Environment

Description

When using the segmentation camera sensor in #133 with the example world in gazebosim/gz-sim#853 (segmentation_camera.sdf), simulation performance noticeably decreases if I save segmentation data. I see an RTF of about 60% when saving images, and an RTF of about 97% without saving images.

Steps to reproduce

  1. Build a workspace with Segmentation Sensor #133 and Label Component & System gz-sim#853
  2. run ign gazebo segmentation_camera.sdf, then press the "play" button to start simulation. The default sdf file saves segmentation data. Take note of the RTF
  3. comment out the following lines from the SDF to skip saving data, and then run simulation again. You should see higher RTF:

Output

@adlarkin adlarkin added the bug Something isn't working label Sep 22, 2021
@chapulina chapulina added the performance Runtime performance label Sep 22, 2021
@chapulina chapulina added the help wanted Extra attention is needed label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed performance Runtime performance
Projects
None yet
Development

No branches or pull requests

2 participants