This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pidgesture [2017/06/03 01:45] silverxxx |
pidgesture [2017/07/03 01:54] (current) silverxxx |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Gesture PID tuning | + | ===== Gesture PID tuning ===== |
- | The gesture based pid tuning allows the pilot to change the acro pids at the field, without the use of a computer. The new pids can be saved, and will be loaded next time the quad powers up. If not saved by performing the appropriate gesture, they will be discarded when the quad is powered off. | + | The [[: |
- | Silverware branches of [[https:// | + | Silverware branches of [[https:// |
New options in config.h: | New options in config.h: | ||
Line 40: | Line 40: | ||
**Gestures are as follows:** | **Gestures are as follows:** | ||
- | Up - Down - Up (further called UDU) (means right stick Up-Center-Down-Center-Up, | + | |
- | + | | |
- | Up - Down - Down (further called UDD) | + | |
- | + | | |
- | Up - Down - Left (further called UDL) | + | |
- | + | ||
- | Up - Down - Right (further called UDR) | + | |
- | + | ||
- | Down - Down - Down (further called DDD) | + | |
UDU: Cycle the Cursor to the next Row (Confirmed by LED Blinks, 1x Blink = P, 2x Blink = I, 3x Blink = D) | UDU: Cycle the Cursor to the next Row (Confirmed by LED Blinks, 1x Blink = P, 2x Blink = I, 3x Blink = D) | ||
Line 60: | Line 56: | ||
UDR: Increase the selected Value (Where the Cursor stands) by 10% | UDR: Increase the selected Value (Where the Cursor stands) by 10% | ||
- | DDD: Save The selected PIDs to the Quad (note: this also performs an ACC calibration, make sure the quad is levelled | + | DDD: Save The selected PIDs to the Quad. (Note: this performs an ACC calibration |
- | For PID tuning, it's highly recommended to use [[: | + | For PID tuning, it's highly recommended to use [[: |
+ | |||
+ | For all that don't own an Android device and are interested in the actual numbers, | ||
+ | |||
+ | {{https:// | ||
**<font inherit/ | **<font inherit/ | ||
- | <font inherit/ | + | <font inherit/ |
<font inherit/ | <font inherit/ | ||
+ | |||
+ | To use debug mode without reflashing the quad, you can do the following: | ||
+ | |||
+ | In the last tab of the settings ( utilities ) uncheck " | ||
+ | |||
+ | Also go to stlink - settings , where the algorithms are, and set "do not erase" , also uncheck program and verify. This way it can't program it even if it tries to. This is just for added safety, the first option should do it but some things one really don't want erased even if it's unlikely. Be aware that this procedure only works if you use the exactly same Silverware version you flashed at the quad, otherwise you may get crappy values (because the values shown are stored in a particular memory section, and only the compiler knows where they are. Therefor, it's standard to reflash the code before using debug mode. | ||