2021-06-27 04:38:56 +08:00
|
|
|
# Android Joystick App
|
|
|
|
|
2021-06-27 04:51:50 +08:00
|
|
|
## Summary
|
2021-06-27 04:38:56 +08:00
|
|
|
This project is a remote control joystick that connect "FlightGear" simulator and fly the plane remotely.<br/>
|
|
|
|
The project implemented using MVVM architecture and written with kotlin.<br/>
|
|
|
|
|
2021-06-27 04:51:50 +08:00
|
|
|
## Setup
|
2021-06-27 04:38:56 +08:00
|
|
|
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.
|
|
|
|
|
2021-06-27 04:48:43 +08:00
|
|
|
![App](https://user-images.githubusercontent.com/60196825/123525379-dcc35180-d6d8-11eb-8a40-428ac9f3342f.png)
|
|
|
|
|
2021-06-27 04:51:17 +08:00
|
|
|
![Msg](https://user-images.githubusercontent.com/60196825/123525430-417eac00-d6d9-11eb-8c10-2e22e527ae12.png)
|
|
|
|
|
2021-06-27 04:51:50 +08:00
|
|
|
## Run
|
2021-06-27 04:38:56 +08:00
|
|
|
* Run the App in your favourite IDE
|
|
|
|
* Put your computer IP in the field and put ``6400`` in port field.
|
2021-06-27 04:48:43 +08:00
|
|
|
* press Connect To FlightGear and hit the Throttle up :airplane:.
|
2021-06-27 04:38:56 +08:00
|
|
|
* Enjoy your flight.
|
|
|
|
|
2021-06-27 04:51:50 +08:00
|
|
|
## UML
|
2021-06-27 04:43:58 +08:00
|
|
|
![UML](https://user-images.githubusercontent.com/60196825/123525299-3a0ad300-d6d8-11eb-917c-306fd31477f5.jpg)
|
2021-06-27 04:38:56 +08:00
|
|
|
|
2021-06-27 04:51:50 +08:00
|
|
|
## Demo presentation
|
2021-06-27 04:54:25 +08:00
|
|
|
[Here is a nice presentation of the project](https://youtu.be/lIkFrhPQ-Yg)
|
2021-06-27 04:55:41 +08:00
|
|
|
(flight starts at 2:45)
|