User interface for managing mismatched liquid calibration COMs#42
User interface for managing mismatched liquid calibration COMs#42sanworks merged 11 commits intosanworks:developfrom
Conversation
There was a problem hiding this comment.
Hi George,
Is it necessary to convert Linux COM ports to windows style? I checked with git grep and it looks like getCurrentCOM is called in many places throughout BpodLib, and its output is exposed to user user (e.g. saving the COM port with settings or calibration data). This would be confusing to users on Linux, who only know the machine by its Linux port name.
Thanks!
Josh
|
Hey Josh! No it isn't necessary to convert the COM. The original reason that I made it convert everything to "COM" is that I thought it would be easier to search for machine identities. This actually isn't true, so there's no good reason to keep it that way. It's simple change for this, however the tests have to be updated to handle the Linux case. I'll have this done within a day or two. |

Current Behaviour:
Liquid calibration files specify which COM port they were last used with.
During startup, a Command Window warning is issued if the currently booting Bpod's COM does not match the COM in the liquid calibration file that was loaded.
Desired Behaviour:
Instead of a warning into the Command Window, detection of the COM discrepancy should raise a UI that allows user to either ignore the discrepancy (with the intent of recalibrating the system) or:
This PR implements the desired behaviour.