<< return to Pixycam.com

User Tools

Site Tools


wiki:pantilt_demo_pane

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:pantilt_demo_pane [2017/11/23 03:06]
jfrench Imported by DokuWiki Advanced Plugin
— (current)
Line 1: Line 1:
- 
- 
- 
- 
-====== Pan/tilt Demo Tab ====== 
- 
-This tab contains parameters to adjust parameters associated with the pan/tilt demo, such as the PID gains for each axis. To bring up the Pan/tilt Demo Tab, first bring up the Configure Dialog (click on the gear icon or select **File➜Configure**). Now select the **Pan/Tilt Demo** tab under **Pixy Parameters**. 
- 
-{{wiki:​img:​1f89d18619eede16216cbcd4c81400649ecc2ed7.jpg?​300}} 
- 
-  * **Pan P gain:** This parameter adjusts the proportional gain for the pan axis (servo 0). 
- 
-  * **Pan D gain:** This parameter adjusts the derivative gain for the pan axis (servo 0). 
- 
-  * **Tilt P gain:** This parameter adjusts the proportional gain for the pan axis (servo 1). 
- 
-  * **Tilt D gain:** This parameter adjusts the derivative gain for the pan axis (servo 1). 
- 
-Some useful notes: 
- 
-  * The default values work well with the Pixy pan/tilt mechanism, but you are welcome to tweak to get more performance or use a homemade pan/tilt mechanism, which will surely mean you'll need to play around and find good gain values. 
-  * The **proportional gain** will control the speed of the servos. If your servos aren't moving fast enough, try increasing the proportional gain. 
-  * The **derivative gain** will help ensure that you don't overshoot or oscillate. If your servos are oscillating,​ try increasing the derivative gain. If increasing the derivative gain doesn'​t reduce oscillations,​ try reducing the proportional gain and reset the derivative gain to 0, then try increasing the derivative gain again. 
-  * The gain parameters can be set to negative values, which may be necessary if your servos need to move in the opposite direction (assuming you're using your own pan/tilt mechanism). 
-  * The RC-servo port pinouts, as well as which port is which can be found [[wiki:​Port_Pinouts|here]]. 
- 
- 
- 
- 
- 
- 
  
wiki/pantilt_demo_pane.1511406413.txt.gz · Last modified: 2017/11/23 03:06 by jfrench