Team Members: Damian Dhesi, Reza Mousakhani, Shiv Panchal
The project uses Python to link image processing and robotic control, creating an automated system for drawing images. The process begins with a Python script that analyzes a given image, extracts key points or contours, and converts them into a set of coordinates. These coordinates represent the critical features of the image and are optimized to ensure smooth transitions between points. The resulting points are then passed to a collaborative robot (Cobot), which interprets these instructions and moves along a predefined static Z-plane to draw the image.
Class Diagram (if PDF doesnt work)
Ensure the following software and tools are installed on your system:
-
Java Development Kit (JDK)
- Version: JDK 23
- Download JDK 23
-
Integrated Development Environment (IDE)
- Recommended: IntelliJ IDEA
- Download IntelliJ IDEA
-
Docker Desktop
- Open your terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
cd /path/to/your/directory - Clone the repository:
git clone <repository_url>
- Launch IntelliJ IDEA.
- Select Open and navigate to the directory where the repository was cloned.
- Click OK to open the project.
- Open Docker Desktop and ensure it is running.
- Open your terminal.
- Run the following command to start the robot simulation container:
docker run --rm -it -e ROBOT_MODEL=UR3e -p 5900:5900 -p 30001:30001 -p 30002:30002 -p 30004:30004 -p 6080:6080 --name ur3e_container universalrobots/ursim_e-series
- Open your browser and go to:
http://localhost:6080/vnc.html - Click Connect to connect with the robot simulation.
- In IntelliJ IDEA, run the program from the Run menu or by pressing
Shift + F10. - Once the program starts:
- Click File in the menu bar.
- Select Upload and choose an image file to upload.
- The outline of the image will appear.
- To start the simulation:
- Click Simulation in the menu bar.
- Select Start Simulation.
- A pop-up message will confirm the connection:
You have connected. - Go back to your browser on
http://localhost:6080/vnc.htmlto observe the simulation.
- Ensure Docker Desktop is running before executing the Docker command.
- The simulation requires an active internet connection to fetch the Docker image if not already available locally.
- For any issues, consult the repository's documentation or contact the developer.
This project is licensed under the MIT License. See the LICENSE file for more details.