Greenpower Software
This provides some basic information on software that can be used for Greenpower and specifically the GpSpeed controller.
There are a large number of software packages available that can be used for Greenpower engineering work. Many of these are available in free Open Source forms. Most of Rotary Racers software development and experimentation work has been performed using free Open Source software running under the free Open Source Linux operating system.
Software on Fedora 23 Linux
Using Linux for engineering work is best. Linux provides an free Open Source operating system with thousands of useful programs and complete software development environments. Linux can be installed in a separate disk partion to Microsoft Windows as long as you have enough disk space for this (at least 30 GBytes). The Fedora Linux installer can shrink Microsoft Windows partions and create the new Linux ones for use.
Linux can be used to do almost all of the things people do with Microsoft Windows apart from some comercial 3D CAD packages and some comercial 3D games.
Fedora 23 Linux provides software in a unified software package system based on RPM packages. Various network servers provide these packages in repositories. There is thus a unified and simple way to install software under Linux from these trusted repositories without having to download code from various websites. There are GUI tools such as apper and command line tools such as dnf to install and manage these software packages.
To simplify the installation of these tools further Beam provides a special repository that contains known useful additional Greenpower software packages and a master “beam-suite-greenpower” package that installs a reasonable complete set of these. The software packages that are useful include:
GpSpeed Work
Beam-suite-greenpower | This package pulls in all of the packages listed below |
picaxe | Linux command line PicAxe “compilers” and programming tools |
python | The Python programming environment |
pyserial | Python serial port access library |
wxPython | Python wxWidgets GUI library |
python2-matplotlib | Python graph drawing library |
python2-matplotlib-wx | Python graph drawing using wxWidgets library |
scipy | Scientific Python algorithms etc |
Eric | GUI IDE (Integrated development environment) |
Geany | GUI IDE (Integrated development environment) |
We have packaged up the command line Linux Picaxe "compilers" and downloaders into the picaxe RPM package. This inclues the necessary Linux system config files so that the USB AXE027 picaxe serial download lead can be used. Information on this in: PicaxeUnderLinux.html
General Work
greenvwt | Web based VWT (Virtual wind tunnel) |
paraview | 3D data viewer. Suitable for viewing streamlines etc from VWT processing runs |
Libreoffice Calc | Spreadsheet system like Microsoft Excel |
kst2 | Graph plotting and analysis program |
LibreCAD | 2D CAD package |
FreeCAD | 3D CAD package. This is a bit young but can create 3D designs for VWT usage |
To install all of these packages on a Fedora 23 Linux system run these command line command as the root used in a suitable terminal window:
-
dnf install -y http://portal.beam.ltd.uk/dist/fedora_23/beamExtra/packages/beam-repositories-23.0.7-1.beam.fc23.noarch.rpm
-
dnf install beam-suite-greenpower
Install Fedora 23 Linux onto a Laptop/PC
-
Install the KDE SPIN of Fedora 23 from: http://archive.fedoraproject.org/pub/fedora/linux/releases/23/Live/x86_64/Fedora-Live-KDE-x86_64-23-10.iso
-
Instructions at: https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/index.html
-
Install the greenpower utilities as above and any other software you would like.
If you want a fuller set of packages including video and audio players, Google chrome etc the RPM fusion repository can be added and numerous packages installed.
Software on Microsoft Windows
If you are stuck with Microsoft Windows the following programs and libraries can be installed. Unfortunately Microsoft Windows doesn't have a proper package management system. So you will have to mannually download bits and hope the versions are compatible etc.
This is not complete and hasn't been tested as I don't use Microsoft Windows.
Python | https://www.python.org/downloads/release/python-2712/ Install Python 2.7.x for 64bit systems Windows x86-64 MSI installer or Windows x86 MSI installer for 32bit systems |
wxPython | https://wxpython.org/download.php#msw Install the 3.0.x version, 32bit or 64bit version for Python 2.7 |
matplotlib | http://matplotlib.org/ |
pyserial | https://github.com/pyserial/pyserial This may be present in the Python package |
picaxe | http://www.picaxe.com/ |
This needs more work and testing.
Software on Raspberry PI
A number of the above utilities are available for the Linux system running on various Raspberry PI systems.
TBD.
Developing the Programs
TBD.
Notes
TBD.