Skip to main content
Teacher Portal

Turning Point VEX Robotics Competition Field with game elements and scoring areas in the starting positions for the beginning of the match. Along the back wall is a net with a series of flippable flags in front of it.
VRC 2018-2019 Turning Point Field

Robot Capabilities

The 2018 - 2019 VEX Robotics Competition game Turning Point required players to toggle flags among other game elements. There were nine flags total: three bottom flags that could be toggled by the robot, and the six high flags that could only be toggled by hitting them with competition ball game pieces. Competition teams needed to come up with a way to hit the higher flags using a ball launcher. If you can imagine, programming the robot to hit the flags using ball game pieces by measuring may not always be accurate. If the robot makes one wrong turn during the autonomous period, there is a possibility that none of the flags would be hit because the calculations would be off. Similarly, for the Driving Skills challenge, it may be hard for teams to manually line up the robot enough to launch the ball properly. Thus, skilled teams would program the robot using the Vision Sensor to detect flags and then align the robot properly in order to make accurate shots.

Extend Your Learning icon Extend Your Learning

To expand this activity, ask your students to design and outline a project that will have the robot move toward detected yellow objects that they could potentially use for this competition game!
Ask your students to do the following:

  • Open the Clawbot (Drivetrain, 2-motor, No Gyro) example project.

    Template project icon reads Clawbot Drivetrain, No Gyro at the bottom with a gray diagram of a robot above, indicating which project to select.

     

  • Use the Detecting Objects (Vision) example project as reference when programming the Vision Sensor (Google Doc / .v5cpp).
  • Add the Vision Sensor to the Clawbot (Drivetrain, 2-motor, No Gyro) configuration and then configure the Vision Sensor to detect red and blue objects. Click here for more information.

    VEXcode V5 Devices window is open and the selection for Add a Device shows the Vision Sensor highlighted in a red box on the left side. Other options include Controller, Drivetrain, motor and 3 wire.

  • Program the Clawbot to move toward the detected object. The Clawbot can even be programmed to raise its arm as if it were to toggle a flag!
  • Download and run (in C++) the project to observe if the Vision Sensor can detect yellow objects like the yellow balls in the VRC Turning Point game. If the Vision Sensor can detect objects, does the robot moved based on those detected objects? For help, view the Download and Run a Project tutorial video.
  • If time allows, set up a game field similar to the Turning Point field. Practice using the Vision Sensor to allow the robot to move to score points!

View the sample solution below: