Skip to content

Update videoRealSense to use realsense api v2

Marc SCHWEITZER requested to merge 213-update-realsense-grabber into dev

What does this MR do?

Refactors videoRealSense bundle to use the version 2 of the realsense api.

This is a basic implementation of a Grabber for D400 cameras:

  • parameters such as resolution, fps, ... are set in code
  • the camera chosen with the videoQt selector is not taken into account by the grabber (Qt doesn't recognize correctly realsense device)
  • if multiple realsense cameras are plugged-in the grabber will pop a selector dialog
  • depth pointcloud is not outputted for now

Closes #213 (closed)

How to test it?

  1. Compile ExRGBDStream
  2. Select any camera in the selector (it will not affect realsense grabber)
  3. Play
  4. Select RealSense Camera grabber (if several camera is plugged in a new selector dialog will be shown)
  5. You should be able to see the depth stream and the color stream

Some results

realsense

multi_realsense

Additional tests to run

  • Test on windows
  • Test on macos
  • Test on linux
Edited by Julien WAECHTER

Merge request reports