Skip to content

About

Generalized ADCS is a Python package for SmallSat Attitude Determination and Control Systems (ADCS) development.

Topics

Resources

Code of conduct

Contributing

Stars

20 stars

Watchers

0 watching

Forks

Repository files navigation

🚀 Generalized ADCS

STARLab Logo Small Satellite Collaborative Logo

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

ICESat-2 performing attitude maneuvers over Earth at sunset

✨ Key Features

✅ 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_ivp with 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.

📦 Installation

pip install generalized-adcs

Optional 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.

Papers

📚 Academic Background

This project is based on the PhD research of Patrick McKeen:

About

Generalized ADCS is a Python package for SmallSat Attitude Determination and Control Systems (ADCS) development.

Topics

Resources

Code of conduct

Contributing

Stars

20 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages