:~$ mkdir myro :~$ cd myro :~$ sudo apt-get install python python-tk python-serial python-pyxmpp python-imaging python-imaging-tk python-numpy libsnack2 python-pygame festival festvox-rablpc16k :~$ sudo ldconfig :~$ wget -c http://myro.roboteducation.org/download/myro-2.9.1.zip :~$ unzip myro-2.9.1.zip :~$ sudo python setup.py install :~$ wget -c wget http://svn.cs.brynmawr.edu/Myro/trunk/misc/ScriptBinding.py :~$ wget -c http://svn.cs.brynmawr.edu/Myro/trunk/misc/config-extensions.def
:~$ python -V Python 2.7.3
:~$ sudo cp ScriptBinding.py /usr/lib/pythonX/idlelib/. :~$ sudo cp config-extensions.def /usr/lib/pythonX/idlelib/. :~$ wget -c wget http://svn.cs.brynmawr.edu/Myro/trunk/Start%20Python.pyw :~$ chmod +x Start\ Python.pyw
:~$ sudo gedit /etc/bluetooth/rfcomm.conf
# # RFCOMM configuration file. # rfcomm117 { # # Automatically bind the device at startup bind yes; # # # Bluetooth address of the device device 00:1E:19:01:0A:61; # # # RFCOMM channel for the connection channel 1; # # # Description of the connection comment "IPRE Scribbler Dongle"; } rfcomm51 { # # Automatically bind the device at startup bind yes; # # # Bluetooth address of the device device 00:1E:19:01:0B:0F; # # # RFCOMM channel for the connection channel 1; # # # Description of the connection comment "IPRE Scribbler Dongle"; }
:~$ sudo hcitool scan
00:1E:19:01:0B:0F IPRE6-296474
/etc/bluetooth/rfcomm.conf
, save the file and close it.:~$ sudo rfcomm bind all
:~$ python Start\ Python.pyw
>>> from myro import * >>> init()
/dev/rfcommX
, where X is the number of the robot.