Skip to content

mareksuma1985/PhoneUAV-server

Repository files navigation

PhoneUAV-server

Allows user to control RC plane through Wi-Fi. You need USC-16 servo controller, Android Lollipop enabled smartphone, laptop or another smartphone running QGroundControl, and analog gamepad. Latest build of the app can be downloaded here: PhoneUAV-debug.apk. For MAVLink support see also: MAVLink UDP Android Example. Please keep in mind that the recommended way of implementing MAVLink support in Android applications is MAVSDK. Feel free to use pieces of code from this project for:

Instructions

After cloning or downloading the project you have to do a few things before you build:

  • Open local.properties and edit sdk.dir and ndk.dir properties (paths to your Android SDK and NDK):
  ndk.dir=~/Library/Android/android-sdk-linux/ndk-bundle
  sdk.dir=~/Library/Android/android-sdk-linux
  • Download: c_library_v2 or generate: generate_libraries MAVLink headers.

  • Open /PhoneUAV/src/main/cpp/Android.mk and edit LOCAL_CFLAGS variable so that it points to the folder where you keep the headers.

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_CFLAGS += -I ~/mavlink/generated/include
LOCAL_MODULE    := mavlink_udp
LOCAL_SRC_FILES := mavlink_udp.c
include $(BUILD_SHARED_LIBRARY)
  • If you're having trouble building the project (The system cannot find the file specified) - try downloading older NDK version.

Videos

Accesory mode hardware laid out:

Android based autopilot project Ranger

Moving control surfaces using gamepad:

Android based UAV project - Volantex Ranger

Walkaround:

Volantex Ranger 757-4 1380mm wingspan

First flight:

Volantex Ranger 757-4 pierwszy start

About

This app allows you to control RC plane using Android smartphone instead of receiver.

Topics

Resources

Stars

Watchers

Forks