[2.8] Filter 0,0 positions; clean up; make DX/RF precision-aware

已关闭
#456 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #511 来自 @pskillen —— 已合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
backend, data

调研方向

Start with the 0,0 check in PositionPacketSerializer (serializers.py:246-249) and the write path in services/position.py:19-47, then look at precision_bits in packets/models.py:68. The issue depends on pskillen/meshflow-api#463 (FX-1), so confirm that lands first. Done means 0,0 positions are rejected at ingest, the cleanup command has a dry-run mode, and DX/RF tests cover low-precision positions.

由索引模型根据 Issue 内容生成。

描述

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: TP-3 · Priority: Should · Size: M

Summary

  • 2.7.24-2.7.26 fixed-position nodes sent 0,0; these pass PositionPacketSerializer (serializers.py:246-249) and are written (services/position.py:19-47). Filter them.
  • Cleanup management command with dry-run.
  • 2.8 clamps public positions to 15 bits (~730 m). DX distance and RF propagation should take precision_bits (already stored, packets/models.py:68) into account.

Acceptance criteria

  • 0,0 rejected at ingest
  • Cleanup command with dry-run
  • DX/RF tests with low-precision positions

Depends on: pskillen/meshflow-api#463 (FX-1)

主要语言
Python
星标
1
派生
0
平均合并
11 小时 33 分钟
30 天内合并 PR
52

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pskillen/meshflow-api 的其他 Issue

查看 pskillen/meshflow-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。