Version 2.13 Known Issues

Version 2.13.0b0

  • GitHub issue 1226: Fixed C++ output redirection and message lifetimes, restoring shared OpNav outputs affected since 2.12.0. Message-vector access now preserves the correct source owner across later module imports, preventing premature deletion and false deleted-module errors.

  • Configure redirection before connecting readers or recorders, and keep modules alive during simulation. Use stand-alone gateways for redirected feedback; native ownership cycles remain unsupported and are not automatically detected. Redirecting through raw pointer-vector copies or slices raises ReferenceError; use the original module output or a Python list selection. Keep the module’s output-vector entries intact.

  • Camera and Vizard image buffers are valid only until the producer replaces them. Message recorders do not archive image bytes; save images or copy their bytes while current.

  • Fixed Python iterator crashes and numeric-vector access errors that depended on module import order, including storage-message reads and C++ Module: linkBudget lookup tables.

  • GitHub issue 1632: C++ Module: linkBudget underestimated atmospheric attenuation on Earth-space slant paths by repeatedly applying a ground-to-layer refraction ratio to the running elevation cosine. Each layer now uses the ground ray invariant and its own elevation when accumulating loss. Atmospheric layer generation also produced nearly constant one-meter steps and overflowed near 72.4 km for a sea-level station, silently stopping below the intended 100 km limit. A finite exponential grid now covers the complete altitude interval and samples atmospheric properties at layer midpoints. Cells are split at the atmosphere’s temperature and pressure formula boundaries to reduce absolute attenuation errors near absorption lines. The resulting sea-level grid uses 931 cells instead of 70,979. Absolute attenuation regression tests use real oxygen and water-vapor absorption tables and a converged fine-grid reference. A committed reference-generation utility reproduces the 1 m versus 0.5 m convergence comparison. Quantitative tests cover the existing per-layer sine clamp of 0.0872, including low elevations and both sides of its threshold; clamp behavior is unchanged.

  • The classical orbital-element choice in C++ Module: formationBarycenter, including the implementation in tagged release 2.12.0, can place a reference far from a compact near-circular formation because separately averaged classical angles are singular. This choice remains unchanged for compatibility. Select the new prograde or retrograde mean-longitude equinoctial option for supported elliptic formations, or use the existing Cartesian method when a physical center of mass is required. Each equinoctial representation excludes one equatorial pole; non-elliptic inputs and undefined circular-mean longitudes are rejected rather than silently falling back.

  • C Module: headingSuKF applied the inverse camera mounting rotation when writing r_BN_C, producing incorrect camera-frame headings for rotated cameras. It now uses the body-to-camera rotation defined by sigma_CB.

  • C Module: pixelLineConverter, C Module: horizonOpNav, and C Module: faultDetection republished retained valid measurements with new output timestamps, which could prevent downstream C Module: opNavPoint timeout. They now consume each input write once, preserve the output and its timestamp between writes, and publish invalid output when new inputs provide no usable measurement. This allows slower consumers to read valid observations without continually refreshing their age. Fault detection checks freshness independently for its primary and secondary inputs; mode 2 requires both to be fresh in the same update.

  • GitHub issue 1657: C Module: opNavPoint wrote a principal rotation axis in camera frame components into the body-relative attitude error sigma_BR, including the 180 degree fallback axis. The commanded rotation was correct only when the camera frame coincided with the body frame (sigma_CB = [0, 0, 0]); any other camera mounting rotated the spacecraft about the wrong axis.

  • C Module: opNavPoint treated a retained valid=1 message as a new image on every update, preventing timeout and reinterpreting its camera vector with the current attitude. The module now accepts each valid message write time once and reuses the saved inertial heading until it expires.

  • C Module: opNavPoint used lastTime == 0 to mark that no heading was saved. The heading of a valid image at simulation time 0 was therefore discarded on the next update, and the module switched to the search rate if the following image was invalid. A valid image that arrived exactly timeOut seconds after the previous one was also ignored for one update, and with the default timeOut of zero, valid images were never used.

  • In Basilisk 2.12.1, a failed Monte Carlo data writer can leave incomplete combined dataframes without reporting an error to the caller; initial-condition runs can also wait indefinitely for queued data. The controller now detects writer exit, raises RuntimeError, and cleans up its workers and queue manager. Treat partial archives from failed or interrupted campaigns as incomplete and rerun after resolving the writer error.

  • GitHub issue 1671: In Basilisk 2.10.0 through 2.12.2, C++ Module: linkBudget could classify unwritten antenna messages as a space-to-space link during reset, disable atmospheric attenuation, and apply an erroneous ground-antenna pointing loss. Separately, C++ Module: simpleAntenna did not forward the ground surface normal needed for atmospheric slant paths, so attenuation did not vary with elevation. Publishing antenna outputs during reset alone could also cache sea-level conditions before an elevated ground station published its position. The modules now forward the surface normal and initialize the link on the first update with written antenna inputs and, when atmosphere is enabled, a nonzero ground position. Schedule ground and spacecraft producers before antennas, and antennas before the link budget. For older versions, explicitly populate the normal and initialize the link only after all upstream producers have published their states. See Initialization and Execution Order for compatibility changes to output publication during reset and the timing of initialization errors.

  • In versions 2.8.28 through 2.12.2, tleHandling satTle2elem() raised ValueError for a whole file when any set had a blank international designator (columns 10-17 of line 1), as CelesTrak’s analyst-object TLEs do. Such sets now load with launchDate left as None; launchNo and pol retain their defaults of 1 and "A", which do not represent known launch metadata for these objects. Upgrade to a version containing this fix or backport the reader change to read these sets. Until then, omit the complete affected sets to read the rest of the file. The ommHandling reader was introduced during the 2.13 beta cycle and is unavailable in the affected releases.

  • In versions 2.8.28 through 2.12.2, tleHandling satTle2elem() converted TLEs with ephemeris type 4 (SGP4-XP) using plain SGP4, which can produce incorrect states because those sets carry BTERM and AGOM in the B* and second-derivative columns. Unsupported sets now raise ValueError by default. With on_error="skip", they are skipped with a printed warning, while other readable sets are returned. If every attempted set fails in skip mode, the first error is raised; a file containing only otherwise valid type-4 sets raises ValueError in either mode. With an affected version, check column 63 of line 1 and exclude complete sets unless that field is blank, 0 or 2. Changing a type-4 field to 0 or 2 does not convert SGP4-XP data to SGP4.

  • In versions 2.8.28 through 2.12.2, tleHandling satTle2elem() raised ValueError for a whole 3LE file when any name line started with 1 or 2 (for example 1KUNS-PF), because such lines were counted as element lines. Issue #1676 is fixed by recognizing complete record layouts before counting element-line prefixes, preserving names such as 1 TEST and 2 TEST and their associated satellites, including files with trailing blank lines. These prefixes are also accepted in optional 2LE file titles. Recognizable truncated element headers are rejected as possible orphaned lines rather than consumed as names or file titles. This includes longer fragments with malformed catalog fields when later field structure still identifies them as element lines, and shortened headers when intact sequences of element fields identify columns shifted by missing characters. Prefix an intentional element-like title with 0 followed by a space to disambiguate it; for a satellite name, that prefix is retained in satName. With an earlier version, rename satellites or file titles starting with 1 or 2 before reading the file.

  • In versions 2.8.28 through 2.12.2, tleHandling satTle2elem() failed for the whole file when any one set could not be read (for example a bad checksum or a malformed field), so no valid sets were returned either. This remains the default behavior for compatibility. Call satTle2elem(path, on_error="skip") to recover readable sets: complete sets that raise validation or arithmetic errors, including epoch overflow and division by zero, are skipped with a printed warning. If every attempted set fails in skip mode, the first set’s original error is raised. File-level format checks, including orphaned element lines, can still reject the whole file in either mode.

  • GitHub issue 1681: In tagged releases 2.1.4 through 2.12.2, polyhedral gravity summed the absolute values of face tetrahedral volumes. For a closed, outward-oriented body that is not star-shaped about its center of mass, this overestimates the volume and scales both acceleration and potential by the ratio of the true volume to the overestimated volume. For example, the fourteen-cube C-shaped body in the issue produces 14/18 of the correct field. The corrected C++ Module: polyhedralGravityModel sums signed contributions and rejects non-finite or non-positive totals. Initialization also clears cached facet and edge dyads on each attempt, allowing corrected meshes to be retried without retaining invalid or outdated gravity data. Consistently inward-oriented meshes must have their facet winding reversed before initialization. On affected versions, use a mesh that is star-shaped about its center of mass or upgrade to a version containing this fix. The shipped eros007790.tab mesh is unaffected by the volume correction.

  • GitHub issue 1682: In tagged releases v2.2.1 through v2.12.2, C++ Module: sphericalHarmonicsGravityModel accepted a maxDeg larger than its manually configured cBar or sBar tables, as well as rows with missing orders. Field evaluation could read outside coefficient storage and crash. Changing the degree after initialization could also exceed the recurrence storage, and repeated initialization appended caches instead of rebuilding them, potentially producing incorrect acceleration. Initialization now requires at least maxDeg + 1 rows in each table and at least l + 1 entries in each retained row l. It rebuilds all recurrence caches and invalidates failed attempts. Field evaluation raises BasiliskError for missing initialization, insufficient initialized degree, or incomplete coefficient storage. On affected versions, use the file loader with a supported degree or validate manual table dimensions, and create a fresh model when changing the degree. With the fix, correct rejected inputs and initialize successfully before evaluating the field again.

  • In Basilisk 2.12.2, C Module: chebyPosEphem falls back to record zero when no record covers the requested ephemeris time. With multiple records, times after the last interval or in a gap can therefore return position and velocity from the wrong endpoint (issue #1685). The fix selects the nearest configured interval endpoint, ignores unused slots, and retains array-order priority for overlaps and equal-distance ties. On affected versions, keep requested times within configured coverage or load only the intended record into slot zero before resetting and evaluating the module.

  • In Basilisk 2.12.2, C++ Module: spiceInterface could round seconds just below 60 in a linked epochInMsg up to 60 and terminate the process during initialization (issue #1686). On affected releases, leave the epoch message unlinked and supply the full fractional seconds in a valid UTCCalInit string. The fix preserves sub-microsecond input precision at the minute boundary and raises a catchable BasiliskError when SPICE rejects an epoch.

  • In Basilisk 2.12.2, reconfiguring C Module: chebyPosEphem with a different coefficient count and resetting it can retain derivative coefficients from the previous fit, producing incorrect velocity while position remains correct (issue #1687). The fix clears each record’s velocity coefficient cache before rebuilding it. On affected versions, create a new module instance or explicitly zero every record’s velChebyCoeff array before resetting the module.

  • In Basilisk 2.12.x, multi-knot C++ Module: spiceInterface orientation fits could err by up to 180 degrees when the body turned more than half a revolution across the fit (issue #1688). Knot spacing above about 104.25 days could also produce nonfinite orientation and rate. On affected releases, use shorter intervals that keep the angular travel across the entire stencil well below 180 degrees, or use exact SPICE orientation with coverage at each requested time. The fix supports long orientation intervals and uses an exact query when even the local pair is ambiguous.

  • GitHub issue 1689: In tagged releases v2.6.0 through v2.12.2, C++ Module: polyhedralGravityModel returned positive gravitational potential, opposite to the specific potential-energy convention of the other gravity models. Spacecraft orbital-energy reporting also passed inertial positions directly to the body-fixed polyhedral potential calculation. Consequently, totOrbEnergy had the wrong potential sign and, for a rotated or rotating body, evaluated the potential at the wrong location. The fix returns negative specific potential energy and transforms relative positions into each body’s frame at the energy evaluation epoch. Planet translation and orientation use the output time rather than the last integrator-stage time. On affected releases, compute the specific potential independently as the negative of poly.computePotentialEnergy() evaluated at the correct body-fixed position. Remove that extra negation after upgrading. Acceleration calculations retain their existing behavior. For a uniformly rotating non-axisymmetric body, check the Jacobi integral rather than expecting orbital energy alone to be conserved.

  • In Basilisk 2.12.2, C++ Module: waypointReference retains its end-of-file flag after reinitialization, causing subsequent runs to hold an early waypoint instead of advancing through the file (#1690). Repeated resets also leak file streams, and destruction before the first file-open attempt can dereference an uninitialized pointer. Reset now clears the end-of-file flag and replaces an owned file stream; destruction safely releases that stream. For affected releases, use a fresh, successfully initialized module for each run to avoid stale playback state.

  • In Basilisk 2.12.2, C++ Module: msisAtmosphere can change its epoch on repeated initialization when epochDoy is greater than 31, producing different density and temperature outputs for otherwise identical inputs (#1697). Changing the day or reverting to the default epoch can also retain the previous month or year. The module now rebuilds the complete default epoch before applying epochDoy. For affected releases, supply an explicit epochInMsg; this path already reconstructs the epoch on each reset and retains precedence over epochDoy.

  • In Basilisk 2.12.2 and earlier, malformed WMM coefficient records could reuse values from a preceding line and silently change the computed magnetic field; negative degree/order indices could write outside coefficient arrays, and oversized integers could wrap into valid indices (issue #1691). The WMM reader now validates integer conversions, parsed fields, and index bounds, and failed loads release the partial model and stop initialization. On affected releases, use an unmodified official WMM coefficient file and validate any custom file before loading it.

  • C++ Module: dentonFluxModel in Basilisk 2.12.2 reads beyond its local-time table between 23 h and 24 h, producing incorrect electron and ion fluxes and a discontinuity at midnight (#1692). At whole-hour local times, it also selects the lower energy bin instead of interpolating in energy (#1693). The fixes wrap local time and table lookups at midnight and restore whole-hour energy interpolation. Recompute affected flux histories with the corrected module; the model data files and configuration are unchanged.

  • In Basilisk 2.12.2, C++ Module: dentonFluxModel does not check numeric reads from its electron and ion data files. Truncated or malformed files can leave table entries uninitialized or retain values from an earlier load, producing incorrect fluxes without an error (#1694). Initialization now checks every required value, including unused statistics, and raises BasiliskError with the file path and value number on failure. On affected versions, use complete, unmodified Denton data files and replace any damaged copies.

  • In Basilisk 2.12.2, astroFunctions.RV2OE can return zero inclination for polar orbits, or zero/360-degree node, periapsis, or anomaly angles when a defining component or dot product is exactly zero (#1695). Roundoff in inverse-cosine arguments can also produce nonfinite angles. The function now tests the relevant vector magnitudes for undefined angles and clamps each inverse-cosine argument to [-1, 1]. Its existing zero placeholders for singular angles are retained; these placeholders can discard orientation information for circular, equatorial, or radial states.

  • In Basilisk 2.12.2, C++ Module: dataFileToViz can crash when a spacecraft with an empty thruster cluster map precedes one with thrusters (#1696). Empty count vectors now retain their spacecraft index. Cluster and count vectors must have equal lengths, and counts must be nonnegative. For spacecraft without thrusters, pass both an empty cluster vector and an empty count vector.

  • In Basilisk 2.12.2, C++ Module: dataFileToViz assigns later spacecraft thruster and reaction-wheel configuration entries from the beginning of the shared lists (#1700). Positions, directions, and limits can therefore be incorrect even though the recorded thrust, wheel speed, and motor torque are read correctly. Each spacecraft now uses its own configuration entries. Regenerate affected Vizard files with the corrected module.

  • In Basilisk 2.12.x, readAtmTable skipped the surface row in the nominal Venus, Uranus, Titan, and Jupiter GRAM CSV files. C++ Module: tabularAtmosphere then returned zero density and temperature below the first retained row. It also returned zeros exactly at the highest altitude of any table. The fix retains the surface row and returns the final row at its altitude (issue #1698). On affected releases, load all numeric rows directly and use the final row’s values when querying the exact upper endpoint.

  • In Basilisk 2.12.x, Boolean or nonfinite samples in custom Venus, Uranus, Titan, and Jupiter GRAM CSVs could propagate into the model output. On affected releases, check that height, density, and temperature contain only finite numbers before loading a profile. The updated readers reject these invalid samples (issue #1698).

  • In Basilisk 2.12.2 and earlier, assigning malformed or oversized nested sequences to two-dimensional C arrays from Python could crash or corrupt memory; smaller inputs could copy uninitialized values, and failed element conversions could still overwrite the destination (issue #1699). The shared SWIG conversion now validates both dimensions and row consistency, propagates errors before assignment, and zero-pads smaller rectangular inputs. On affected releases, supply fully populated rectangular arrays matching the declared dimensions, with every element convertible to the destination type.

  • In Basilisk 2.11.x and 2.12.x, C++ Module: albedo and C++ Module: earthRadiationModel shifted grids with an odd number of rows half a cell north, omitting polar area and underestimating infrared flux over the poles. An odd number of columns shifted map values half a cell east. Earlier C++ Module: albedo releases, including 1.8.1 and 2.10.2, left the last latitude or longitude coordinate at zero when its count was odd. On affected releases, use even latitude and longitude counts and resample odd-sized albedo maps to an even number of rows and columns (GitHub issue 1701).

  • In Basilisk 2.12.2, astroFunctions.JulianDate rounds calendar dates up to noon, and GregorianDate can return day zero or month 13 near month ends (#1702). Both GregorianDate and exactGregorianDate also count 1900 and 2100 as leap years. All three helpers now use Gregorian leap-year rules and count fractional calendar days from midnight. Callers that intended noon should pass day + 0.5 to JulianDate.

  • In Basilisk 2.12.2, C++ Module: constrainedAttitudeManeuver can overrun fixed arrays or use uninitialized endpoints when the grid has no free node (#1703, #1704). On that release, set 2 <= N <= 20 before each grid build, limit each boresight list to ten entries, and check that the grid has distinct, usable endpoints. The planner now validates these limits and reports endpoint selection failures before search.

  • In 2.12.2, an incomplete search, stale inputs, or an MRP shadow change can produce a partial, nonfinite, or unnecessarily long reference. Resetting after time zero can skip part of the maneuver. On that release, start at simulation time zero, supply written inputs, and verify the final attitude, endpoint rates, and angular travel before using the reference. The planner now checks search completion and fitted motion and times the maneuver from reset. Cone clearance between waypoints still requires a separate check, as described in the C++ Module: constrainedAttitudeManeuver User Guide. The default distance heuristic can still select a longer grid path. Set costFcnType = 0 and useShortestPath = True to obtain minimum accumulated MRP edge distance on the generated graph, at the cost of potentially more node expansions (#1726). This option does not minimize fitted control effort or guarantee continuous cone clearance.

  • In 2.12.2, invalid BSpline inputs or a very short final knot span can yield an incorrect fit, and an empty Python sequence passed to an Eigen vector setter can terminate Python. On that release, use finite waypoint coordinates, strictly increasing times starting at zero, and enough independent weighted waypoints to determine the fit. Avoid very short final knot spans and empty Eigen inputs. The fitters now check their inputs, the evaluator respects the final knot span, and the Python bindings handle empty vectors.

  • In Basilisk 2.12.2, updating SimpleTransmitter or SpaceToGroundTransmitter without an attached storage unit can terminate the simulation process (#1705). On affected versions, attach a storage status message with addStorageUnitToTransmitter() before the first update. Both transmitters now publish zero baud while storage input is unavailable.

  • In Basilisk 2.12.2, a scheduled ReactionWheelStateEffector or VSCMGStateEffector can terminate the simulation process if its spacecraft has not registered its device states (#1706). Attach the effector to the spacecraft and add the spacecraft to a simulation task before initialization. A configured effector now raises BasiliskError if its states are missing on update.

  • pixelLineBiasUKF in Basilisk 2.12.2 and earlier releases stores six post-fit residuals in a three-element array, overwriting the navigation output timestamp, maxTimeJump, and the cached circle timestamp after a measurement update (#1707). The navigation timestamp also remains at the reset epoch when no measurement is processed. The fix sizes and clears the entire residual array and tags the navigation output with the filter state’s time of validity. Upgrading is required to prevent the overwrite; using the filter output’s timeTag only works around the incorrect navigation timestamp.

  • In Basilisk 0.7.2 through 2.12.2, C Module: pixelLineConverter adds a half-pixel offset on each image axis with an odd pixel count (#1717). On affected releases, subtract 0.5 pixels from the measured circle coordinate sent to the converter on each odd axis. Remove this correction after upgrading to the fixed version.

  • In Basilisk 1.7.2 through 2.12.2, C Module: spacecraftReconfig rounded the per-thruster half-burn duration down to whole seconds when checking for ignition (issue #1718). This could delay the command and release the burn attitude before the commanded pulse ended. A plan created at simulation time zero also ran one task interval late because its clock discarded the first interval. On affected releases, remove the integer cast on thrustOnTime in all three burn-start checks and change their comparisons from < to <= so a tick exactly at ignition fires on time. Backport the clock fix to measure from the integer planning epoch. This also prevents accumulated roundoff from delaying ignition after repeated fractional-second updates. In Basilisk 2.8.0 through 2.12.2, a gap of more than about 104 days between updates could also stall an active plan. On those releases, reset the module when reactivating it after such a gap to build a fresh plan from the current navigation inputs. On affected releases, also reset before resuming if a scheduled burn window has passed. Otherwise the module can command the missed impulse at the wrong orbital position.

  • Basilisk 2.12.2 omits a short-period longitude term in clMeanOscMap (issue 1728). This biases the mapped argument of periapsis for eccentric orbits and can cause kilometer-scale position errors. The C and Python mappings, including checked and legacy paths, now include the term in both directions. Upgrade and recompute affected reference results, or apply the correction described in Mean/osculating short-period longitude correction to an older implementation. Circular inputs are unaffected by this omission; the theory’s first-order accuracy and critical-inclination limitations remain.

  • C++ Module: vizInterface can divide by zero when a registered camera has an unwritten configuration or a zero renderRate in noDisplay or liveStream mode (#1737). This affects tagged releases 2.1.5 through 2.12.2 and can terminate the simulation on platforms that trap integer division by zero. The cadence gates now require a positive interval before evaluating the remainder, preserving positive image cadences and the headless startup exchange.

    As a workaround in affected releases, write a positive renderRate for every registered camera before simulation initialization, including disabled cameras. Use isOn = 0 to disable image requests while keeping the interval positive. Writing a configuration with a zero interval does not avoid the issue.

    After upgrading, zero cadence safely pauses image requests. Headless startup still requires Vizard and, with at least one registered camera, exchanges simulation data on the first eleven module updates after time zero. These are simulation-data exchanges, not camera image requests; see Camera Image Cadence for configuration and startup details.

  • In Basilisk 2.12.1 and 2.12.2, the sensorThermal module overestimates emitted radiative power by about 1.59% at a given temperature, surface area, and emissivity. The correction uses the CODATA Stefan-Boltzmann constant. See issue #1741.

  • C Module: thrForceMapping could return positive commands during off-pulsing because its second unconstrained solve could reverse a selected thruster’s sign. Such results now trigger a nonnegative least-squares fallback over all configured thrusters, followed by force-norm minimization at fixed achieved torque. Roundoff-sized positive commands are clamped to zero. This also avoids weak-thruster and proportional-column selection artifacts. Row-space projection prevents cycling at zero-force boundaries. Valid allocations and the existing angErrThresh saturation policy are retained.

  • GitHub issue 1658: C Module: thrForceMapping compared the commanded torque reduced onto the control axes, expressed in control axis components, with the thruster torque expressed in body frame components. For control axes other than the leading rows of the identity matrix (for example permuted, non-leading, or rotated axes) the outTorqAngErr output was wrong and the angErrThresh saturation scaling could be applied or skipped incorrectly, so the same torque request produced different thruster forces depending only on the control axis order.

  • Editable installs and wheel builds could hang during Git source discovery on macOS. Packaging now avoids the pipe deadlock without requiring dependency downgrades.

  • GitHub issue 1654: Some Apple Silicon Rust toolchains, including 1.99.1, report rust-objcopy debug-stripping failures because libLLVM.dylib is missing from the tool’s library search path. Compilation and tests can still succeed despite these warnings. Rust-enabled macOS CI and wheel jobs now install the selected toolchain’s matching llvm-tools-preview component and verify direct tool execution and debug stripping before building. Local source builds need the same component; see Setup On macOS for installation and verification commands.

  • C++ Module: lambertSolver silently returned invalid solutions for unknown solverMethod values. The message now carries the selection as a raw integer, and values other than IZZO (0) or GOODING (1) raise BasiliskError before conversion to the internal enum or publication of a new output. Corrected requests recover without resetting the module, and zero-initialized messages retain the Izzo default.

  • C++ Module: lambertSolver could accept nonfinite flight time or gravity, unusable endpoint vectors, and invalid alignment thresholds, allowing invalid arithmetic or bypassing the transfer-plane check. Numeric inputs are now validated before solving and invalid values raise BasiliskError. setAlignmentThreshold now accepts only finite values strictly between 0 and 90 degrees, preserving its previous value when a new value is rejected. A componentwise roundoff bound rejects parallel and antiparallel endpoints even when normalization produces a tiny nonzero cross product and the configured angular threshold would otherwise allow it. Alignment rejection occurs before computing lambda and the scaled flight time, avoiding invalid square roots or division by zero for rejected collinear geometry. On Windows with MSVC, the cross-product norm could itself raise FE_INVALID through an unused SIMD lane. The alignment check now uses a scalar square root.

  • An aligned input to C++ Module: lambertSolver could permanently disable solutions on that module instance, even after a later input defined a valid transfer plane. Alignment rejection now applies only to the current update. Both solution and performance slots are cleared for a rejected input, and later acceptable geometry or a relaxed alignment threshold can recover without resetting or recreating the module.

  • The Izzo method in C++ Module: lambertSolver used an incorrect exponent for its intermediate zero-revolution starter, producing a negative guess for a positive root. The corrected logarithmic interpolation is continuous at both ends of the interval and reduces unnecessary safeguarded iterations. Some transfers near the parabolic boundary previously exceeded the default C++ Module: lambertValidator iteration limit despite converging to a valid root. The Python test reference uses the corrected exponent as well and safely refines starters at the parabolic boundary without producing NaN results.

  • C++ Module: lambertSolver could publish unconverged roots as valid after reaching its iteration limit, including short transfers and multi-revolution transfers just above the minimum time. Root searches now use safeguarded branch brackets and require finite results, a small final step, and a small flight-time residual. A failed branch returns zero velocities with its validity flag cleared; a later resolvable request can recover. Accurate hyperbolic starters and converged tiny corrections are retained to avoid unnecessary bisection and downstream iteration-limit rejection. Step-shrink checks compare consecutive high-order steps; bisection clears that history so high-order refinement can resume. Parabolic solutions use the same residual tolerance; nearby flight times use a smooth evaluator instead of a constant approximation. Requests beyond the evaluator’s numerical resolution can still be rejected.

  • GitHub issue 1652: C++ Module: lambertSolver previously assumed prograde motion about the input frame’s positive z-axis, so retrograde problems could return the opposite transfer with a valid flag. LambertProblemMsgPayload.transferDirection now selects PROGRADE (the zero/default value) or RETROGRADE for both algorithms. C++ Module: lambertPlanner forwards the selection made with setTransferDirection. Existing callers retain prograde behavior; retrograde callers must select their intended direction explicitly. Polar geometry uses a deterministic short/long transfer convention that accounts for floating-point cancellation. Unknown direction values are validated as integers before enum conversion, so rejection does not depend on undefined enum behavior.

  • GitHub issue 1651: The Gooding method in C++ Module: lambertSolver could return the same multi-revolution transfer in both valid solution slots, losing the other orbit. The initial guesses now use consistent minimum-time data and corrected branch formulas. A safeguarded minimum-time search also prevents divergence for transfers close to a full revolution, which could produce nonfinite velocities marked valid. Both methods return the coalesced orbit in both slots at the minimum time, within floating-point roundoff. Users of older releases can select IZZO to avoid the reported Gooding duplicate-solution issue.

  • GitHub issue 1649: Linux wheel builds could fail on upstream source-download errors despite an available backup because the Conan configuration helper ignored CONAN_HOME and wrote settings to an unused cache. The helper now configures the selected cache, retaining TLS and source-checksum verification. Source-distribution release validation also runs this helper before installation, so an upstream download failure can use the same backup server as wheel builds.

  • GitHub issue 1644: The C ukfLUBckSlv() utility could return a wrong solution when the first nonzero entry of the pivoted right-hand side was below 1 in magnitude, because it cast that entry to int before testing it for zero. No module calls it, and ukfMatInv(), which back-solves unit vectors, was not affected.

  • GitHub issue 1646: The linearAlgebra utilities had correctness and memory-safety defects in rectangular matrix operations, overlapping-buffer use, comparisons, zero and empty inputs, matrix inverses, and root and spectral calculations. These are corrected while retaining the pure-C implementation and public API. Matrices near numerical singularity may now be rejected by inverse routines; see the API documentation for the numerical checks, supported dimensions, overlap rules, and remaining numerical limits.

  • GitHub issue 1638: With setUseApHistory(True), the C++ Module: msisAtmosphere module omitted the UT and longitude dependent magnetic activity term of NRLMSISE-00, because globe7() cast its coefficient to int before testing it for zero. The density and temperature errors grew with the 3-hour Ap and exceeded 20 % and 100 K at some locations at Ap 100. The default daily Ap mode was not affected.

  • Windows builds could abort Python when a directly wrapped C function raised BasiliskError, including invalid planet identifiers passed to pixelLineBiasUKFMeasModel. The MSVC exception settings now allow these errors to propagate through C calls to the Python exception handler.

  • macOS builds could retain the previous MuJoCo framework after a dependency upgrade, mixing new headers with the old library and failing to load the resulting binaries. Framework discovery now refreshes during configuration, so an existing build directory follows the selected MuJoCo package.

  • With MuJoCo 3.16, MJScene XML exports could silently produce no file when generated body sites or subsequent structural edits had not been compiled. XML export now compiles pending changes and reports write failures, including an invalid output path.

  • GitHub issue 1631: The spherical harmonics gravity model replaced the reference radius loaded from the coefficient file with radEquator of the gravity body when the body was initialized. When the two radii differ, every term of degree \(n\) was scaled by \((R_{body}/R_{file})^n\). Spherical harmonics body initialization also rejects an unset, nonpositive, or nonfinite mu so the field cannot use the file GM while gravity-gradient torque uses an invalid body GM. To use the file GM, set planet.mu = planet.spherHarm.muBody after loading the file and before initializing the simulation.

  • Importing svIntegrators could make shared DoubleVector and MultiArray inputs fail SWIG conversion depending on import and first-use order, including when gravity and MuJoCo tests ran together. The integrator bindings now use matching vector type declarations, preserving both shared vector objects and Python lists as inputs.

  • GitHub issue 1629 (orbital calculations): Fixed defects in convergence, orbital geometry, and numerical stability across the C and Python orbital utilities, including singular and degenerate orbits, mean/osculating conversions, and environmental helpers. Also corrected characteristic orbital energy in keplerianOrbit and related controller, ephemeris, and eclipse calculations.

  • GitHub issue 1629 (compatibility and validation): Existing methods, NumPy scalar outputs, and legacy orbital conventions remain supported without deprecation. Optional checked APIs provide explicit input validation. Element inputs now require inclinations in [0, pi] radians (0 to 180 degrees), and invalid or unsupported calculations may fail explicitly. See Orbital Motion Compatibility for detailed compatibility guidance and limitations.

  • GitHub issue 1618: C Module: celestialTwoBodyPoint mixed reference-frame angular-rate components with inertial-frame basis-vector derivatives when computing domega_RN_N. The resulting angular acceleration was incorrect for general reference motion, including the single-body fallback. The zero-valued geometric terms are now omitted; the reference attitude and angular rate are unchanged.

  • Builds with Vizard or optical navigation used Protobuf C++ 3.21.12, which is no longer supported upstream. They now use Protobuf 6.33.5, with OpenCV 4.14.0 for optical navigation. Source builds require Conan 2.4.0 or newer, and the generated visualization bindings require Python Protobuf 6.33.5 or newer. The Vizard message schema is unchanged. CMake now refreshes the Protobuf compiler path when dependencies change, preventing existing build directories from retaining an incompatible compiler.

  • GitHub issue 1621: tleHandling.frame_bias() applied the GCRS to mean J2000 frame bias rotations in the reverse order and with the wrong sign of \(\xi_0\). The TEME to J2000/ICRF conversion used by tleHandling and ommHandling therefore shifted TLE and OMM initial states by about 1.3 m in LEO.

  • GitHub issue 1619: The C++ Module: imuSensor module computed DVFramePlatform by rotating the whole TotalAccumDV_BN_B of C++ Module: spacecraft with the attitudes of the current and the previous IMU call. C++ Module: spacecraft builds this field by adding the delta v of each integration step in the body frame of that step, so every attitude change between two IMU calls turned the delta v accumulated since the start of the simulation into a spurious delta v.

  • C++ Module: imuSensor did not discard the state of the previous IMU call in Reset().

  • MJSite left the fields of stateOutMsg other than the position, velocity, attitude and angular rate of the site uninitialized.

  • C++ Module: spacecraft did not initialize nonConservativeAccelpntB_B and omegaDot_BN_B of scStateOutMsg. They held uninitialized values in the message written before the first integration step and, with pointMassTranslationalOnly, during the whole simulation. They are now zero until computed.

  • GitHub issue 1615: The C++ Module: eclipse module returned the occulted fraction \((b/a)^2\) of the solar disk instead of the visible fraction \(1 - (b/a)^2\) when the disk of the occulting body lies entirely inside the solar disk, where \(a\) and \(b\) are the apparent radii of the Sun and the body. The same formula in PlanetRadiationBase, used by C++ Module: albedo and C++ Module: earthRadiationModel, was also corrected, even though that case is not reached for patches on the planet surface.

  • GitHub issue 1612: The C++ Module: spiceInterface module computed the GPS time of spiceTimeOutMsg as the elapsed TDB time since the GPS epoch instead of atomic time. GPSSeconds was in error by a periodic term of a few milliseconds, and GPSWeek and GPSRollovers could be one week early at a week boundary. JulianDateCurrent was read from a SPICE Julian date string, which has at most seven decimals, and was therefore quantized to 1e-7 day. GPSSeconds overflowed a 32-bit integer after GPS week 3550, and a simulation start before the GPS epoch produced invalid GPS outputs. The corrected UTC Julian date preserves the SPICE convention of holding at the following midnight during an inserted leap second, avoiding backward jumps.

  • GitHub issues 1610 and 1611: Rigid-body kinematics conversions and composition now preserve identity, small rotations, half-turns, and Euler singularities; PRV rate maps use analytic limits at zero and angle wrapping handles multiple revolutions. Python and Numba retain sequence inputs and non-contiguous PRV arrays. Numba uses wrappers and overloads to avoid deprecated list reflection; see RigidBodyKinematicsNumba for compiled-call requirements and the public callable interface. Representation singularities and extreme floating-point magnitudes remain outside the numerical guarantees; see Numerical scope and representation limits.

  • GitHub issue 1609: keplerianOrbit returned incorrect eccentric and mean anomalies, lost the sign of the flight-path angle, and returned zero rates after construction or stale rates after set_a(). These outputs are now consistent with the current elliptic orbit. set_mu() now refreshes the derived state immediately, and oe().rmag reports the current radius instead of zero. Anomalies follow the orbitalMotion.f2E() and E2M() conventions without additional normalization to the interval from zero to two pi radians.

  • Optional wheel packaging could fail when independent runners supplied different Rust and Cargo versions. Nightly, release, and optional-wheel test workflows now resolve stable Rust once per run and use that exact toolchain for all core and opNav wheel builds, including builds inside Linux containers.

  • The C++ Module: stripLocation module held its target at the endpoint after completion but continued reporting motion at the acquisition speed. The target velocity relative to the planet-fixed frame is now zero at and after completion, keeping the strip state and access rate outputs consistent with the fixed endpoint.

  • The C++ Module: stripLocation module omitted rotation of the local SEZ frame as the target moved along a strip. Its v_BL_L, az_dot and el_dot outputs therefore disagreed with the derivatives of the published geometry for a moving target. These outputs now include the local-frame rotation; the range rate is unchanged.

  • The C++ Module: stripLocation module did not copy the computed SEZ relative velocity into the v_BL_L field of its access messages, which therefore always reported zero. The C++ Module: groundMapping module never assigned its planet-fixed to SEZ rotation matrix, so its r_BL_L, v_BL_L, azimuth and rate outputs were computed from an uninitialized matrix. C++ Module: groundMapping also crossed the planet angular velocity in planet-fixed components with inertial vectors, and did not subtract the planet velocity of planetInMsg, as described in the two entries below. The C++ Module: groundMapping module also did not populate the rHat_LP_N field of its ground state messages.

  • The C++ Module: groundLocation and C++ Module: groundMapping modules did not guard the division by the horizontal distance to the spacecraft in the azimuth, az_dot and el_dot access message fields, so these fields were undefined for a spacecraft exactly overhead of the location. The overhead test first used a fixed threshold of 1e-12 m on the horizontal distance, which is below the floating-point round-off of the SEZ position, so it could miss an exactly overhead spacecraft and leave azimuth dependent on round-off and az_dot and el_dot very large. The guard now accounts separately for distant-origin position quantization and local frame-transformation round-off, preserving resolvable near-overhead offsets in all three ground access modules.

  • GitHub issue 1606: The C++ Module: groundLocation and C++ Module: groundMapping modules did not subtract the planet velocity of planetInMsg from the spacecraft velocity, so the v_BL_L, range_dot, az_dot and el_dot access message fields were in error by the planet velocity.

  • GitHub issue 1605: The C++ Module: groundLocation, C++ Module: stripLocation and C++ Module: groundMapping modules crossed the planet angular velocity, which they computed in planet-fixed components, with inertial vectors when removing the planet rotation from the spacecraft velocity. The v_BL_L, range_dot, az_dot and el_dot access message fields were in error when the planet spin axis was not aligned with the inertial 3-axis.

  • The gravity effector advanced the planet orientation of a SPICE-driven planet with a first-order update of the matrix elements, which is not orthonormal and distorted even a point-mass field by a relative error of order \((\omega\,\Delta t)^2\). The orientation is now advanced as a rotation about the planet angular velocity.

  • The atmosphere, wind, magnetic field, eclipse, and solar flux modules evaluated the spacecraft state of the previous step, which made the solar radiation pressure shadow entries and exits a step late. The state can now be extrapolated to the middle of the step with setExtrapolateScStateToStepMidpoint(), which is disabled by default.

  • The C++ Module: msisAtmosphere module computed the altitude over a sphere and used the mean solar time. The altitude above an oblate planet is now available with setPlanetPolarRadius(), and the apparent solar time with setUseApparentSolarTime(). Both are disabled by default.

  • Atmosphere models that are evaluated once per integration step still show a step-size dependent drag error, which is second order in the step.

  • The C++ Module: msisAtmosphere, C++ Module: windBase, C++ Module: magneticFieldBase, and C++ Module: magneticFieldWMM modules converted the UTC epoch with mktime, which uses the time zone of the computer. On a computer in a time zone with daylight saving time, the local solar time was one hour wrong for the part of a simulation on the other side of a daylight saving transition than the epoch. The epoch is now converted as UTC.

  • The C++ Module: msisAtmosphere module used the daily Ap index and did not use the array of 3-hour Ap values that NRLMSISE-00 uses in its storm mode, so during a geomagnetic storm the density followed the daily mean from midnight. The 3-hour history is now available with setUseApHistory(), which is disabled by default.

  • The C++ Module: facetSRPDynamicEffector module used a solar flux of 1368 W/m2 at 1 AU, while C++ Module: radiationPressure uses 1361 W/m2. Both now use SOLAR_FLUX_EARTH.

  • GitHub issue 1598: Compilation database export requires Ninja or a Makefile generator; Xcode and Visual Studio do not support export. Clangd does not automatically discover the generated database in the default dist3 build directory. Configure clangd to use the directory containing compile_commands.json; see Configuring clangd for generator selection and the default and custom build-directory settings. Disabling export now removes an existing database from the selected build directory so clangd cannot keep reading stale compilation commands.

  • Visual Studio 2026 solution-wide clean could fail because the C-message target used an absolute path as its solution folder. It now uses a valid relative folder name.

  • Ninja Multi-Config builds could fail on C message interface dependencies. CMake now preserves these configured sources across native clean operations and avoids dependencies on other build configurations.

  • scenarioSmallBodyNav supplied an 18-element state to the 12-state smallBodyNavEKF, causing Debug builds to abort. The example now supplies 12 elements. Invalid state and matrix dimensions raise BasiliskError in Python during reset or update.

  • A buffer overflow in headingSuKF covariance updates and invalid zero-noise sampling in hingedRigidBodyMotorSensor are fixed. Both defects affected Debug and Release builds.

  • horizonOpNav could use incorrect or uninitialized planet radii. A zero limb-message planet ID now preserves planetTarget; a supported nonzero ID updates it before the calculation. Unsupported IDs raise BasiliskError.

  • On macOS, validating many native extensions could delay the first Basilisk import after a build. Message, core FSW, core simulation, MuJoCo, and OpenCV bindings now use fewer libraries to reduce this overhead. Python imports and recorder APIs are unchanged. Rebuilt libraries still require validation, so first imports can remain slower than subsequent runs.

  • GitHub issue 1587: The vscmg case in benchmarks/dynamics/benchmark_state_effectors.py failed during initialization with two or more components because of left-handed gimbal frames. The affected axes now form right-handed frames, fixing the benchmark in the current version.

  • Two-axis spinning-body default names could collide with single-axis state and property names once instance counters reached multiple digits. The two-axis names now separate the axis and instance numbers with _. Access these records through each effector’s public name fields.

  • Empty reaction-wheel and thruster effectors remain usable with flat-state registration. They do not create zero-sized state records, and their device counts still become immutable after successful registration.

  • Dynamics-manager references and callback-created state handles are borrowed. Keep the owning dynamics object or MuJoCo scene alive while using them. Replacing an integrator destroys the old method; reacquire the integrator property afterward. Python rejects reinstalling a previously transferred or borrowed integrator after replacement or owner destruction.

  • GitHub issue 1581: The C debyeLength() utility could read beyond its lookup arrays for altitudes from 2,000 km through 30,000 km, producing undefined results such as NaN. The interval search now includes the final table endpoint and returns the intended constant value of 0.0396 m throughout this range. NaN altitudes could also trigger an out-of-bounds read; they now produce an error diagnostic and return NaN before interpolation.

  • The deprecated Basilisk.simulation.spacecraftSystem module and its supporting effector APIs have been removed. Use C++ Module: spacecraft with C++ Module: constraintDynamicEffector for connected spacecraft; see scenarioConstrainedDynamics for a working example. API migration details are listed in the release notes. The supported prescribed-motion branches also no longer emit a missing-state warning when looking up an unused hub-attitude state during initialization.

  • GitHub issue 1563: BSpline.approximate() could ignore the second and third components of the final-acceleration constraint by reading uninitialized constraint-vector entries. All three components now use the correct constraint row. This is fixed in the current version.

  • GitHub issue 282: Passing the active integrator back to setIntegrator() could delete it and leave the dynamics object with a dangling pointer. The operation is now a no-op, and persistent integrator ownership uses std::unique_ptr. Python integrator attribute assignment now transfers ownership through the same setter. Explicitly disowning a newly constructed Python integrator before installation remains supported. Custom C++ dynamics classes should replace direct raw-pointer assignments to the owning member with setIntegrator(std::make_unique<IntegratorType>(this)) or transfer an existing unique_ptr with std::move; see Creating DynamicObject Basilisk Modules.

  • GitHub issue 282: Synchronized dynamics could retain a dangling pointer after a secondary was destroyed, or leave a surviving secondary marked as synchronized after its primary was destroyed. Python connections now retain their supplied secondary objects, and native destruction removes synchronization links in either order. Repeated connections are harmless; invalid self, nested, or competing-primary connections now raise BasiliskError. Python calls through borrowed primary proxies are rejected before changing connections; use the owning primary object so retention survives temporary aliases. See Lifetime of Synchronized Objects.

  • GitHub issue 282: Resetting simulation threads could clear process assignments while a worker was still using them, and shutdown requests used an unsynchronized flag. Worker ownership now guarantees stop and join before releasing thread state or changing assignments. requestStop() and the compatible killThread() now wake idle workers on the first stop request; repeated calls are harmless. Pool shutdown signals all workers before joining. See Reinitialization, ownership, and shutdown for configuration and C++ migration details.

  • GitHub issue 282: Dynamically allocated output messages now use private std::unique_ptr storage, preserving the public message-vector interfaces. This fixes missing cleanup in the two-axis spinning-body effector, joint controllers, thruster on-time converter, and the nested wheel/thruster outputs of DataFileToViz. Partially constructed output collections are also cleaned up when allocation fails. The shared addOwnedMessage() helper rolls back each owner/view insertion if either append fails; earlier module configuration changes are not rolled back. See Vector of Output Messages for the ownership and reconfiguration contract.

  • GitHub issue 282: Spacecraft-input configuration methods in the atmosphere, magnetic-field, wind, eclipse, location, charging, MSM, and formation-barycenter models could retain pointers to standalone Python messages after those messages were collected. These methods, along with Eclipse.addPlanetToModel() and EphemerisConverter.addSpiceInputMsg(), now retain each source through its native reader and release it on unsubscribe, replacement, or reader destruction. The same protection now covers power and data storage, transmitters, downlink handling, mapping instruments, simple-antenna and albedo planet inputs, articulated facets, thruster attached-body inputs, small-body navigation thruster inputs, and Vizard camera configuration messages. Pending and copied readers retain their sources until the last connected copy is released. Module-owned outputs still require their producing module to remain alive. See Retaining Sources in Configuration Methods.

  • GitHub issue 282: SPICE scratch buffers could leak when spacecraft-name validation or allocation raised an exception. Fixed-size arrays and an automatically managed time-output buffer now guarantee cleanup. The internal SpiceInterface.spiceBuffer and charBufferSize fields are now private; custom code must remove direct access to them. Standard simulation configuration is unchanged. Time-output formats that leave insufficient buffer capacity now raise BasiliskError before calling SPICE.

  • GitHub issue 282: Fuel tanks could keep dangling pointers to thruster effectors and fuel-slosh particles created in a local Python scope. addThrusterSet() and pushFuelSloshParticle() now retain their supplied Python objects until the tank is destroyed. Null connections, and dynamic-thruster connections made before setTankModel(), now raise BasiliskError. C++ callers must still keep borrowed effectors alive. See C++ Module: fuelTank.

  • GitHub issue 281: The C and C++ template documentation now explains the implemented calculation, optional inputs, reset behavior, and runnable usage. General RST authoring examples previously embedded in C Module: cModuleTemplate are now in Module RST Documentation.

  • GitHub issue 281: Draft module tests generated by makeDraftModule previously reported success without checking execution or outputs. Newly generated tests check scheduled call counts, output written status, and recording and write timestamps. Existing module tests must be updated manually; regenerating a draft replaces its folder.

  • GitHub issue 281: makeDraftModule could generate invalid test imports for nested paths or paths without a trailing separator, change the caller’s working directory, and delete an existing module before rejecting an invalid specification. Generation now normalizes paths, preserves the working directory, validates inputs, and stages complete drafts before replacement. Failures raise Python exceptions.

  • GitHub issue 281: The C and C++ module template fields dummy and dumVector are now named updateCounter and sampleConfigVector. Update Python assignments and logger field names accordingly. The C++ accessors are now setUpdateCounter(), getUpdateCounter(), setSampleConfigVector(), and getSampleConfigVector(); the old names are no longer available. Reset() still clears the counter and preserves the sample configuration vector, which is used for logging examples.

  • GitHub issue 1573: Rust input MsgReader ports exposed is_linked but not whether the subscribed source had been written, when it was written, or which module wrote it. Readers now provide is_written, time_written in nanoseconds, and module_id, following the subscribed source header. A linked message that has never been published reports unwritten, time zero, and an error for the module ID. Output writers do not expose these queries.

  • Incremental native builds could retain an old version in Basilisk.getBuildInfo() after docs/source/bskVersion.txt changed. CMake now tracks that file and reads the current source version instead of Conan’s cached version. Running ninja -j 12 in an existing build directory applies the fix and refreshes the metadata without a clean build.

  • C++ Module: spacecraftLocation formed its Sun direction from the inertial origin and its viewing direction from the primary spacecraft center instead of the configured body-fixed location. Illumination and viewing angles for translated or offset locations are corrected in the current version (issue #864). NaN glareThreshold values are now rejected during initialization rather than silently bypassing glare rejection.

  • GitHub issue 1393: The C++ Module: constraintDynamicEffector applied its constraint force and torque regardless of the device status message, which gated only the load filtering and the output message write. Commanding the effector off left its logged force at zero whereas the constraint kept acting on the dynamics. This is fixed in the current version.

  • In Basilisk 2.12.2, astroFunctions.rotationMatrix overwrites an off-diagonal element and leaves a diagonal element at one. This can distort rotated vectors and produces a nonidentity matrix at zero angle. The helper now fills the correct diagonal element. The existing TisserandPlot caller uses only the unaffected first column, so its curves are unchanged.

  • Container release builds now free runner disk space and support recovery from an existing release tag without moving it.

  • In Basilisk 2.12.1, importing the support-data loader checks GitHub for a release tag even when local or cached files are available, adding network-dependent startup delays. The lookup is now deferred until a repository-hosted file needs downloading. Local files, valid cached files, and explicit external download URLs avoid the lookup; release-tag selection and the fallback to develop are preserved when a download is required.

  • In Basilisk 2.12.2, C++ Module: dentonFluxModel accepts 41 through 50 output energies despite having space for only 40 in its internal energy array. These counts cause out-of-bounds accesses and incorrect output energies and fluxes. A count of zero also reaches an integer division by zero. The internal output-energy array now matches the flux message capacity, and initialization rejects counts outside 1 through 50. On affected versions, use 1 through 40 output energies.

  • In Basilisk 2.7.0 through 2.12.2, scenarioFormationReconfig could repeatedly warn about an unwritten thruster command before the first burn. Its attitude-error plot also began with an unwritten sample and then showed the previous flight software update. Remove the unused thruster-command and attitude-reference recorders and schedule the attitude-error recorder on the flight software task after C Module: attTrackingError.

  • In Basilisk 2.12.2, astroFunctions.ephemeridesMeeus evaluates the quadratic time coefficients for Saturn, Uranus, and Neptune as linear terms. Uranus and Neptune also use angular elements referred to the equinox of date, which introduces a frame mismatch with the other planets away from J2000.0. Both now use the mean ecliptic and equinox of J2000.0. The quadratic terms are corrected, and computeCOE now uses the fractional coefficients of the fifth-order equation of center in computing true anomaly.

  • Windows optional-wheel packaging in Basilisk 2.11.x and 2.12.x can reject core and opNav wheels built with different compatible MSVC versions during GitHub runner-image updates. The packager now distinguishes MSVC compiler provenance from ABI compatibility while retaining checks for architecture, runtime settings, type layouts, and shared runtime DLLs. A differing shared runtime is accepted when the core provides an equal or newer release DLL of the same architecture. Previously, rebuilding both inputs with a matching toolchain was the workaround; rerunning packaging with the same mismatched inputs did not help.

  • In Basilisk 2.12.1, direct conanfile.py and CMake builds could accept Python versions outside the range declared in package metadata, even though package installation rejected them. Both build paths now enforce project.requires-python from pyproject.toml. For affected releases, create a virtual environment with a supported Python version before building and installing Basilisk.

  • In Basilisk 2.12.2, astroFunctions.RV2OE can return a zero semimajor axis for bound or unbound radial motion because radial orbits have unit eccentricity at every energy. It now uses specific orbital energy to compute the semimajor axis. Radial motion in any direction returns unit eccentricity even when the cross product is nonzero from roundoff. Angular momentum and energy are evaluated with at least double precision, including for integer and mixed-precision inputs. Both radial and nonradial states at escape energy within roundoff return a = 0 and e = 1.

  • In Basilisk 1.7.2 through 2.12.2, C Module: spacecraftReconfig treated the documented normalized semimajor-axis target as a distance in meters. A zero target was unaffected. Backport the normalized target conversion and its one-orbit mean-anomaly drift correction when using a nonzero target on those releases.

  • In Basilisk 2.12.x, C++ Module: spiceInterface position reconstruction could return nonfinite position and velocity for knot intervals longer than \(2^{53}\) nanoseconds (about 104.25 days). The fix uses the configured interval in seconds for each knot query. On affected releases, use a shorter position knot interval or exact SPICE position queries.

  • In Basilisk 2.12.2 and earlier, failed Python numeric conversions or sequence operations during one-dimensional C-array assignment could overwrite the destination, mask the original exception, or leak references. Sequences that grew while being read could also exceed the checked array bound, including in arrays of wrapped structs. The converters now stop on errors before assignment, release acquired references, bound iteration by the validated length, and reject null pointer elements. On affected releases, use ordinary lists or tuples within the declared capacity, validate numeric elements before assignment, and supply valid wrapped objects for struct arrays.