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. .. image:: ../_static/release_notes/0_2_2_animation.gif :alt: ICESat-2 performing nadir, coordinate, and along-track pointing maneuvers over Earth at sunset. :width: 800px :align: center 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 :doc:`tutorial series <../tutorials/index>` 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=...)`` to ``Orbital_State`` or ``simulate()``. The ``density_model`` constructor argument and ``Orbital_State.density_model`` attribute are deprecated; use ``Orbital_State.atmosphere``. The old ``ADCS.orbits.density_model`` and ``ADCS.orbits.ephemeris`` import paths emit deprecation warnings. Import ``SMADAtmosphere`` from ``ADCS.environment.atmosphere`` and a concrete ephemeris such as ``DE421`` from ``ADCS.environment.ephemeris``. The legacy ``Ephemeris`` name referred to DE421; ``Environment.Ephemeris`` now 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 implements ``to_json_config()`` and the classmethod ``from_json_config(config)`` and the former returns JSON-serializable data. Built-in models are handled automatically. * **Tabulated atmosphere inputs are validated more strictly.** Custom ``SMADAtmosphere`` altitude 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 raise ``ValueError``. * **SALTRO commands are now actuator-limited.** ``SALTRO.find_u()`` clips each command to the selected estimated satellite's ``u_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 ``BiasWithInstability`` with 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.