Follow line + colour


#1

I want to do a line train. The train follow the black line but if the colour sensor detect red colour the train stop for 15 seg.

This in theory go well, but there a lot of false positives. To change colour dont work.

I want to correct this mistake in the code, for example if in 3 segundes detect 3 positives run the program. Any idea?


#2

Try using raw RGB values for the color sensor? I don’t have much experience with it, but I think it may work…


#3

Hi Jaci_24,
Maybe you can save the program as English version as many users cannot read Spanish.
Also take a video of your mBot performance when upload this codes.


#4

Hi Jaci_24,
Maybe you can save the program as English version as many users cannot read Spanish.
Also take a video of your mBot performance when upload this codes.


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.