<< return to Pixycam.com

Separation of 3way and 4way intersection

For the line following robot we need to separate 3way intersection and 4 way intersections. How can we do that using arduino and pixy 2 cam

Hello,
Here is the line tracking API for Arduino:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_api

If you use the call getMainFeatures(), it will report any intersections that it sees. The m_n member of the pixy.Intersections variable contains the number of branches in the intersection.

The line_zumo_demo code is a good example to look at.

Edward