2 Replies Latest reply on Jun 6, 2018 3:12 PM by Intel Corporation

    Need clarification regarding the frameset class

    MoA

      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