View Single Post
  #4   Spotlight this post!  
Unread 25-01-2009, 11:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,750
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera tracking but not moving

Determine whether it is a full range issue or a speed of response issue. If you can move the target slow enough and it will follow the target to full range, it is a problem with speed. If the slow movement also stops, then it is range.

My guess is that it is speed, in which case the first thing I'd do is to insert a WPI camera VI after the open to set the image size to 320 or 160 size. Also close any front panels you have open for debugging.

If it really is a range thing, make sure it isn't mechanical. Can you manually turn the gimbal that far? If it works manually, but not via SW, the example VI for moving the servo has SW limits which can be used to keep the camera from looking at the ceiling or floor for example. The initial limits were wide open for horizontal (0 - 169), but limited the vertical between 60 and 120 or something. If those have been changed and made default, they will limit the values sent to the servos.

Greg McKaskle
Reply With Quote