For this challenge, use a Loop to program your robot to move a number of objects to the left, or the right, depending on it’s color. There are three colors:
Red or blue plants sorted to the left.
Green plants sorted to the right.
Note: You may improvise by using other sensors or moving sensors to an easier location on the robot.
Strawberry Plant Sorter Challenge
Challenge Details
Rules and Procedures:
Use four objects (rectangular or official VEX game parts) to represent the plants.
The objects must be placed in a straight line, with at least a 5-centimeter space between them.
The objects should be a random mix of “good” and “bad” plants and placed in a random order for each run.
Green plants are considered “good.”
All other color plants are considered “bad.”
The robot must correctly sort all plants in a run to complete the Challenge.
Strawberry Sorter Challenge
Hints:
Use an if-then-else conditional block to conduct individual inspections.
Use the Device Menu on the IQ Brain to see what the color sensor is reading. Remember, the color sensor is very sensitive to ambient light.
Program Upload: Strawberry Plant Sorter Challenge
Complete and upload your program for the Strawberry Plant Sorter Challenge.