Update videoRealSense to use realsense api v2
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?
- Compile ExRGBDStream
- Select any camera in the selector (it will not affect realsense grabber)
- Play
- Select RealSense Camera grabber (if several camera is plugged in a new selector dialog will be shown)
- You should be able to see the depth stream and the color stream
Some results
Additional tests to run
-
Test on windows -
Test on macos -
Test on linux