Skip to content

Can SVO2 recording and other tasks obtain image data at the same time? #696

@byhang

Description

@byhang

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal

Hi, I want to ensure that other programs using zed2i camera data are not affected during the svo2 recording process.

Use-Case

zed_cam.enable_recording(recordingParameters)
while True:
    if zed_cam.grab(runtime) == sl.ERROR_CODE.SUCCESS :  # recording
        zed_cam.retrieve_image(left_image, sl.VIEW.LEFT)           # get image data for orther task
        zed_cam.retrieve_image(right_image, sl.VIEW.RIGHT)
        zed_cam.retrieve_measure(depth_map, sl.MEASURE.DEPTH)
        # But I got "**Segmentation fault (core dumped)**"

Anything else?

Is there any way I can achieve both of these tasks at the same time?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions