How astrohuntsman/huntsman-pocs works
Main System Components
a. Hardware Control Layer
• Camera Systems (src/huntsman/pocs/camera/)
• Mount Control (src/huntsman/pocs/mount/)
• Dome Control (src/huntsman/pocs/dome/)
• Focus Control (src/huntsman/pocs/focuser/)
• Filter Wheel (src/huntsman/pocs/filterwheel/)
• Guide System (src/huntsman/pocs/guide/)
b. Core Control Layer
• Observatory Control (src/huntsman/pocs/observatory.py)
• State Machine (src/huntsman/pocs/states/huntsman/)
• Scheduler (src/huntsman/pocs/scheduler/)
c. Support Systems
• Archive System (src/huntsman/pocs/archive/)
• Weather Monitoring (src/huntsman/pocs/utils/weather.py)
• Safety Systems (src/huntsman/pocs/utils/safety.py)
Architecture Representation
a. Use a layered architecture approach:
[Support Systems Layer]
• ↕
[Core Control Layer]
• ↕
[Hardware Control Layer]
• ↕
[Physical Hardware]
b. Component Relationships:
• Observatory class as the central coordinator
• Distributed nature of the system using Pyro (Remote Objects)
Technical Details
• Hardware Controllers (Blue)
• Core Control Systems (Green)
• Support Services (Yellow)
• External Interfaces (Gray)
• Camera interfaces
• Mount control systems
• Weather monitoring
• Data storage
• Network communications
Implementation Notes
• The modular design allowing different hardware implementations
• The state-based control flow
• The distributed nature of the system
• Safety and monitoring systems integration
Specific Component Relationships
Key interactions:
Observatory Controller
• ↓
State Machine → Scheduler
• ↓
Hardware Controllers (Camera, Mount, Dome, etc.)
• ↓
Physical Hardware
Additional Elements
Include:
• Configuration management
• Error handling paths
• Data archiving flow
• Weather monitoring feedback loops
• Safety system override paths