Lesson Overview
In this lesson, you will practice using code to move the robotic arm through a sequence of points. The goal is to connect each movement command to a physical location and observe how ordered commands create repeatable motion.
Build simple motion sequences using VEXcode Python.
Work toward the lesson goal: Coding Movement. Use the directions and success criteria in the activity below.
For the online work: a browser and your engineering notebook. Follow the activity’s materials list for any physical build, and get teacher approval before using equipment.
Suggested work block: 45–60 minutes. Physical builds and projects may span several classes; follow your teacher’s schedule.
In this lesson, you will practice using code to move the robotic arm through a sequence of points. The goal is to connect each movement command to a physical location and observe how ordered commands create repeatable motion.
Review the code, copy it when needed, and add comments before submitting your final version.
def main():
signal_tower.set_color(SignalTower.WHITE, SignalTower.ON)
signal_tower.set_color(SignalTower.GREEN, SignalTower.OFF)
arm.set_speed(50)
arm.move_to(150, -2, 10)
arm.move_to(150, -2, 1)
arm.move_to(150, -2, 30)
arm.move_to(150, 104, 30)
arm.move_to(150, 104, 1)
arm.move_to(150, 104, 30)
arm.move_to(99, 150, 30)
arm.move_to(99, 150, 1)
arm.move_to(99, 150, 30)
arm.move_to(-1, 150, 30)
arm.move_to(-1, 150, 1)
arm.move_to(-1, 150, 30)
arm.move_to(120, 0, 100)
signal_tower.set_color(SignalTower.WHITE, SignalTower.OFF)
Submit the evidence specified in the activity and your classroom assignment. The report below collects your notes, calculations, observations, and reflections; attach any required drawings, photos, CAD, or code separately.
A PDF download is not a submission. Review it, then upload it and any required attachments through your classroom assignment system.