Repository navigation
Add fprime-cfs ground tooling for the cFS GroundSystem GDS - #22
Merged
LeStarch merged 10 commits intoAug 6, 2026
Merged
Conversation
…onary constant Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
… module Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
…dd CI and tests Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
…a/fprime#5445) Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
… GDS frame bridge Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
…nd, document GUI limits Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
…ry topic overlap Co-Authored-By: michael.d.starch <michael.d.starch@jpl.nasa.gov>
LeStarch
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
fprime-cfsPython package: ground tooling that lets the cFS GroundSystem act as the GDS for an F Prime deployment integrated throughfprime_cfs, and moves the F Prime passthrough command function code into FPP configuration as a dictionary constant.The GroundSystem talks directly to the cFS software bus over UDP through the standard lab apps: commands go to CI_LAB (:1234) and telemetry arrives from TO_LAB (:2234). No frame bridge is involved; the
fprime_gdsGdsBridge TCP server remains solely the F Prime GDS integration path.Python tooling (
python/)fprime-cfs-config— reads the F Prime JSON dictionary and generates cFS GroundSystem configuration:Fw.Time. Page stream id is0x0800 | FW_PACKET_PACKETIZED_TLM(0x0804), matching the CfsTlmFramer output forwarded by TO_LAB.0x1800, CI_LAB's UDP endpoint). Every command carries the framing descriptor and the F Prime opcode prepended ahead of its arguments, and all commands share the singleComCfg.FprimeCommandFunctionCodefunction code from the dictionary. Commands with non-primitive arguments (strings/arrays) are skipped with a warning. A secondTelemetry Outputpage and anEnable Tlmquick button (stock TO_LAB definitions) are generated for managing TO_LAB from the GUI.fprime-cfs—fprime-gds-style runner: generates the configuration (into a temporary copy of the cFS-GroundSystem checkout by default), optionally launches the cFS application (--app,-n/--no-app), runs the GroundSystem GUI, and sends the TO_LAB enable-output command so telemetry flows immediately (--no-enable-telemetry/--telemetry-destinationto override).FPP / C++
config/FPrimeCfsConfig/ComCfg.fpp: newdictionary constant FprimeCommandFunctionCode = 0.CfsBridgenow consumesComCfg::FprimeCommandFunctionCode(with astatic_assertrange guard) instead of a local constant; SDD updated.CI
python-testsjob running the package's pytest suite (11 tests).Testing
fprime_cfs_referencewith restored ci_lab/to_lab (Restore ci_lab/to_lab for direct cFS GroundSystem commanding and telemetry fprime_cfs_reference#18): built deployment, ranfprime-cfswith--app, verified Health telemetry page (0x804) decodes via TO_LAB andCMD_NO_OPsent through CI_LAB incrementsCommandsDispatched.Companion PRs: fprime-community/fprime_app#13 (ComCfg override adding the constant), fprime-community/fprime_cfs_reference#18 (ci_lab/to_lab restoration + TO_LAB subscription).