About once a year we post our software roadmap for the next 12 months. Last year, we promised we would take ArduPlane and ArduCopter into their 2.x generation, with full two-way MAVLink control and a full featured ground station and setup process. The 2.x generations of the code were intended to give APM-based vehicles all the features of professional-quality autopilots at a tiny fraction of the cost. With a huge amount of effort from the whole dev team, which now numbers nearly a hundred people across its many projects, we've completed that. Yay!
The 2.x generations of ArduPlane and ArduCopter are now being flown by thousands of people, making the APM platform the most popular open source autopilot in the world. With the introduction of APM 2 (above), with vastly improved sensors, lower price and fully-assembled delivery, this growth looks likely to accelerate. After a shipment of 150 boards to early-adopters last month, full production of APM 2 will resume in early Feb. The current 2.x codebases already fully support the new APM 2 boards.
So at this point the 2.x codebases are essentially feature complete, and we can move on to 3.x. (That said, the 2.x software will see continued updates to improve performance and reliability. In particular the traditional heli version of ArduCopter is a couple versions behind the more mature multicopter code, and will continue to evolve over the next few months--helis are hard!).
As the dev teams focus on the 3.x code, you should see far fewer public code updates for a period of about three months (until April 2012). Lots of work will be going on behind the scenes in the Git repositories, but we will not be rolling out public releases of new features that risk drowning the team in tech support and documentation demands. Again, we will continue to fix any issues that are identified in the 2.x code and otherwise ensure that it's flying well for everyone, but we won't be adding new features to it during this period.
The 2012 Software Roadmap
The main objective of the 3.x codebases will be a new architecture that emphasizes modularity and portability. This is to help with the following:
- Better reliability by making the code easier to understand, debug and maintain
- Easier accessibility for new dev team members
- Easier portability to new hardware platforms
- RTOS compatibility, to prepare for the forthcoming ARM-based versions of APM
Examples of Planned New 3.x Features:
- MPU-6000 DMP support.
- Inertial dead reckoning drift compensation
- Full scriptable camera control on both ArduPlane and ArduCopter, with interactive camera gimbal setup
- Auto-trim: sets RC trim points when exiting manual mode
- Loss of signal failsafes for GCS link
- ArduCopter: Autonomous "follow me/look at me" control with handheld GPS groundstation
- ArduCopter: Support for I2C/SPI/CAN motor controllers and forthcoming "smart" motor controller/PDB board
- ArduPlane: Support for Flaps with automatic speed dependent deployment
- ArduPlane: Servo control loop gains with speed scheduling
- ArduPlane: Airspeed nudging from the RC TX in autonomous modes
- ArduPlane: Inverted flight mode and scriptable acrobatics
- ArduPlane: Sonar flare control
Architecture changes:
- Eliminate global state in sketches. This is a broad, fundamental change required to effectively use an RTOS.
- Modularize sketch code into classes with interfaces. This will improve code comprehension and help enforce communication with messages rather than global state (again, required for RTOS)
- Replace loop()-style structures with explicit periodic scheduling. This will increase code comprehension, enforce non-reliance of ordering of loop items (& global state), and make it easier to move to RTOS later.
- Eliminate remaining synchronous blocking IO
- Rename library class methods and members to meet coding standards
- Run automated ‘indent’ script on all source, implement indent bot which fixes whitespace issues checked into repository nightly
- Dramatically reduce reliance on preprocessor in sketches: features like HIL & ArduCopter traditional heli will be implemented using standard interfaces rather than source code manipulation
- Proposal: switch from special dataflash logging packets to MAVLINK 1.0 data
- Modularize logging, move to libraries directory
- Add SD card support for APM2
-------------------
Join us!
If you'd like to join the dev teams, please read this post on the best ways to do it. (Short form: pick something specific that you'd like to help with and show some familiarity with the code). We're always looking for more programmers, but we're careful about taking time to figure out how to integrate them best and on which project, both for their sake (to have the highest impact soonest) and for the sake of the existing dev team members, who have limited time.
You can always PM me with a request to join the team, and I'll generally start by adding you to the dev team mailllist so you can see how we work and get a feel for where you might fit in best.
Comments
Hey Chris, just a thought. There are thousands of APM1.0 users out there. Wouldn't it be worthwhile to spin off a APM1.0 dev team to evolve and integrate new features, as them come online in the APM2.0 stream?
Jonathan: Yes. Right now we're just offering basic APM 2 support, which is to say that the APM 1 code will run on it so it should be equivalently usable. But with the 3.x software releases, we'll be unlocking the extra power of APM 2, including the DMP. Probably around March.
Chris, when you say MPU-6000 support, does that mean this software will take advantage of the extra features the APM 2 has? I am assuming that you will shift focus from APM 1.x software enhancements and focus more on APM2 + (correct me if I am wrong). It sounds like some of the drift issues - due to hi frequency vibes affecting the new sensors, will be addressed as well. Will we see advanced features that can only be used on APM 2.0+?
Thanks for all the hard work and aggressive scheduling! Makes this "hobby" a white-knuckle ride.
Ron: sounds good. Just PM me your email address.
Hi Chris,
I've been monitoring a few months as well. I've got lots of embedded h/w and s/w design experience on various platforms and have written a few iPhone/iPad apps - most recently a navigation app for pilots which uses FAA aviation charts. Anyhow, I have particular interest in getting the ArduPilot platform working well on TH (traditional helicopters) - or at least as good a the CC board and also adding support to ArduPPM for SBus. Would be nice to have it be able to support std PWM, Spektrum, SBus, and passthrough PPM without having to reprogram it. My time is limited like most everyone but I'm working on th SBus stuff for myself anyway so perhaps if I'm on the dev list I might be more productive or able to help in other areas.
Thx,
Ron
My vote for most needed: architecture, sensor items
Most awesome upgrade: RTOS and ARM - come on Arduino, baby!!!
Neatest cool feature: heavier camera integration (scripted and otherwise) - fun!!!
Hugo: Just PM me your email address and I'll add you to the dev list. You'll quickly get a feel for where you might be able to participate most productively.
Hello Chris,
I'm in the comunity since a few months and I have great interest working with the dev team, I'm not sure if I could help much. I have some background of flight dynamics and flight control systems from teh aerospace industry. How should I approach the team to see if I can help?
Best,
Hugo
@Gerry, Instead of a phone, why not use a beagleboard, gumstix or similar single board system that support Android? And then just get and connect your sensors of your choice for the IMU part.