Empty SGrabberProxy list
Summary
When no configuration (include or exclude) is set in SGrabberProxy the grabber list is empty.
Steps to reproduce
Example in ARCalibration.
- Compile Only ARCalibration form a clean build repository.
- Do a intrinsic calibration -> grabber list is not empty.
- Do an extrinsic calibration -> grabber list is empty.
What is the current bug behavior?
The list is not empty when configuring SGrabberProxy
like this (intrinsic calibration activity):
<service uid="VideoGrabber" type="::videoTools::SGrabberProxy">
<in key="camera" uid="${camera}" />
<inout key="frameTL" uid="${timeLine}" />
<config>
<selection mode="exclude" />
<addSelection service="::videoOpenCV::SFrameGrabber" config="FrameByFrameOpenCVGrabberConfig" />
</config>
</service>
But doesn't work when the <selection mode="..." />
is not set (extrinsic calibration activity):
<service uid="VideoGrabber1" type="::videoTools::SGrabberProxy">
<in key="camera" uid="${camera1}" />
<inout key="frameTL" uid="Frame1TL" />
<config>
<gui title="Please select the first camera grabber" />
</config>
</service>
What is the expected correct behavior?
the grabber list should not be empty...
Possible fixes
A quick workarroud is to add the <selection mode=""/>
tag in extrinsic calibration, but it will only fix ARCalibration.