47 lines
1.7 KiB
Markdown
47 lines
1.7 KiB
Markdown
# Android Joystick App :airplane:
|
|
|
|
[Demo](https://youtu.be/lIkFrhPQ-Yg)
|
|
|
|
#### Submitters:
|
|
Omer Schloss - 313301764
|
|
|
|
Avraham Bar Ilan - 205937949
|
|
|
|
## Summary
|
|
This project is a remote control joystick that connect "FlightGear" simulator and control the plane remotely.
|
|
|
|
The project implemented in MVVM architecture and written with kotlin.
|
|
|
|
You can download a .apk file of the app [from here](https://github.com/OmerSchloss/FlightGearControllerApp/blob/master/FlightGearController.apk) and look for this nice icon:
|
|
|
|

|
|
|
|
Or you can clone this repo and run it with Android Emulator on your computer.
|
|
|
|
|
|
## Setup
|
|
App is compatible with Android 8.0 (SDK 26)
|
|
|
|
* Install Flight Gear Simulator ([Download from here](https://www.flightgear.org/download/)).
|
|
* Inside FlightGear go to Setting -> Additional Settings and write:
|
|
``--telnet=socket,in,10,127.0.0.1,6400,tcp``.
|
|
* Press Fly and press Autostart.
|
|
|
|

|
|
|
|

|
|
|
|
## Run
|
|
* Run the App.
|
|
* Put your computer IP in the field and put ``6400`` in port field.
|
|
* press Connect To FlightGear and hit the Throttle up.
|
|
* Enjoy your flight.
|
|
|
|
## UML
|
|
As you can see the code is divided into 3 main sections: View, ViewModel and Model.
|
|

|
|
|
|
## Demo presentation
|
|
[Here is a nice presentation of the project](https://youtu.be/lIkFrhPQ-Yg)
|
|
(flight starts at 2:45)
|