0.2.2 Visualization, Environment, and Force Modeling¶
Animations¶
The new Godot viewer turns simulation results into an interactive 3-D scene with spacecraft attitude, orbital motion, pointing targets, and boresight overlays. The animation below follows ICESat-2 through nadir, coordinate, and along-track pointing as it passes over Earth at sunset. It was recorded at 10 times simulation speed. A tutorial on creating and recording these animations is forthcoming. See the graphics pull request for the viewer work.
Tutorials¶
The tutorials are being refreshed to use the updated simulate() frontend
and to cover the new capabilities in this release. This section will be
expanded as those walkthroughs are added; the existing tutorial series remains available.
Environmental models¶
The configurable Environment now offers WMM2025 and CHAOS-8 magnetic
fields alongside IGRF-14, an optional NRLMSISE-00 atmospheric density model,
and additional JPL ephemerides (DE441, DE442, and DE442s). The default
atmosphere and magnetic field remain available, while callers can select
these models for their simulation and orbital state. See the
magnetic-field models
and atmosphere models
for configuration details.
Force and disturbance modeling¶
Disturbances now have a force interface as well as torque. The new force stack includes aerodynamic drag, solar radiation pressure, body-fixed thrust applied at a point, and a Sentman free-molecular drag model. The work is tracked in pull requests #245, #246, #247, #248, and #249.
Warning
Breaking changes and deprecations
Environment configuration moved to ``Environment``. Pass atmospheric density models as
Environment(atmosphere=...)toOrbital_Stateorsimulate(). Thedensity_modelconstructor argument andOrbital_State.density_modelattribute are deprecated; useOrbital_State.atmosphere. The oldADCS.orbits.density_modelandADCS.orbits.ephemerisimport paths emit deprecation warnings. ImportSMADAtmospherefromADCS.environment.atmosphereand a concrete ephemeris such asDE421fromADCS.environment.ephemeris. The legacyEphemerisname referred to DE421;Environment.Ephemerisnow names the abstract model interface, so instantiate a concrete model.Custom Monte Carlo environment models need serialization support.
simulate_mc()now rejects custom environment components unless their importable class implementsto_json_config()and the classmethodfrom_json_config(config)and the former returns JSON-serializable data. Built-in models are handled automatically.Tabulated atmosphere inputs are validated more strictly. Custom
SMADAtmospherealtitude and density tables must be finite, have matching one-dimensional shapes with at least two rows, use strictly increasing non-negative altitudes and positive densities, and decrease over the final interval for high-altitude extrapolation. Invalid tables now raiseValueError.SALTRO commands are now actuator-limited.
SALTRO.find_u()clips each command to the selected estimated satellite’su_max. Code that relied on out-of-range commands will receive saturated values.
Other features and fixes¶
Runtime downloads and Godot viewer work files now use a per-user cache. Bundled kernels remain readable directly from the installed package.
#233: add
DensityNoise, which scales noise from a density by the sample time.#234: model as-built sensor scale factors and misalignment.
#235 and #251: add
BiasWithInstabilitywith Gauss-Markov drift and correct its process spectral density term.#257, #258, and #259: expose Keplerian elements on
Orbital_State, fit SGP4 mean elements to the initial state, and make the conversion units explicit. Element attributes use radians.Refresh the benchmarks,
simulate()examples, README, and package metadata for this release.