IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.6k stars 4.83k forks source link

Depth Frame not Showing all Metadata Options #4128

Closed derens99 closed 5 years ago

derens99 commented 5 years ago

Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.<?>.<?> }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

Camera Model: 2 D435's Firmware Version: 05.10.13.00 OS: Ubuntu 18.04 Platform : PC SDK: 2.0 Language: C++ Segment: Depth and RGB Capture/Recording

Hi,

I am trying to get all the metadata from a depth frame, and in the docs it says there is supposed to be these listed in the output:

FRAME_COUNTER FRAME_TIMESTAMP SENSOR_TIMESTAMP ACTUAL_EXPOSURE GAIN_LEVEL AUTO_EXPOSURE TIME_OF_ARRIVAL BACKEND_TIMESTAMP ACTUAL_FPS

But, when I test my code and tets rs-save-to-disk, the only metadata values I am getting back from the camera are: FRAME_TIMESTAMP TIME_OF_ARRIVAL BACKEND_TIMESTAMP ACTUAL FPS

I at least need the Sensor Timestamp in order to check for my hardware trigger I am trying to implement in my cameras.

Thanks

dorodnic commented 5 years ago

This implies not all kernel patches have been applied. Try installing librealsense2-dkms as described here: https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md

derens99 commented 5 years ago

Hi. Yes, you're right. I tried it on my Ubuntu 16.04 version, and it dumped out all the metadata values instead of 4. Thanks.