Closed eloudsa closed 9 years ago
When I was running OSX, it took me perhaps two minutes for the Select Address and Connect requests to be processed. However that might not be the issue for you. Is there any response from the server (any messages on the server) when you make the requests?
EDIT: I am going to update the server after I get out of class to correctly display full error messages, which will allow to figure out what the issue may be here.
Please try this version of the server: (https://drive.google.com/file/d/0B-CV2orBTol3YnR1MG5oWUxXajQ/view?usp=sharing)
Upon trying it, if it still does not work, could you copy and paste the output of the server, and also let me know which version (64 bit or 32 bit) of MacOSX you have? Or a screenshot of the "About this Mac" would also suffice. The version of the server uploaded was built on a 64 bit Mac.
Thanks for this new version.
I'm in a Macbook Pro running Mac OSX Yosemite (version 10.10.1). OSX is an 64-bit version. $ uname -a Darwin eloudsa-2.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Here below, output I have when I try use my Sphero: 1) Starting "spherlyserver_macosx_64bit.jar" >>> Server is up!
2) Opening the URL page >>> Connected to webclient!
3) Clicking on Select Address
I hope this help.
S.
It seems the web client is connecting to the server twice in succession, which is not happening for me. Do you only have one instance of the website up when attempting this?
If so, is it possible for you to open the developer console and see if there are any messages there? (For Chrome) (For Safari)
Hi Jake
I succeeded to connect and to upload a program through Spherly.
What I've done is to run the application from Eclipse.
Of course, I have changed the Java Buid Path to locate the required libraries: bluecove 2.1.1 and json-simple (1.1.1).
It seems that the Jar file you have built has some problems.
Here below a log of the server:
Server is up! Connected to webclient! searching for spheros... found spheros: name: Sphero-RPR, address: 6886E701E9BE name: Sphero-BOP, address: 6886E702B309 Connection successful listening to sphero... Enable Collision Detection: true Stop Rolling Roll Forward: speed=38 Stop Rolling Enable Collision Detection: true Stop Rolling Roll Forward: speed=127 Stop Rolling Turn: direction=180 Roll Forward: speed=127 Stop Rolling Turn: direction=180 Roll Forward: speed=127 Stop Rolling Turn: direction=180 Roll Forward: speed=127 Stop Rolling Enable Collision Detection: true Stop Rolling
Oh that's exciting! I'm sorry for the jar problems: I'm a beginner to building runnable jars even though eclipse and I may not have selected the correct options or something when packaging it. Is it possible for you to export the correctly running project as a runnable jar through eclipse and sharing it? I am going to within the next week try to get successful jars for each OS and have them uploaded on the main site.
Of course.
I will send it to you when it will be ready.
Hi.
I've tested the JAR file on OSX. The Select Address is still not working. If I provide a Mac address and click on Connect, no connection is performed while the Sphero is paired.
S.