VEXIQ Line Tracker with Color Sensor

I’m going to attempt to create a line tracker for my students. I’m using VEXcode IQ Blocks for programming. I have a few questions:

  • Is it possible to set the color sensor to be in grayscale mode in VEXcode IQ Blocks? It appears that you can do this in RobotC, but I can’t find it in VEXcode IQ Blocks.

  • Below is program I created. Are there any other folks who have done this? I’m curious to learn other ways to write this same program.

Screenshot (6)

Hmmm. My guess is that you kind of control this yourself using a combination of the Set Colour Light % block under looks and the the Brightness is % block under sensing because you are effectively looking for the amount of reflected light - black will reflect much less.