JamBoy 是一个开源导航层,专为可损耗无人机设计,通过融合光流、地图地理配准、扩展卡尔曼滤波器(EKF)和气压高度,在无 GPS 环境下估计局部位置和速度。

Stars

127

7 天增长

+4

Fork 数

35

开放 Issue

0

开源协议

MIT

最近更新

2026-07-24

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提供了一个完整且模块化的无 GPS 导航管道,支持可选的 GPU 加速、仿真验证以及约 250 美元的商用现成(COTS)硬件部署指南,并采用 MIT 许可证开放源代码。

适合谁使用

  • 开发 GPS 拒止环境下自主无人机的工程师
  • 研究视觉辅助惯性导航算法的科研人员
  • 尝试低成本无人机导航的爱好者
  • 探索抗干扰无人机能力的国防或民用工程师

典型使用场景

  • 在 GPS 干扰或信号丢失区域导航无人机
  • 在城市峡谷、隧道或室内进行自主飞行
  • 在争议或偏远地区执行无人机配送或监视任务
  • 对纯视觉导航栈进行仿真测试和评估

项目优势

  • 模块化架构,清晰分离光学流、地理匹配、EKF 和状态机
  • 可选的 GPU 加速(CuPy/PyTorch)加快地图匹配
  • 通过 CI 进行仿真验证,支持真实振动数据并附带一键验证脚本
  • 提供详细的硬件部署清单和约 250 美元的 COTS 原型物料清单

使用前须知

  • 未经飞行认证,仅在合成数据上完成仿真验证
  • 需要预加载 GeoTIFF 地图和朝下相机(强烈推荐全局快门)
  • 默认仅 CPU 运行;GPU 加速需要手动配置和 CUDA 兼容硬件
  • 状态机中的终端跟踪模块为桩代码,功能尚不完整

README 快速开始

JamBoy

Jam-proof GPS-denied navigation for attritable drones: optical flow + offline map geo-registration + EKF fusion + barometric altitude.

Name note: JamBoy = GPS jam + Game Boy-era pun. Nothing to do with historical golf caddie slang.

JamBoy is a navigation layer, not a targeting or weapons system. It is sim-validated on synthetic data; it is not flight-certified.

What it does

Given a downward camera, pre-loaded GeoTIFF maps, IMU rates, and barometer altitude, JamBoy estimates local position and velocity without GPS:

  1. Lucas–Kanade optical flow with gyro de-rotation → ground velocity
  2. ORB (optional SIFT) + RANSAC homography against tiled maps → absolute geo fix
  3. 6-state EKF fusion with baro altitude
  4. State machine: Cruise → DeadReckon → Terminal (stub) → Abort
  5. MAVLink out: VISION_POSITION_ESTIMATE (preferred) or reposition fallback

Global shutter is strongly preferred; rolling shutter is supported with fallback modes.

Install (local / CI)

Requires Python 3.10+.

python -m venv .venv
# Windows: .venv\Scripts\activate
# Linux/macOS: source .venv/bin/activate
pip install -e ".[dev]"

CPU runtime only (no CUDA wheels):

pip install -r requirements.txt
pip install -e ".[dev]"

Optional GPU acceleration (CuPy / PyTorch):

pip install -r requirements-gpu.txt
# or: pip install -e ".[gpu,dev]"

Quick sim gate

export PYTHONPATH=src   # Windows: $env:PYTHONPATH = "src"
python scripts/generate_dummy_data.py
pytest -q
python scripts/run_simulation.py --cpu --profile
python scripts/validate_sim.py

One-shot helper (CUDA if available, else CPU):

bash scripts/run_sim_confident.sh

Realism / vibration data:

python scripts/generate_dummy_data.py --realism
python scripts/run_simulation.py --cpu --profile --realism

Pass criteria and metrics: docs/REQUIREMENTS.md, docs/SIM_TEST_GUIDE.md.

Hardware

PathDoc
Drop-in checklist (any FC + camera)docs/HARDWARE_DEPLOY.md
~$250 COTS BOM (Pi 5 + IMX296 + Pixhawk)docs/COTS_PROTOTYPE.md
Hardware trade study[docs/HARDWARE_TRADE_STUDY.md](docs/HARDWARE_TRADE_STUDY.

项目描述

GPS-denied drone navigation layer: optical flow + offline map geo-match + EKF → MAVLink (sim-validated).

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482