git404hub

what is uav-gps-dqn-detection fr?

zhw040803-glitch/uav-gps-dqn-detection — explained in plain English

Analysis updated 2026-05-18

59PythonAudience · researcherComplexity · 3/5Setup · moderate

tl;dr

Student project that uses a Deep Q-Network in PyTorch to detect GPS spoofing attacks on drones, with a Tkinter UI to simulate random, replay, and stealth attacks.

vibe map

mindmap
  root((UAV-GPS-DQN-Detection))
    Inputs
      Simulated GPS signal
      Attack type choice
    Outputs
      Real vs spoofed trajectory
      Detection results
    Use Cases
      Demo drone GPS attacks
      Teach reinforcement learning
      Thesis style experiments
    Tech Stack
      Python
      PyTorch
      Tkinter
      Matplotlib

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Demonstrate three GPS spoofing attack patterns against a simulated drone trajectory.

VIBE 2

Compare drone behavior with and without a DQN-based detection model in real time.

VIBE 3

Use the code as a starting point for a thesis on reinforcement learning for sensor defense.

what's the stack?

PythonPyTorchTkinterMatplotlib

how it stacks up fr

zhw040803-glitch/uav-gps-dqn-detectioncp-cp/liveeditzzzjie-robot/leggedmanip_lab
Stars595959
LanguagePythonPythonPython
Setup difficultymoderatehardhard
Complexity3/55/55/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 1h+

README is short and does not list dependencies, training data, or model files, so reproducing it means reading the source.

in plain english

This Chinese-language repository is a student project, described in the README as a final-year or master's thesis project. It looks at the problem of GPS spoofing against drones, which means tricking a drone's GPS receiver into believing it is somewhere other than its actual location, and uses a machine learning technique to try to detect and defend against that trickery. The project handles three specific kinds of spoofing attack named in the README. The first is a random attack, where the fake GPS coordinates are scattered without much pattern. The second is a replay attack, where the attacker records real GPS signals and plays them back at the drone later. The third is a stealth attack, which the README labels as the hidden or concealed type, meaning the spoofed coordinates are crafted to look plausible and avoid raising suspicion. The technical stack listed is short. The core algorithm is built with PyTorch and uses a method called DQN, which stands for Deep Q-Network, a reinforcement learning approach where a neural network learns to pick the best action in a given situation. The user interface is built with Tkinter, the basic graphical toolkit that ships with Python, and trajectory plots are drawn with Matplotlib. The program offers four functions through its interface. You can pick which type of attack to simulate, run a no-detection mode that just shows the spoofed flight path, run a DQN-detection mode that tries to spot and counter the attack automatically, and watch the real drone trajectory and the GPS-reported trajectory side by side in real time. Usage is described in a single line. You run main.py and the system starts. The README is short and does not cover installation, training data, model files, or evaluation results, so anyone wanting to reproduce it would need to read the source code or contact the author.

prompts (copy fr)

prompt 1
Help me reproduce UAV-GPS-DQN-Detection on Python 3.11 and list the missing dependencies from its short README.
prompt 2
Walk through the DQN training loop in UAV-GPS-DQN-Detection and explain the reward function.
prompt 3
Add an evaluation script to UAV-GPS-DQN-Detection that reports detection accuracy per attack type.
prompt 4
Swap the Tkinter UI in UAV-GPS-DQN-Detection for a simple matplotlib animation script.

Frequently asked questions

what is uav-gps-dqn-detection fr?

Student project that uses a Deep Q-Network in PyTorch to detect GPS spoofing attacks on drones, with a Tkinter UI to simulate random, replay, and stealth attacks.

What language is uav-gps-dqn-detection written in?

Mainly Python. The stack also includes Python, PyTorch, Tkinter.

How hard is uav-gps-dqn-detection to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is uav-gps-dqn-detection for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.