DroneSurveillanceCpp

Drone Surveillance C++ Project

This project demonstrates a visual simulation where a drone moves within a city map, detects objects (humans and vehicles), and provides real-time updates on the drone’s position and detected objects.

Project Structure

The project consists of the following files:

Features

Building the Project

To build the project, you’ll need Microsoft Visual C++ compiler (MSVC). This comes with Visual Studio or the Build Tools for Visual Studio.

  1. Open a “Developer Command Prompt for VS 2022” (or your version of Visual Studio)
  2. Navigate to the project directory
  3. Run the build script:
    build.bat
    

Running the Simulation

After building the project:

  1. In the same Developer Command Prompt, run:
    DroneSurveillance.exe
    
  2. The simulation will start, showing:
    • A grid representing the city map
    • ‘D’ for the drone
    • ‘H’ for humans
    • ‘V’ for vehicles
    • ’.’ for empty spaces
  3. Below the map, you’ll see the drone’s current position and the number of objects it has detected.

  4. The simulation updates in real-time. To stop it, press Ctrl+C.

Customizing the Simulation

You can modify various aspects of the simulation:

Contributing

Feel free to fork this project and submit pull requests with improvements or additional features. If you’re new to C++, this project serves as a good starting point to understand basic concepts like classes, object-oriented programming, and simple simulations.

Enjoy exploring and expanding upon this Drone Surveillance simulation!