Companion tool for TRIK Studio to simplify the process of uploading programs to Pioneer quadcopter.
This tool provides an executable file ("pioneer-uploader.exe") that integrates with TRIK Studio.
These simple steps will guide you through setting up and using the TRIK Studio Pioneer Tool.
Before you begin, make sure you have TRIK Studio installed on your machine.
- Go to the Releases section of this repository.
- Download the "pioneer-uploader.exe" file from the latest release.
- Place the downloaded "pioneer-uploader.exe" file in the directory where you have TRIK Studio installed.
- Open TRIK Studio.
- Create or open your project.
- When you're ready to upload your program to the quadcopter, simply click the "Upload" button. The TRIK Studio Pioneer Tool will automatically launch and load the program.
If errors continue to occur while using this tool, please try an alternative way to upload the program to the quadcopter: install and use the Pioneer station program.
You can build the executable file by yourself or run tests locally.
To build the project on your system you will need the following tools:
- Python: Make sure you have Python version 3.8 or higher installed on your system. You can download Python from the official website.
- Git: If you don't have Git, you can install it:
- On Windows - from the official site;
- On linux - with the following command:
sudo apt-get install git
- Open Command Prompt.
- Clone repository:
git clone https://github.com/kleo-53/trik-studio-pioneer-tool.git
- Go to the project directory:
cd trik-studio-pioneer-tool
- Create virtual environment:
python -m venv venv
- Activate virtual environment:
- Windows
venv\Scripts\activate
- Linux
. venv/bin/activate
- Update
pip
and install the necessary packagespython.exe -m pip install --upgrade pip pip install -r requirements.txt
Now you can edit the project, build the executable file or run tests locally!
- Install PyInstaller using
pip
:pip install pyinstaller
- Build the project using PyInstaller:
pyinstaller --onefile --name=pioneer-uploader pioneer_uploader.py
- You will find the "pioneer-uploader.exe" file in the dist directory.
You can run tests to ensure the tool's functionality. Tests are available in the "test_uploader.py" file.
Run tests with pytest module.
- Install pytest via
pip
:pip install pytest
- Run the tests using the following command:
pytest test_uploader.py
Alternatively, you can use Tox for testing.
- Install Tox via
pip
:pip install tox
- Run Tox:
tox
This project is licensed under the MIT License - see the LICENSE site for more details.
Have suggestions or improvements for the TRIK Studio Pioneer Tool? Open an issue in our repository. We appreciate your feedback and contributions!