Category Archives: Software

Adaptive Control in Paparazzi

Paparazzi features adaptive control loops that can cope with substantial “changes” of the airframe in flight. May it be a motor dropout, partial loss of control surfaces or dropping a heavy payload. As videos usually say more than words, here are two that demonstrate this.

The first video shows Paparazzi’s adaptive control loops (written by Pascal Brisset and Gautier Hattenberger at ENAC) for fixedwing aircraft keeping a Multiplex Twinstar on track, despite dropping a portion of the right wing and aileron and then switching the right motor off.

Martin Mueller equipped the Twinstar with video cameras to document this. You can easily see that after part of the right wing is dropped the adaptive controller compensates for this automatically although only 50% of the aileron control surface remains. To make things even worse, the motor on the same side was switched off to simulate engine failure but the autopilot manages to keep it stable. At that point the aircraft became virtually impossible to fly by the very skilled safety pilot in manual control.

Although the adaptive vertical control for multicopters (by Antoine Drouin at ENAC) has been around for almost two years now, here is a demo of a Paparazzi Booz quadrotor suddenly dropping 50% off its weight.

In this case, a Kalman filter of dimension one is used to estimate the the ratio of vertical acceleration over the produced thrust. This basically equates to the inverse of the mass during flight. Then the inverted dynamic model is used to issue a nominal thrust command based on this estimate. With this the quadrotor is able to stay very near same height, whereas with standard feedback control loops it would “go through the roof” when the payload is suddenly dropped.

Cheers, your Paparazzi Team

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube

Paparazzi support on Mac OSX: Progress report.

This is a brief note to keep everyone updated on progress towards supporting Paparazzi on OSX. Currently Paparazzi is supported only on Linux. With the growing base of Paparazzi developers it has become possible for us to consider supporting multiple operating systems.

Mac OSX was chosen for attention ahead of Windows 7 due to the its similarity to Linux. We hope that the experience gained in supporting this operating system will give an indication of what form a combined build system for all three platforms will take.

Paparazzi Center on OSX

The GUI used by the Paparazzi ground segment is based on GTK, this provides a transparent way of building X Windows based applications for OSX. To date all the components of the ground segment have been built in this way and function as intended. Unfortunately this currently requires hand building some packages, attention is now being given to simplifying the process by wherever possible submitting patches to the package maintainers.

Paparazzi Ground Control Station running live on OSX

Once the machinery is in place for installing Paparazzi on OSX without hand building some packages, only a few extra changes will be required to produce a version that uses the gtk-quartz-engines. This will then provide the look and feel of a native OSX application.

A number of interesting facts have surfaced during this process.

The first is that the Paparazzi development team have over the years have been very careful to adhere to the Posix standard. This has meant that very few code changes have been required to make Paparazzi run on OSX. This portability is something the team should be very proud of.

The second is the amazing depth of talent in the Paparazzi development team. I provide only one example of this but there are many more. A central component required in the ground segment is the build system used by Paparazzi to create firmware for the autopilot. This consists of a cross compiler and related utilities. In this case Esden had already done much of the work required to produce such a toolchain with his summon-arm-toolchain script. Thanks to that with only a few “clicks” we ended up with a toolchain that we could use for both of our arm targets, lpc21 and stm32.

It is expected that instructions for installing Paparazzi on OSX with X Windows will be posted at the official Paparazzi wiki in the very near future. With a non X Windows version following in the coming weeks.

And until next time… your Paparazzi team.

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube

Adaptive Control

WingdropThere is a video available that shows how Paparazzi’s adaptive control loops keep a Twinstar in the air that drops 30% of its right wing with 50% of the aileron and then also switches the right engine off. Another video shows a Paparazzi quadcopter using adaptive control to stay level after dropping 50% of its total weight.

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube

We Moved To GIT

GithubThe paparazzi software repository now has a new happy life on github:

https://github.com/paparazzi/paparazzi

We believe the switch from Subversion to the fast git version control system will make development easier, faster and more fun. It also makes it easier for YOU to contribute. You can easily fork paparazzi on github, commit your bugfixes and new features and send us a pull request.

More info on how to get the paparazzi code from github can be found here.

We also want to encourage you to submit bugs or feature requests on the simple github issue tracker.

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube

Code Refactor

OrganizedCodeAfter many years of development, so many new autopilot boards and aircraft types have been added that a sourcecode reorganization was needed. This undertaking is started and will simplify the continuous evolution of the project.

To benefit from these important changes, it only requires you to update your airframe configuration document once. After you have updated, you should not notice the significant reorganization that is going on behind the scenes. This change will benefit your aircrafts flying successfully for the years to come. The required changes are described on Update Your Airframe Configuration.

At this point several developments are blocked because of this. Therefor we kindly request you to upgrade your airframe configuration documents as soon as possible and thank you in advance for doing so.

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube

PAPARAZZI ON MOBILE

Three ENAC students have released a Graphical control application for Paparazzi on Mobile phones using Java Technologies, connecting via Bluetooth to the ground station. It is divided into 2 programs, one running on the ground station, and the other on the mobile phone. Check the Ipodrom project page for more details.

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

Facebooktwittergoogle_plusredditFacebooktwittergoogle_plusreddit
Facebooktwittergoogle_plusrssyoutubeFacebooktwittergoogle_plusrssyoutube