Pull request #433
openStreaming multiple videos of the same type
Description
You need to use the option index of ::realsense::stream_video, this way you will retrieve different channels of the same type, e.g. INFRA.
Example
::realsense::stream_video {type ::realsense::STREAM_INFRARED index 1 width 848 height 480 format ::or::sensor::pixmap::ANY fps 0 name infra1}
::realsense::stream_video {type ::realsense::STREAM_INFRARED index 2 width 848 height 480 format ::or::sensor::pixmap::ANY fps 0 name infra2}
The name of ::realsense::stream_video needs to match the slot option of ::realsense::publish, while bank can be chosen freely and is reflected in the name of the output port. index of ::realsense::publish can also be chosen freely and determines the index in the frameset of the output port.
Example
::realsense::publish {slot infra1 bank infra1 index 0}
::realsense::publish {slot infra2 bank infra2 index 0}
Updated by Anthony Mallet about 23 hours ago
- Status changed from New to Feedback
Thanks for your contribution :)
I commited improvements using your inputs.
Please tell me if that's better, or if you see any required further
improvements!
Updated by Anthony Mallet about 23 hours ago
See 'associated revisions' tab for related commits : camera-genom3:b48f81d6 and realsense-genom3:bb978c5e