Skip to main content

Cube Collector
Lesson 3: Coding for Autonomous Movements

Learn

Before you can compete in the Coding for Cubes Challenge, you first need to learn about path planning and coding individual motors using Motion commands, so that you can prepare for and code your robot for an autonomous challenge using VEXcode IQ.

Path Planning 

Path planning enables you to code your robot to solve a challenge or accomplish a task more effectively and efficiently.

Watch this video to learn about path planning, and how it can help you plan, code, and troubleshoot projects more easily and effectively. 

Open Lesson Summary Google Doc / .docx / .pdf

Using Spin Commands in a Project

In order to code a robot's claw to open and close, or the arm to raise and lower, you need to learn how to use Motion commands, like the [Spin] and [Spin for] blocks in VEXcode IQ. 

Watch this video to learn about how to code individual motors using spin commands in VEXcode IQ.

Open Lesson Summary Google Doc / .docx / .pdf

Preparing for Autonomous Challenges

In an autonomous challenge, your robot's movements are entirely controlled by your code, there is no driver control allowed. This means that things like project planning, testing and debugging, and careful set up of the Field and robot are particularly important.

Watch this video to learn more about autonomous challenges and strategies you can use as you prepare for an autonomous challenge.

Open Lesson Summary Google Doc / .docx / .pdf

Check Your Understanding

Before moving on to the Practice section, ensure that you understand the concepts covered on this page by answering the questions in the document below in your engineering notebook.

Check Your Understanding questions Google Doc / .docx / .pdf


Select Next > to practice path planning and coding autonomous movement as you code your robot to stack and score cubes.