Ardupilot 2.1 is out and can be downloaded by the mission planner (or with Git). You must have the latest version of MP to be compatible. If you're compiling with Arduino, you must use the "mrelax" version of Arduino that is in our downloads section. This is because Arduino was never tested with code larger than 128K. And since our code is probably the most complex Arduino project ever, we found the issue. This altered version of Arduino allows you to specify a special compiler flag that makes it work again. Otherwise it's functionally identical to version 22. When we transition to 1.0 of Arduino, you won't need to use a modified version, since they have patched it for us.
This version has a few new features, but is mostly a bug fixes and compatibility with APM2. The nav routines have been updated and well tested. I'm getting very reliable results now.
One new feature that I snuck in was SuperSimple mode, which re-calibrates simple mode when you are flying with GPS > 20m from home. It allows you to fly in any direction in Simple outside of this radius. Check the wiki for more info.
Added Auto_land mode to help with Failsafe implementations.
Here's a video I took flying WPs using CH 7 to toggle record them. I flew back and forth over the park to se how straight a line I could maintain and how repeatable it was, then I recorded a few waypoints to the left and right, then I recorded a landing wp by toggling CH7 when the copter was on the ground. The landing could be improved, it was trying to maintain a location and didn't level out in the last meter to the ground as it should. I was missing the screw holding my Arm in place so it folded in just a bit, no real damage done. BTW, this video is W/O a sonar.
The next video is of the Loiter control. I improved loiter a bit with a bug fix and the stability patch from the stabilization. Wind was mild. Could be tuned just a little higher.
Here's a video from Dec 17 showing WP recording. The radio was on the ground the entire video. The 3DR frame did not have a sonar on it. The landing was recorded as well.
Upcoming:
Tridge wrote a Geo - fence routine to restrict flight within a certain area for Arduplane. We'll port that over to AC. You'll be able to fly acro inside a safe area and have it go into AP if you loose control!
We need one more pass to finalize the Optical flow integration.
Finalization of the Z Accel code.
Have fun and fly safe,
Jason
Tags:

Correct, i think you're right, this is an error, not good for loiter position, and is present only in this firmware release.
In fact yestarday i had big problems to refine the PID about loiter and NAV.
Thanks Sylvain! Going to try now... :P
Yup, looks like a pretty obvious bug and easy to fix so I've checked this change into trunk. Hopefully I'm not treading on Jason's toes or anything..

In fly i haven't see any difference with the corrected line... LOL! :P

Thanks! Fixed,
Jason
Permalink Reply by Nick Mann on December 9, 2011 at 3:26am 
That's a cheap ESC running w/o the low pass filter. Amazing isn't it? No changes to the AC2 code.
Permalink Reply by Nick Mann on December 9, 2011 at 4:44pm Truly amazing. Do you see any disadvantage in having no LPF?

You could get some large current draws for heavy props. So not recommended for Heli's.

Woow, Thanks Jason.. I shall soon try this,
Good work, Jean-Louis
Permalink Reply by Vincent Mees on December 9, 2011 at 1:25pm Just tested this version but drifts all over the place.

Hello Jason and All,
I have done a successful test flight with the v2.0.56, the ALT_HOLD is very very stable and smooth, good work Jason...
I have updated and modified some files:
log.pde (the original log.pde doesn't work for me working, so this log.pde is working...)
navigation.pde (corrected the bug on loiter lat)
config.h (adapted for QRO frame + magnetometer setup)
Below my working PID setup for the v2.0.56a and the log of the altitude:
You may download my updated firmware v2.0.56a HERE
I shall record a video of a test flight asap...
Regards, Jean-Louis
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.8 members
24 members
51 members
75 members
184 members
© 2013 Created by Chris Anderson.
Powered by
