OregonStateRocketry / 30k2018-CS-Capstone

30k CS Capstone repository
Apache License 2.0
2 stars 0 forks source link

Test database using two parsers on same input #23

Closed lwillmeth closed 6 years ago

lwillmeth commented 6 years ago

Both parsers should attempt to insert the same data, but only one should succeed. We'll need to test this by parsing the same audio to two of the pi zeros simultaneously.

lwillmeth commented 6 years ago

We talked about this as a team yesterday.

The undefined behavior is that right now, both parsers will insert every value. We'll essentially have two copies of each signal from the rocket.

I would prefer to have a single, more complete set of data by keeping only unique values. If both parsers see a data point, only one should succeed, but either parser can insert the data point. This could be implemented by making the primary key a combination of columns to prevent duplicates, or by using a more sophisticated insert.

Another idea is to just accept duplicates and handle them later. This would be easier and probably not mess anything up. Graphs can have two points in the same spot without looking bad.

lwillmeth commented 6 years ago

We're still waiting on access to the BeelineGPS telemetry transmitter and radio receivers.

lwillmeth commented 6 years ago

Yesterday we completed our first end-to-end test using two parsers on the same receiver. It worked!

(This was delayed due to not having access to the telemetry transmitters.)

We did need minor changes from 13bdd3d46f54037367e1c579997243b61ab42c88