xjjak / LapCal

Building gloves that enable typing on a 34-key keyboard without an actual physical keyboard using IMUs and machine learning.
Other
2 stars 0 forks source link

[ERROR] Extra colon at the end of mainboard output #16

Closed palisn closed 6 months ago

palisn commented 6 months ago

Describe the problem There is an extra colon at the end of the mainboard output.

For example, output without any sensors connected to the mainboard looks like this:

...
8417619:-:-:-:-:-:-18.00;66.00;-33.00;0.07;0.30;-0.38:
8427623:-:-:-:-:-:-22.00;64.00;-37.00;0.07;0.30;-0.38:
8437613:-:-:-:-:-:-20.00;69.00;-41.00;0.07;0.30;-0.38:
...

Expected behavior There should only be colons between the sensor data (and the timestamp).

The example above should look like this:

...
8417619:-:-:-:-:-:-18.00;66.00;-33.00;0.07;0.30;-0.38
8427623:-:-:-:-:-:-22.00;64.00;-37.00;0.07;0.30;-0.38
8437613:-:-:-:-:-:-20.00;69.00;-41.00;0.07;0.30;-0.38
...

Dependencies Parsing the output for live preview (#15) should be as consistent with the output it will receive in the future as possible. Fixing this now rather than matching the parsing to the error will only lead to more nuisances in the future.