We're sorry, but this discussion has just been closed to further replies.
Tags:
I contacted the software dev. when you first asked, but he's in grad school at Stanford so he can't respond to your questions as quickly as I can.
Hello Jack,
I sincerely apologize that it has take me sometime to get on this. School can be so time consuming!
I think I understand the situation:
You are using a serial-to-USB device that is not the Keyspan model.
This should be okay, here is how to proceed:
1) Download a fresh version of the Sparky Server software, I found a significant bug.
http://sparkyrobotcontroller.googlecode.com/files/Sparky%20Server.pkg
2) We need to make a link in /dev from your serial device to /dev/cu.KeySerial1 (that is the device the Sparky program /Sparky/controld uses to send commands from Skype to the iRobot).
open Terminal
cd /dev
sudo ln -s /dev/YOURSERIALDEVICE /dev/cu.KeySerial1
To find your serial device, I would:
turn on iRobot, but unplug serial cable
open Terminal
cd /dev
ls -ltr
now plug in the serial cable
ls -ltr
at the bottom of the directory listing, hopefully a new file or files has appeared. For the KeySpan there were two devices, but the cu.KeySerial1 one actually works.
Testing:
After you make the link...
Turn on the iRobot and connect it
cd /Sparky
sudo killall controld
sudo ./shell_check_sparky_irobot.php
ps ax | grep controld
after the last command, you should see an instance of controld running
pick up Sparky (off the floor), he/she should start to beep (since the robot is scared)
if you hear no beeps, then try changing the link and trying these testing steps again.
Note, you can also edit /Sparky/shell_check_sparky_irobot.php and change the device passed to controld.
Hope this helps! If not, we might have to figure out how to talk by email or voice :-)
-John
WOOOHOOO!!!
I was able to get the robot to finally move!!!! It turns out there are wholes in the documentation not just bugs in the code.
The first major problem (if I missed it in the directions let me know) the controld app is not being auto launched and must be launched to talk to the keyspan adapter.
The second issue is if you use a different usb adapter. This can be easily fixed post here if you are going to use a different adapter, ill show you how to set it up.
Now that its working its time to start hacking things. i am going to create a new post regarding adding new movements and reading the sensors.
© 2009 Created by Marque Cornblatt on Ning. Create a Ning Network!