<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:pixy_lego_block

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
wiki:v2:pixy_lego_block [2019/01/29 23:20]
pixycam [Parameters]
wiki:v2:pixy_lego_block [2019/01/29 23:23]
pixycam
Line 99: Line 99:
 the image). ​ If no Vector is detected, the value will be -1.  Refer [[wiki:​v2:​line_tracking#​detecting-and-tracking-lines|here]] for a description of the Vector. the image). ​ If no Vector is detected, the value will be -1.  Refer [[wiki:​v2:​line_tracking#​detecting-and-tracking-lines|here]] for a description of the Vector.
   7. **Vector Reversed**: outputs true if the Vector is pointing down instead of up.  This usually indicates that your robot needs to reverse its direction in order to follow the Vector.   7. **Vector Reversed**: outputs true if the Vector is pointing down instead of up.  This usually indicates that your robot needs to reverse its direction in order to follow the Vector.
-  8. **Barcode**:​ outputs the numerical value of a detected barcode (0 through 15).  If no barcodes are detected, the value will be -1.  If more than one barcode is detected in the image, the value of the barcode closest to the bottom of the image will be returned. ​ Refer [[wiki:​v2:​line_tracking#​barcodes|here]] for examples of barcodes.+  8. **Barcode**:​ outputs the numerical value of a detected barcode (0 through 15).  If no barcodes are detected, the value will be -1.  If more than one barcode is detected in the image, the value of the barcode closest to the bottom of the image will be returned. ​ Refer [[wiki:​v2:​line_tracking#​barcodes|here]] for examples of barcodes, and [[https://​pixycam.com/​downloads-pixy2/​|here]] to download barcode images.
   9. **Intersection**:​ outputs the number branches in a detected intersection (3 through 6) -- note, a "​T"​ intersection is the minimum number of branches an intersection can have (3).  If no intersection is detected, the value will be -1.  Refer [[wiki:​v2:​line_tracking#​detecting-intersections-and-branching|here]] for examples of barcodes.   9. **Intersection**:​ outputs the number branches in a detected intersection (3 through 6) -- note, a "​T"​ intersection is the minimum number of branches an intersection can have (3).  If no intersection is detected, the value will be -1.  Refer [[wiki:​v2:​line_tracking#​detecting-intersections-and-branching|here]] for examples of barcodes.
  
wiki/v2/pixy_lego_block.txt ยท Last modified: 2020/04/30 22:25 by pixycam