studio icon indicating copy to clipboard operation
studio copied to clipboard

Mecademic hardware UI Integration

Open TheBigSasha opened this issue 1 year ago • 1 comments

A rudimentary version of mecademic support in the hardware UI for Flojoy. Screenshot 2023-10-02 at 10 21 39 AM

Known issues

  • Mecademic doesn't provide API to scan for arms on the network, and Flojoy hardware integration doesn't allow for hardware that can't be indexed. Because of this, this demo hardcodes the default IP address for mecademic in lieu of a custom connection UI
  • Mecademic's connection handle should in the same Python server as the nodes, so it can't be managed fully externally on the hardware connections server. Because of this, the implementation is just passing around possible IP addresses to connect to

Possible ways forward

  • Enhance hardware connections API to support custom connections (IE a + button). This would allow a user to type in an IP and test the connection in the hardware connections UI, and add it to the dropdown list for the medemic node. This increases consistency but adds friction
  • Do the same as above, but remove the connect node in lieu of implicit connection management through expansion of the previous mecademic connection manager
  • Use the current hardware API as much as possible - scan through all IPs, find one that responds to mecademic requests, hope their API never changes, populate the list of mecademic arms using results.

TheBigSasha avatar Oct 02 '23 17:10 TheBigSasha