For the next version of APM (the fixed-wing codebase), we're thinking about adding an acrobatic scripting language, so you can program your UAV to do awesome robotic stunts. APM already suppports inverted flight, and adding other maneuvers is technically easy once we decide on how to program them.
As a comparison, the UAVDevBoard uses LOGO as its scripting language and also supports inverted flight and harrier/hovering. APM does its scripting with MAVLink via the Mission Planner or HK-GCS, which is a more visual way to plan a mission.
One option is that we could add MAVLink commands that took the following form:

@Veikko, if you enable logging in your ground station, then you already are recording everything you need to replay a trick. The problem will be taking that data and turning it into something repeatable. The timing of the control movements is likely to be critical in many tricks, and if you just blindly playback the same sequence I suspect you won't get the same aircraft movement. So you'd need to edit the sequence to add some timing information, such as "do this until the pitch is greater than 30 degrees".
We're going to need to experiment to see what works, then build up a public library of scripts that are known to work.
Comment by Gunnar Forsgren mobimation.com on July 31, 2011 at 4:32pm Maybe it is possible to record certain stunts that the masters perform for "canned tricks"
that can be played back.
Comment by Simon on July 31, 2011 at 4:35pm Maybe it is possible to record certain stunts that the masters perform for "canned tricks"
that can be played back.
I don't think so. Tricks are very dependent on environment and aircraft parameters.
Comment by Veikko Vierola on August 1, 2011 at 2:17pm How about adding a capability to do fixed wing A/C hovering? It would allow fixed wing A/C to do take-offs and landings from a very small place.

What does "A/C" mean?
Comment by Veikko Vierola on August 1, 2011 at 3:09pm 
Comment by Veikko Vierola on August 1, 2011 at 3:24pm I like this script , if you can do this ,the auto-land strategy wish you add in APM, it will put the system become strong . Best WIshes
Comment by amayer.antoine on June 11, 2012 at 6:18am Hey
I wanted to know were the devolpement of the impementaion of a Python interpreter running a script that communicates (via the GCSs) with APM in MAVlink is?
My goal is to have a script for autonomous soaring for gliders...This would be possible if i cun run the script on the GCS...
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.1299 members
48 members
693 members
51 members
249 members
© 2013 Created by Chris Anderson.
Powered by

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