Go to file
zhangxunhui f43c3e928a update 2026-03-29 00:20:24 +08:00
__pycache__ update 2026-03-29 00:20:24 +08:00
README.md update 2026-03-29 00:20:24 +08:00
main.py update 2026-03-29 00:20:24 +08:00
openapi.yaml update 2026-03-29 00:20:24 +08:00
radar_service.py update 2026-03-29 00:20:24 +08:00
requirements.txt init 2026-03-26 23:38:03 +08:00

README.md

雷达预警服务

提供雷达设置和实时探测预警功能。

启动服务

pip install -r requirements.txt
python main.py

服务启动后访问:

API 接口

方法 路径 说明
GET /radar/config 获取雷达配置部署在北京半径2km

使用示例

获取雷达配置

curl http://localhost:8000/radar/config

返回:

{
  "latitude": 39.9042,
  "longitude": 116.4074,
  "range_km": 2
}