Skip to content

Companion tool for TRIK Studio to communicate with Pioneer quadcopter

License

Notifications You must be signed in to change notification settings

kleo-53/trik-studio-pioneer-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status License: MIT GitHub Release (latest by date)

TRIK Studio Pioneer Tool

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.

For users

These simple steps will guide you through setting up and using the TRIK Studio Pioneer Tool.

Installation

Before you begin, make sure you have TRIK Studio installed on your machine.

  1. Go to the Releases section of this repository.
  2. Download the "pioneer-uploader.exe" file from the latest release.
  3. Place the downloaded "pioneer-uploader.exe" file in the directory where you have TRIK Studio installed.

How to use

  1. Open TRIK Studio.
  2. Create or open your project.
  3. 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.

Alternative

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.

For developers

You can build the executable file by yourself or run tests locally.

Prerequisites

To build the project on your system you will need the following tools:

  1. Python: Make sure you have Python version 3.8 or higher installed on your system. You can download Python from the official website.
  2. 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
    

Installation

  1. Open Command Prompt.
  2. Clone repository:
    git clone https://github.com/kleo-53/trik-studio-pioneer-tool.git
    
  3. Go to the project directory:
    cd trik-studio-pioneer-tool
    
  4. Create virtual environment:
    python -m venv venv
  5. Activate virtual environment:
    • Windows
    venv\Scripts\activate
    • Linux
    . venv/bin/activate
  6. Update pip and install the necessary packages
    python.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!

Build executable

  1. Install PyInstaller using pip:
    pip install pyinstaller
    
  2. Build the project using PyInstaller:
    pyinstaller --onefile --name=pioneer-uploader pioneer_uploader.py
    
  3. You will find the "pioneer-uploader.exe" file in the dist directory.

Running Tests

You can run tests to ensure the tool's functionality. Tests are available in the "test_uploader.py" file.

Manual Testing

Run tests with pytest module.

  1. Install pytest via pip:
    pip install pytest
    
  2. Run the tests using the following command:
    pytest test_uploader.py
    

Using Tox

Alternatively, you can use Tox for testing.

  1. Install Tox via pip:
    pip install tox
    
  2. Run Tox:
    tox
    

License

This project is licensed under the MIT License - see the LICENSE site for more details.

Contributing

Have suggestions or improvements for the TRIK Studio Pioneer Tool? Open an issue in our repository. We appreciate your feedback and contributions!

About

Companion tool for TRIK Studio to communicate with Pioneer quadcopter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%