Astra: an open-source fully autonomous robotic observatory control software
This paper introduces Astra, an open-source, cross-platform Python system that enables fully autonomous, unattended operation of multi-telescope astronomical observatories via the ASCOM Alpaca protocol, demonstrating production-grade reliability and high-precision performance across three international facilities without requiring external message-broker infrastructure.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a super-smart robot butler whose only job is to run a telescope at a star-gazing camp. For years, these robot butlers were like expensive, locked-in toys: they only worked with specific brands of hardware, needed a Windows computer to think, and if they got confused by a cloud or a glitch, they would just freeze until a human came to push a button.
Enter Astra. Think of Astra as a brand-new, open-source "brain" for these robotic observatories. It's written in Python (a popular coding language) and is designed to be the ultimate self-driving car for astronomy. Its main mission? To run a telescope completely alone, day and night, without a human ever needing to touch the controls, and without needing any fancy, expensive middleman software to talk to the hardware.
The "No Middleman" Revolution
Old-school observatory software often relied on a complex system of "message brokers"—imagine a busy post office where every instruction has to be stamped, sorted, and delivered by a third party before the telescope moves. Astra cuts out the post office entirely. It talks directly to the telescope, the camera, and the dome using a universal language called ASCOM Alpaca. This is like giving the robot butler a direct phone line to every appliance in the house, so it can say, "Close the dome!" and the dome just listens, no matter what brand it is.
The Safety Net: The "Watchdog"
Running a telescope alone is scary. What if it starts raining? What if the wind blows too hard? What if the camera gets stuck? Astra has a built-in Safety Watchdog. Think of this as a hyper-vigilant security guard who never sleeps.
- It checks the weather every second.
- It doesn't just look at a single "safe" reading; it looks at the history over the last 15 minutes to make sure the weather isn't just having a weird, one-second glitch.
- If things get dangerous, it immediately closes the dome and shuts down the telescope.
- Crucially, if the telescope itself breaks, the watchdog knows exactly what to do: if the telescope is broken, it might keep the roof open (to avoid crashing a moving roof into a stuck telescope), but if the camera breaks, it shuts everything down. It's a smart, context-aware safety net that doesn't panic unnecessarily.
The "Brain" of the Operation
Astra doesn't just wait for commands; it plans its own night.
- The Scheduler: It reads a simple text file (called JSONL) that lists what stars to look at. It's like a to-do list that the robot reads line by line. If a cloud blocks a star, it skips it and moves to the next one. If the file changes while it's working, it waits until the current task is done before reading the new list, so it doesn't get confused.
- The "GPS" for Stars (Plate Solving): Sometimes the telescope points slightly wrong. Astra has a built-in GPS for the sky. It takes a picture, finds the stars, and compares them to a local map of the universe (a database of star positions). If it's off, it calculates exactly how much to nudge the telescope. If the internet goes down, it uses a local backup map so it never gets lost.
- The "Auto-Focus" and "Auto-Guide": Just like your phone camera focuses automatically, Astra adjusts the telescope lens to get the sharpest image possible. It also keeps the telescope perfectly still while taking pictures, correcting for the Earth's rotation. It does this by looking at the stars in the actual science picture, so you don't need a second, separate camera just for guiding.
The Proof: It Actually Works
This isn't just a cool idea on a computer screen; it's been running for real since January 2024.
- Where? It's currently running on six telescopes in three different places: four 1-meter telescopes in Chile (the SPECULOOS-South network), one 1-meter telescope in Mexico (SAINT-EX), and a 0.5-meter telescope in Switzerland (ETH Observatory).
- How well? The results are impressive.
- Stability: The telescopes stay pointed at the same spot with a jitter of only 0.11 arcseconds (that's incredibly steady—imagine hitting a bullseye from miles away).
- Reliability: On three of the four telescopes in Chile, the "GPS" (plate solving) failed less than 1% of the time. On the fourth, which has a narrower view, it failed 3% of the time.
- Uptime: Since it started, zero observation schedules have been cancelled because of Astra software errors. Every time a telescope stopped, it was because of a broken piece of hardware or a storm, not because the software crashed.
What Astra is NOT
The authors are very clear about what this system is not.
- It is not a proprietary, locked-down system that only works on Windows. It runs on Linux, macOS, and Windows.
- It is not a system that requires a complex, external server to pass messages around. It does everything internally.
- It is not a system that needs a human to start every night's work. It runs fully unattended.
The Bottom Line
Astra proves that you don't need expensive, closed-source software to run a world-class, fully autonomous telescope network. By using open standards and smart, self-contained logic, the team has built a system that is as reliable as the big, expensive ones, but free for anyone to use, modify, and improve. It's a "set it and forget it" solution that has already kept six telescopes busy and safe for over a year, proving that open-source code can handle the heavy lifting of modern astronomy.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.