SpaceFOMO
SpaceFOMO
Back to Tools
mission analysis open source

Basilisk

Open-source modular astrodynamics simulation framework for spacecraft GNC and HIL

Python-scripted C/C++/Rust framework for high-fidelity spacecraft dynamics, GNC algorithms, Monte Carlo, and hardware-in-the-loop simulations.

About Basilisk

Basilisk (BSK) is an open-source astrodynamics simulation framework for modeling the orbit and attitude dynamics of complex spacecraft, developing guidance, navigation and control (GNC) algorithms, running Monte Carlo campaigns, and supporting hardware-in-the-loop testing. It is developed jointly by the Autonomous Vehicle Systems (AVS) Laboratory at the University of Colorado Boulder and the Laboratory for Atmospheric and Space Physics (LASP).

The architecture combines a Python user interface for scripting and reconfiguration with performance-critical modules written in C, C++ and Rust. Modules communicate through a controlled message-passing interface. Simulation modules cover rigid and multi-body dynamics (including reaction wheels, thrusters, flexible panels, fuel slosh and MuJoCo-based models), sensors, environments (gravity, atmosphere, magnetic fields, solar radiation pressure) and power/thermal subsystems. Separate flight-software algorithm modules implement attitude determination, guidance laws, control, optical navigation and related functions. A companion Unity-based visualization tool called Vizard provides interactive 3-D rendering; BSK-RL adds Gymnasium environments for reinforcement-learning research on spacecraft autonomy.

Basilisk supports both faster-than-real-time execution (targeting roughly a mission year per compute day for 6-DOF dynamics) and real-time synchronization for hardware-in-the-loop work. It is cross-platform (Windows, macOS, Linux), distributed under the ISC license, and installable via pip ("bsk[all]") or from source. It is used for academic research, mission concept studies, flight-software development and testing, flight-data analysis, and AI-based autonomy work. Documented applications include support for the Emirates Mars Mission (Hope) development at LASP and the Emirates Mission to the Asteroid Belt simulation framework; commercial and other organizational users are also reported in the community.

Key facts

Access
pip install bsk[all] or build from source; Docker images available
License
ISC
Language
C, C++, Python, Rust
Developer
AVS Lab (University of Colorado Boulder) and LASP
Platforms
Windows, macOS, Linux
First released
2018
Latest version
2.12.2

What it's used for

  • Spacecraft orbit and attitude dynamics simulation
  • GNC / ADCS algorithm development and closed-loop testing
  • Monte Carlo dispersion analysis
  • Hardware-in-the-loop real-time simulation
  • Optical navigation and visual sensor simulation
  • Flight-software development and verification
  • Spacecraft autonomy and reinforcement-learning research
  • Mission concept and multi-satellite simulation

FAQ

▸Is Basilisk free?

Yes. It is released under the ISC open-source license and can be installed from PyPI or built from the public GitHub repository at no cost.

▸What is Basilisk used for?

It is used for high-fidelity spacecraft dynamics simulation, GNC algorithm development, Monte Carlo analysis, hardware-in-the-loop testing, optical navigation research, and spacecraft autonomy studies.

▸How do I install Basilisk?

The simplest method is pip install "bsk[all]". Prebuilt wheels are available for Windows, macOS (Apple Silicon) and Linux; source builds and Docker images are also supported.

▸Who develops Basilisk?

It is developed jointly by the Autonomous Vehicle Systems (AVS) Laboratory at the University of Colorado Boulder and the Laboratory for Atmospheric and Space Physics (LASP).

▸Basilisk vs GMAT or NASA 42?

GMAT focuses on trajectory design and optimization; NASA 42 is a spacecraft attitude and dynamics simulator. Basilisk emphasizes modular, high-speed coupled orbit/attitude dynamics, flight-software modules, Monte Carlo and hardware-in-the-loop workflows with a Python scripting interface.

Alternatives

NASA 42GMATOrekitSTKFreeFlyerNASA TrickDARTS

Further reading

Used by

Get engineering tools in your inbox

A weekly digest of the moments you'd regret missing. Starting soon: get on the list.