Generalized ADCS is a Python framework for satellite attitude determination and control (ADCS), designed for research, prototyping, and flight-software development. The framework emphasizes generality, modularity, and transparency for modern spacecraft control and estimation workflows.
🛠 Documentation • 📘 Installation • 🧪 Tutorials • 🤝 Contributing
✅ Python-first, designed for research and experimentation
- Built in Python for accessibility, rapid prototyping, and easy customization.
- Minimal setup, extensive documentation, and hands-on tutorials.
- Easy to inspect, debug, modify, and extend with custom algorithms.
- Numba-accelerated numerical kernels for computationally demanding simulations.
- Monte Carlo support for statistical analysis and robustness testing.
✅ Generalized 6-DOF spacecraft dynamics
- Attitude propagation using SciPy's
solve_ivpwith RK45 integration. - Fully configurable spacecraft inertia, geometry, and external disturbances.
- Support for underactuated and overactuated spacecraft configurations.
- Coming soon: Fast, Numba-accelerated RK4 propagation.
✅ Flexible orbit propagation
- Initialize orbits from position vectors, orbital elements, or TLEs.
- Keplerian, SGP4, and RK4 orbit propagation.
- Model atmospheric drag, solar radiation pressure, and J2 perturbations.
✅ Advanced attitude estimation
- Plug-and-play EKF, MEKF, UKF, and SRUKF estimation frameworks.
- Real-time sensor bias and disturbance estimation.
✅ Flexible attitude control and optimization
- PD, LQR, projection-based, and magnetorquer-only feedback controllers.
- LP and QP control allocation for underactuated systems.
- ALTRO-based trajectory optimization.
✅ Realistic sensor and actuator modeling
- Configurable noise and bias models.
- Sensors: Gyroscopes, magnetometers, sun sensors, star trackers, Earth horizon sensors, and GPS.
- Actuators: Reaction wheels and magnetorquers.
- Growing catalog of preconfigured CubeSat-scale hardware models.
- Explore available models in
ADCS/satellite_hardware.
pip install generalized-adcsOptional extras: viz (3-D orbit animation), viz-video (MP4 export from
the Godot viewer), viz-mesh (spacecraft model import), viz-assets
(rebuilding viewer textures), nrlmsise and ppigrf (optional environment
models), dev (test tooling), docs (documentation build), cpp (toolchain
for the optional C++ add-ons).
pip install "generalized-adcs[viz]"Requires Python 3.10 or newer. For deterministic reproduction of published
campaign results, see requirements-repro.txt in the repository.
Optional add-ons:
- trajectory_planner (tplaunch/pysat) and SALTRO (saltro_py) are optional C++ extensions.
- Build instructions are in docs/Install_WSL.md and docs/Install_Windows.md.
- A Modular Open-Source ADCS Framework for Small Satellite Development and Testing — presented at SmallSat Europe 2026 in Amsterdam, Netherlands.
- Generalized Attitude Control for Small Spacecraft — presented at the 40th Annual Small Satellite Conference, Poster Session 2, in Salt Lake City, Utah.
- A Feasibility-Aware Attitude Trajectory Planner for Small Satellites — presented at the 40th Annual Small Satellite Conference, Flash Talks Session 3, in Salt Lake City, Utah.
This project is based on the PhD research of Patrick McKeen:
- 🔗 Source Code:
https://github.com/patrickmckeen/PhD_Dissertation_Code - 📄 Dissertation:
Computational Methods to Improve Satellite Attitude Determination and Control with a Focus on Autonomy, Generalizability, and Underactuation
https://dspace.mit.edu/handle/1721.1/158874
