NXPCup_Cachan / Mbed 2 deprecated NXPCup

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

T_pixy2Bloc Struct Reference

T_pixy2Bloc Struct Reference

Structured type that match pixy2 blocks frame (type = 32/33) message payload. More...

#include <PIXY2.h>


Detailed Description

Structured type that match pixy2 blocks frame (type = 32/33) message payload.

Parameters:
pixSignature(Word) : 16 bits signature or color code of the color bloc (signature are between 1 and 7, color code are composed of signature of 2, up to 5, tags so over 10)
pixX(Word) : 16 bits X (horizontal axis) position of color bloc center, relative to the left of the image (in pixels, between 0 and 315)
pixY(Word) : 16 bits Y (vertical axis) position of color bloc center, relative to the top of the image (in pixels, between 0 and 207)
pixWidth(Word) : 16 bits width (in pixels, between 0 and 316) of color bloc
pixHeight(Word) : 16 bits height (in pixels, between 0 and 208) of color bloc
pixAngle(sWord) : 16 bits angle (in degree, between -180.0 and +180.0) of a color code bloc
pixIndex(Byte) : 8 bits tracking identification of the color code bloc (set by pixy2 to ease a bloc position following program)
pixAge(Byte) : 8 bits age (in number of frame) of a bloc (doesn't wrap around).
Note:
More info can be found here : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:ccc_api
or here : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:color_connected_components

Definition at line 255 of file PIXY2.h.