5–8 class periods
Work independently through the milestones while other students complete Python remediation.
Use Python and AI-assisted development to create a simplified digital twin of a robotic workcell. Your simulator should model movement, magnet state, parts, errors, and production status without using the physical robot.
Work independently through the milestones while other students complete Python remediation.
The required simulator logic should be written in Python. A graphical interface is an optional extension.
Your program should accept simulated Workcell commands, update system state, detect errors, and report what the system is doing.
Engineers often test automation software in a digital environment before connecting it to physical equipment. Your task is to create a simplified digital twin of a VEX-style robotic workcell.
Your simulator does not need exact robot physics. It must accurately represent the logic and state of the system: where the arm is, whether the magnet is on, whether a part is being carried, whether a requested move is valid, and what has happened during the production run.
Complete all six before adding extensions.
Track current x, y, and z coordinates and begin at a defined home position.
Create methods or functions that behave like:
arm.move_to(x, y, z)
arm.move_inc(dx, dy, dz)Each valid move should update and report the new simulated position.
Track whether the simulated end-effector magnet is ON or OFF using VEX-style commands.
Define legal X, Y, and Z ranges. Invalid movement requests must be rejected without changing the stored position.
Create at least three simulated parts. Allow pickup only at an appropriate location and track whether the arm is carrying a part.
Record movements, pickups, placements, errors, and production totals. Print a clear summary at the end.
After the core simulator works, add one or more.
Estimate movement time based on distance and compare production strategies.
Create areas the simulated arm may not enter and detect violations.
Add states such as IDLE, MOVING, PICKING, PLACING, COMPLETE, and ERROR.
Create a graphical top-down workspace showing parts, destinations, and the end-effector location.
Store every position visited and display or plot the movement path.
Create a simplified 3D visualization. Exact VEX geometry is not required.
You will complete a short teacher check before the project is considered finished. You should be able to:
You do not need to memorize every line of code. You do need to understand the system you built.
| Category | Points | Evidence |
|---|---|---|
| Core Simulator Functionality | 15 | Movement, state, magnet, parts, and production logging work as required. |
| Testing & Error Handling | 10 | Required tests are demonstrated and invalid actions are handled cleanly. |
| Iteration & AI-Assisted Development | 10 | AI log shows useful prompting, evaluation of AI output, revision, and debugging rather than simple copy/paste. |
| Understanding & Final Modification | 10 | Student can explain the major system logic and successfully make a small requested change. |
| Documentation | 5 | README, bug log, test evidence, and reflection clearly document the project. |