how can i define a red color?
hi guys, i am working on a robot which is supposed to move and when sees a red bricket stops and turns to another way. i am using CMUcam. my questin is: how can i teach the robot to avoid red colors. i mean for example:
IF b>x THEN
FOR a=1 TO 30
PULSOUT 14, 1000
PULSOUT 15, 500
PAUSE 100
NEXT
ENDIF
where x is a minimum value of red color or something. basicly what is the number x?
IF b>x THEN
FOR a=1 TO 30
PULSOUT 14, 1000
PULSOUT 15, 500
PAUSE 100
NEXT
ENDIF
where x is a minimum value of red color or something. basicly what is the number x?
Comments
http://www.parallax.com/detail.asp?product_id=30051
There's also a video of a Boebot tracking a "pink" fluffball.