This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:v2:pt_tuning [2018/06/06 01:55] pixycam created |
wiki:v2:pt_tuning [2018/06/07 13:35] (current) pixycam |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Pan-tilt tuning tab ===== | + | ===== Pan-tilt demo Tuning tab ===== |
- | This tab contains all of the most effective parameters for "tuning" the accuracy of color signatures. To bring up this tab, you must be running the _color\_connected\_components_ program by selecting it in the **Program** menu, and then bringing up the Configure Dialog (click on the gear icon or select **File➜Configure**). Now select the **Tuning** tab under **Pixy Parameters** (it should be the first pane you see when you bring up the Configure Dialog.) | + | This tab contains all of the most effective parameters for "tuning" the pan-tilt demo. To bring up this tab, you must be running the _pan\_tilt\_demo_ program by selecting it in the **Program** menu, and then bringing up the Configure Dialog (click on the gear icon {{wiki:v2:image_291.png}} or select **File➜Configure**). Now select the **Tuning** tab under **Pixy Parameters** (it should be the first pane you see when you bring up the Configure Dialog.) |
- | {{wiki:v2:image_197.png}} | + | It is recommended to use this demo with the [[https://pixycam.com/pixy2-pan-tilt-kit/|pan-tilt unit]]. And here's how to [[wiki:v2:run_the_pantilt_demo|run the pan-tilt demo]]. |
- | * **Signature ranges:** | + | {{wiki:v2:image_209.png}} |
+ | |||
+ | The proportional and derivative gains can improve the motion of the pan-tilt. For example, if the tilt axis is oscillating rapidly, try decreasing the tilt axis proportional gain and increasing tilt axis derivative gain. Note, the PD gains can be set to negative values if your pan or tilt axis has an opposite sign. | ||
+ | |||
+ | * **Pan P gain:** This sets the pan axis proportional gain. | ||
+ | * **Pan D gain:** This sets the pan axis derivative gain. | ||
+ | * **Tilt P gain:** This sets the tilt axis proportional gain. | ||
+ | * **Tilt D gain:** This sets the tilt axis derivative gain. | ||
+ | |||
+ | {{page>wiki:v2:signature_tuning_common_tab}} | ||
+ | |||
+ | {{page>wiki:v2:tuning_common_tab}} |