Steps to set up your computer and clone the pyxida firmware repository --


Use the following website to download CLion for your operating system:

(You can also download a different IDE of preference)

https://www.jetbrains.com/clion/download/

  • You can download CLion for free using student status:

    • Go to buy > special offers > For students and teachers > Apply now


Install a compiler for your IDE:

  • Download MinGW compiler (or another compiler of preference) using the steps from the following tutorial:

https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html#MinGW


Install Git Bash:

https://git-scm.com/downloads


Set up SSH keys using the following website tutorial:

https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent


Clone repository:

  • Go to rocket team github website and find pyxida - firmware (or the repository you wish to clone)

  • Press “Clone or download”

  • Press “Use SSH” and then copy the link given

  • Open git bash and type “git clone --recursive “ and then paste the link you just copied

  • Type “yes” if asked “are you sure you want to continue connecting?”

  • Type “cd pyxida-firmware” (or the repository file name if you are cloning a different repository)

  • Type “git submodule update --init"

  • Enter the passcode you made for your SSH key when asked to put in passphrase

  • Repository is successfully downloaded and can now be accessed in CLion or any other IDE through Users\(your username)\pyxida-firmware\pyxida

If you want to upload code to a board:

  • Download PlatformIO

    PlatformIO is a multi platform build system for software work on embedded and development platforms. The PlatformIO IDE is available as a plugin for either VS Code or Atom. You can use another text editor for working on the software, but it will be easiest to compile Pyxida software using the PlatformIO IDE. Download and install either the PlatformIO IDE for VS Code or Atom by using the link below and scrolling down:

https://platformio.org/platformio-ide

For the Pyxida ground station

Currently, we use Python 3.4 and PySide (A port of Qt for Python) for the ground station. However, we are considering moving to PyQt, which would allow us to use Python 3.5+.

1. Download Python 3.4

The current ground station uses python 3.4. If you have another version of python installed, you will want to uninstall it before installing 3.4 to avoid future
conflicts. If you need differnt versions of python. I would recomend looking into python "virtual environments" (one tutorial can be found in the second half of
this article http://docs.python-guide.org/en/latest/dev/virtualenvs/). Here is the link for python 3.4

https://www.python.org/downloads/release/python-344/

2. Download pyside and pyserial

These are additional software packages you need for developing for the ground station. You can get them by running the following commands in the command line/terminal:

pip install PySerial
pip install pyside



  • No labels