The APM dev team is delighted to announce the release of APM:Plane 2.74, a major new release with a lot of new features. This release is recommended for anyone flying fixed wing aircraft with an APM2 or PX4.
There are a lot of changes in this release, but some of the highlights are:
Scroll down for a more complete list of changes, but before that I'd like to give you a bit more detail on the highlights above.
New Attitude Controllers
The new "APM_Control" attitude controllers have been in development for a long time. Originally developed by Jon Challinger last year, they were extended by Paul Riseborough and made compatible with the existing parameter names. The key advantage of these new controllers is their improved handling of noise, and much better ability to tune for your aircraft. There is a new tuning guide in the wiki which gives detailed instructions on how to make the most of the new capabilities.
One of the big effects you will see with the new attitude controllers is better handling of pitch compensation in turns. The new PTCH2SRV_RLL parameter makes tuning for flat turns much easier, which has been a major source of frustration in the past.
The new controllers also handle sensor noise much better, especially if you use any D term in your roll or pitch controllers.
New Speed/Height Controller
The new TECS speed/height controller is the second major controller change in this release, and will make a world of difference for aircraft with an airspeed sensor. After a lot of testing I decided to make TECS the default in this release, although you can switch back to the old controllers using the ALT_CTRL_ALG parameter if need be. If for some reason you find you do need these old controllers then please let me know, as I am planning on removing the old controllers in the next release.
The previous airspeed controller for speed/height suffered from a major problem that it gave absolute priority to airspeed. If the aircraft could not achieve the target airspeed you had set then it would dive to gain speed, even to the point of diving into the ground. This made it quite fragile, and you had to be very sure of your airspeed configuration.
The new controller operates over a range of airspeed values, set using the ARSPD_FBW_MIN and ARSPD_FBW_MAX parameters. That controller will try to meet both the airspeed and altitude demands of the mission, but if it can't reach the target speed it will happily fly a bit slower, as long as it doesn't get below ARSPD_FBW_MIN. You can control the relative priorities of speed versus height using the TECS_SPDWEIGHT parameter. See the full tuning guide for details.
New ACRO flight mode
This modes brings rate controlled stabilization to APM:Plane, and should help give you an "on rails" manual flight experience. It is a lot of fun to fly, but it is not for beginners!
We're planning on expanding the ACRO mode in future releases. Right now it is great for "locked in" flying, and also good for loops and handles inverted flight very nicely. It doesn't yet handle knife-edge or prop-hanging.
New CRUISE flight mode
After a suggestion from Hein, we now have a new CRUISE flight mode. This mode is ideal for longer distance flying without a pre-programmed mission. It is like FBWB, but also does ground track heading hold, with heading update via aileron or rudder.
I've been testing CRUISE at my local flying field, and it is the easiest mode to fly in APM. Just steer the plane around the sky, and when you stop steering it locks onto a ground track and holds it. It isn't a good mode for takeoff and landing, but once you are in the air it is great.
New camera trigger system
When using APM for aerial mapping where you want photos taken at regular distances, the previous system was to setup a grid mission with a "camera trigger" mission item at regular intervals within the mission. That worked, but led to overly large and complex missions. You can now just set a single parameter CAM_TRIGG_DIST to the number of meters of flight between photos, and the APM will take care of when to trigger the camera. This makes for much simpler missions, and also works in other flight modes, including FBWB and CRUISE.
Lots of smaller changes
As is usual with a new release after a couple of months of development there were a lot of smaller improvements based on feedback from users. Many thanks to everyone who gave feedback and contributed patches!
Here is a partial list of the changes:
This new release has a lot of new features that should improve the flying experience for all APM users. The APM dev teams wishes all APM users many enjoyable flights, and we hope you have as much fun flying this release as we had making it.
Thanks Thomas, that resolves my question with rc9, but still leaves open the PPM Sum questions around how high the APM actually monitors - why add RC9-12 if the PPM decoder isn't monitoring them? I know with MinimOSD-Extra, Gabor isn't monitoring above 8 but offered to help 1-off if anyone wanted to watch one of those channels, which tells me the APM may actually be seeing what is going on there..?
Sorry, I may have misunderstood your question. If you look at standard parameters and RC Channel Function, there appears to be a limited list of assigned functions. At least if one chooses to use the standard code. Every time I have tried to assign duties above Ch8 to the APM, my servos go nuts. Maybe it's me. The advanced user items such as channel mapping are not that well explained IMO.
I am just building my orig APM 2.0 + Radian Pro setup. I did a lot of quadrocopterstuff in the past with that APM but planes are completely new to me so please forgive me my stupid questions but I was not able to find answers to that.
1.: I mounted the APM in the canopy. But when attaching the lipo/power the canopy will be open and I will need some time to close it. Will the Gyrocalibration stop while I am fiddeling or will it produce unusable results, wich must lead to crash/unflyable result? Must I drill a hole to access the reset button or attach a switch to powerup APM seperately? Is there a timervariable I could set like: initialize gyros and fc after x seconds after powerup?
2.: I will be facing some magnetometer issues for sure due to proximity to the motor (canopy already magnets removed). I think the gps groundcourse will be much more usable/important in planes and correct/override the mag to some extend??
I will not be able to do a compassmot because a fixed radian pro with motor at full throttle will rip the nose off (seen video on YT). Maybe I can reverse the foldingprop - I will see in the further progress of my build.
3.: Flaps. The guide here: http://plane.ardupilot.com/wiki/arduplane-setup/connecting-your-rc-... shows that I am not supposed to attach flaps. On the other hand here: http://plane.ardupilot.com/wiki/automatic-flaps/
it says "To use flaps they must be configured on channel 5, 6, 7 or 8. If you wish to have manual control of the flaps then they must be on 5, 6, or 7" I think they are referring to the "Output line" of the apm? Or the channels in my RC? It is not so clear to me right now. Maybe showing the solderpoints in the main connection graphic for flaps would make it easier.
What I've done so far:
- Attached APM powermodule / also powers minimosd and frsky rx
- Extra 2A UBEC to power the servos exclusively (just servo datalines connected to apm)
- E-flite ESC just powers main motor, Bec is not used for anything else (from googling around I saw some radians pro biting the grass on the first flight without taking rc input anymore - I think the esc 5V was overstressed and tilted)
So far my Plane newbie shit! Any comments or biting comments hints and tips welcome.
Cheers Kraut Rob.
(1) Suggestion on calibration is to do it on the bench at home, where you have better control, rather than at the field every time. The auto calibrate has been removed in firmware 2.74, so there should be no need to recalibrate at the field.
(2) Hm, can you connect an external magnetometer on the I2C bus and move it back on the tail. Not sure if this is possible on the APM 2.0, it is on the 2.5 and 2.6 versions. I had the same issue with motor and other magnetic issues on the 2.5 and solved it by adding an external magnetometer as described.
(3) I have just set up my flaps, so this is fresh in memory. You can configure your flaps on the TX on any free channel between 5 and 7. I'd leave 8 as its often used for mode switching on the APM by default. You then calibrate the Radio to show the channel(s) you select.
The parameters to set in APM are RCx_Function, where x = 5, 6 or 7 depending on the channel you select. you can set it up by entering 1, 2 ,3 ,4 or 5 to get RC Feed-through, Flaps, Flaps Auto (in FBW-B mode only), Aileron or Flaperon functionality.
Hope this helps
@FPV-NUT: Thank you very much for your reply and your input!
I am still struggeling with fitting all that stuff in the glider (cursing the whole stuff many times now..). I will stay away from the flaps (fixed them to neutral) for now. But thank you very much for the information on them, it will be very useful when i get to them..
I put a hole in the canopy to be able to do a reset in the field. I am not sure if the bench calibration of the acc also produces stored offsets for the gyros as well. That would at least require some sort of temperature compensation.
We have a radian too and I have no idea how you would fit it in there. If you are looking for simple stabilisation, I'd look a tiny, lightweight Eagletree Guardian fro 2D and 3D stabilisation. I found once I started with the AMP, telemetry, GPS and power monitor took up so much space, I'd look at a larger body plane.
I fly it in my X-8, Cessna 182 Xtreme and Skywalker 2013 Carbon, where I have more space. Lots of fun if you don't have to hassle with space and focus on flying.
Take off your prop for saftey
what log mask do you need to log CAM events?
Hey again guys... I went for another flight today with the X8 to test the waypoints... i had mixed results :) The plane kept its height very well but was weaving(am i correcting in thinking i need to increase L1 Period?) also the plane had trouble staying on the line between waypoints..how can i correct for this? Thanks guys :)
Irony is that the X8 is intended for mapping and surveying use..when i got to my flying site a squirrel helicopter flew over with two Lidar pylons and they were mapping my flying site...made fort an impatient me haha.
Would you mind updating the Bixler param file to reflect the latest options and remove old options (ex. manual level)
BTW.. thanks much for the great improvements and timely updates. You're doing a great thing.
Today i tried a automatic flight. No luck. :(
I did a auto takeoff, than nothing. The plane climbed to the defined hight than did nothing but stabilised itself.
Never started to follow waypoint 2.
Do others have the same problem?
Am i doing something wrong?