How nasa/cfs works
cFS is a demo bundle of flight-software framework components and applications. The principal runtime workflow is ground command ingress, application/core processing over the cFE software bus, and telemetry output to a ground system. The README also identifies file transfer, storage, scheduling, health, limit checking, checksum, and other demo capabilities. Core implementation sources were not sampled, so runtime links beyond the documented table configuration are dashed and unverified.
Main entry points: cfe Software bus · to_lab_sub.c Telemetry subscriptions · sch_lab_table.c Schedule table · cFS-GroundSystem Ground system
Components 32
Flight Framework
- cFE core
cfe - OS abstraction
osal - Platform support
psp - Software bus
cfe
Flight Applications
- Command ingest
apps/ci_lab - Scheduler
apps/sch_lab - Telemetry output
apps/to_lab - Sample application
apps/sample_app - Data storage
apps/ds - File manager
apps/fm - CFDP transfer
apps/cf - Housekeeping
apps/hk - Health and safety
apps/hs - Limit checker
apps/lc - Stored command
apps/sc - Checksum
apps/cs - Memory dwell
apps/md - Software bus network
apps/sbn
Mission Configuration
- Telemetry subscriptions
sample_defs/tables/to_lab_sub.c - Schedule table
sample_defs/tables/sch_lab_table.c - Message ID definitions
sample_defs/cpu1/sbn_msgids.h - Global message bases
sample_defs/inc/global_core_api_base_msgid_values.h - SBN topic IDs
sample_defs/inc/global_sbn_topicids.h - Checksum table
sample_defs/tables/cs_tablestbl.c - Limit definitions
sample_defs/tables/lc_def_adt-test.c - Performance IDs
sample_defs/cfe_perfids.h - Sample app table
sample_defs/tables/sample_app_alt1.c
Ground and Tools
- Ground system
tools/cFS-GroundSystem - Ground tools
tools/commandline-tools - Table CRC tool
tools/tblCRCTool - ELF table converter
tools/elf2cfetbl
Other components
- Ground operator
Connections 42
- Ground operator → Ground system: commands and telemetry
README.md - Ground system → Command ingest: sends commands
- Command ingest → Software bus: publishes commands
- Software bus → cFE core: dispatches messages
- Software bus → Scheduler: dispatches messages
- Software bus → Sample application: dispatches messages
- Software bus → Data storage: dispatches messages
- Software bus → File manager: dispatches messages
- Software bus → CFDP transfer: dispatches messages
- Software bus → Housekeeping: dispatches messages
- Software bus → Health and safety: dispatches messages
- Software bus → Limit checker: dispatches messages
- Software bus → Stored command: dispatches messages
- Software bus → Checksum: dispatches messages
- Software bus → Memory dwell: dispatches messages
- Software bus → Software bus network: dispatches messages
- Telemetry output → Ground system: sends telemetry
README.md - Telemetry subscriptions → Telemetry output: lists subscriptions
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → cFE core: lists core telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → Sample application: lists app telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → CFDP transfer: lists app telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → File manager: lists app telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → Health and safety: lists app telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → Limit checker: lists app telemetry
sample_defs/tables/to_lab_sub.c - Telemetry subscriptions → Checksum: lists app telemetry
sample_defs/tables/to_lab_sub.c - Schedule table → Scheduler: configures schedule
sample_defs/tables/sch_lab_table.c - Schedule table → cFE core: schedules core messages
sample_defs/tables/sch_lab_table.c - Schedule table → Telemetry output: schedules housekeeping
sample_defs/tables/sch_lab_table.c - Schedule table → Sample application: schedules housekeeping
sample_defs/tables/sch_lab_table.c - Schedule table → Stored command: schedules wakeup
sample_defs/tables/sch_lab_table.c - Schedule table → Checksum: schedules cycle
sample_defs/tables/sch_lab_table.c - Message ID definitions → Global message bases: uses base values
sample_defs/cpu1/sbn_msgids.h - Message ID definitions → SBN topic IDs: uses topic IDs
sample_defs/cpu1/sbn_msgids.h - Checksum table → Checksum: defines defaults
sample_defs/tables/cs_tablestbl.c - Limit definitions → Limit checker: defines limits
- Performance IDs → cFE core: defines performance IDs
- Sample app table → Sample application: defines app table
- cFE core → OS abstraction: uses OS services
- OS abstraction → Platform support: uses platform support
- Ground tools → Ground system: supports operations
- Table CRC tool → Checksum table: processes tables
- ELF table converter → Checksum table: converts tables