Skip to main content

Drawing Triangles

Materials Required:
Quantity Materials Needed
1

VEX V5 Workcell

1

VEXcode V5

1

Engineering Notebook

1

Device to run VEXcode V5

1

Micro-USB cable

1

Dry-erase marker

In this section, you will explore how to store (x, y, z) coordinates in a 2D List. These coordinates will be used in order to draw two triangles on the whiteboard using a dry-erase marker. These points are also known as ‘waypoints.’

You will first locate the 10 coordinate points that the arm mounted on the VEX V5 Workcell needs to move to in order to draw the two triangles. Once you have the 10 points, you will create a 2D List to store the coordinate points.

Once the coordinate points are stored, you will use variables and a repeat loop to move the arm mounted on the V5 Workcell from point to point in order to draw the two triangles.

You will begin by creating the ‘Triangles’ project.