Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compensate for roll offset (rebased) #192 #216

Merged
merged 12 commits into from
Aug 19, 2024

Conversation

TakKanekoGit
Copy link
Contributor

Compensates for the roll offset between the roll seen by the camera and the expected roll at the (RA, Dec). This should also fix issue #117.

The roll at the camera center is different from the roll at the target pixel. To address this, the (RA, Dec, Roll) at the camera center get stored as solution["RA_camera"], solution["Dec_camera"] and solution["Roll_camera"]. The coordinates at the target pixels are still the same: solution["RA"], etc.

The roll offset is calculated at the camera center in integrator.py and stored as solution["Roll_offset"] every plate solve. solution["Roll"] at the target is calculated from the expected roll at the target (RA, Dec) and compensated with the Roll_offset.

This should display the constellation with the correct roll as seen by an observer. This PR hasn't been system-tested on a PiFinder or field-tested. It's possible that the sign for the roll_offset is the wrong way round. If so, this can be changed in integrator.estimate_roll_offset().

Tak Kaneko added 12 commits August 16, 2024 21:29
…solved["Roll"] = None (roll at the target), which needs to be calculated in integrator.py

(cherry picked from commit 623c504)
… roll at the target RA/Dec.

(cherry picked from commit edcc6cc)
(cherry picked from commit 084a863)
(cherry picked from commit 0201113)
…ve to the celestial pole?

(cherry picked from commit ee95d75)
(cherry picked from commit 8fd3c59)
(cherry picked from commit b9f4fb1)
@brickbots brickbots merged commit f5e5091 into brickbots:main Aug 19, 2024
1 check passed
@brickbots
Copy link
Owner

Just tested this under the stars and it works FANTASTIC! The estimate roll seems to match very, very closely and it provides a really nice experience when using the chart.

Thank you @TakKanekoGit for this great contribution 💯

@TakKanekoGit TakKanekoGit deleted the roll_offset2 branch August 19, 2024 17:02
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