Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Reuse the covariance ellipse helper in all localizers

Đang mở
#124 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 9 ngày

@dchaudhari7177 đang làm issue này rồi.

Từ ngày 4/10/2026.

  • #137 của @dchaudhari7177 — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
numpy, python
Lĩnh vực
computer-vision, robotics

Hướng nghiên cứu

Start with src/components/common/plot_lib.py and the three localizer files: extended_kalman_filter_localizer.py, unscented_kalman_filter_localizer.py, and particle_filter_localizer.py. Compare their ellipse calculations with draw_covariance_ellipse(), then check the open pull request #137 for the current implementation. Done means all three localizers reuse the helper, which uses np.linalg.eigh, vectorized point calculations, and a comment explaining the 3.0 scale factor.

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

Mô tả

good first issue refactoring

Problem

draw_covariance_ellipse() exists in src/components/common/plot_lib.py, but the EKF, UKF and particle filter localizers each compute and draw the ellipse themselves (np.linalg.eig in extended_kalman_filter_localizer.py, unscented_kalman_filter_localizer.py, particle_filter_localizer.py). The helper also uses np.linalg.eig and Python loops.

Expected fix

  • Use draw_covariance_ellipse() in the three localizers
  • In the helper, use np.linalg.eigh (covariance matrices are symmetric), compute the points with numpy instead of list comprehensions, and explain the scale factor 3.0 in a comment
Ngôn ngữ chính
Python
Star
1.9k
Fork
313
Merge trung bình
9 ngày 10 giờ
Pull request đã merge (30 ngày)
7

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Có Dockerfile hoặc tệp Docker Compose
  • Không 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 ShisatoYano/AutonomousVehicleControlBeginnersGuide

Tất cả issue của ShisatoYano/AutonomousVehicleControlBeginnersGuide

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.