A multi-agent simulation system developed in Unity and Python that models interactions between autonomous drones, security cameras, and security personnel in a prison environment. This project was developed by Team Warlocks at Tecnológico de Monterrey.
Watch our presentation for this proyect: Project Presentation
This system simulates a prison security environment where:
- An autonomous drone performs aerial patrols
- Fixed security cameras monitor designated areas
- Security personnel (represented by a skeleton) supervises and responds to alerts
- The system can detect and respond to suspicious activities
Watch our system in action: Project Demo
A dark-themed prison environment with UV-mapped textures, creating an atmospheric and challenging surveillance scenario.
Autonomous drone that performs aerial patrols and responds to security alerts in real-time.
Skeletal security personnel that monitors the surveillance system and can take manual control of the drone when needed.
Fixed surveillance cameras that monitor designated areas and detect suspicious activities.
Potential threats that the security system must detect and respond to.
- Unity (Latest LTS version recommended)
- Python 3.8+
- Required Python packages:
pip install agentpy numpy opencv-python flask socket threading json logging
-
Download and Extract Project:
- Download the project from Google Drive
- Extract the downloaded ZIP file to your desired location
-
Clone the repository (if you prefer using Git):
git clone https://github.com/Aaron3312/ProyectoDronUnity.git
-
Open the project in Unity:
- Launch Unity Hub
- Add the project from the extracted directory
- Open the project
-
Navigate to the Python scripts location:
cd Assets/pycodes
-
Install Required Python Dependencies:
pip install -r requirements.txt
-
First, start the Python agents in separate terminals:
python CameraController.py # Controls the drone's camera view python controller4.py # Controls the drone's movement and behavior python SecurityAgentControl.py # Controls the skeleton security guard python StaticCameras.py # Controls the fixed security cameras
-
Launch the Unity scene:
- Open Unity
- Load the main scene
- Load the dungeon Scene
- Click the Play button
- Drone Agent: Performs autonomous patrols and responds to alerts
- Fixed Cameras: Monitor areas and detect suspicious movements
- Security Personnel: Supervises alerts and can take manual control of the drone
- Virtual Environment: Dark-themed prison environment with UV-mapped textures
- Aarón Hernández Jiménez (ITC | A01642529)
- Christian Fernando Aguilera Santos (ITC | A01643407)
- Maxime Parienté (ITC | A01764161)
- Pablo Esteban Reyes (ITC | A01643307)
- Luis Marco Barriga Baez (ITC | A01643954)
- Aram Barsegyan (ITC | A01642781)
This project is part of the TC2008B course at Tecnológico de Monterrey, Campus Guadalajara.