Source


Overo COM Host

Depending on your distribution and image you might need to install python and some modules. On Angstrom,

$ opkg update
$ opkg install python
$ opkg install python-modules
$ opkg install python-pyserial

You also need to download the Python Client Library. Because git doesn't exist on Angstrom, you will need to maintain it yourself. You can mount the SD Card to copy the PCL over, or use cURL:

$ opkg install curl
$ curl -L -k https://github.com/robovero/python/tarball/master | tar zx

Note the RoboVero HubCommander Interface. For the Overo to see the RoboVero, you must disconnect the USB mini-B. SSH to your Overo to send commands.

Linux

The Python Client Library is available via github. If you don't already use git you will need to install it.

$ sudo apt-get install git

Now you can get the most up to date version of the library.

$ cd ~/robovero
$ git clone git://github.com/robovero/python.git

The repository will be stored in ~/robovero/python. Before moving on, let's make sure everything is up to date.

$ sudo apt-get update
$ sudo apt-get install python python-serial

Mac

If you are using Mac, install git from here. Now you can get the most up to date version of the library.

$ cd ~/robovero
$ git clone git://github.com/robovero/python.git

Python should already be installed on your Mac. To get pyserial, download the archive from http://pypi.python.org/pypi/pyserial. Unpack the archive, enter the directory in Terminal and run

$ python setup.py install

Windows

NOTE: The installation instructions for Windows are in progress. Visit the Question and Answer section if you need help installing on Windows. You may also need to update your firmware to get it to work.


If you are using Windows, follow the instructions here to obtain git. Run the following command in your RoboVero folder in Git Bash.

$ git clone git://github.com/robovero/python.git

Python also needs to be installed on your Windows computer. Get Python 2.7 from http://python.org/download/. After that, to get pyserial, download the archive from http://pypi.python.org/pypi/pyserial. Unpack the archive. Set your Environment Variables by following instructions http://docs.python.org/using/windows.html#excursus-setting-environment-variables. Enter the directory in Command Prompt and run

$ python setup.py install

 
Designed by Business wordpress themes and Joomla templates.