<< return to Pixycam.com

Serial protocol question

The Serial Protocol document states that “The objects in each frame are sorted by size, with the largest objects sent first.”

But if I have defined 3 color signatures when I use the UART interface, the data comes as follows:
2 sync words = start of frame
The the first object blocks are from signature 1, regardless of their size in relation to the other signatures.

If there are more than one object having signature 1 color, those are sent in order of size of objects of that signature. For example, if an object of signature 3 is the largest size, it is not sent until all of the signature 1 and signature 2 objects are sent. This seems to be contrary to what the Serial Protocol document says. Is that what was intended?

Thanks
Tom

Hi Tom,

I believe this is the intended behavior, although it is not clear in the documentation. We will confirm and update.

Scott