Georgia-Tech-Off-Road / GTORDaata

1 stars 1 forks source link

Overhaul: From-File graphing in Daata Utility to print with correct timestamps #25

Open randomzebra opened 1 year ago

randomzebra commented 1 year ago

Right now, graphing is done using "time received - last received" to calculate timesteps between data points in the x axis. Bin/csv parsing sends data to graph by mimicking serial coms, so timestamps are incorrect. Investigate and implement graphing with correct timestamps. Possible solutions:

  1. Use Aux-Daq time sensor, which will assumed to be present in every bin/csv file.
  2. Use predetermine packet poll rate (how long between each packet) to estimate time between each timestep. This will result in inaccurate timesteps relative to start of test (because of network delay), and may be incompatible to new protocol current being developed.