Installation in windows: Difference between revisions
From Rsewiki
No edit summary |
|||
Line 2: | Line 2: | ||
== Klientprogram == | == Klientprogram == | ||
===Windows=== | |||
Der skal installeres | Der skal installeres | ||
Line 16: | Line 18: | ||
* installation af python seriel kommunikation fra https://pypi.python.org/pypi/pyserial - igen skal version passe med Python, i.e. 2.7. | * installation af python seriel kommunikation fra https://pypi.python.org/pypi/pyserial - igen skal version passe med Python, i.e. 2.7. | ||
=== Linux (debian based) === | |||
* install python | |||
sudo apt-get install python-dev | |||
sudo apt-get install pyqt5-dev | |||
If python version 3 is used, then further packages are needed, and some code may have to change. | |||
== Teensy 3.1 code == | == Teensy 3.1 code == |
Revision as of 10:26, 23 December 2014
Installation i windows
Klientprogram
Windows
Der skal installeres
- Installation af driver https://www.pjrc.com/teensy/td_download.html - seriel driver installation med https://www.pjrc.com/teensy/serial_install.exe
Klienten er en Python (QT4-python) applikation, som kræver
- Installation af python - f.eks. version 2.7 fra https://www.python.org/downloads/windows/
- installation af QT4 GUI library - fra http://www.riverbankcomputing.co.uk/software/pyqt/download.
Installation af http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt4-4.11.3-gpl-Py2.7-Qt4.8.6-x64.exe NB! det skal være QT4 og der skal indgå 'Py2.7' i filnavnet (eller sammenhæng mellem Python version og PyX.X i QT4 filnavnet.
- installation af python seriel kommunikation fra https://pypi.python.org/pypi/pyserial - igen skal version passe med Python, i.e. 2.7.
Linux (debian based)
- install python
sudo apt-get install python-dev sudo apt-get install pyqt5-dev
If python version 3 is used, then further packages are needed, and some code may have to change.
Teensy 3.1 code
To compile code to Teensy 3.1, and download to the robot requires a bit more
- Code loader - see https://www.pjrc.com/teensy/loader.html - Code uses an arduino library, but is written in C (compiled with a C++ compiler), this requires further installation: @todo - see Nilas' report.