/rocontrol

An interface for fusée gelée.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

rocontrol Python 3

An interface for fusée gelée.

Requirements

  • Python 3
  • Git
  • libusb (for Linux only)

The requirements in italics are a requirement of fusée gelée, not rocontrol.

Setting up the requirements

Windows

  • Download and install Git.
  • Download and install Python 3.

Ubuntu

sudo apt-get install git python3 python3-pip python3-tk libusb-dev

macOS

  • Download and install Git.

Setup

Windows

git clone --recursive https://github.com/moriczgergo/rocontrol
cd rocontrol/
pip install pyusb

NOTE: fusee-launcher does not actually work on Windows yet. All you'll have on Windows is a GUI.

Linux

git clone --recursive https://github.com/moriczgergo/rocontrol
cd rocontrol/
pip3 install pyusb

NOTE: You may need to use pip instead of pip3, if your Python installation is named pip instead of pip3.

Usage

Windows

python app.py

Linux

python3 app.py

NOTE: You may need sudo -H if you're getting a "No access to USB" error.

NOTE: You may need to use python instead of python3, if your Python installation is named python instead of python3.

Troubleshooting

It says there's no access to USB.

It seems like rocontrol doesn't have access to your USB ports. You'll need to run the script with sudo -H.

It says there's an unknown error.

Uh-oh, that's not good. Open up an issue with the exact error message, and some more info. (e.g.: your payload, the machine you're running the script on)

It says it can't connect to the display.

Either:

  • Use gksu/gksudo: gksu ./app.py.
  • Run xhost +localhost, and xhost +.