1. open the latest trunk ArduCopter code in the Arduino IDE and add this line to APM_Config.h:
#define AUTOTUNE ENABLED
#define MOUNT DISABLED
2. upload the code to your APM
3. set the CH7_OPT or CH8_OPT to 17 to allow turning on/off the auto tuning with ch7 or ch8
4. ensure the ch7 or ch8 switch is in the off position
5. take off and put the copter into AltHold mode at a comfortable altitude
6. put the ch7/ch8 switch int the upper most position to engage auto tuning:
- you will see it twitch about 20 degrees left and right for a few minutes, then it will repeat forward and back
- use the roll and pitch stick at any time to reposition the copter if it drifts away (it will use the original PIDs during repositioning and between tests)
- move the ch7/ch8 switch into the off position at any time to abandon the autotuning and return to the origin PIDs
7. when the tune completes the copter will be left with the newly tuned PIDs active, fly around to see how it responds
8. If you are happy with the new PIDs:
Leave the ch7/ch8 switch in the ON position, Land disarm to save the PIDs permanently.
If you DO NOT like the new PIDS switch ch7/ch8 off to return to normal PIDs. the gains will not be saved when you disarm
Note: if you have a 3-position ch7/ch8 switch you can interrupt the tune at any time and test out the PIDs so far by putting the switch in the middle position
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
I've tried FF on multicopter. It isn't necessary or reasonable
However, the roll and pitch response is so fast I don't think we could tell that it is there.
I think we would get a lot more mileage doing some input conditioning to limit the maximum rate the angle changes. This would let us tune up the kids as sharp as we want but still have a docile feel.
If you could try again with the same setup it would be great! The results will be interesting!
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/IAxYUZptiZE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
Could you please send a log of your tuning flight. The failed tunes are the ones we learn things from.
Thanks!
Jason the auto tune tunes Stab p as well so if it is sloppy after the tune, the tune didn't work and there isn't shit way to fix it.
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/IAxYUZptiZE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
Hi,
--
how about safety issue? the entire auto tune procedure introduces the copter in an unsteady/stable and somewhat erratic state.
--
--
#define AUTO_TUNE_PILOT_OVERRIDE_TIMEOUT_MS 500 // restart tuning if pilot has left sticks in middle for 2 seconds
I think it should be AUTO_TUNE_PILOT_OVERRIDE_TIMEOUT_MS 2000
To have 2s, because actually it's only half a second :)
--
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Jason
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
That's right, this is the main difference between followme in DP v. AP. Guided mode is both a mode change and a waypoint, so on DP it continually updates the waypoint and resets the mode to guided, even if you switch out of guided mode with the handset.
Another difference: I couldn't find a way to set the guided mode altitude in DP, whereas this is a setting in AP. Where does guided mode get it's altitude from in general when you set it from a tablet? (Mission planner requests that you set the altitude when you switch to guided mode).
Brandon