<< return to Pixycam.com

Linefollowing + color code


#1

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?


#2

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