Repository navigation
v1.1.0 - SMP-aligned model interface, PUS S6/S8/S15/S23 (M50-M52, M63)
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'sInvalidComponentState) tools/generate_smpcat.pyandtools/generate_smpconf.pyproduce an SMP-style model catalogue and assembly from the SRDB andspacecraft.yaml- New
checksmpcommand 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,EXECUTINGandTERMINATEDare removed (they were simulator phases, not component states). Code that called lifecycle methods out of order will now raiseSmpStateError.
M51 - PUS S15 On-Board Storage and Retrieval + S23 File Management
PusService15andPusService23codecs, scoped to SVF-DEV-188/189 rather than the full ECSS subservice setsObcEquipmentgains 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 MP4models/SpacecraftDynamics.fmurebuilt 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 withWiringLoadError - 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