Skip to content

Add AoA and range calibration pipeline and UI support#60

Open
nbschultz97 wants to merge 1 commit intomainfrom
codex/implement-aoa-and-range-calibration
Open

Add AoA and range calibration pipeline and UI support#60
nbschultz97 wants to merge 1 commit intomainfrom
codex/implement-aoa-and-range-calibration

Conversation

@nbschultz97
Copy link
Owner

Summary

  • add AoA helpers and log-distance range modeling with alpha-beta smoothing
  • integrate bearing/distance updates throughout the pipeline, config, and TUI
  • ship a calibration tab with zero-angle capture, range workflow, and new tests

Testing

  • pytest

Codex Task

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1108 to +1112
self._range_measurements[dist] = rssi
self._append("CAL", f"{dist:.1f} m median RSSI: {rssi:.2f} dBm")
self._range_chip_var.set("")
self.range_chip_label.grid_remove()
self._update_range_progress()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Clearing range chip uses undefined attribute

When recording a range point the code calls self._range_chip_var.set(""), but the only variable created in __init__ is range_chip_var. Pressing “Record” (and similarly “Reset”, which makes the same call) will raise an AttributeError instead of updating the calibration chip indicator, halting the range calibration workflow.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant