Last active
August 29, 2015 14:11
-
-
Save madhephaestus/2540082a64e51b40a18b to your computer and use it in GitHub Desktop.
ConnectionDialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.neuronrobotics.sdk.dyio.DyIO; | |
import com.neuronrobotics.sdk.ui.ConnectionDialog; | |
System.out.println("Starting"); | |
DyIO dyio=new DyIO(); | |
if (!ConnectionDialog.getBowlerDevice(dyio)){ | |
System.err.println("Dialog failed"); | |
return; | |
} | |
dyio.ping(); | |
dyio.disconnect(); | |
System.out.println("Connection OK!"); | |
return dyio; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment