Learn
Before you can compete in the Sense and Sweep Challenge, you first need to learn about the Distance Sensor and how it works, and how to use logic like a [Wait until] block or while not command in a VEXcode EXP project with your robot.
Distance Sensor
The Distance Sensor can be used to measure distance, detect objects, detect an object's relative size, and report object velocity.
Watch this video to learn about what the Distance Sensor is, how it works, and how you can use data from the Distance Sensor in a project to make your robot accomplish a task.
Watch this video to learn how to use data from the Distance Sensor in a VEXcode EXP Blocks project.
Watch this video to learn how to use data from the Distance Sensor in a VEXcode EXP Python project.
[Wait until] Block and while not Command
The [Wait until] block can be used in a VEXcode EXP Blocks project to make your robot make a decision based on sensor data. The same thing can be accomplished using a while not command in a VEXcode EXP Python project.
Watch this video to learn about how the [Wait until] block can be used in a project to make your robot make a decision.
Watch this video to learn about how the while command with a not condition can be used in a Python project to make your robot make a decision.
Check Your Understanding
Before moving on to the Practice section, ensure that you understand the concepts covered on this page by answering the questions in the document below in your engineering notebook.
Check Your Understanding (Blocks) questions >
Check Your Understanding (Python) questions >
Select Next > to practice detecting and moving a Buckyball with the BaseBot.