Georgia-Tech-Off-Road / GTORDaata

1 stars 1 forks source link

Overhaul: Standalone parser functionality to interpret types from SensorID dictionary #24

Open randomzebra opened 1 year ago

randomzebra commented 1 year ago

Current standalone parser hardcodes whether to convert raw packet data from bin files to an int or a float. We should overhaul this to use the type field in SensorID.py to match data types and convert them automatically, as well as potentially print sensor name for readability.

File in question: DataAcquisition\StandaloneParsers\DataParser.py

Work to be done:

  1. Complete typing or add typing field for all sensor in SensorID.py (around 100 entries).
  2. Import SensorID dict in parser and add logic to check (simple)
  3. Populate row 2 with sensor name + units. For example: speed sensor (m/s)