Thread: Camera servo
View Single Post
  #2   Spotlight this post!  
Unread 12-02-2010, 17:12
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,751
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 servo

I think there was a thread that went into details on this recently. Basically you want to set the servo to a value each time through the loop. In front of this, you take the values sent last time and optionally increment, decrement, or leave alone. The value also needs to be remembered again until the next teleop message. The value can be fed back using a feedback node, it can use a shift register, a local variable, or even a global variable.

Greg McKaskle
Reply With Quote