Skip to main content

Rapidly Adapting Data-Drive Optimization (RADDO)

RADDO is a JAX-based, GPU-accelerated library for trajectory generation, model predictive control, and online-adaptation. This library was built for Learning-Based Adaptive MPC for Magnetorquer-Only Satellite Attitude Control which was accepted to the International Conference on Space Robotics (iSpaRo) 2026.

Learning-Based Adaptive MPC for Magnetorquer-Only Satellite Attitude Control

hero

Quick start

Explore our example notebook Open in molab.

Marimo offers a sandboxed environment with access to a GPU, so you will not need to install anything. If you do not want to run it in molab, you can just run the following locally

uvx marimo edit --sandbox Intro_to_RADDO.py

Other ways to work with library

  1. pip install into your own environment
pip install raddo # or raddo[cuda13]
  1. Pull our pre-built Docker images
docker pull ghcr.io/jhu-acel/raddo:latest
docker pull ghcr.io/jhu-acel/raddo:dev # optional: editable pip install to make changes
  1. Clone this repository
git clone https://github.com/JHU-ACEL/raddo

and then run

docker compose up cli # base install
docker compose up dev # editable pip install

Then open the marimo notebook that started by going to localhost:8888. To attach to the docker container command line, run

docker exec -it -u docker raddo-cli-1 bash

Examples

  • Intro_to_RADDO.py demonstrates the basic functionality of the library
  • Magnetorquer_Control.py is a more comprehensive example for the magnetorquer-only attitude control problem of a satellite with online adaptation
  • B_field_Pretraining.py shows the training pipeline for training the magnetic field models offline.

Details

  • Just-in-time (JIT) compilation
  • Makes use of the Equinox library for Object-Oriented programming while maintaining JIT-compatibility
  • Quadratic Program (QP) Controller built on Moreau
    • Differentiable, fast QP solves
  • Attitude-Aware QP Solver
  • The QP Solver is set up to natively handle quaternion attitude dynamics
  • Based off of "Planning with Attitude"
  • SQP Controller
  • Sampling-based MPC controllers (MPPI/CEM)
  • Quick start
  • marimo notebooks offer their own sandboxed environments, so you don't need to install any of your own dependencies
    • To get started run uvx marimo edit --sandbox Intro_to_RADDO.py
    • You can also open it in molab which provides GPU access
  • Modular design
  • It is designed to be as general as possible so that you can use it for your own project.
  • You can use your own dynamics and/or write your own controllers.
  • Differentiable
  • The whole pipeline is differentiable similar to TurboMPC and DiffMPC.
  • This allows you to use gradient descent to learn better cost weights, dynamics parameters, etc
    • This is not something we have experimented with yet.
  • The structure of the Dynamics class is heavily based on DiffMPC.

Cite

@article{SchwartzCauligi2026,
  title={Learning-Based Adaptive MPC for Magnetorquer-Only Satellite Attitude Control}, 
  author={Patrick Schwartz and Abhishek Cauligi},
  journal={International Conference on Space Robotics 2026},
  year={2026},
  url={https://arxiv.org/abs/2610.20280}

Metadata

Release files for raddo 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raddo 0.1.6
File Size Uploaded Provenance Actions
raddo-0.1.6.tar.gz 45.6 kB Without provenance Details for raddo-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for raddo 0.1.6
File Interpreter ABI Platform Actions
raddo-0.1.6-py3-none-any.whl Python 3 none any Details for raddo-0.1.6-py3-none-any.whl

Total release size: 113.3 kB

Release files / raddo-0.1.6.tar.gz

Download URL raddo-0.1.6.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
496185ae0f975bef6a004d3928336d41e8e966230e2702c7d81d8bea40776066
BLAKE2b-256 checksum
How to use checksums
0b72335419bb4b700e31057a3ecae59a51cfea9ee61eaf913cc03158eb22ab95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / raddo-0.1.6-py3-none-any.whl

Download URL raddo-0.1.6-py3-none-any.whl
Size 67.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c067b8be05fd627a63f6be4df036f6c46d17b4745fb94ac25b6712b0b5f6ad1
BLAKE2b-256 checksum
How to use checksums
0f4b728495891c369ca5033ac0416fa7ffde39daa1e4586796d77212e90ed357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for raddo 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page