Ipodrom

From PaparazziUAV
Jump to navigation Jump to search

Ipodrom is the acronym for Interface pour contrôler un drone sur un mobile. It is the French for UAV control interface on a mobile phone.

This system has been designed and developped by 3 ENAC students. It is based on Paparazzi, and enables the control of a UAV running Paparazzi on a mobile phone connected via Bluetooth to the ground station.

Presentation

Apercu Ipodrom.png

The system entirely is based on Java technology. It is divided in 2 programs : one running on the ground station, and the other on the mobile.

On the ground station

The goal of this program is to relay the messages from the airplane (via the server on the ivy bus) to the mobile, and the commands from the phone on ground station's ivy bus.

On the mobile

There is a program developped with Java ME (MicroEdition). It connects to the Bluetooth relay of the ground station, and displays the main informations about the plane and the flight. It is also possible to send commands, such as climb, jump to Standby block, land, and move the waypoints.

How to use Ipodrom ?

The installation described here is for debian-like systems (typically Ubuntu). Thank you for sharing your experience on others systems!

Requirements

You need to have Paparazzi installed. That won’t be detailed here, I think you can find the instructions by yourself on this site.

The source code is in Java, so you need both Java SE (Standard Edition) for your PC, and Java ME (MicroEdition) for the mobile program. Java SE downloads can be found here : http://java.sun.com/javase/downloads/index.jsp, but it's far more easy to install the corresponding debian packages :

  • sun-java6-jre
  • sun-java6-jdk

Note: you need both JRE and JDK in order to compile java applications. Be sure you have version 6 (it doesn't work with 5).

JavaME downloads can be found here : http://java.sun.com/javame/downloads/index.jsp

Download and install the Sun Wireless Toolkit (WTK), which enables to manage JavaME projects, compiling and packaging them. The version we used is Sun Java Wireless Toolkit 2.5.2 for CLDC.

You need a Bluetooth peripheral on your computer (and on your mobile device). These are the debian packages that already should be installed:

  • libxpm-dev
  • libxt-dev
  • libx11-dev
  • libice-dev
  • libsm-dev
  • libc6-dev
  • libstdc++6-dev

There are specific Bluetooth packages you have to install:

  • bluetooth
  • bluez
  • libbluetooth3
  • libbluetooth-dev

The source code

It is available on a subversion server.

Installation

coming soon