Hi All,
I just posted a new experimental version of Arducopter with new PIDs and control laws for Yaw. It's download only for now and I wouldn't recommend trying it unless you can rigorously test it. Please be careful. I've flown this in Stable, Simple, Acro, Loiter, and Alt Hold with no known issues. But you never know! This version is not yet compatible with the mission planner.
What's new:
New PIDs - I rewrote the control laws from scratch to add a PI Rate function. The end result should fly nearly identically to the current version. The nice detail is that we can use NG PID values for easy transition!
Before: -> After
Stabilize P –> Stabilize P (Use NG values, or 8.3 x the older AC2 value)
Stabilize I –> Stabilize I (Stays same value)
Stabilize D –> Rate P (Stays same value)
–> Rate I (new)
I added a new value – an I term for rate. The old stabilization routines did not use this term. Please refer to the config.h file to read more about the new PIDs.
I added the framework for using DCM corrected Accelerometer rates. Code is commented out for now.
Added set home at Arming.
Crosstrack is now a full PID loop, rather than just a P gain for more control.
Throttle now slews when switching out of Alt hold or Auto modes for less jarring transitions
Sonar and Baro PIDs are now combined into a throttle PID Yaw control is completely re-written.
Jason
Tags:
you need it for everthing gps related
and it cancels drift on your yaw gyro

The Z/Yaw Gyro can't be corrected by the Accelerometers. In the APM plane version, we use the GPS vector to correct the Z gyro drift. But planes can't fly backwards, usually, so in ACM we use the Compass instead. You cannot fly Loiter, AUTO, or RTL without a compass.
Jason
Permalink Reply by Jose Angel on July 9, 2011 at 5:30pm 
hey,
in radio.pde change to this:
g.rc_4.dead_zone = 500;
Sorry about that!
Jason
Permalink Reply by Jose Angel on July 10, 2011 at 2:20am
Permalink Reply by Menno on July 9, 2011 at 11:46pm He Jason,
Flying between two waypoints or RTL the copter altitude varies a lot (well, it drops but not rises), I remember reading somewhere that between waypoints (in case of RTL, the home position is also the final waypoint) altitude is not actively kept.
Am I correct and if so, any plans for it?
Thanks
Permalink Reply by Michal Rusina on July 10, 2011 at 3:41am 
Yes they are. And they are saved when you disarm.
Jason
Permalink Reply by Michal Rusina on July 10, 2011 at 10:23am
Permalink Reply by Andrew Radford on July 10, 2011 at 10:33am
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.1356 members
54 members
203 members
88 members
24 members
© 2013 Created by Chris Anderson.
Powered by
