Pixy2 Quick Links
Basics
Connecting Pixy2 to…
Pixy2 Modes / Programs
Software and Support
Basics
Connecting Pixy2 to…
Pixy2 Modes / Programs
Software and Support
See Color Connected Components API for more details on sigmap, maxblocks, tracking index, etc.
| Bit | Description | Value |
|---|---|---|
| 0 - 1 | Sync | 174 193 |
| 2 | Type of packet | 32 |
| 3 | Length of payload | 2 |
| 4 | Sigmap - indicate which signatures to receive data from | 0 (none) - 255 (all) |
| 5 | Maximum blocks to return | 0 (none) - 255 (all blocks) |
| Byte | Description | Value |
|---|---|---|
| 0 - 1 | Sync | 175 193 |
| 2 | Type of packet | 33 |
| 3 | Length of payload | 14 |
| 4 - 5 | Checksum | |
| 6 - 7 | Signature / Color code number | 0 - 255 |
| 7 - 8 | X (center) of block in pixels | 0 - 315 |
| 9 - 10 | Y (center) of block in pixels | 0 - 207 |
| 10 - 11 | Width of block in pixels | 0 - 316 |
| 12 - 13 | Height of block in pixels | 0 - 208 |
| 14 - 15 | Angle of color-code in degrees | -180 - 180 (0 if not a color code) |
| 16 | Tracking index of block (see API for more info) | 0 - 255 |
| 17 | Age - number of frames this block has been tracked | 0 - 255 (stops incrementing at 255) |