Controlling Telescope Hardware with Rust
summary
Controls an 8‑inch telescope via a serial protocol and a vendor C API, with all code on GitHub (khyperia/scopie). Uses serial protocol: 9600 8N1, hex RA/Dec commands and hash ACKs to slew motors and query position; links to the camera C library by hand‑writing bindings and checks. Camera returns 12‑bit data in 16‑bit words, so Rust computes mean/stddev, uploads 16‑bit grayscale textures to GPU for real‑time remapping, and uses a mount thread sending mpsc lambdas and an enum for camera controls to avoid UI blocking. Images (Elephant’s Trunk, Eagle Nebula) are produced.
AI-written summary · about
chapters (4)
related talks
38mFearless Single-Photon Detection: Leveraging Rust for Scientific Instruments
42mDrone Control - "Controlling a drone using Rust over WiFi"
28mSensors, Servos, and Signals with Rust
53mRust in Space! How Rust is Powering Next-Generation Space Mission Simulators
33mBuilding a pair-programming app in public with Rust
36mBuilding an OSS Remote Pair Programming App in Rust
52mBuilding Custom Firmware for an IP Camera in Rust
39mReal-Time Rust in Robotics
