Open
Conversation
- Monitors mount parking position accuracy and corrects drift - Dual connection monitoring (INDI + mount API) - Ultra precision coordinate parsing with #:U2# mode - Automated correction via INDI first, then mount API - Mattermost alerting when corrections fail - 60-second monitoring loop with comprehensive logging - Configurable park position and drift tolerance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Replace RA/DEC monitoring with ALT/AZ coordinates to eliminate sidereal time drift - Add mount API commands #:GA# and #:GZ# for altitude and azimuth - Update configuration with actual park position: ALT 1.982°, AZ 359.747° - Enhanced coordinate parsing for both ultra precision and fallback formats - Improved logging with blank lines between monitoring cycles for readability - AZ wraparound handling (0-360°) and sub-arcsecond precision detection Test results: ALT drift 0.0001°, AZ drift 0.0009° - well within 1.0° tolerance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
Author
🔧 Fixed Sidereal Time Drift IssueProblem Identified: The original implementation used RA/DEC coordinates which naturally drift with Earth's rotation (~1 minute per minute), causing false drift detection. Solution Implemented: Switched to ALT/AZ coordinates which are fixed to the local horizon and remain constant when mount is parked. ✅ Updated Implementation:
📊 Test Results:
The program now correctly detects actual mechanical drift rather than normal celestial motion. Ready for production monitoring! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Key Features
#:U2#mode for high-precision coordinatesImplementation Details
Test Results
✅ Successfully connects to both INDI and Mount API
✅ Ultra Precision Mode working - coordinates in HH:MM:SS format
✅ Position drift detection working with 0.126° tolerance
✅ Mattermost alerts working
✅ No datetime deprecation warnings
Current mount position: RA 18:32:46.55, DEC +40:04:55.3 (within tolerance)
🤖 Generated with Claude Code