Skip to content

Record 3D image in bag file - several minutes period #3671

Description

@SamConti
  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model D435
Operating System & Version Ubuntu 16
Kernel Version (Linux Only) 4.4.38
Platform Raspberry Pi
Language python

Issue Description

Hello,

I would like to take a 3D image every 5 minutes and store it in a bag file but I don't know how to do this.
The frame format have to be 1280x720 and Z16 format.

At this point I'm able create the basic :
import pyrealsense2 as rs
pipelne = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 6)
pipeline.start(config)

I think I configure with a frame rate of 6 fps...maybe can I set to 1fps and save an image every 300 images ?
About place the image in bag file, I don't know how to do this...

Thanks,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions