F Prime Visualizer (FPV)
F Prime Visualizer (FPV) is a browser-based topology visualizer for the F´ (F Prime) flight software and embedded systems framework.
FPV is a web application written in Flask.
Installation
pip install fprime-visual
Running
Data source
FPV reads .json files created by F Prime Layout.
Reference .json files live in the examples directory so you can test drive the application right away.
fprime-visual --source-dir examples/
Stopping
Ctrl + C will stop the application.
Selecting a Theme
You can change the look of FPV by selecting one of the themes residing in the flask/static/js/themes directory. Themes can be selected with the following argument
fprime-visual --theme dark
Capturing a full size screenshot
A screenshot button in the top banner allows for capturing a screenshot of the current view as a PNG image.
Customizing FPV
Creating Your Own Theme
Theme colors use RGBA (RGB color values with an Alpha channel). The alpha channel is particularly important for the component box backgrounds. Connection lines occasionally route behind component boxes, so an opaque percentage value of 80% (.8) on those boxes is strongly encouraged.
Example: backgroundColor: "rgba(61, 61, 61, .80)"
Making Changes to the Canvas
You can make more intensive changes, such as connection line width and column width, by editing the config variable at the top of the public/js/canvas.js file.
Metadata
Release files for fprime-visual 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fprime-visual-1.0.2.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fprime_visual-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.3 MB
Release files / fprime-visual-1.0.2.tar.gz
| Download URL | fprime-visual-1.0.2.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a76f86563a432a8da0a26ab7110d7243e8c3b5edf14d4e4f87d0c3e6371c238
|
|
BLAKE2b-256 checksum How to use checksums |
9224e4b338e8b7b15f7c90efc9b6f82fea6b4c584b46405a9b9e11dde338af6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / fprime_visual-1.0.2-py3-none-any.whl
| Download URL | fprime_visual-1.0.2-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
942a8f3e5d984db1e7fdb3c883d4591758650de407a9f0711fd614455f1a4811
|
|
BLAKE2b-256 checksum How to use checksums |
63ab17c408f23477fa0fc01a8ca4b6ee15455f1bee171a3522967b08843cdb34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|