How broncospace-lab/fprime-scales-ref works
SCALES is an F′ flight-software project for edge computing and autonomous learning across an IMX compute module and a Jetson. The principal workflow is command-driven: deploy the platform topology, capture and transfer camera images on Jetson, then configure an ML component to classify images and report results. Separate scripts support model training/inference, dictionary merging, and graph-friendly data-product exports. The graph includes documented capabilities even where topology wiring was not sampled; dashed edges mark relationships not verified in source excerpts.
Main entry points: MLComponent.py ML Command Component · RunLucidCamera.cpp Lucid Camera · JetsonDeploymentTopology.cpp Jetson Deployment · ImxDeploymentTopology.cpp IMX Deployment
Components 21
Flight Deployments
- IMX Deployment
ImxDeployment/Top/ImxDeploymentTopology.cpp - Jetson Deployment
JetsonDeployment/Top/JetsonDeploymentTopology.cpp
Flight Components
- Sequence Forwarder
Components/CmdSequenceForwarder/CmdSequenceForwarder.cpp - Lucid Camera
Components/RunLucidCamera/RunLucidCamera.cpp - ML Command Component
Components/MLComponent/MLComponent.py - Python Component
Components/PythonComponent/PythonComponent.py
ML Workloads
- CIFAR Inference
build-python-fprime/resnet_cifar100.py - Folder Inference
build-python-fprime/resnet_inference.py - FPS Counter
build-python-fprime/resnet_fps.py - Nanny ResNet
build-python-fprime/nanny_resnet.py - ResNet Training
build-python-fprime/resnet_training_hg.py - Reference Generator
build-python-fprime/resnet_reference_gen.py
Ground Data Tools
- Dictionary Merger
GDS-Dictionary/merger.py - Container CSV Export
DataProducts/merge_data_products_by_container.py
Other components
- Operator
- Lucid Camera Device
- Image Files
- File Downlink
- Deployment Dictionaries
- Decoded Data Products
- Graph-ready CSVs
Connections 16
- Operator → IMX Deployment: starts
README.md - Operator → Jetson Deployment: starts
README.md - IMX Deployment → Sequence Forwarder: hosts
README.md - Jetson Deployment → Lucid Camera: hosts
README.md - Jetson Deployment → ML Command Component: hosts
README.md - Lucid Camera → Lucid Camera Device: captures from
Components/RunLucidCamera/RunLucidCamera.cpp - Lucid Camera → Image Files: saves image
Components/RunLucidCamera/RunLucidCamera.cpp - Lucid Camera → File Downlink: sends file
Components/RunLucidCamera/RunLucidCamera.cpp - File Downlink → Image Files: transfers image
- Operator → ML Command Component: configures
README.md - ML Command Component → CIFAR Inference: dispatches
Components/MLComponent/MLComponent.py - ML Command Component → Folder Inference: dispatches
Components/MLComponent/MLComponent.py - ML Command Component → Image Files: reads images
- Deployment Dictionaries → Dictionary Merger: merges dictionaries
README.md - Decoded Data Products → Container CSV Export: decodes JSON
DataProducts/merge_data_products_by_container.py - Container CSV Export → Graph-ready CSVs: writes CSVs
DataProducts/merge_data_products_by_container.py