<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:line_quickstart

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:line_quickstart [2018/07/03 19:27]
pixycam
wiki:v2:line_quickstart [2018/07/03 19:30]
pixycam
Line 76: Line 76:
  
  
-In delayed turn mode, Pixy2 will wait for the call to [[wiki:​v2:​line_api|setNextTurn()]] to choose the branch that matches the angle the closest.  ​+In delayed turn mode, Pixy2 will wait for your controller ​to call [[wiki:​v2:​line_api|setNextTurn()]] ​which will instruct Pixy2 to choose the branch ​of the intersection ​that matches the angle the closest.  ​
  
  
Line 100: Line 100:
 //Note: if you're using Arduino Nano, the ribbon cable faces the interior of the Nano, it doesn'​t exit off the side like on the Uno (pictured).\\ //Note: if you're using Arduino Nano, the ribbon cable faces the interior of the Nano, it doesn'​t exit off the side like on the Uno (pictured).\\
 If the cable is plugged in backwards, you won't be able to upload to the Nano, or have serial communication with it.// If the cable is plugged in backwards, you won't be able to upload to the Nano, or have serial communication with it.//
 +
  
 {{wiki:​img:​ce5166e65a245cce097741efef288fe09b08da8a.jpg?​400}}\\ {{wiki:​img:​ce5166e65a245cce097741efef288fe09b08da8a.jpg?​400}}\\
 {{wiki:​v2:​img_5257_result.jpg?​400}} {{wiki:​v2:​img_5257_result.jpg?​400}}
 +
  
 Next, download the latest Arduino library "​arduino\_pixy2-x.y.z.zip"​ [[https://​pixycam.com/​downloads-pixy2/​|here]]. Bring up the Arduino IDE and import the Pixy library by selecting **Sketch➜Include Library➜Add .ZIP Library...** (or if you're using an older version **Sketch➜Import Library**) in the Arduino IDE, and then browsing to the Arduino zip file that you just downloaded. Next, download the latest Arduino library "​arduino\_pixy2-x.y.z.zip"​ [[https://​pixycam.com/​downloads-pixy2/​|here]]. Bring up the Arduino IDE and import the Pixy library by selecting **Sketch➜Include Library➜Add .ZIP Library...** (or if you're using an older version **Sketch➜Import Library**) in the Arduino IDE, and then browsing to the Arduino zip file that you just downloaded.
Line 115: Line 117:
  
 In particular, when you hold a barcode, line or intersection,​ you can see the numbers that Pixy2 returns. ​ Bear in mind that the numbers Pixy2 returns are based on the coordinate system below. ​ In particular, when you hold a barcode, line or intersection,​ you can see the numbers that Pixy2 returns. ​ Bear in mind that the numbers Pixy2 returns are based on the coordinate system below. ​
 +
  
 [{{wiki:​v2:​image_366.png?​500|Line tracking image coordinates from Pixy2'​s perspective.}}]  ​ [{{wiki:​v2:​image_366.png?​500|Line tracking image coordinates from Pixy2'​s perspective.}}]  ​
 +
  
 === The line tracking API === === The line tracking API ===
wiki/v2/line_quickstart.txt · Last modified: 2019/01/30 01:50 by pixycam