Open lwillmeth opened 7 years ago
I think this is how it should be. How can you manually set values if you are connected to nothing? Cant manually set nothing. Before I had them so you could just slide them no matter what but I figured this would be the most likely end result.
I just realized you must be connected to either a servo or stepper to use the 'enter values' button and use the GUI compass elements.
Well, you can use it, but it won't actually do anything. That's because the loop that updates the GUI and does the calculations is inside either ServoControl or StepperControl. Right now these default back to the disconnected state if they fail to connect to an arduino.
One solution would be to use the radio button to select a default, then attempt to connect automatically when 'Enter Values' is pressed. This might present a problem if, for example, you're just using the GUI for testing with no hardware attached. We may have to allow a failed connection in order to activate the GUI elements.
I don't expect an immediate solution for this bug, just wanted to document that it exists.