# Android Joystick App
## Summary
This project is a remote control joystick that connect "FlightGear" simulator and fly the plane remotely.
The project implemented using MVVM architecture and written with kotlin.
## Setup
Before running the app you should do the following steps:
* Clone this repositories.
* Install Android Studio.
* Install Flight Gear Simulator (it is an open source project).
* Inside FlightGear go to Setting -> Additional Settings and write:
``--telnet=socket,in,10,127.0.0.1,6400,tcp``.
* Press Fly and hit the Autostart button.
![App](https://user-images.githubusercontent.com/60196825/123525379-dcc35180-d6d8-11eb-8a40-428ac9f3342f.png)
![Msg](https://user-images.githubusercontent.com/60196825/123525430-417eac00-d6d9-11eb-8c10-2e22e527ae12.png)
## Run
* Run the App in your favourite IDE
* Put your computer IP in the field and put ``6400`` in port field.
* press Connect To FlightGear and hit the Throttle up :airplane:.
* Enjoy your flight.
## UML
![UML](https://user-images.githubusercontent.com/60196825/123525299-3a0ad300-d6d8-11eb-917c-306fd31477f5.jpg)
## Demo presentation
[Here is a nice presentation of the project](https://youtu.be/lIkFrhPQ-Yg)
(flight starts at 2:45)