Skip to content

v1.1.0 - SMP-aligned model interface, PUS S6/S8/S15/S23 (M50-M52, M63)

Choose a tag to compare

@lipofefeyt lipofefeyt released this 24 Oct 20:53
· 53 commits to main since this release

What's new

This release covers M50-M52 and M63: an SMP-aligned model interface, four more PUS-C services, and a correction to how the SMP layer is described.


M50 / M63 - SMP-aligned model interface

Every native model, the orbital environment, TTC and all three bus adapters now implement ISmpModel through SmpEquipmentMixin.

  • Lifecycle follows the ECSS-E-ST-40-07C component states: Created -> Publishing -> Configured -> Connected -> Disconnected
  • Each transition is guarded; a call from the wrong state raises SmpStateError (the counterpart of SMP's InvalidComponentState)
  • tools/generate_smpcat.py and tools/generate_smpconf.py produce an SMP-style model catalogue and assembly from the SRDB and spacecraft.yaml
  • New checksmp command keeps the catalogue in step with the SRDB
  • L1 contract tests across all 19 models, plus an L2 round-trip through a minimal Python host

Scope, stated plainly: this is alignment with the SMP lifecycle, not SMP compliance. opensvf models are Python and cannot be loaded by SMP runtimes such as SIMSAT, EuroSim or BASILES, and the generated XML is not valid against the SMDL schemas. The artefacts now use the namespace urn:opensvf:smp-aligned:1 and say so in their header. A real SMP runtime bridge is planned as M68.

Breaking: SmpState.INITIALISED, EXECUTING and TERMINATED are removed (they were simulator phases, not component states). Code that called lifecycle methods out of order will now raise SmpStateError.

M51 - PUS S15 On-Board Storage and Retrieval + S23 File Management

  • PusService15 and PusService23 codecs, scoped to SVF-DEV-188/189 rather than the full ECSS subservice sets
  • ObcEquipment gains packet stores (enable/disable, buffered OBT-tagged TM history) and a virtual file table
  • openobsw implements neither service yet, so opensvf defines the wire format for now

M52 - PUS S6 Memory Management + S8 Function Management

  • S6 load / check / dump and S8 mission-configurable mode transitions, wire-compatible with openobsw

SVF-side PUS-C services are now S1, S3, S5, S6, S8, S9, S11, S12, S15, S17, S19, S20 and S23.

Demo

  • scripts/demo_bdot_closed_loop.py: the real openobsw B-dot flight software over wire protocol v3, driving magnetorquers against the opensvf-kde physics FMU (SGP4 orbit, attitude-rotated dipole field); renders an MP4
  • models/SpacecraftDynamics.fmu rebuilt from the latest opensvf-kde physics

Fixes

  • L3 system tests resolved the FMU and wiring file relative to bin/, so five closed-loop tests failed with WiringLoadError
  • The realtime overrun test listened on a stale logger name

Roadmap

The README roadmap is now grouped into release trains: v1.2 adds a second reference mission (LSF QUBIK) with SatNOGS telemetry replay, v1.3 targets operations preparation (SCOS-2000 MIB import, PLUTO procedures), v1.4 verification depth, and v2.0 interoperability.

Tests: 838 passing (L1 + L2); mypy strict clean; checkcov, checkcons and checksmp pass.

Implements: SVF-DEV-182 to SVF-DEV-189, SVF-DEV-202, SVF-DEV-203