nasa / OnAIR

The On-board Artificial Intelligence Research (OnAIR) Platform is a framework that enables AI algorithms written in Python to interact with NASA's cFS. It is intended to explore research concepts in autonomous operations in a simulated environment.
58 stars 14 forks source link

redis_example.ini should have empty telemetry file fields #107

Open the-other-james opened 8 months ago

the-other-james commented 8 months ago

TelemetryDataFilePath and TelemetryFile are ignored when using a data source, and thus should be left blank.

Related #101

the-other-james commented 8 months ago

Taking a closer look... the meta file doesn't make sense to me either. Is the subscription info hard-coded?

asgibson commented 8 months ago

The meta file will contain this information, but the .ini for this has not been updated to be used as an effective example as of yet. Redis had been added for use by a project and their .ini made use of this. The parsing of the meta file is done in the __init__ function of any OnAirDataSource. Redis adapter's function, parse_meta_data_file, extracts subscription information from the meta file.