Skip to content

Remove integrator selection config; drop classic integrator#421

Merged
brickbots merged 1 commit into
mainfrom
remove_int_config
May 16, 2026
Merged

Remove integrator selection config; drop classic integrator#421
brickbots merged 1 commit into
mainfrom
remove_int_config

Conversation

@brickbots
Copy link
Copy Markdown
Owner

Summary

  • Quaternion integrator (integrator.py) is now the only path; removes the runtime selection between integrator.py and integrator_classic.py.
  • Deletes integrator_classic.py and imu_pi_classic.py; removes the imu_integrator config option, its default in default_config.json, and the Settings → Experimental → Integrator menu entry.
  • Clears the now-unused imu_pos and Roll_offset fields from the solved dict in solver.py.

Test plan

  • nox -s lint format type_hints smoke_tests all pass
  • pytest -m unit (127 passed)
  • Smoke-run on real hardware: python3.9 -m PiFinder.main starts cleanly, "Integrator" line appears in startup console.
  • On-device: navigate Settings → Experimental and confirm only SQM and AE Algo are listed.

🤖 Generated with Claude Code

The quaternion integrator is the only path going forward. Removes the
imu_integrator config option and its Settings → Experimental → Integrator
menu entry, deletes integrator_classic.py and imu_pi_classic.py, and
clears the now-unused imu_pos / Roll_offset fields from the solved dict.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@brickbots brickbots merged commit 083f6d8 into main May 16, 2026
2 checks passed
mrosseel added a commit to mrosseel/PiFinder that referenced this pull request May 16, 2026
Upstream's astro_coords refactor (brickbots#420) moved RaDecRoll from
pointing_model/astro_coords.py to types/coordinates.py and reworked the
API: constructor now takes (ra, dec, roll, deg=...) and replaces
set_from_deg/get_deg with set(...) and get(deg=True).

Resolution:
- integrator.py: kept HEAD; dropped duplicate helpers (now in pointing.py)
- pointing.py: updated import path and ported all RaDecRoll calls to the
  new API (set_from_deg/get_deg → constructor / get(deg=True))
- integrator_classic.py: accepted upstream deletion (brickbots#421 dropped classic
  integrator); telemetry's only change was a trivial **kwargs signature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant