BitsAndDroids / Bits-and-Droids-flight-connector

Repository for the mfs2020 flight connector by Bits and Droids

Home Page:https://www.bitsanddroids.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


This project is moving to Rust.

Progress can be followed in the new Repository. https://github.com/BitsAndDroids/FlightConnector-Rust

Bits-and-Droids-flight-connector

Repositry for the mfs2020 flight connector by Bits and Droids

This project runs on the QT UI framework https://www.qt.io/download-open-source

Tools needed to compile

Qt version 6.2 Qt additions:

  • Qt Charts
  • Qt Serialport
  • Qt Graphics

Can also be run from third party IDE's like CLion.

Project setup

This project includes all the files and build steps required to build the project in your favorite IDE. All the required DLL's are included in the dist folder which get added upon build.

  • Clone / download
  • Unzip
  • Run CMAKE on the CMakeLists.txt in the binary folder
  • Build
  • Run

Tests

Tests are added to the Test folder. CMake will generate a seperate .exe for the unit tests. You're able to run these test automatically by adding the .exe to your post build setup (IDE dependent).

There are a boatload of inputs/outputs that are still missing Unit tests. All help on this front is welcome <3

Structure

Dashboard

The dashboard is the mainscreen of the application. It consists of several independent units(widgets). The controlling logic has been delegated to seperate controller classes. See the image below for a visual representation of the structure. image image

Arduino / ESP32 library

The libraries are a way to simplify the communication between your microcontroller and the connector. They have their own repository which can be found at: https://github.com/BitsAndDroids/BitsAndDroidsFlightSimLibrary

Documentation

The documentation for the connector can be found on the Bits and Droids website. https://www.bitsanddroids.com/flight-sim-connector-library-documentation/

I've started to document the code using Doxygen. For more code insights visit the Github pages section of this repository.

About

Repository for the mfs2020 flight connector by Bits and Droids

https://www.bitsanddroids.com

License:GNU Affero General Public License v3.0


Languages

Language:C++ 84.2%Language:C 12.5%Language:CMake 3.2%Language:CSS 0.2%