Hi everyone !
The Tutorial has indeed a mistake.
Is totally irrelevant. This line should not be present... I added it to test the dimension verification in the Algorithm, and forgot to remove it when writing the tutorial on the website. My fault, sorry.
If I leave dimensions to 3 then the check above prevents the algorithm from doing any real work.
If I set dimensions to 2 then check is OK, but it terminates with the above error.
Indeed, happens to me also.
When you re-set the dimension count into a matrix, it gets re-initialized (buffer deleted, resized, etc.). Simply delete the line:
l_rDynamicBoxContext.markOutputAsReadyToSend(0, l_rDynamicBoxContext.getInputChunkStartTime(0, i),
And it should be ok.
thank you for bringing this to our attention !
If you find another mistake in the tutorials or documentation, please tell us
Follow us on twitter >> openvibebci
Checkout my (old) blog for some OpenViBE tips & tricks : here !