Skip to content

Refactor astro coords#420

Merged
brickbots merged 11 commits into
brickbots:mainfrom
TakKanekoGit:refactor_astro_coords
May 15, 2026
Merged

Refactor astro coords#420
brickbots merged 11 commits into
brickbots:mainfrom
TakKanekoGit:refactor_astro_coords

Conversation

@TakKanekoGit
Copy link
Copy Markdown
Contributor

A minor refactoring of the quaternion-based pointing model:

  • Refactored and moved PiFinder.pointing_model.astro_coords.RaDecRoll to PiFinder.types.coordinates.RaDecRoll.
  • Added templates for other coordinate classes to be filled in later if required: RaDec and AltAz

Bench-tested in test mode (7f18603)

@brickbots brickbots merged commit 7836c62 into brickbots:main May 15, 2026
1 check 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
@TakKanekoGit TakKanekoGit deleted the refactor_astro_coords branch May 17, 2026 14:23
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.

2 participants