Regbot GUI
(→Install Python packages =) |
|||
(6 intermediate revisions by one user not shown) | |||
Line 45: | Line 45: | ||
=== Linux === | === Linux === | ||
− | > | + | > pip install pyqt5 |
− | > | + | > pip install pyqtgraph |
− | > | + | > pip install pyserial |
− | > | + | > pip install numpy |
== Get REGBOT GUI == | == Get REGBOT GUI == | ||
− | + | The REGBOT GUI is just a set of python files | |
− | + | There are two options | |
+ | * Get the python files from a zip-file (available in Learn) | ||
+ | * Get the newest version from repository (SVN) | ||
− | + | === From zip file === | |
− | + | ||
− | + | Unzip the Python files (many files (23), so keep them in a clean directory). | |
− | + | ||
− | + | ||
− | === | + | === From SVN repository === |
− | + | Make sure your PC has SVN (Apache subversion) support. | |
− | + | ===== Windows ===== | |
− | + | Install e.g. SilkSVN (https://sliksvn.com/download/), this is a command-line interface, but there are other packages too. | |
− | + | Start a 'cmd' terminal after installation. | |
− | + | ===== Linux (and MAC) ===== | |
− | + | sudo apt install subversion | |
− | + | ==== Get the GUI Python files ==== | |
− | + | Open a terminal window, change the directory, to where you want to install, e.g. called 'svn' | |
− | + | mkdir svn | |
+ | cd svn | ||
+ | svn checkout svn://repos.gbar.dtu.dk/jcan/regbot/regbot_gui | ||
+ | cd regbot_gui | ||
− | + | There should be several Python files, including 'regbot.py'. | |
− | + | == Start the Regbot GUI == | |
− | + | Go to the directory, where the Python files are placed. | |
− | + | * Execute the 'regbot.py' file. | |
− | + | From a terminal | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
cd regbot_gui | cd regbot_gui | ||
python3 regbot.py | python3 regbot.py | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 14:02, 7 December 2023
Back to Regbot
Back to Robobot
Contents |
[edit] Install Python
Install python and the python install program pip.
[edit] Windows
Install Python from Microsoft store (Includes pip). (Should be python version 3.x)
[edit] Mac
Install Python (version 3.x) Maybe it is installed by default (I have no MAC)
[edit] Linux
install pip (Python Install Program)
sudo apt install python3 sudo apt install pip
[edit] Install Python packages
[edit] Windows
Open a terminal window (search for 'cmd' app)
At the command prompt install these packages:
> pip install pyqt4 > pip install pyserial > pip install pyqtgraph > pip install numpy
[edit] MAC
The same packages are needed.
[edit] Linux
> pip install pyqt5 > pip install pyqtgraph > pip install pyserial > pip install numpy
[edit] Get REGBOT GUI
The REGBOT GUI is just a set of python files
There are two options
- Get the python files from a zip-file (available in Learn)
- Get the newest version from repository (SVN)
[edit] From zip file
Unzip the Python files (many files (23), so keep them in a clean directory).
[edit] From SVN repository
Make sure your PC has SVN (Apache subversion) support.
[edit] Windows
Install e.g. SilkSVN (https://sliksvn.com/download/), this is a command-line interface, but there are other packages too.
Start a 'cmd' terminal after installation.
[edit] Linux (and MAC)
sudo apt install subversion
[edit] Get the GUI Python files
Open a terminal window, change the directory, to where you want to install, e.g. called 'svn'
mkdir svn cd svn svn checkout svn://repos.gbar.dtu.dk/jcan/regbot/regbot_gui cd regbot_gui
There should be several Python files, including 'regbot.py'.
[edit] Start the Regbot GUI
Go to the directory, where the Python files are placed.
- Execute the 'regbot.py' file.
From a terminal
cd regbot_gui python3 regbot.py