Skip to main content

Sensor Thresholds

Threshold values from sensors, including the VEX Infrared Line Trackers, may change depending on lighting conditions.

Line trackers

If your project is not running as intended, check the values being displayed from the Line Trackers to ensure that the threshold values in the code is appropriate.

Brain Screen Line Trackers.

These values may need to be adjusted more than once, depending on the lighting in the room, or the location of the Workcell.

Change sensor in wait until block.

Another option is to set the threshold values as variables. This will allow a user to change the value of the variable, and thus be changed in all other areas of the project.

Set the threshold values as variables.