- Create variables for pickup X, Y, Z and a safe Z height.
- Calculate the safe Z position from the pickup Z plus an offset rather than typing the safe height directly.
- Print the pickup position and calculated safe height.
- Use the variables in at least three
arm.move_to()commands. - Modify one variable and verify that the simulated movement output changes without rewriting the movement commands.
ADM Python Practice • Practice 1
Coordinate Setup & Variable Control
Use variables and coordinate math to create a configurable simulated pickup sequence.
Practice Assignment
What You Need to Do
Browser Python Lab
Build and Test Your Program
Modify the starter code until all required behaviors work. No physical Workcell is needed.
Interactive Python Practice
Coordinate Setup & Variable Control
Editable Python Code
Output & Errors
Predict what will happen, then click Run Code.
Tip: Press Ctrl+Enter (Cmd+Enter on Mac) to run. The mock arm prints simulated Workcell actions instead of controlling hardware.
Success Criteria
Check Your Work
Submission
