View Single Post
  #8   Spotlight this post!  
Unread 26-02-2009, 21:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Moving Camera Servos With Joystick Button

Quote:
Originally Posted by DWirth View Post
Thanks for all the help, still a bit confused, but having LabView in front of me will help. Alan, where exactly do I set a constant of the angle I want the servo to be at? It sounds like I create a constant then run a wire to the border of a case structure.
The only constant you will want is the one connected to the left side of the shift register you create on your outermost while loop. The shift register will remember the angle you set the previous time through the loop so you can either use it as is or bump it up or down by one before using it. The input to the shift register sets the initial value it will have the very first time through the loop; you will probably want to choose a value that centers the servo.

Quote:
I am also confused on what a feedback node is. Is it in the same menu as Not, And, Or functions?
You won't find it in the boolean menu, because it isn't a boolean operator. It works with booleans, but it also works with integers, floating point numbers, strings, enumerated values, bundles, basically whatever kind of data you feed it. I can't remember exactly what the name of the palette is where it resides. Now is as good a time as any to learn how to use the search feature in the palette. Type in "feedback" and see what it finds.
Reply With Quote