Feeds

Vulture 2 spaceplane autopilot brain surgery a total success

LOHAN slips into some sexy bespoke mission parameters

  • alert
  • submit to reddit

The next step in data security

We're pleased to report that following four days of intense graft, including some hair-pulling over our Vulture 2 spaceplane's cantankerous Raspberry Pi rig, we've finally got some custom Low Orbit Helium Assisted Navigator (LOHAN) mission parameters loaded into our rocket ship's Pixhawk autopilot.

Linus Penzlien flew into Spain last Sunday to implement the parameters with Andrew "Tridge" Tridgell, the latter working remotely from Oz via the power of Skype and OpenVPN.

Here's Linus chatting to Tridge earlier this week, as the pair got down to work:

Linus talking to Andrew Tridgell in our temporary HQ

Those of you of a nervous disposition regarding autopilot programming are advised to look away now, because here's what we're implementing in APM:Plane, according to Tridge's notes:

Startup in AUTO mode

We have added a new ArduPilot INITIAL_MODE parameter for what mode to boot into. For LOHAN it will be AUTO.

MAV_CMD_NAV_ASCEND_WAIT

Ascend wait will be an AUTO mode command that is used to wait for LOHAN to ascend to the needed altitude, wiggling servos on the way. This command will complete when one of the following conditions is met: vehicle is descending at higher than a set speed, vehicle sees an X acceleration above a given threshold (rocket has fired).

While ascending the servos will move through their full range every wiggle_time seconds.

Accel detection

We have a new ACC_HOLD_THRESH parameter in m/s/s. If the X acceleration is ever above that level in AUTO mode then the vehicle will move servos to the trim position and hold them there for ACC_HOLD_TIME seconds (we will use 20 seconds). This parameter will operate whenever in AUTO mode.

MAV_CMD_NAV_LOITER_DESCEND

The MAV_CMD_NAV_LOITER_DESCEND command will be used during the primary descent of the vehicle after the rocket has fired. It will take a target latitude/longitude a target altitude and a loiter radius. The vehicle will fly towards the target lat/lon then circle at that position until its altitude drops below the given altitude target. At that point the mission will continue.

Autotune in AUTO mode

We have a new MAV_CMD_DO_ENABLE_AUTOTUNE while will enable autotuning during AUTO flight. This mission command will be just before the LOITER_DESCEND stage of the flight. It will then disable when LOITER_DESCEND has finished. This will allow the aircraft to use automatic PID tuning while descending.

So, in summary: We've got an ascent mode where the servos wiggle every X seconds to prevent freezing. At rocket ignition, the Pixhawk detects the acceleration and locks the control surfaces in neutral position.

Then, after 20 seconds, the Pixhawk will go into MAV_CMD_NAV_LOITER_DESCEND mode.

Simple as that. However, there is more. Quite sensationally, we've acquired a high-powered radio rig (details to follow) which will allow Linus and Tridge to monitor the aircraft's status live, and - if necessary - tweak settings on the fly.

For those of you who've never had the pleasure of working with APM Mission Planner, here's a quick grab from yesterday as Tridge and Linus were hewing parameters from the living code:

Screen grab of Mission Planner during the surgery

And here are just two of our new parameters in Mission Planner - ACC_HOLD_THRESH and ACC_HOLD_TIME - showing how we can easily alter values as required for testing and the final flight:

Mission planner showing two of the new parameters

We've still got work to do crunching a few predicted aircraft flight prediction numbers to tweak the final settings, but it's all in good hands. We're obliged to Paul Riseborough for answering Tridge's call for some assistance in interpreting flight simulation and expected performance data provided by the Vulture 2 design team.

Paul's an autopilot software developer with more than enough Right Stuff for the job, so we're sure readers will join us in raising the traditional pint or two to him, and indeed Tridge and Linus.

Later today, myself and Linus will strap to the Vulture 2 to the van roof...

The Vulture 2 mounted atop the van

...and take to the road to test the MAV_CMD_NAV_ASCEND_WAIT command in AUTO mode. We'll also be collecting data on GPS, magnetic compass, servo and battery performance, checking the airspeed sensor, as well as grabbing some vid on the Raspberry Picam.

So, that'll keep us on the streets for a while, and we'll report back next week as to how things went. ®


More from the lovely LOHAN:

  • You can find full LOHAN coverage right here.
  • If you're new to LOHAN, seek out our mission summary for enlightenment.
  • There are photos our our magnificent Vulture 2 spaceplane here, and detailed structural plans here.
  • For your further viewing pleasure, we have all our photographic material stored on Flickr.
  • Our LOHAN and Paper Aircraft Released Into Space (PARIS) videos live on YouTube.
  • We sometimes indulge in light consensual tweeting, as you can see here.

LOHAN - A Special Projects Bureau production in association with...

  • 3T RPD logo
  • University of Southampton logo
  • Applied Vacuum Engineering logo
  • Escher Technologies
  • Flashpoint Fireworks logo
  • HAB Supplies logo
  • Rock 7 logo
  • Random Engineering logo
  • Space Graphic Solutions logo
  • 3D Robotics logo
  • Edge Research Laboratory logo


Paper Aircraft Released Into Space

New hybrid storage solutions

More from The Register

next story
PORTAL TO ELSEWHERE scried in small galaxy far, far away
Supermassive black hole dominates titchy star formation
Bacon-related medical breakthrough wins Ig Nobel prize
Is there ANYTHING cured pork can't do?
Boffins say they've got Lithium batteries the wrong way around
Surprises at the nano-scale mean our ideas about how they charge could be all wrong
Edge Research Lab to tackle chilly LOHAN's final test flight
Our US allies to probe potential Vulture 2 servo freeze
Europe prepares to INVADE comet: Rosetta landing site chosen
No word yet on whether backup site is labelled 'K'
Cracked it - Vulture 2 power podule fires servos for 4 HOURS
Pixhawk avionics juice issue sorted, onwards to Spaceport America
Archaeologists and robots on hunt for more Antikythera pieces
How much of the world's oldest computer can they find?
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.