- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need some help to better understand the "rs2::pipeline.wait_for_frames" that produces/returns a "rs2::frameset" class. The following questions pop into my head:
1) When calling the "rs2::pipeline.wait_for_frames" method, we get one (1) frameset that consists of the last depth and color image from the sensor, not a series/multiple of framesets, each containing a depth and color image. Right?
2) If my statement in 1) above is correct, then why is the frameset class an iterator class, what do we iterate over?
Thanks,
Mo
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MoA,
We have forwarded your question to the engineering team. We will update this thread with a response when we receive it.
Regards,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MoA,
Each camera can output different frames types from its sensors, i.e. color, depth, IR, etc.. The purpose of the frameset class is to hold the multiple types of frames (from one instance in time) that a device generates. The iterator allows you to hold all these frames and navigate between them.
You can learn more about Frame Management from this doc: https://github.com/IntelRealSense/librealsense/blob/165ae36b350ca950e4180dd6ca03ca6347bc6367/doc/frame_lifetime.md.
Does this help?
Regards,
Jesus G.
Intel Customer Support
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page