Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
T_pixy2Vector Struct Reference
Structured type that match pixy2 vector definition - used in Line frame (type 48/49) - message payload. More...
#include <pixy2.h>
Detailed Description
Structured type that match pixy2 vector definition - used in Line frame (type 48/49) - message payload.
- Parameters:
-
pixX0 (Byte) : 8 bits X (horizontal, relative to the left of image) position of the tail of the vector (number between 0 and 78) pixY0 (Byte) : 8 bits Y (vertical, relative to the top of image) position of the tail of the vector (number between 0 and 51) pixX1 (Byte) : 8 bits X (horizontal, relative to the left of image) position of the head of the vector (number between 0 and 78) pixY1 (Byte) : 8 bits Y (vertical, relative to the top of image) position of the head of the vector (number between 0 and 51) pixIndex (Byte) : 8 bits tracking identification of the vector (set by pixy2 to ease a vector identification in case of multiple vector in a line following program) pixFlags (Byte) : 8 bits flag containing possible usefull informations (see notes)
- Note:
- This structure is a feature of Line API, packed as a feature in a Line Frame, documented here : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:protocol_reference
- More info can be found here : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_api
- or here : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_tracking
Generated on Wed Jul 13 2022 11:28:36 by
1.7.2