ADM Activity 1.1.5

Controlled Path

Use ordered movement commands to create a planned path.

Lesson Overview

In this lesson, you will explore how a robotic arm follows a controlled path. Instead of moving randomly, the arm follows a planned sequence that can be tested, adjusted, and repeated.

Notes

  • A controlled path is made from multiple movement commands in a specific order.
  • Small coordinate changes can create large differences in the final path.
  • The same sequence should run consistently if the setup is unchanged.
  • Test the path slowly first and check for unsafe or unexpected movement.
  • Comments should explain the purpose of major sections of the path.
Code example

1.1.5: Controlled Path

Review the code, copy it when needed, and add comments before submitting your final version.

VEXcode Python Example
Code examples may be incomplete or missing comments. Comments are required for code submissions.
def main():
   arm.move_to(120, 0, 100)
   arm.move_to(125, -25, 5)
   arm.move_to(175, -25, 5)
   arm.move_to(175, 75, 5)
   arm.move_to(125, 75, 5)
   arm.move_to(125, 175, 5)
   arm.move_to(175, 175, 5)
   arm.move_to(120, 0, 100)