UAV Playground 1.2 - An approach to Unmanned Aerial Vehicles

The UAV Playground is a collection of software components I've written in Java. They extend the Processing Development Environment (PDE) with some functionality that can help you to simulate and test different aspects of UAVs. You can as well use the UAV Playground library outside of the PDE in any Java application.
UAV Playground and all the Software it is based on are freely available. The distribution and the source code can be found on the Open Source project page at code.google.com/p/uavplayground.
The whole project is a work in progress and will be extended as I work on the exploration of UAVs. I'd appreciate if you leave me a comment or even better contribute to the project.

Features
- object oriented
- modular
- extendable
- free

How to use it
- install the Processing Development Environemt (PDE)
- download the UAV Playground distribution and follow the installation instructions
- [install the FlightGear Flight Simulator (optional)]
- have a look at the sketches (examples) and browse the api documentation that is included in the jar file


A very basic example
- connects to the flight simulator
- displays the current altitude and airspeed


The UAVsim example
- controls the flight simulator via virtual joysticks or...
- controls the flight simulator via a PID processor (basic autopilot)
- displays various data


Additional examples
UAV Playground - NMEA to KML

UAV Playground 1.1
- New GPS NMEA data import via a network connection to FlightGear
- New GPS tracking in Google Earth via a HTTP connection to the UAV Playground


UAV Playground 1.2 [Update] (download)
- Completely rewritten autopilot now supports waypoint navigation

Views: 3372

Tags: flightgear, googleearth, gps, java, simulator, uav

Comment by Nathan Harris on May 18, 2011 at 5:15am
Hello, Newbie Question, I am planning on a UAV launch from a high altiude balloon, does this software allow me to upload the ArduPilot software into the UAV simulator and see the results? In other words can I test before buying the hardware and see how the ArduPilot would cope?
Comment by jaron on May 30, 2011 at 11:05am

Hi Natha, no you can't upload the actual ArduPilot software and test it with UAV Playground.

Comment by Bur on June 25, 2012 at 9:27pm

Hi Jaron, I can't command the Flightgear via another machine (data receive is ok).

Sould I have to code something?

Comment by jaron on June 27, 2012 at 9:23am

Hi Bur, it is possible to run FlightGear on a different machine than UAVsim. Therefore you've got to set the IP addresses in those two files:

FlightGearSender.java

DEFAULT_IP = "127.0.0.1";
Replace 127.0.0.1 with the IP address of your FlightGear machine.


Start-FlightGear-UAVsim.bat
 "--nmea=socket,out,5,127.0.0.1,5557,tcp" ^
 "--generic=socket,out,10,127.0.0.1,5555,tcp,UAVsim-Protocol" ^

Replace 127.0.0.1 with the IP address of your UAVsim machine.

Comment by Bur on July 1, 2012 at 9:45pm

Hi Jaron, I changed the ip you said but I still can not command the FG via UAVPlayground in another machine.

I don't know how to do. Could you please help me?

Comment by jaron on July 2, 2012 at 11:46pm

Did you recompile UAVsim?

Are the IP ports open on you firewall?

Comment by Bur on July 2, 2012 at 11:50pm

Hi Jaron, thanks for your kindness.

I'm now can sent the command to FG via another machine already and everything works well.

I hope we will share the knowledge about FG and the comm.sys. again later.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service