Project structure:
pip install -r requirements.txtNode app.js to run it.python stick_controller_xbox.py.py to start the controller.
X in PS4 or A in XBox to take off the drone.O in PS4 or B in XBox will make the drone land.python controller.py. Btw, it use opencv im.show to see some image from drone camera.Nodde app.js to start the server, and the client will be start in the port 3000.FlightSimulator.exe, it will load the tile map from google api, so you need wait 15 seconds to load the map.follow view will follow the move or freely move the camera.google map will show / hide the 3d tiles.wasd or left stick move forward/back or left/right.arrow key or right stick move up/down or rotate in yaw.k in keyboard / x in PS4 / A in XBOX take offl in keyboard / x in PS4 / A in XBOX landesc / left spcial key in game pad quit game.stick_controller.py is used for PS4 controller, but I have no time to fix bug in it.Google tile map api will be deprecated by me in the future, so if you want to use it in the future, you need rebuild the project.