(SFrameMatrixSynchronizer): add new signals to be consistent with SMatrixTLSynchronizer
requested to merge 315-sframematrixsynchronizer-add-new-signals-to-be-consistent-with-smatrixtlsynchronizer into dev
What does this MR do?
Add slots to be compatible with the baviour of SMatrixTLSynchronizer
in order to connect with a SStatus
service.
The ExStereoARCV
example is updated to show its usage.
The configuration of SMatrixTLSynchronizer
is updated to take into account the wish to send the status of some matrices in timelines in SMatrixSynchronizer
.
Now, it's possible to add the tag sendStatus
in a <key uid="matrixX" sendStatus="true|false"/>
.
In this way, if you have multiple timelines and multiple matrices, you can choose which one you want to send its status like:
<inout group="matrices0">
<key uid="matrix0" sendStatus="true"/>
<key uid="matrix1" /> <!-- sendStatus is set to false by default -->
<key uid="matrix2" />
</inout>
<inout group="matrices1">
<key uid="matrix3" sendStatus="true"/>
<key uid="matrix4" />
</inout>
How to test it?
- Build
ExStereoARCV
- Load the calibration, left and right view and play the stream in the given data
- See that the
SStatus
on the bottom view change when the pose matrix is present (i.e. extracted from the TL by theSFrameMatrixSynchronizer
)
Data
Some results
Associated Issues/Merge Requests
- Issues
- Closes #315 (closed)