Items with no label
3340 Discussions

Two RealSense API questions

OMora2
Beginner
1,371 Views

Hi,

  1. We are using RealSense SDK 2.17.0 on both Windows and Ubuntu platforms, and we see different that the supported rs2_frame_metadata_value on the two platforms are not identical, even when using the same sensor and firmware. Namely, RS2_FRAME_METADATA_FRAME_COUNTER and RS2_FRAME_METADATA_SENSOR_TIMESTAMP are supported on Windows and not supported on Linux. Is this a bug, limitation or are we doing something wrong? Will this gap be closed in the near time?
  2. When calling rs2::frame::get_data(), a void* buffer is returned. Who is responsible for de-allocating this buffer, and is it 'valid' as long as the rs2::frame object is valid, or is it being re-used at some time for a new frame?

 

Thanks in advance!

0 Kudos
1 Solution
MartyG
Honored Contributor III
571 Views

The metadata documentation can assist with your first question regarding Linux / Windows metadata, in a section headed '​OS support'.

https://github.com/IntelRealSense/librealsense/blob/master/doc/frame_metadata.md#os-support

 

View solution in original post

0 Kudos
1 Reply
MartyG
Honored Contributor III
572 Views

The metadata documentation can assist with your first question regarding Linux / Windows metadata, in a section headed '​OS support'.

https://github.com/IntelRealSense/librealsense/blob/master/doc/frame_metadata.md#os-support

 

0 Kudos
Reply