Skip To Main Content

Experimenting with coding, autonomous movement of VEX robotics

Post

Students use computers to program robots
Andrew Chiappazzi

Woodland Hills is one of the only school districts with a full K-12 robotics curriculum thanks to our partnership with VEX Robotics. At the high school level, students are learning more complex coding, including how to direct the robots to move autonomously.

Mr. Minor's Computer Science classes put some of their programming skills to the test today. For the last couple of weeks, students have been writing Python code to make their VEX Robotics robots move and act autonomously. At first, they used algorithms to move a specific distance, turn, and then repeat the process up to four times.
 
The students then added a sensor to detect when a "bucky ball" was in the way and wrote commands for the robots to autonomously detect and push the ball off the field.
 
Today, the students explored how to write the code for the robots to detect boundaries with one sensor and use the second sensor to identify a ball and push it off the mat.
 
The students had to do plenty of experimentation to dial in their codes, with lots of minute fine tuning. Not only were they testing their coding skills and their understanding of the robots, but they had to think critically and problem solve in order to complete the task.
 
Check out some of the photos from Mr. Minor's classes today in the Facebook post below.