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

Đang mở
#456 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
Python
Star
1
Fork
0
Merge trung bình
23 giờ 9 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pskillen/meshflow-api

Tất cả issue của pskillen/meshflow-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.