Skip to content

Commit

Permalink
Added example redis config and made it the example metafile
Browse files Browse the repository at this point in the history
  • Loading branch information
asgibson committed Mar 22, 2024
1 parent 67e5344 commit f6f73ac
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 1 deletion.
2 changes: 1 addition & 1 deletion onair/config/redis_example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TelemetryDataFilePath = onair/data/raw_telemetry_data/data_physics_generation/Errors
TelemetryFile = 700_crash_to_earth_1.csv
TelemetryMetadataFilePath = onair/data/telemetry_configs/
MetaFile = data_physics_generation_CONFIG.json
MetaFile = redis_example_CONFIG.json
ParserFileName = onair/data_handling/redis_adapter.py

KnowledgeRepPluginDict = {'generic':'plugins/generic/__init__.py'}
Expand Down
89 changes: 89 additions & 0 deletions onair/data/telemetry_configs/redis_example_CONFIG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"subsystems": {
"NONE": {
"Time": {
"conversion": "",
"tests": {
"NOOP": "[]"
},
"description": "No description"
},
"THRUST": {
"conversion": "",
"tests": {
"FEASIBILITY": "[-999999999999999, 999999999999999]"
},
"description": "No description"
},
"ALTITUDE": {
"conversion": "",
"tests": {
"FEASIBILITY": "[-999999999999999, 999999999999999]"
},
"description": "No description"
},
"ACCELERATION": {
"conversion": "",
"tests": {
"FEASIBILITY": "[-20.1111, 20.1111]"
},
"description": "No description"
},
"SCIENCE_COLLECTION": {
"conversion": "",
"tests": {
"FEASIBILITY": "[-0.9999, 1.1111]"
},
"description": "No description"
},
"LABEL_ERROR_STATE": {
"conversion": "",
"tests": {
"NOOP": "[]"
},
"description": "No description"
}
},
"POWER": {
"VOLTAGE": {
"conversion": "",
"tests": {
"FEASIBILITY": "[12.9999, 18.1111]"
},
"description": "No description"
},
"CURRENT": {
"conversion": "",
"tests": {
"FEASIBILITY": "[2.9999, 5.1111]"
},
"description": "No description"
}
},
"THERMAL": {
"TEMPERATURE": {
"conversion": "",
"tests": {
"FEASIBILITY": "[9.9999, 90.1111]"
},
"description": "No description"
}
}
},
"redis_subscriptions": [
"vehicle_0_state",
"vehicle_1_state",
"vehicle_2_state"
],
"order": [
"Time",
"VOLTAGE",
"CURRENT",
"THRUST",
"ALTITUDE",
"ACCELERATION",
"TEMPERATURE",
"SCIENCE_COLLECTION",
"LABEL_ERROR_STATE"
]
}

0 comments on commit f6f73ac

Please sign in to comment.