<< return to Pixycam.com

Linefollowing + color code

Can I use line following and color code detection in same time? There are green squares in the corner of an intersection which indicates where i need to turn. I mean if there is a T- intersection and there is a green square in the right corner the robot needs to turn right. Is it possible to implement?

1 Like

Hello,
Unfortunately, the color code detection is part of the color connected components program. You could try switching programs between line tracking and ccc using the changeProg function.

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

Edward