Step 2: Why Robotics Needs Variables

Action:
  • Describe a scenario where a robot must place 4 items on a conveyor.
  • Compare "Hardcoding" (editing 4 separate blocks by hand) vs. "Variables" (changing one value).
Speaker Notes:

"Imagine placing 4 objects on a conveyor. Without variables, if you want to change the spacing by just 5cm, you have to edit every single coordinate block manually. But with a variable called y, we just change the offset once in a loop. It makes our code dynamic and much faster to adjust."