===== Pan-tilt demo Tuning tab ===== 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.) 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]]. {{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}}