Optical
Bumper
Distance
Today's To Do's
6. Battle Royale!
Compete in the Battle Royale
5. Battle Bot Sensors
Add the Optical, Distance and Bumper sensors
Code the Bumper Sensor to react when hit by backing up
Code the Distance Sensor to go forward at an increased velocity when it sees an object (ramming speed!)
Code the Optical Sensor to Stop and back up and turn right if it sees RED!
Try putting them all in an if then loop that runs forever!
4. Loops
Watch this video on why we create loops in coding.
Open the Example Projects on Code IQ
UNIS Students can download the desktop version if you prefer using Manager
Apply the Emergency Stop challenge and create your own bumper car using the following code.
Next check out the Optical Sensor and try to track a line.
3. Coding Challenge
2. Code IQ
Check out Code IQ
UNIS Students can download the desktop version if you prefer using Manager
Watch the tutorials and set up your robots sensors and drive train
Pair and test your controller
- Setup
Check out the VEX Competition for this year
Pair up and grab your robot.
Speed build with sensors if needed
Explore code using VEX VR Tutorials and Playgrounds
Hero Bot
Swish
Swish
To help teams begin, build a Hero Bot. This bot can be used a starting point to later refine and enhance.
You can use this PDF or these 3D build instructions.