Skip to content

Performance drops when saving data from segmentation camera sensor #158

@adlarkin

Description

@adlarkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededperformanceRuntime performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions